Compare commits

...
Author SHA1 Message Date
StandardNotes CI 7b9341257c chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-04-06 14:46:00 +00:00
Aman Harwara ef541cf70a chore: fix account menu font size 2023-04-06 19:48:12 +05:30
StandardNotes CI 4fccc55f25 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-04-06 11:46:12 +00:00
Aman Harwara 6fea8a3095 chore: update some lexical plugins (#2297) 2023-04-06 16:45:28 +05:30
StandardNotes CI 6fcde388d6 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-04-06 09:38:29 +00:00
Aman Harwara 616c700b7f chore: fix features e2e test (#2296) 2023-04-06 14:37:50 +05:30
Aman Harwara 41a5b1415a refactor: update roles immediately without waiting for full sync (#2294) 2023-04-05 21:34:06 +05:30
StandardNotes CI b3556ef8d2 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-04-03 16:48:33 +00:00
Mo de8d44f507 chore: android well-known (skip e2e) 2023-04-03 11:30:44 -05:00
StandardNotes CI daf5071706 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-04-03 16:17:52 +00:00
Mo 67a2627a0d chore: well-known (skip e2e) 2023-04-03 10:59:04 -05:00
StandardNotes CI ba7d0cf4c1 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-04-03 14:39:20 +00:00
Mo ea5bec4a23 chore: webpack (skip e2e) 2023-04-03 09:25:21 -05:00
Mo 031b0a496f chore: disable spellcheck on input fields 2023-04-03 09:01:44 -05:00
StandardNotes CI 36d136a4d1 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-04-01 09:52:11 +00:00
Aman Harwara f884e2cd66 chore: update collapsible node 2023-04-01 14:53:22 +05:30
StandardNotes CI fbb0dc0cea chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-31 14:30:16 +00:00
Mo c50e29db31 chore: improve email toggle copy 2023-03-31 08:55:19 -05:00
StandardNotes CI 541adcf8f8 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-31 10:49:10 +00:00
Aman Harwara c832371e3a chore: fix remote image component 2023-03-31 15:49:06 +05:30
StandardNotes CI c3d3633e6b chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-30 07:42:56 +00:00
Aman Harwara 7773becdec fix: Fixed an issue where deleting a file from the preview modal would not correctly navigate to next item or dismiss the modal 2023-03-30 12:40:50 +05:30
Aman Harwara 860746d4e2 Merge branch 'main' of github.com:standardnotes/app 2023-03-30 12:19:24 +05:30
Aman Harwara 09fd65903b fix: Files uploaded to a protected Super note will also be marked as protected 2023-03-30 12:19:15 +05:30
StandardNotes CI b57d16dd68 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-29 19:34:21 +00:00
Aman Harwara 08a20e25b4 fix: Added backspace button on Super toolbar on Android as a workaround for backspace issue 2023-03-30 00:35:55 +05:30
StandardNotes CI c3a5b249b2 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-27 08:10:35 +00:00
Aman Harwara 3c209329a3 chore: upgrade lexical 2023-03-27 13:07:00 +05:30
StandardNotes CI 21e73a39b3 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-26 21:29:57 +00:00
Mo 5a7419bf1c fix: exception handling (#2277) 2023-03-26 15:54:59 -05:00
StandardNotes CI 03849fa7da chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-24 14:57:52 +00:00
Aman Harwara 604c53017e Merge branch 'main' of github.com:standardnotes/app 2023-03-24 19:54:20 +05:30
Aman Harwara 5ef45feada chore: fix android dev build error 2023-03-24 19:54:11 +05:30
StandardNotes CI 89de01cd2f chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-24 14:09:20 +00:00
Aman Harwara 5c7ce12678 Merge branch 'main' of github.com:standardnotes/app 2023-03-24 19:10:42 +05:30
Aman Harwara 8bf891f8a3 fix: Fixed issue where ordered list numbers in Super would get cut off when using monospace font 2023-03-24 19:10:33 +05:30
StandardNotes CI 0c3c2447d3 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-24 09:57:23 +00:00
Aman Harwara 5cd04b1474 fix: Fixed issue where pasting an image into Super would not correctly link it to note 2023-03-24 15:00:40 +05:30
StandardNotes CI 0196b69a8b chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-22 10:57:02 +00:00
Aman Harwara 9adfb0a925 refactor: fix noteviewcontroller de-init 2023-03-22 15:58:44 +05:30
StandardNotes CI 151cfd2fe4 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-21 07:42:26 +00:00
proletarius101 a42213f8d5 fix: gradle version inconsistency (#2197) 2023-03-21 12:40:51 +05:30
StandardNotes CI 88f2a2a9c1 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-20 18:38:38 +00:00
Aman Harwara 5f75f4ab31 chore: enabled AdvancedFormat dayjs plugin for note title custom format 2023-03-20 23:37:29 +05:30
Mo a63ab6a555 Revert "chore: fastlane (skip e2e)"
This reverts commit 6acf329a5a.
2023-03-20 10:30:23 -05:00
Mo 404d8dfacf chore: workflows 2023-03-20 09:59:54 -05:00
Mo 8d81667f72 chore: workflows 2023-03-20 09:17:39 -05:00
StandardNotes CI ad626e6a4d chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-20 08:19:34 +00:00
Aman Harwara b64ec490e5 chore: upgrade lexical 2023-03-20 13:22:47 +05:30
StandardNotes CI cfac34a301 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-18 16:51:37 +00:00
Mo 6acf329a5a chore: fastlane (skip e2e) 2023-03-18 11:36:36 -05:00
Mo b7757983df chore: offline hosts 2023-03-18 11:26:05 -05:00
StandardNotes CI 2c3dbf9e32 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-18 14:49:03 +00:00
Mo 798ec58170 chore: trigger build (skip e2e) 2023-03-18 09:33:30 -05:00
Mo c86583dcda chore: update mobile profile 2023-03-18 09:16:56 -05:00
StandardNotes CI b00cd8c102 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-15 16:38:54 +00:00
Aman Harwara 79fdaa72e5 Merge branch 'main' of github.com:standardnotes/app 2023-03-15 21:41:53 +05:30
Aman Harwara db73613f8d chore: trigger build 2023-03-15 21:41:42 +05:30
StandardNotes CI 1516ff342f chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-15 15:47:49 +00:00
Aman Harwara 691239d3bc chore: attempt ios fastlane fix 2023-03-15 20:50:51 +05:30
StandardNotes CI 2b7ad0f8ef chore(release): publish
- @standardnotes/[email protected].9
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-15 12:03:57 +00:00
Aman Harwara 636de8fada fix: Disabled pane gesture navigation by default and moved it to Labs since it is unstable 2023-03-15 17:05:41 +05:30
StandardNotes CI ddc290e302 chore(release): publish
- @standardnotes/[email protected].8
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].9
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-10 20:13:08 +00:00
Karol Sójko 0ca26d0f75 chore: features fix specs 2023-03-10 20:40:23 +01:00
Karol Sójko bd4bc0614e chore: features fix to enable u2f for INTERNAL_TEAM_USER role 2023-03-10 20:19:43 +01:00
StandardNotes CI 2524d2615c chore(release): publish
- @standardnotes/[email protected].7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].9
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].8
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-10 14:15:09 +00:00
Karol Sójko 7eab5dc680 chore: fix features to remove u2f from pro subscription 2023-03-10 14:46:34 +01:00
StandardNotes CI 09c503da68 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-09 12:27:50 +00:00
Karol Sójko 2fd879bb2d Revert "chore: add temporary error log on authenticator authentication options generation"
This reverts commit c098256f2f.
2023-03-09 13:01:14 +01:00
Karol Sójko 33e6ff67d6 chore: remove redundant testing procedure during web deployment - already tested on publish job 2023-03-09 12:47:34 +01:00
StandardNotes CI bac39f45c5 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-03-09 11:41:25 +00:00
Karol Sójko c098256f2f chore: add temporary error log on authenticator authentication options generation 2023-03-09 12:10:27 +01:00
133 changed files with 1869 additions and 2543 deletions
+8 -8
View File
@@ -104,18 +104,18 @@ jobs:
- name: fastlane
uses: maierj/[email protected]
env:
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
APPLE_APP_ID: ${{ secrets.APP_APPLE_ID }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPSTORE_CONNECT_KEY_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ID }}
APPSTORE_CONNECT_KEY_ISSUER_ID: ${{ secrets.APPSTORE_CONNECT_KEY_ISSUER_ID }}
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
FASTLANE_SESSION: ${{ secrets.FASTLANE_SESSION }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
MATCH_CERTIFICATES_URL: ${{ secrets.MATCH_CERTIFICATES_URL }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
BUILD_NUMBER: ${{ github.run_number }}
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }}
FASTLANE_SESSION: ${{ secrets.FASTLANE_SESSION }}
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
MATCH_CERTIFICATES_URL: ${{ secrets.MATCH_CERTIFICATES_URL }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
with:
lane: 'ios prod'
subdirectory: 'packages/mobile'
-15
View File
@@ -12,22 +12,7 @@ on:
- '!*standardnotes/*web*alpha*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn build:web
- name: ESLint
run: yarn lint
- name: Test
run: yarn test
deploy:
needs: test
runs-on: ubuntu-latest
steps:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+18
View File
@@ -3,6 +3,24 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.25.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)
### Bug Fixes
* exception handling ([#2277](https://github.com/standardnotes/app/issues/2277)) ([5a7419b](https://github.com/standardnotes/app/commit/5a7419bf1c83f7d38e5ad157da67ebbed850f609))
## [1.25.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/api
## [1.25.8](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/api
## [1.25.7](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/api
## [1.25.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/api
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/api",
"version": "1.25.6",
"version": "1.25.10",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+11 -1
View File
@@ -310,12 +310,22 @@ export class HttpService implements HttpServiceInterface {
},
}
}
if (isString(errorResponse.data)) {
errorResponse.data = {
error: {
message: errorResponse.data,
},
}
}
if (!errorResponse.data.error) {
errorResponse.data.error = {
message: 'Unknown error',
}
}
resolve(response as HttpErrorResponse)
resolve(errorResponse)
}
}
+108
View File
@@ -3,6 +3,114 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.105.44](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.43](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.42](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.41](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.40](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.39](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.38](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-01)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.37](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.36](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.35](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.34](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.33](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-27)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.32](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.31](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.30](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.29](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.28](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-22)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.27](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.26](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.25](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.24](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.23](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.22](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.21](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.20](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.19](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.18](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/desktop
## [3.105.17](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/desktop
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/desktop",
"main": "./app/dist/index.js",
"version": "3.105.17",
"version": "3.105.44",
"license": "AGPL-3.0-or-later",
"author": "Standard Notes.",
"private": true,
+12
View File
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.21.23](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/encryption
## [1.21.22](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/encryption
## [1.21.21](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/encryption
## [1.21.20](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/encryption
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/encryption",
"version": "1.21.20",
"version": "1.21.23",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.58.12](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/features
## [1.58.11](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/features
## [1.58.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-08)
**Note:** Version bump only for package @standardnotes/features
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/features",
"version": "1.58.10",
"version": "1.58.12",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -2,11 +2,11 @@ import { SubscriptionName } from '@standardnotes/common'
import { GetFeatures, GetFeaturesForSubscription } from './Features'
describe('features', () => {
it('all features should have availableInSubscriptions populated', () => {
it('all features should have either availableInSubscriptions or availableInRoles populated', () => {
const features = GetFeatures()
for (const feature of features) {
expect(feature.availableInSubscriptions.length).toBeGreaterThan(0)
expect(feature.availableInSubscriptions.length > 0 || feature.availableInRoles !== undefined && feature.availableInRoles.length > 0).toBeTruthy()
}
})
it('gets features for plus plan', () => {
@@ -12,7 +12,8 @@ export function serverFeatures(): ServerFeatureDescription[] {
permission_name: PermissionName.TwoFactorAuth,
},
{
availableInSubscriptions: [SubscriptionName.ProPlan],
availableInSubscriptions: [],
availableInRoles: ['INTERNAL_TEAM_USER'],
name: 'U2F authentication',
identifier: FeatureIdentifier.UniversalSecondFactor,
permission_name: PermissionName.UniversalSecondFactor,
+12
View File
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.28.28](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/filepicker
## [1.28.27](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/filepicker
## [1.28.26](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/filepicker
## [1.28.25](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/filepicker
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/filepicker",
"version": "1.28.25",
"version": "1.28.28",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+12
View File
@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.14.38](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/files
## [1.14.37](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/files
## [1.14.36](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/files
## [1.14.35](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/files
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/files",
"version": "1.14.35",
"version": "1.14.38",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+10
View File
@@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.10.7](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)
**Note:** Version bump only for package @standardnotes/icons
## [1.10.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)
### Bug Fixes
* Added backspace button on Super toolbar on Android as a workaround for backspace issue ([08a20e2](https://github.com/standardnotes/app/commit/08a20e25b416e672f0e80518ca66365f7089b4f3))
## [1.10.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-02-02)
**Note:** Version bump only for package @standardnotes/icons
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/icons",
"version": "1.10.5",
"version": "1.10.7",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path fill="currentColor"
d="m11.4 16l2.6-2.6l2.6 2.6l1.4-1.4l-2.6-2.6L18 9.4L16.6 8L14 10.6L11.4 8L10 9.4l2.6 2.6l-2.6 2.6l1.4 1.4ZM3 12l4.35-6.15q.275-.4.713-.625T9 5h10q.825 0 1.413.588T21 7v10q0 .825-.588 1.413T19 19H9q-.5 0-.938-.225t-.712-.625L3 12Z" />
</svg>

After

Width:  |  Height:  |  Size: 330 B

+9 -7
View File
@@ -6,6 +6,7 @@ import AccountVariantIcon from './ic-account-variant.svg'
import AddBoldIcon from './ic-add-bold.svg'
import AddIcon from './ic-add.svg'
import AddTextIcon from './ic-add-text.svg'
import AegisIcon from './ic-aegis.svg'
import ArchiveIcon from './ic-archive.svg'
import ArrowDownCheckmarkIcon from './arrow-down-checkmark.svg'
import ArrowDownIcon from './ic-arrow-down.svg'
@@ -21,6 +22,7 @@ import AttachmentFileIcon from './ic-attachment-file.svg'
import AuthenticatorIcon from './ic-authenticator.svg'
import AuthenticatorVariantIcon from './ic-authenticator-variant.svg'
import BackIosIcon from './ic-back-ios.svg'
import BackspaceIcon from './ic-backspace.svg'
import BlockIcon from './ic-block.svg'
import BlueDotIcon from './blue-dot.svg'
import BoldIcon from './ic-bold.svg'
@@ -57,6 +59,7 @@ import EditorIcon from './ic-editor.svg'
import EmailFilledIcon from './ic-email-filled.svg'
import EmailIcon from './ic-email.svg'
import EnterIcon from './ic-enter.svg'
import EvernoteIcon from './ic-evernote.svg'
import EyeFilledIcon from './ic-eye-filled.svg'
import EyeIcon from './ic-eye.svg'
import EyeOffFilledIcon from './ic-eye-off-filled.svg'
@@ -87,6 +90,7 @@ import ForwardIosIcon from './ic-forward-ios.svg'
import FullscreenExitIcon from './ic-fullscreen-exit.svg'
import FullscreenIcon from './ic-fullscreen.svg'
import GiftOutlineIcon from './ic-gift-outline.svg'
import GoogleKeepIcon from './ic-gkeep.svg'
import HashtagFilledIcon from './ic-hashtag-filled.svg'
import HashtagIcon from './ic-hashtag.svg'
import HashtagOffIcon from './ic-hashtag-off.svg'
@@ -112,9 +116,9 @@ import LineWidthIcon from './ic-line-width.svg'
import LinkIcon from './ic-link.svg'
import LinkOffIcon from './ic-link-off.svg'
import ListBulleted from './ic-list-bulleted.svg'
import ListNumbered from './ic-list-numbered.svg'
import ListedFilledIcon from './ic-listed-filled.svg'
import ListedIcon from './ic-listed.svg'
import ListNumbered from './ic-list-numbered.svg'
import LockFilledIcon from './ic-lock-filled.svg'
import LockIcon from './ic-lock.svg'
import MarkdownIcon from './ic-markdown.svg'
@@ -146,6 +150,8 @@ import PrintIcon from './ic-print.svg'
import ProtectedIllustration from './il-protected.svg'
import RedoIcon from './ic-redo.svg'
import ReorderIcon from './ic-reorder.svg'
import ReplaceAllIcon from './ic-replace-all.svg'
import ReplaceIcon from './ic-replace.svg'
import RestoreIcon from './ic-restore.svg'
import RichTextIcon from './ic-text-rich.svg'
import SafeIcon from './ic-safe.svg'
@@ -164,6 +170,7 @@ import ShareIcon from './ic-share.svg'
import ShortcutButtonIcon from './ic-shortcut-button.svg'
import SignInIcon from './ic-signin.svg'
import SignOutIcon from './ic-signout.svg'
import SimplenoteIcon from './ic-simplenote.svg'
import SNLogoAltIcon from './ic-standard-notes-2.svg'
import SNLogoFull from './ic-sn-logo-full.svg'
import SNLogoIcon from './ic-standard-notes.svg'
@@ -201,12 +208,6 @@ import UserSwitch from './ic-user-switch.svg'
import ViewIcon from './ic-view.svg'
import WarningIcon from './ic-warning.svg'
import WindowIcon from './ic-window.svg'
import EvernoteIcon from './ic-evernote.svg'
import GoogleKeepIcon from './ic-gkeep.svg'
import SimplenoteIcon from './ic-simplenote.svg'
import AegisIcon from './ic-aegis.svg'
import ReplaceIcon from './ic-replace.svg'
import ReplaceAllIcon from './ic-replace-all.svg'
export {
AccessibilityIcon,
@@ -232,6 +233,7 @@ export {
AuthenticatorIcon,
AuthenticatorVariantIcon,
BackIosIcon,
BackspaceIcon,
BlockIcon,
BlueDotIcon,
BoldIcon,
+122
View File
@@ -3,6 +3,128 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.51.77](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.76](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.75](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.74](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.73](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.72](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.71](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-01)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.70](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.69](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.68](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.67](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.66](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-27)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.65](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.64](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.63](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.62](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.61](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-22)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.60](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-21)
### Bug Fixes
* gradle version inconsistency ([#2197](https://github.com/standardnotes/app/issues/2197)) ([a42213f](https://github.com/standardnotes/app/commit/a42213f8d52b9ea002774a32b461676b2e00e117))
## [3.51.59](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)
### Reverts
* Revert "chore: fastlane (skip e2e)" ([a63ab6a](https://github.com/standardnotes/app/commit/a63ab6a55523e9d4c447aaeac8e23d4fc2370152))
## [3.51.58](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.57](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.56](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.55](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.54](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.53](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
### Bug Fixes
* Disabled pane gesture navigation by default and moved it to Labs since it is unstable ([636de8f](https://github.com/standardnotes/app/commit/636de8fada2f8cb7ef0260de6b7301559147d682))
## [3.51.52](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.51](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.50](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.49](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/mobile
## [3.51.48](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/mobile
Binary file not shown.
@@ -1,6 +0,0 @@
#Thu Nov 09 11:32:04 CST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
@@ -8,5 +8,6 @@
tools:targetApi="28"
tools:ignore="GoogleAppIndexingWarning">
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false" />
<meta-data android:name="asset_statements" android:resource="@string/asset_statements" />
</application>
</manifest>
@@ -30,18 +30,20 @@
android:theme="@style/AppTheme"
tools:targetApi="n">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data android:name="asset_statements" android:resource="@string/asset_statements" />
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<queries>
@@ -1,3 +1,9 @@
<resources>
<string name="app_name">Standard Notes</string>
<string name="asset_statements" translatable="false">
[{
\"include\": \"https://app.standardnotes.com/.well-known/assetlinks.json\"
}]
</string>
</resources>
+4
View File
@@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.associated-domains</key>
<array>
<string>webcredentials:app.standardnotes.com</string>
</array>
<key>com.apple.developer.default-data-protection</key>
<string>NSFileProtectionComplete</string>
</dict>
@@ -10,7 +10,7 @@
00E356F31AD99517003FC87E /* StandardNotesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* StandardNotesTests.m */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
1C2EEB3B45F4EB07AC795C77 /* BuildFile in Frameworks */ = {isa = PBXBuildFile; };
1C2EEB3B45F4EB07AC795C77 /* (null) in Frameworks */ = {isa = PBXBuildFile; };
33BB1B14071EBE5978EBF3A8 /* libPods-StandardNotes-StandardNotesTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 04FCB5A3A3387CA3CFC82AA3 /* libPods-StandardNotes-StandardNotesTests.a */; };
BC8DEA834BF198E8511F04FF /* libPods-StandardNotesDev.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 51F2D747BE02C2A1BCFEEFD1 /* libPods-StandardNotesDev.a */; };
CD6592A9291EEFCC00C09DC6 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD6592A8291EEFCC00C09DC6 /* StoreKit.framework */; };
@@ -89,7 +89,7 @@
buildActionMask = 2147483647;
files = (
CD6592A9291EEFCC00C09DC6 /* StoreKit.framework in Frameworks */,
1C2EEB3B45F4EB07AC795C77 /* BuildFile in Frameworks */,
1C2EEB3B45F4EB07AC795C77 /* (null) in Frameworks */,
DD3D1CE428EC1C8BA0C49211 /* libPods-StandardNotes.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -674,7 +674,11 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = Blue;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = StandardNotes/StandardNotes.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = HKF9BXSN95;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = StandardNotes/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
@@ -689,6 +693,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.standardnotes.standardnotes;
PRODUCT_NAME = StandardNotes;
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
@@ -707,6 +712,7 @@
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = HKF9BXSN95;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = HKF9BXSN95;
INFOPLIST_FILE = StandardNotes/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
@@ -721,6 +727,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.standardnotes.standardnotes;
PRODUCT_NAME = StandardNotes;
PROVISIONING_PROFILE_SPECIFIER = "match AppStore com.standardnotes.standardnotes";
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore com.standardnotes.standardnotes";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/mobile",
"version": "3.51.48",
"version": "3.51.77",
"author": "Standard Notes.",
"private": true,
"license": "AGPL-3.0-or-later",
+14
View File
@@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.43.11](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
### Bug Fixes
* Disabled pane gesture navigation by default and moved it to Labs since it is unstable ([636de8f](https://github.com/standardnotes/app/commit/636de8fada2f8cb7ef0260de6b7301559147d682))
## [1.43.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/models
## [1.43.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/models
## [1.43.8](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/models
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/models",
"version": "1.43.8",
"version": "1.43.11",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -45,6 +45,7 @@ export enum PrefKey {
SystemViewPreferences = 'systemViewPreferences',
SuperNoteExportFormat = 'superNoteExportFormat',
AuthenticatorNames = 'authenticatorNames',
PaneGesturesEnabled = 'paneGesturesEnabled',
}
export enum NewNoteTitleFormat {
@@ -113,4 +114,5 @@ export type PrefValue = {
[PrefKey.SystemViewPreferences]: Partial<Record<SystemViewId, TagPreferences>>
[PrefKey.SuperNoteExportFormat]: 'json' | 'md' | 'html'
[PrefKey.AuthenticatorNames]: string
[PrefKey.PaneGesturesEnabled]: boolean
}
+116
View File
@@ -3,6 +3,122 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.4.220](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.219](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.218](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.217](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.216](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.215](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.214](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-01)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.213](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.212](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.211](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.210](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.209](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-27)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.208](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.207](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.206](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.205](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.204](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-22)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.203](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-21)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.202](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.201](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.200](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.199](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.198](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.197](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.196](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.195](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.194](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.193](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.192](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.191](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/releases
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/releases",
"version": "1.4.191",
"version": "1.4.220",
"license": "AGPL-3.0-or-later",
"main": "dist/releases.json",
"types": "dist/index.d.ts",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.13.13](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/responses
## [1.13.12](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/responses
## [1.13.11](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-08)
**Note:** Version bump only for package @standardnotes/responses
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/responses",
"version": "1.13.11",
"version": "1.13.13",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+16
View File
@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.57.11](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)
**Note:** Version bump only for package @standardnotes/services
## [1.57.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/services
## [1.57.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/services
## [1.57.8](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/services
## [1.57.7](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/services
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/services",
"version": "1.57.7",
"version": "1.57.11",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+34
View File
@@ -3,6 +3,40 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [2.166.18](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/snjs
## [2.166.17](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)
**Note:** Version bump only for package @standardnotes/snjs
## [2.166.16](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/snjs
## [2.166.15](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/snjs
## [2.166.14](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/snjs
## [2.166.13](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/snjs
## [2.166.12](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
### Reverts
* Revert "chore: add temporary error log on authenticator authentication options generation" ([2fd879b](https://github.com/standardnotes/app/commit/2fd879bb2df57678c87f70b062c0592d1c6c654c))
## [2.166.11](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/snjs
## [2.166.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/snjs
+1
View File
@@ -7,6 +7,7 @@ export const TRUSTED_FEATURE_HOSTS = [
'extensions.standardnotes.com',
'extensions.standardnotes.org',
'features.standardnotes.com',
'localhost',
]
export enum ExtensionsServerURL {
+3 -3
View File
@@ -648,10 +648,10 @@ export class SNApiService
throw Error('Cannot download offline repo without url and offlineKEy')
}
const { host } = new URL(featuresUrl)
const { hostname } = new URL(featuresUrl)
if (!TRUSTED_FEATURE_HOSTS.includes(host)) {
return new ClientDisplayableError('This offline features host is not in the trusted allowlist.')
if (!TRUSTED_FEATURE_HOSTS.includes(hostname)) {
return new ClientDisplayableError(`The offline features host ${hostname} is not in the trusted allowlist.`)
}
const response = await this.request<GetOfflineFeaturesResponse>({
@@ -170,7 +170,9 @@ describe('featuresService', () => {
featuresService.getExperimentalFeatures = jest.fn().mockReturnValue([FeatureIdentifier.PlusEditor])
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(itemManager.createItem).not.toHaveBeenCalled()
})
@@ -191,7 +193,9 @@ describe('featuresService', () => {
featuresService.getEnabledExperimentalFeatures = jest.fn().mockReturnValue([FeatureIdentifier.PlusEditor])
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(itemManager.createItem).toHaveBeenCalled()
})
})
@@ -226,9 +230,10 @@ describe('featuresService', () => {
const spy = jest.spyOn(featuresService, 'notifyEvent' as never)
const newRoles = [...roles, RoleName.NAMES.ProUser]
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(spy.mock.calls[2][0]).toEqual(FeaturesEvent.DidPurchaseSubscription)
expect(spy.mock.calls[0][0]).toEqual(FeaturesEvent.DidPurchaseSubscription)
})
it('should not notify of subscription purchase on initial roles load after sign in', async () => {
@@ -240,7 +245,8 @@ describe('featuresService', () => {
const spy = jest.spyOn(featuresService, 'notifyEvent' as never)
const newRoles = [...roles, RoleName.NAMES.ProUser]
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
const triggeredEvents = spy.mock.calls.map((call) => call[0])
expect(triggeredEvents).not.toContain(FeaturesEvent.DidPurchaseSubscription)
@@ -252,8 +258,11 @@ describe('featuresService', () => {
storageService.getValue = jest.fn().mockReturnValue(roles)
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
expect(storageService.setValue).toHaveBeenCalledWith(StorageKey.UserRoles, newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(apiService.getUserFeatures).toHaveBeenCalledWith('123')
})
@@ -263,7 +272,9 @@ describe('featuresService', () => {
storageService.getValue = jest.fn().mockReturnValue(roles)
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(storageService.setValue).toHaveBeenCalledWith(StorageKey.UserRoles, newRoles)
expect(apiService.getUserFeatures).toHaveBeenCalledWith('123')
})
@@ -274,7 +285,9 @@ describe('featuresService', () => {
storageService.getValue = jest.fn().mockReturnValue(roles)
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(storageService.setValue).toHaveBeenCalledWith(StorageKey.UserFeatures, features)
})
@@ -284,7 +297,9 @@ describe('featuresService', () => {
storageService.getValue = jest.fn().mockReturnValue(roles)
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(itemManager.createItem).toHaveBeenCalledTimes(2)
expect(itemManager.createItem).toHaveBeenCalledWith(
ContentType.Theme,
@@ -328,7 +343,8 @@ describe('featuresService', () => {
itemManager.getItems = jest.fn().mockReturnValue([existingItem])
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(itemManager.changeComponent).toHaveBeenCalledWith(existingItem, expect.any(Function))
})
@@ -354,7 +370,9 @@ describe('featuresService', () => {
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(itemManager.createItem).toHaveBeenCalledWith(
ContentType.Component,
expect.objectContaining({
@@ -401,7 +419,9 @@ describe('featuresService', () => {
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(itemManager.setItemsToBeDeleted).toHaveBeenCalledWith([existingItem])
})
@@ -424,7 +444,9 @@ describe('featuresService', () => {
storageService.getValue = jest.fn().mockReturnValue(roles)
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(itemManager.createItem).not.toHaveBeenCalled()
})
@@ -447,7 +469,9 @@ describe('featuresService', () => {
storageService.getValue = jest.fn().mockReturnValue(roles)
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(itemManager.createItem).not.toHaveBeenCalled()
})
@@ -455,10 +479,14 @@ describe('featuresService', () => {
storageService.getValue = jest.fn().mockReturnValue(roles)
const featuresService = createService()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', roles)
await featuresService.updateOnlineRolesAndFetchFeatures('123', roles)
await featuresService.updateOnlineRolesAndFetchFeatures('123', roles)
await featuresService.updateOnlineRolesAndFetchFeatures('123', roles)
const { didChangeRoles: didChangeRoles1 } = await featuresService.updateOnlineRoles(roles)
await featuresService.fetchFeatures('123', didChangeRoles1)
const { didChangeRoles: didChangeRoles2 } = await featuresService.updateOnlineRoles(roles)
await featuresService.fetchFeatures('123', didChangeRoles2)
const { didChangeRoles: didChangeRoles3 } = await featuresService.updateOnlineRoles(roles)
await featuresService.fetchFeatures('123', didChangeRoles3)
const { didChangeRoles: didChangeRoles4 } = await featuresService.updateOnlineRoles(roles)
await featuresService.fetchFeatures('123', didChangeRoles4)
expect(storageService.setValue).toHaveBeenCalledTimes(2)
})
@@ -482,7 +510,9 @@ describe('featuresService', () => {
const nativeFeature = featuresService['mapRemoteNativeFeatureToStaticFeature'](remoteFeature)
featuresService['mapRemoteNativeFeatureToItem'] = jest.fn()
featuresService.initializeFromDisk()
await featuresService.updateOnlineRolesAndFetchFeatures('123', newRoles)
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(featuresService['mapRemoteNativeFeatureToItem']).toHaveBeenCalledWith(
nativeFeature,
expect.anything(),
@@ -522,7 +552,11 @@ describe('featuresService', () => {
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(true)
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser, RoleName.NAMES.PlusUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([
RoleName.NAMES.CoreUser,
RoleName.NAMES.PlusUser,
])
await featuresService.fetchFeatures('123', didChangeRoles)
expect(featuresService.getFeatureStatus(FeatureIdentifier.MidnightTheme)).toBe(FeatureStatus.Entitled)
expect(featuresService.getFeatureStatus(FeatureIdentifier.SuperEditor)).toBe(FeatureStatus.Entitled)
@@ -554,7 +588,8 @@ describe('featuresService', () => {
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(true)
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([RoleName.NAMES.CoreUser])
await featuresService.fetchFeatures('123', didChangeRoles)
expect(featuresService.getFeatureStatus(FeatureIdentifier.MidnightTheme)).toBe(FeatureStatus.NoUserSubscription)
expect(featuresService.getFeatureStatus(FeatureIdentifier.PlusEditor)).toBe(FeatureStatus.NoUserSubscription)
@@ -566,7 +601,8 @@ describe('featuresService', () => {
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(false)
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.ProUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([RoleName.NAMES.ProUser])
await featuresService.fetchFeatures('123', didChangeRoles)
expect(featuresService.getFeatureStatus(FeatureIdentifier.SuperEditor)).toBe(FeatureStatus.NotInCurrentPlan)
})
@@ -615,7 +651,8 @@ describe('featuresService', () => {
} as never),
])
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([RoleName.NAMES.CoreUser])
await featuresService.fetchFeatures('123', didChangeRoles)
expect(featuresService.getFeatureStatus(themeFeature.identifier)).toBe(FeatureStatus.Entitled)
expect(featuresService.getFeatureStatus(editorFeature.identifier)).toBe(FeatureStatus.InCurrentPlanButExpired)
@@ -627,7 +664,8 @@ describe('featuresService', () => {
it('feature status should be not entitled if no account or offline repo', async () => {
const featuresService = createService()
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([RoleName.NAMES.CoreUser])
await featuresService.fetchFeatures('123', didChangeRoles)
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(false)
@@ -652,7 +690,11 @@ describe('featuresService', () => {
it('feature status for offline subscription', async () => {
const featuresService = createService()
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser, RoleName.NAMES.PlusUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([
RoleName.NAMES.CoreUser,
RoleName.NAMES.PlusUser,
])
await featuresService.fetchFeatures('123', didChangeRoles)
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(false)
featuresService.onlineRolesIncludePaidSubscription = jest.fn().mockReturnValue(false)
@@ -680,7 +722,11 @@ describe('featuresService', () => {
FeatureStatus.NoUserSubscription,
)
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser, RoleName.NAMES.PlusUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([
RoleName.NAMES.CoreUser,
RoleName.NAMES.PlusUser,
])
await featuresService.fetchFeatures('123', didChangeRoles)
expect(featuresService.getFeatureStatus(FeatureIdentifier.DeprecatedFileSafe as FeatureIdentifier)).toBe(
FeatureStatus.Entitled,
@@ -690,12 +736,17 @@ describe('featuresService', () => {
it('has paid subscription', async () => {
const featuresService = createService()
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser])
const { didChangeRoles: didChangeRoles1 } = await featuresService.updateOnlineRoles([RoleName.NAMES.CoreUser])
await featuresService.fetchFeatures('123', didChangeRoles1)
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(true)
expect(featuresService.hasPaidAnyPartyOnlineOrOfflineSubscription()).toBeFalsy
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser, RoleName.NAMES.PlusUser])
const { didChangeRoles: didChangeRoles2 } = await featuresService.updateOnlineRoles([
RoleName.NAMES.CoreUser,
RoleName.NAMES.PlusUser,
])
await featuresService.fetchFeatures('123', didChangeRoles2)
expect(featuresService.hasPaidAnyPartyOnlineOrOfflineSubscription()).toEqual(true)
})
@@ -703,7 +754,8 @@ describe('featuresService', () => {
it('has paid subscription should be true if offline repo and signed into third party server', async () => {
const featuresService = createService()
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([RoleName.NAMES.CoreUser])
await featuresService.fetchFeatures('123', didChangeRoles)
featuresService.hasOfflineRepo = jest.fn().mockReturnValue(true)
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(false)
@@ -725,7 +777,11 @@ describe('featuresService', () => {
const featuresService = createService()
await featuresService.migrateFeatureRepoToUserSetting([extensionRepoItem])
expect(settingsService.updateSetting).toHaveBeenCalledWith(SettingName.create(SettingName.NAMES.ExtensionKey).getValue(), extensionKey, true)
expect(settingsService.updateSetting).toHaveBeenCalledWith(
SettingName.create(SettingName.NAMES.ExtensionKey).getValue(),
extensionKey,
true,
)
})
})
@@ -789,7 +845,8 @@ describe('featuresService', () => {
it('should be false if core user checks for plus role', async () => {
const featuresService = createService()
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.CoreUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([RoleName.NAMES.CoreUser])
await featuresService.fetchFeatures('123', didChangeRoles)
const hasPlusUserRole = featuresService.hasMinimumRole(RoleName.NAMES.PlusUser)
@@ -801,7 +858,11 @@ describe('featuresService', () => {
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(true)
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.PlusUser, RoleName.NAMES.CoreUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([
RoleName.NAMES.PlusUser,
RoleName.NAMES.CoreUser,
])
await featuresService.fetchFeatures('123', didChangeRoles)
const hasProUserRole = featuresService.hasMinimumRole(RoleName.NAMES.ProUser)
@@ -813,7 +874,11 @@ describe('featuresService', () => {
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(true)
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.ProUser, RoleName.NAMES.PlusUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([
RoleName.NAMES.ProUser,
RoleName.NAMES.PlusUser,
])
await featuresService.fetchFeatures('123', didChangeRoles)
const hasCoreUserRole = featuresService.hasMinimumRole(RoleName.NAMES.CoreUser)
@@ -825,7 +890,11 @@ describe('featuresService', () => {
sessionManager.isSignedIntoFirstPartyServer = jest.fn().mockReturnValue(true)
await featuresService.updateOnlineRolesAndFetchFeatures('123', [RoleName.NAMES.ProUser, RoleName.NAMES.PlusUser])
const { didChangeRoles } = await featuresService.updateOnlineRoles([
RoleName.NAMES.ProUser,
RoleName.NAMES.PlusUser,
])
await featuresService.fetchFeatures('123', didChangeRoles)
const hasProUserRole = featuresService.hasMinimumRole(RoleName.NAMES.ProUser)
@@ -88,7 +88,8 @@ export class SNFeaturesService
const {
payload: { userUuid, currentRoles },
} = data as UserRolesChangedEvent
await this.updateOnlineRolesAndFetchFeatures(userUuid, currentRoles)
const { didChangeRoles } = await this.updateOnlineRoles(currentRoles)
await this.fetchFeatures(userUuid, didChangeRoles)
}
})
@@ -143,6 +144,9 @@ export class SNFeaturesService
return
}
const { userUuid, userRoles } = event.payload as MetaReceivedData
const { didChangeRoles } = await this.updateOnlineRoles(userRoles.map((role) => role.name))
/**
* All user data must be downloaded before we map features. Otherwise, feature mapping
* may think a component doesn't exist and create a new one, when in reality the component
@@ -152,11 +156,7 @@ export class SNFeaturesService
return
}
const { userUuid, userRoles } = event.payload as MetaReceivedData
await this.updateOnlineRolesAndFetchFeatures(
userUuid,
userRoles.map((role) => role.name),
)
await this.fetchFeatures(userUuid, didChangeRoles)
}
}
@@ -282,7 +282,7 @@ export class SNFeaturesService
void this.syncService.sync()
return this.downloadOfflineFeatures(offlineRepo)
} catch (err) {
return new ClientDisplayableError(API_MESSAGE_FAILED_OFFLINE_ACTIVATION)
return new ClientDisplayableError(`${API_MESSAGE_FAILED_OFFLINE_ACTIVATION}, ${err}`)
}
}
@@ -392,15 +392,17 @@ export class SNFeaturesService
}
const offlineRepo = this.getOfflineRepo()
if (!offlineRepo) {
if (!offlineRepo || !offlineRepo.content.offlineFeaturesUrl) {
return false
}
const hasFirstPartyOfflineSubscription = offlineRepo.content.offlineFeaturesUrl === PROD_OFFLINE_FEATURES_URL
return hasFirstPartyOfflineSubscription
return hasFirstPartyOfflineSubscription || new URL(offlineRepo.content.offlineFeaturesUrl).hostname === 'localhost'
}
async updateOnlineRolesAndFetchFeatures(userUuid: UuidString, roles: string[]): Promise<void> {
async updateOnlineRoles(roles: string[]): Promise<{
didChangeRoles: boolean
}> {
const previousRoles = this.onlineRoles
const userRolesChanged =
@@ -409,13 +411,31 @@ export class SNFeaturesService
const isInitialLoadRolesChange = previousRoles.length === 0 && userRolesChanged
if (!userRolesChanged && !this.needsInitialFeaturesUpdate) {
return {
didChangeRoles: false,
}
}
if (userRolesChanged && !isInitialLoadRolesChange) {
if (this.onlineRolesIncludePaidSubscription()) {
await this.notifyEvent(FeaturesEvent.DidPurchaseSubscription)
}
}
await this.setOnlineRoles(roles)
return {
didChangeRoles: true,
}
}
async fetchFeatures(userUuid: UuidString, didChangeRoles: boolean): Promise<void> {
if (!didChangeRoles && !this.needsInitialFeaturesUpdate) {
return
}
this.needsInitialFeaturesUpdate = false
await this.setOnlineRoles(roles)
const shouldDownloadRoleBasedFeatures = !this.hasOfflineRepo()
if (shouldDownloadRoleBasedFeatures) {
@@ -426,12 +446,6 @@ export class SNFeaturesService
await this.didDownloadFeatures(features)
}
}
if (userRolesChanged && !isInitialLoadRolesChange) {
if (this.onlineRolesIncludePaidSubscription()) {
await this.notifyEvent(FeaturesEvent.DidPurchaseSubscription)
}
}
}
async setOnlineRoles(roles: string[]): Promise<void> {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/snjs",
"version": "2.166.10",
"version": "2.166.18",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+10
View File
@@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.7.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)
**Note:** Version bump only for package @standardnotes/styles
## [1.7.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)
### Bug Fixes
* Added backspace button on Super toolbar on Android as a workaround for backspace issue ([08a20e2](https://github.com/standardnotes/app/commit/08a20e25b416e672f0e80518ca66365f7089b4f3))
## [1.7.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-01-16)
**Note:** Version bump only for package @standardnotes/styles
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/styles",
"version": "1.7.4",
"version": "1.7.6",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
+4 -2
View File
@@ -41,7 +41,7 @@ const getColorsForPrimaryVariant = (style: AlertButtonStyle) => {
type AlertButton = {
text: string
style: AlertButtonStyle
action: () => void
action?: () => void
primary?: boolean
}
@@ -168,7 +168,9 @@ export class SKAlert {
this.buttons.forEach((buttonDesc, index) => {
const buttonElem = this.element.querySelector(`#button-${index}`) as HTMLButtonElement
buttonElem.onclick = () => {
buttonDesc.action && buttonDesc.action()
if (buttonDesc.action) {
buttonDesc.action()
}
this.dismiss()
}
if (index === 0) {
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.3.26](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)
**Note:** Version bump only for package @standardnotes/toast
## [1.3.25](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)
**Note:** Version bump only for package @standardnotes/toast
## [1.3.24](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-02-02)
**Note:** Version bump only for package @standardnotes/toast
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/toast",
"version": "1.3.24",
"version": "1.3.26",
"private": true,
"main": "./src/index.ts",
"scripts": {
+24
View File
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.24.41](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)
**Note:** Version bump only for package @standardnotes/ui-services
## [1.24.40](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)
**Note:** Version bump only for package @standardnotes/ui-services
## [1.24.39](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)
**Note:** Version bump only for package @standardnotes/ui-services
## [1.24.38](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/ui-services
## [1.24.37](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/ui-services
## [1.24.36](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/ui-services
## [1.24.35](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/ui-services
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/ui-services",
"version": "1.24.35",
"version": "1.24.41",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+121
View File
@@ -3,6 +3,127 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.150.44](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/web
## [3.150.43](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/web
## [3.150.42](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)
**Note:** Version bump only for package @standardnotes/web
## [3.150.41](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/web
## [3.150.40](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/web
## [3.150.39](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)
**Note:** Version bump only for package @standardnotes/web
## [3.150.38](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-01)
**Note:** Version bump only for package @standardnotes/web
## [3.150.37](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)
**Note:** Version bump only for package @standardnotes/web
## [3.150.36](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)
**Note:** Version bump only for package @standardnotes/web
## [3.150.35](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)
### Bug Fixes
* Files uploaded to a protected Super note will also be marked as protected ([09fd659](https://github.com/standardnotes/app/commit/09fd65903b5e34c7f2b9f805e372efda383c7e4c))
* Fixed an issue where deleting a file from the preview modal would not correctly navigate to next item or dismiss the modal ([7773bec](https://github.com/standardnotes/app/commit/7773becdec0f5a623337b25a7fd218e5bcfebf13))
## [3.150.34](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)
### Bug Fixes
* Added backspace button on Super toolbar on Android as a workaround for backspace issue ([08a20e2](https://github.com/standardnotes/app/commit/08a20e25b416e672f0e80518ca66365f7089b4f3))
## [3.150.33](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-27)
**Note:** Version bump only for package @standardnotes/web
## [3.150.32](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)
### Bug Fixes
* exception handling ([#2277](https://github.com/standardnotes/app/issues/2277)) ([5a7419b](https://github.com/standardnotes/app/commit/5a7419bf1c83f7d38e5ad157da67ebbed850f609))
## [3.150.31](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
**Note:** Version bump only for package @standardnotes/web
## [3.150.30](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
### Bug Fixes
* Fixed issue where ordered list numbers in Super would get cut off when using monospace font ([8bf891f](https://github.com/standardnotes/app/commit/8bf891f8a3e5936196b22bfb689063f5d48c5603))
## [3.150.29](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)
### Bug Fixes
* Fixed issue where pasting an image into Super would not correctly link it to note ([5cd04b1](https://github.com/standardnotes/app/commit/5cd04b147479f9f1a0f2b8ee02aba2cfa652e798))
## [3.150.28](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-22)
**Note:** Version bump only for package @standardnotes/web
## [3.150.27](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)
**Note:** Version bump only for package @standardnotes/web
## [3.150.26](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)
**Note:** Version bump only for package @standardnotes/web
## [3.150.25](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/web
## [3.150.24](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)
**Note:** Version bump only for package @standardnotes/web
## [3.150.23](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
**Note:** Version bump only for package @standardnotes/web
## [3.150.22](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)
### Bug Fixes
* Disabled pane gesture navigation by default and moved it to Labs since it is unstable ([636de8f](https://github.com/standardnotes/app/commit/636de8fada2f8cb7ef0260de6b7301559147d682))
## [3.150.21](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/web
## [3.150.20](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)
**Note:** Version bump only for package @standardnotes/web
## [3.150.19](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/web
## [3.150.18](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/web
## [3.150.17](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)
**Note:** Version bump only for package @standardnotes/web
+317
View File
@@ -1,5 +1,322 @@
{
"versions": [
{
"version": "3.150.44",
"title": "[3.150.44](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.43",
"title": "[3.150.43](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.42",
"title": "[3.150.42](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-06)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.41",
"title": "[3.150.41](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.40",
"title": "[3.150.40](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.39",
"title": "[3.150.39](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-03)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.38",
"title": "[3.150.38](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-04-01)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.37",
"title": "[3.150.37](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.36",
"title": "[3.150.36](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-31)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.35",
"title": "[3.150.35](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-30)",
"date": null,
"body": "### Bug Fixes\n\n* Files uploaded to a protected Super note will also be marked as protected ([09fd659](https://github.com/standardnotes/app/commit/09fd65903b5e34c7f2b9f805e372efda383c7e4c))\n* Fixed an issue where deleting a file from the preview modal would not correctly navigate to next item or dismiss the modal ([7773bec](https://github.com/standardnotes/app/commit/7773becdec0f5a623337b25a7fd218e5bcfebf13))",
"parsed": {
"_": [
"Files uploaded to a protected Super note will also be marked as protected (09fd659)",
"Fixed an issue where deleting a file from the preview modal would not correctly navigate to next item or dismiss the modal (7773bec)"
],
"Bug Fixes": [
"Files uploaded to a protected Super note will also be marked as protected (09fd659)",
"Fixed an issue where deleting a file from the preview modal would not correctly navigate to next item or dismiss the modal (7773bec)"
]
}
},
{
"version": "3.150.34",
"title": "[3.150.34](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-29)",
"date": null,
"body": "### Bug Fixes\n\n* Added backspace button on Super toolbar on Android as a workaround for backspace issue ([08a20e2](https://github.com/standardnotes/app/commit/08a20e25b416e672f0e80518ca66365f7089b4f3))",
"parsed": {
"_": [
"Added backspace button on Super toolbar on Android as a workaround for backspace issue (08a20e2)"
],
"Bug Fixes": [
"Added backspace button on Super toolbar on Android as a workaround for backspace issue (08a20e2)"
]
}
},
{
"version": "3.150.33",
"title": "[3.150.33](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-27)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.32",
"title": "[3.150.32](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-26)",
"date": null,
"body": "### Bug Fixes\n\n* exception handling ([#2277](https://github.com/standardnotes/app/issues/2277)) ([5a7419b](https://github.com/standardnotes/app/commit/5a7419bf1c83f7d38e5ad157da67ebbed850f609))",
"parsed": {
"_": [
"exception handling (#2277) (5a7419b)"
],
"Bug Fixes": [
"exception handling (#2277) (5a7419b)"
]
}
},
{
"version": "3.150.31",
"title": "[3.150.31](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.30",
"title": "[3.150.30](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)",
"date": null,
"body": "### Bug Fixes\n\n* Fixed issue where ordered list numbers in Super would get cut off when using monospace font ([8bf891f](https://github.com/standardnotes/app/commit/8bf891f8a3e5936196b22bfb689063f5d48c5603))",
"parsed": {
"_": [
"Fixed issue where ordered list numbers in Super would get cut off when using monospace font (8bf891f)"
],
"Bug Fixes": [
"Fixed issue where ordered list numbers in Super would get cut off when using monospace font (8bf891f)"
]
}
},
{
"version": "3.150.29",
"title": "[3.150.29](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-24)",
"date": null,
"body": "### Bug Fixes\n\n* Fixed issue where pasting an image into Super would not correctly link it to note ([5cd04b1](https://github.com/standardnotes/app/commit/5cd04b147479f9f1a0f2b8ee02aba2cfa652e798))",
"parsed": {
"_": [
"Fixed issue where pasting an image into Super would not correctly link it to note (5cd04b1)"
],
"Bug Fixes": [
"Fixed issue where pasting an image into Super would not correctly link it to note (5cd04b1)"
]
}
},
{
"version": "3.150.28",
"title": "[3.150.28](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-22)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.27",
"title": "[3.150.27](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.26",
"title": "[3.150.26](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-20)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.25",
"title": "[3.150.25](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.24",
"title": "[3.150.24](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-18)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.23",
"title": "[3.150.23](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.22",
"title": "[3.150.22](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-15)",
"date": null,
"body": "### Bug Fixes\n\n* Disabled pane gesture navigation by default and moved it to Labs since it is unstable ([636de8f](https://github.com/standardnotes/app/commit/636de8fada2f8cb7ef0260de6b7301559147d682))",
"parsed": {
"_": [
"Disabled pane gesture navigation by default and moved it to Labs since it is unstable (636de8f)"
],
"Bug Fixes": [
"Disabled pane gesture navigation by default and moved it to Labs since it is unstable (636de8f)"
]
}
},
{
"version": "3.150.21",
"title": "[3.150.21](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.20",
"title": "[3.150.20](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-10)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.19",
"title": "[3.150.19](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.18",
"title": "[3.150.18](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)",
"date": null,
"body": "**Note:** Version bump only for package @standardnotes/web",
"parsed": {
"_": [
"Note: Version bump only for package @standardnotes/web"
]
}
},
{
"version": "3.150.17",
"title": "[3.150.17](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-03-09)",
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/web",
"version": "3.150.17",
"version": "3.150.44",
"license": "AGPL-3.0-or-later",
"main": "dist/app.js",
"author": "Standard Notes.",
@@ -28,7 +28,7 @@
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@babel/preset-env": "*",
"@babel/preset-typescript": "^7.18.6",
"@lexical/react": "0.8.1",
"@lexical/react": "0.9.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@reach/alert": "^0.18.0",
"@reach/alert-dialog": "^0.18.0",
@@ -84,7 +84,7 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lexical": "0.8.1",
"lexical": "0.9.1",
"lint-staged": ">=13",
"mini-css-extract-plugin": "^2.7.2",
"minimatch": "^5.1.1",
@@ -116,7 +116,7 @@
"app/**/*.{js,ts,jsx,tsx,css,md}": "prettier --write"
},
"dependencies": {
"@lexical/headless": "0.8.1",
"@lexical/headless": "0.9.1",
"contactjs": "2.1.5"
}
}
@@ -1,7 +1,8 @@
{
"webcredentials": {
"apps": [
"HKF9BXSN95.com.standardnotes.standardnotes"
"HKF9BXSN95.com.standardnotes.standardnotes",
"MVYA8NJCQ5.com.standardnotes.standardnotes"
]
}
}
@@ -0,0 +1,19 @@
[
{
"relation": ["delegate_permission/common.handle_all_urls", "delegate_permission/common.get_login_creds"],
"target": {
"namespace": "web",
"site": "https://app.standardnotes.com"
}
},
{
"relation": ["delegate_permission/common.handle_all_urls", "delegate_permission/common.get_login_creds"],
"target": {
"namespace": "android_app",
"package_name": "com.standardnotes",
"sha256_cert_fingerprints": [
"58:3F:C4:1B:49:0C:38:0B:56:FB:E9:EE:47:38:1E:B4:EF:53:E0:37:19:A5:50:3F:C1:F2:9D:CD:8E:28:90:2A"
]
}
}
]
@@ -131,6 +131,7 @@ const CreateAccount: FunctionComponent<Props> = ({
ref={emailInputRef}
type="email"
value={email}
spellcheck={false}
/>
<DecoratedPasswordInput
className={{ container: 'mb-2' }}
@@ -102,9 +102,9 @@ const GeneralAccountMenu: FunctionComponent<Props> = ({
<div className="wrap my-0.5 font-bold">{user.email}</div>
<span className="text-neutral">{application.getHost()}</span>
</div>
<div className="mb-2 flex items-start justify-between px-3">
<div className="mb-2 flex items-start justify-between px-3 text-mobile-menu-item md:text-tablet-menu-item lg:text-menu-item">
{isSyncingInProgress ? (
<div className="flex items-center text-base font-semibold text-info lg:text-sm">
<div className="flex items-center font-semibold text-info">
<Spinner className="mr-2 h-5 w-5" />
Syncing...
</div>
@@ -112,8 +112,8 @@ const GeneralAccountMenu: FunctionComponent<Props> = ({
<div className="flex items-start">
<Icon type="check-circle" className={`mr-2 text-success ${MenuItemIconSize}`} />
<div>
<div className="text-base font-semibold text-success lg:text-sm">Last synced:</div>
<div className="text-base text-text lg:text-sm">{lastSyncDate}</div>
<div className="font-semibold text-success">Last synced:</div>
<div className="text-text">{lastSyncDate}</div>
</div>
</div>
)}
@@ -210,6 +210,7 @@ const SignInPane: FunctionComponent<Props> = ({ application, viewControllerManag
onKeyDown={handleKeyDown}
disabled={isSigningIn || isPrivateUsername}
ref={emailInputRef}
spellcheck={false}
/>
<DecoratedPasswordInput
className={{ container: `mb-2 ${error ? 'border-danger' : null}` }}
@@ -56,7 +56,7 @@ const WorkspaceMenuItem: FunctionComponent<Props> = ({
return (
<div className="relative">
<MenuRadioButtonItem
className="flex w-full cursor-pointer items-center border-0 bg-transparent px-3 py-2 text-left text-sm text-text hover:bg-contrast hover:text-foreground focus:bg-info-backdrop focus:shadow-none"
className="flex w-full cursor-pointer items-center border-0 bg-transparent px-3 py-2 text-left text-mobile-menu-item text-text hover:bg-contrast hover:text-foreground focus:bg-info-backdrop focus:shadow-none md:text-tablet-menu-item lg:text-menu-item"
onClick={onClick}
checked={descriptor.primary}
>

Some files were not shown because too many files have changed in this diff Show More