Compare commits

...
Author SHA1 Message Date
StandardNotes CI 53d1c7fe4b chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected].6
2023-09-05 16:54:27 +00:00
Aman Harwara cdd90bf393 chore: fixed issue issue where getting payloads would hang if passed an empty array 2023-09-05 21:29:54 +05:30
Karol Sójko fc9dc60030 chore: fix passing websocket events 2023-09-05 17:48:24 +02:00
Karol Sójko a195b93cb8 chore: fix missing event subscription registrations 2023-09-05 15:53:31 +02:00
Aman Harwara b1666ffa21 chore: fix role change alert logic 2023-09-04 22:25:11 +05:30
Aman Harwara c3890fe50d chore: dont show alert on every role change 2023-09-04 21:13:42 +05:30
Aman Harwara 4ee5ad8595 chore: fix issue where ephemeral vault couldnt be deleted with the correct password if not unlocked once before 2023-09-04 19:27:04 +05:30
StandardNotes CI 13925e6e8c chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].9
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected].5
2023-09-04 12:14:04 +00:00
Aman Harwara e18731d9e6 chore: update preferences bubble count 2023-09-04 15:53:26 +05:30
Karol Sójko 29575999d4 chore: increase mocha headless chrome global timeout 2023-09-04 11:44:47 +02:00
Aman Harwara c543bfee72 chore: update preference menu bubble counts correctly 2023-09-04 15:09:30 +05:30
Aman Harwara 00db5ef0ed chore: only show alert if error 2023-09-04 15:08:54 +05:30
Aman Harwara 35d4e7ff2d chore: only download inbound invites when signed in 2023-09-04 13:31:32 +05:30
Aman Harwara e7ecabc972 chore: fix quotes in super when using RTL 2023-09-02 19:42:30 +05:30
StandardNotes CI 973bb990c6 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
2023-09-01 19:08:32 +00:00
Aman Harwara 2fc3d04ba9 fix: Fixed issue where note history would only display the latest content 2023-09-01 23:42:42 +05:30
Aman Harwara 42321fbe2b chore: fix super list margins when using right-to-left direction 2023-09-01 23:38:30 +05:30
StandardNotes CI b91d4a778b chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].8
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].3
2023-09-01 17:52:17 +00:00
Aman Harwara be3b904f62 chore: show invite count bubble on preferences button (#2458) 2023-09-01 22:31:35 +05:30
Karol Sójko 4ca291291c chore: add handling shared vault invites via websockets (#2475) 2023-09-01 17:04:32 +02:00
Karol Sójko 318a2caf08 chore: fix establishing connection to websockets when session is loaded from disk (#2474) 2023-09-01 16:16:01 +02:00
Karol Sójko bd2172b773 chore: handle messages via websockets (#2473)
* chore: handle messages via websockets

* chore: update domain events

* fix: specs

* fix: adjust server revision creation delay
2023-09-01 13:07:15 +02:00
Aman Harwara de165c7456 chore: fix vault invite sender contact 2023-08-31 21:10:34 +05:30
StandardNotes CI 6cd98e7a40 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected].2
2023-08-31 14:26:39 +00:00
Karol Sójko cc6d300dc7 chore: handle notifications from websockets (#2472) 2023-08-31 15:32:05 +02:00
StandardNotes CI f35c34567e chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
2023-08-30 04:26:30 +00:00
Aman Harwara 493d5e91f6 fix: Fixed issue where conflict resolution menu was not selectable [skip e2e] 2023-08-30 09:42:17 +05:30
StandardNotes CI 6e0b1a7c3f chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected].0
2023-08-29 19:56:52 +00:00
Aman Harwara 600afa5382 feat: Notes from Evernote ENEX files are now correctly imported as Super notes with attachments (#2467) 2023-08-30 00:32:54 +05:30
StandardNotes CI 631972ca9c chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-08-29 09:50:38 +00:00
Karol Sójko 0dd3124acf chore: refactor history e2e tests (#2468) 2023-08-29 10:59:23 +02:00
StandardNotes CI f98877cd93 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-08-29 07:17:11 +00:00
Karol Sójko 4846355d9c chore: enable vaults tests by default (#2462)
* chore: enable vaults tests by default

* fix: decrease times

* chore: restore times
2023-08-29 08:27:53 +02:00
StandardNotes CI 49098c7fa5 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-08-28 16:33:12 +00:00
Karol Sójko aae403f88e chore: skip history test due to race conditions - to be refactored 2023-08-28 17:43:48 +02:00
Aman Harwara 6a14741e7b chore: fix type errors 2023-08-28 15:55:18 +05:30
Aman Harwara 2484d78588 fix: Fixed issue where file upload progress was not visible 2023-08-28 15:46:13 +05:30
Aman Harwara 208070be1b chore: make font size changes responsive to window size 2023-08-27 16:45:41 +05:30
StandardNotes CI aa611d297e chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2023-08-27 11:08:50 +00:00
Aman Harwara 93559e091a chore: fix challenge modal height on desktop app [skip e2e] 2023-08-27 16:20:07 +05:30
Aman Harwara c82086e3dc chore: improve super code block styles 2023-08-27 16:17:12 +05:30
Aman Harwara 675be69eda chore: fix prettier config 2023-08-25 21:27:02 +05:30
Aman Harwara cfa519c4bd chore: use updated rn keychain fork 2023-08-25 11:43:17 +05:30
Aman Harwara 598882bf36 refactor: revert to rn keychain fork 2023-08-25 11:28:30 +05:30
Karol Sójko 6a61efae02 chore: increase revision frequency time in e2e [no ci] (#2450) 2023-08-24 14:49:31 -05:00
StandardNotes CI a88ea67403 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected].9
2023-08-24 19:46:40 +00:00
Mo c996885d9c chore: skip revisions tests 2023-08-24 14:03:25 -05:00
Mo a5bb112df5 chore: fix issue where application deinit was called twice 2023-08-24 08:48:56 -05:00
Karol Sójko 3dd9504a85 chore: add option to transition your data - internal feature (#2449)
* chore: add option to transition your data - internal feature

* chore: fix spec typo
2023-08-24 14:58:15 +02:00
Aman Harwara e41f239cc5 chore: fix build errors 2023-08-24 17:04:43 +05:30
Aman Harwara 999bbde1b0 refactor: use correct endpoint when uploading file to shared vault note 2023-08-24 15:54:47 +05:30
StandardNotes CI fcaaf549b8 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].9
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected].8
2023-08-23 14:37:19 +00:00
Aman Harwara beaf60c491 chore: fix alert dialog interactivity when nested in other dialogs 2023-08-23 19:11:24 +05:30
Mo 5bfc6081b4 chore: remove engines requirement in models [no ci] 2023-08-23 07:20:42 -05:00
Karol Sójko 5f557c27aa chore: add quota usage e2e tests (#2438)
* chore: add quota usage e2e tests

* chore: add moving from shared to shared vault quota e2e test

* chore: fix test suite name

* chore: fix awaiting for notifications to propagate

* chore: fix awaiting for notifications processing
2023-08-23 13:55:14 +02:00
StandardNotes CI 568f7eb396 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected].7
2023-08-23 11:14:23 +00:00
Aman Harwara 4c8d1e1f94 chore: upgrade mobile dependencies (#2442) 2023-08-23 15:53:30 +05:30
Karol Sójko c26f0c4c02 chore: fix handling failures upon shared vault invite accepting (#2443) 2023-08-23 11:52:00 +02:00
StandardNotes CI 474ba7c318 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
2023-08-22 12:06:42 +00:00
Aman Harwara 0275a3b988 chore: fix challenge modal height issues on iOS 2023-08-22 16:48:25 +05:30
StandardNotes CI 6f1d171149 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected].5
2023-08-21 18:49:16 +00:00
Karol Sójko d01f3343de chore: fix passed value for creating shared vault file token 2023-08-21 20:08:12 +02:00
179 changed files with 3124 additions and 730 deletions
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.
+1 -1
View File
@@ -27,7 +27,7 @@
"build:services": "yarn workspaces foreach -pt --topological-dev --verbose -R --from @standardnotes/services run build",
"build:api": "yarn workspaces foreach -pt --topological-dev --verbose -R --from @standardnotes/api run build",
"e2e": "lerna run start:test-server --scope=@standardnotes/snjs",
"e2e:test": "yarn dlx mocha-headless-chrome --timeout 1800000 -f http://localhost:9001/mocha/test.html",
"e2e:test": "yarn dlx mocha-headless-chrome --timeout 3600000 -f http://localhost:9001/mocha/test.html",
"reset": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock && yarn install",
"release:prod": "lerna version --conventional-commits --yes -m \"chore(release): publish\"",
"publish:prod": "lerna publish from-git --yes --no-verify-access --loglevel verbose",
+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.26.52](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/api
## [1.26.51](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/api
## [1.26.50](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/api
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/api",
"version": "1.26.50",
"version": "1.26.52",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+64
View File
@@ -3,6 +3,70 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.1.203](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-05)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.202](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-04)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.201](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.200](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.199](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-31)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.198](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-30)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.197](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.196](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.195](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.194](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-28)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.193](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-27)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.192](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-24)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.191](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.190](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.189](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-22)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.188](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/clipper
## [1.1.187](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/clipper
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/clipper",
"description": "Web clipper browser extension for Standard Notes",
"version": "1.1.187",
"version": "1.1.203",
"private": true,
"scripts": {
"build-mv2": "yarn clean && webpack --config ./webpack.config.prod.js",
+64
View File
@@ -3,6 +3,70 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.108.135](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-05)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.134](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-04)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.133](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.132](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.131](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-31)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.130](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-30)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.129](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.128](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.127](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.126](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-28)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.125](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-27)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.124](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-24)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.123](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.122](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.121](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-22)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.120](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/desktop
## [3.108.119](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/desktop
@@ -128,7 +128,7 @@ async function configureWindow(remoteBridge: CrossProcessBridge) {
/* Use custom title bar. Take the sn-titlebar-height off of
the app content height so its not overflowing */
sheet.insertRule(
'[role="dialog"] { height: calc(100vh - var(--sn-desktop-titlebar-height)) !important; margin-top: var(--sn-desktop-titlebar-height); }',
'[role="dialog"]:not(.challenge-modal) { height: calc(100vh - var(--sn-desktop-titlebar-height)) !important; margin-top: var(--sn-desktop-titlebar-height); }',
sheet.cssRules.length,
)
sheet.insertRule(
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/desktop",
"main": "./app/dist/index.js",
"version": "3.108.119",
"version": "3.108.135",
"license": "CC BY-NC-SA 4.0",
"author": "Standard Notes.",
"private": true,
+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.21.73](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/encryption
## [1.21.72](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/encryption
## [1.21.71](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/encryption
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/encryption",
"version": "1.21.71",
"version": "1.21.73",
"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.28.84](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/filepicker
## [1.28.83](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/filepicker
## [1.28.82](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/filepicker
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/filepicker",
"version": "1.28.82",
"version": "1.28.84",
"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.17.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/files
## [1.17.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/files
## [1.17.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/files
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/files",
"version": "1.17.1",
"version": "1.17.3",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
+64
View File
@@ -3,6 +3,70 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [3.56.114](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-05)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.113](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-04)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.112](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.111](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.110](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-31)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.109](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-30)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.108](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.107](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.106](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.105](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-28)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.104](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-27)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.103](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-24)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.102](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.101](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.100](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-22)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.99](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/mobile
## [3.56.98](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/mobile
@@ -1,5 +1,7 @@
package com.standardnotes;
import com.reactnativecommunity.webview.RNCWebView;
import com.reactnativecommunity.webview.RNCWebViewClient;
import com.reactnativecommunity.webview.RNCWebViewManager;
import com.facebook.react.uimanager.ThemedReactContext;
import android.view.inputmethod.InputConnectionWrapper;
@@ -58,8 +60,8 @@ public class CustomWebViewManager extends RNCWebViewManager {
}
@Override
protected RNCWebView createRNCWebViewInstance(ThemedReactContext reactContext) {
return new CustomWebView(reactContext);
public RNCWebView createViewInstance(ThemedReactContext reactContext) {
return super.createViewInstance(reactContext, new CustomWebView(reactContext));
}
@Override
@@ -68,7 +70,7 @@ public class CustomWebViewManager extends RNCWebViewManager {
}
@Override
protected void addEventEmitters(ThemedReactContext reactContext, WebView view) {
protected void addEventEmitters(ThemedReactContext reactContext, RNCWebView view) {
view.setWebViewClient(new CustomWebViewClient());
}
}
}
+183 -183
View File
@@ -2,14 +2,14 @@ PODS:
- boost (1.76.0)
- CocoaAsyncSocket (7.6.5)
- DoubleConversion (1.1.6)
- FBLazyVector (0.72.3)
- FBReactNativeSpec (0.72.3):
- FBLazyVector (0.72.4)
- FBReactNativeSpec (0.72.4):
- RCT-Folly (= 2021.07.22.00)
- RCTRequired (= 0.72.3)
- RCTTypeSafety (= 0.72.3)
- React-Core (= 0.72.3)
- React-jsi (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- RCTRequired (= 0.72.4)
- RCTTypeSafety (= 0.72.4)
- React-Core (= 0.72.4)
- React-jsi (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- Flipper (0.182.0):
- Flipper-Folly (~> 2.6)
- Flipper-Boost-iOSX (1.76.0.1.11)
@@ -70,9 +70,9 @@ PODS:
- FlipperKit/FlipperKitNetworkPlugin
- fmt (6.2.1)
- glog (0.3.5)
- hermes-engine (0.72.3):
- hermes-engine/Pre-built (= 0.72.3)
- hermes-engine/Pre-built (0.72.3)
- hermes-engine (0.72.4):
- hermes-engine/Pre-built (= 0.72.4)
- hermes-engine/Pre-built (0.72.4)
- libevent (2.1.12)
- MMKV (1.2.14):
- MMKVCore (~> 1.2.14)
@@ -95,26 +95,26 @@ PODS:
- fmt (~> 6.2.1)
- glog
- libevent
- RCTRequired (0.72.3)
- RCTTypeSafety (0.72.3):
- FBLazyVector (= 0.72.3)
- RCTRequired (= 0.72.3)
- React-Core (= 0.72.3)
- React (0.72.3):
- React-Core (= 0.72.3)
- React-Core/DevSupport (= 0.72.3)
- React-Core/RCTWebSocket (= 0.72.3)
- React-RCTActionSheet (= 0.72.3)
- React-RCTAnimation (= 0.72.3)
- React-RCTBlob (= 0.72.3)
- React-RCTImage (= 0.72.3)
- React-RCTLinking (= 0.72.3)
- React-RCTNetwork (= 0.72.3)
- React-RCTSettings (= 0.72.3)
- React-RCTText (= 0.72.3)
- React-RCTVibration (= 0.72.3)
- React-callinvoker (0.72.3)
- React-Codegen (0.72.3):
- RCTRequired (0.72.4)
- RCTTypeSafety (0.72.4):
- FBLazyVector (= 0.72.4)
- RCTRequired (= 0.72.4)
- React-Core (= 0.72.4)
- React (0.72.4):
- React-Core (= 0.72.4)
- React-Core/DevSupport (= 0.72.4)
- React-Core/RCTWebSocket (= 0.72.4)
- React-RCTActionSheet (= 0.72.4)
- React-RCTAnimation (= 0.72.4)
- React-RCTBlob (= 0.72.4)
- React-RCTImage (= 0.72.4)
- React-RCTLinking (= 0.72.4)
- React-RCTNetwork (= 0.72.4)
- React-RCTSettings (= 0.72.4)
- React-RCTText (= 0.72.4)
- React-RCTVibration (= 0.72.4)
- React-callinvoker (0.72.4)
- React-Codegen (0.72.4):
- DoubleConversion
- FBReactNativeSpec
- glog
@@ -129,11 +129,11 @@ PODS:
- React-rncore
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- React-Core (0.72.3):
- React-Core (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.72.3)
- React-Core/Default (= 0.72.4)
- React-cxxreact
- React-hermes
- React-jsi
@@ -143,7 +143,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/CoreModulesHeaders (0.72.3):
- React-Core/CoreModulesHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -157,7 +157,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/Default (0.72.3):
- React-Core/Default (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -170,23 +170,23 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/DevSupport (0.72.3):
- React-Core/DevSupport (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.72.3)
- React-Core/RCTWebSocket (= 0.72.3)
- React-Core/Default (= 0.72.4)
- React-Core/RCTWebSocket (= 0.72.4)
- React-cxxreact
- React-hermes
- React-jsi
- React-jsiexecutor
- React-jsinspector (= 0.72.3)
- React-jsinspector (= 0.72.4)
- React-perflogger
- React-runtimeexecutor
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTActionSheetHeaders (0.72.3):
- React-Core/RCTActionSheetHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -200,7 +200,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTAnimationHeaders (0.72.3):
- React-Core/RCTAnimationHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -214,7 +214,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTBlobHeaders (0.72.3):
- React-Core/RCTBlobHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -228,7 +228,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTImageHeaders (0.72.3):
- React-Core/RCTImageHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -242,7 +242,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTLinkingHeaders (0.72.3):
- React-Core/RCTLinkingHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -256,7 +256,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTNetworkHeaders (0.72.3):
- React-Core/RCTNetworkHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -270,7 +270,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTSettingsHeaders (0.72.3):
- React-Core/RCTSettingsHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -284,7 +284,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTTextHeaders (0.72.3):
- React-Core/RCTTextHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -298,7 +298,7 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTVibrationHeaders (0.72.3):
- React-Core/RCTVibrationHeaders (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -312,11 +312,11 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-Core/RCTWebSocket (0.72.3):
- React-Core/RCTWebSocket (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.72.3)
- React-Core/Default (= 0.72.4)
- React-cxxreact
- React-hermes
- React-jsi
@@ -326,57 +326,57 @@ PODS:
- React-utils
- SocketRocket (= 0.6.1)
- Yoga
- React-CoreModules (0.72.3):
- React-CoreModules (0.72.4):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.72.3)
- React-Codegen (= 0.72.3)
- React-Core/CoreModulesHeaders (= 0.72.3)
- React-jsi (= 0.72.3)
- RCTTypeSafety (= 0.72.4)
- React-Codegen (= 0.72.4)
- React-Core/CoreModulesHeaders (= 0.72.4)
- React-jsi (= 0.72.4)
- React-RCTBlob
- React-RCTImage (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- React-RCTImage (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- SocketRocket (= 0.6.1)
- React-cxxreact (0.72.3):
- React-cxxreact (0.72.4):
- boost (= 1.76.0)
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-callinvoker (= 0.72.3)
- React-debug (= 0.72.3)
- React-jsi (= 0.72.3)
- React-jsinspector (= 0.72.3)
- React-logger (= 0.72.3)
- React-perflogger (= 0.72.3)
- React-runtimeexecutor (= 0.72.3)
- React-debug (0.72.3)
- React-hermes (0.72.3):
- React-callinvoker (= 0.72.4)
- React-debug (= 0.72.4)
- React-jsi (= 0.72.4)
- React-jsinspector (= 0.72.4)
- React-logger (= 0.72.4)
- React-perflogger (= 0.72.4)
- React-runtimeexecutor (= 0.72.4)
- React-debug (0.72.4)
- React-hermes (0.72.4):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- RCT-Folly/Futures (= 2021.07.22.00)
- React-cxxreact (= 0.72.3)
- React-cxxreact (= 0.72.4)
- React-jsi
- React-jsiexecutor (= 0.72.3)
- React-jsinspector (= 0.72.3)
- React-perflogger (= 0.72.3)
- React-jsi (0.72.3):
- React-jsiexecutor (= 0.72.4)
- React-jsinspector (= 0.72.4)
- React-perflogger (= 0.72.4)
- React-jsi (0.72.4):
- boost (= 1.76.0)
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-jsiexecutor (0.72.3):
- React-jsiexecutor (0.72.4):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-cxxreact (= 0.72.3)
- React-jsi (= 0.72.3)
- React-perflogger (= 0.72.3)
- React-jsinspector (0.72.3)
- React-logger (0.72.3):
- React-cxxreact (= 0.72.4)
- React-jsi (= 0.72.4)
- React-perflogger (= 0.72.4)
- React-jsinspector (0.72.4)
- React-logger (0.72.4):
- glog
- react-native-fingerprint-scanner (5.0.0):
- React-Core
@@ -385,9 +385,9 @@ PODS:
- React-Core
- react-native-version-info (1.1.1):
- React-Core
- react-native-webview (11.26.1):
- react-native-webview (13.3.1):
- React-Core
- React-NativeModulesApple (0.72.3):
- React-NativeModulesApple (0.72.4):
- hermes-engine
- React-callinvoker
- React-Core
@@ -396,17 +396,17 @@ PODS:
- React-runtimeexecutor
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- React-perflogger (0.72.3)
- React-RCTActionSheet (0.72.3):
- React-Core/RCTActionSheetHeaders (= 0.72.3)
- React-RCTAnimation (0.72.3):
- React-perflogger (0.72.4)
- React-RCTActionSheet (0.72.4):
- React-Core/RCTActionSheetHeaders (= 0.72.4)
- React-RCTAnimation (0.72.4):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.72.3)
- React-Codegen (= 0.72.3)
- React-Core/RCTAnimationHeaders (= 0.72.3)
- React-jsi (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- React-RCTAppDelegate (0.72.3):
- RCTTypeSafety (= 0.72.4)
- React-Codegen (= 0.72.4)
- React-Core/RCTAnimationHeaders (= 0.72.4)
- React-jsi (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- React-RCTAppDelegate (0.72.4):
- RCT-Folly
- RCTRequired
- RCTTypeSafety
@@ -418,54 +418,54 @@ PODS:
- React-RCTNetwork
- React-runtimescheduler
- ReactCommon/turbomodule/core
- React-RCTBlob (0.72.3):
- React-RCTBlob (0.72.4):
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-Codegen (= 0.72.3)
- React-Core/RCTBlobHeaders (= 0.72.3)
- React-Core/RCTWebSocket (= 0.72.3)
- React-jsi (= 0.72.3)
- React-RCTNetwork (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- React-RCTImage (0.72.3):
- React-Codegen (= 0.72.4)
- React-Core/RCTBlobHeaders (= 0.72.4)
- React-Core/RCTWebSocket (= 0.72.4)
- React-jsi (= 0.72.4)
- React-RCTNetwork (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- React-RCTImage (0.72.4):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.72.3)
- React-Codegen (= 0.72.3)
- React-Core/RCTImageHeaders (= 0.72.3)
- React-jsi (= 0.72.3)
- React-RCTNetwork (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- React-RCTLinking (0.72.3):
- React-Codegen (= 0.72.3)
- React-Core/RCTLinkingHeaders (= 0.72.3)
- React-jsi (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- React-RCTNetwork (0.72.3):
- RCTTypeSafety (= 0.72.4)
- React-Codegen (= 0.72.4)
- React-Core/RCTImageHeaders (= 0.72.4)
- React-jsi (= 0.72.4)
- React-RCTNetwork (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- React-RCTLinking (0.72.4):
- React-Codegen (= 0.72.4)
- React-Core/RCTLinkingHeaders (= 0.72.4)
- React-jsi (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- React-RCTNetwork (0.72.4):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.72.3)
- React-Codegen (= 0.72.3)
- React-Core/RCTNetworkHeaders (= 0.72.3)
- React-jsi (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- React-RCTSettings (0.72.3):
- RCTTypeSafety (= 0.72.4)
- React-Codegen (= 0.72.4)
- React-Core/RCTNetworkHeaders (= 0.72.4)
- React-jsi (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- React-RCTSettings (0.72.4):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.72.3)
- React-Codegen (= 0.72.3)
- React-Core/RCTSettingsHeaders (= 0.72.3)
- React-jsi (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- React-RCTText (0.72.3):
- React-Core/RCTTextHeaders (= 0.72.3)
- React-RCTVibration (0.72.3):
- RCTTypeSafety (= 0.72.4)
- React-Codegen (= 0.72.4)
- React-Core/RCTSettingsHeaders (= 0.72.4)
- React-jsi (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- React-RCTText (0.72.4):
- React-Core/RCTTextHeaders (= 0.72.4)
- React-RCTVibration (0.72.4):
- RCT-Folly (= 2021.07.22.00)
- React-Codegen (= 0.72.3)
- React-Core/RCTVibrationHeaders (= 0.72.3)
- React-jsi (= 0.72.3)
- ReactCommon/turbomodule/core (= 0.72.3)
- React-rncore (0.72.3)
- React-runtimeexecutor (0.72.3):
- React-jsi (= 0.72.3)
- React-runtimescheduler (0.72.3):
- React-Codegen (= 0.72.4)
- React-Core/RCTVibrationHeaders (= 0.72.4)
- React-jsi (= 0.72.4)
- ReactCommon/turbomodule/core (= 0.72.4)
- React-rncore (0.72.4)
- React-runtimeexecutor (0.72.4):
- React-jsi (= 0.72.4)
- React-runtimescheduler (0.72.4):
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
@@ -473,31 +473,31 @@ PODS:
- React-debug
- React-jsi
- React-runtimeexecutor
- React-utils (0.72.3):
- React-utils (0.72.4):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-debug
- ReactCommon/turbomodule/bridging (0.72.3):
- ReactCommon/turbomodule/bridging (0.72.4):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-callinvoker (= 0.72.3)
- React-cxxreact (= 0.72.3)
- React-jsi (= 0.72.3)
- React-logger (= 0.72.3)
- React-perflogger (= 0.72.3)
- ReactCommon/turbomodule/core (0.72.3):
- React-callinvoker (= 0.72.4)
- React-cxxreact (= 0.72.4)
- React-jsi (= 0.72.4)
- React-logger (= 0.72.4)
- React-perflogger (= 0.72.4)
- ReactCommon/turbomodule/core (0.72.4):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- React-callinvoker (= 0.72.3)
- React-cxxreact (= 0.72.3)
- React-jsi (= 0.72.3)
- React-logger (= 0.72.3)
- React-perflogger (= 0.72.3)
- RNCAsyncStorage (1.19.0):
- React-callinvoker (= 0.72.4)
- React-cxxreact (= 0.72.4)
- React-jsi (= 0.72.4)
- React-logger (= 0.72.4)
- React-perflogger (= 0.72.4)
- RNCAsyncStorage (1.19.2):
- React-Core
- RNFileViewer (2.1.5):
- React-Core
@@ -630,7 +630,7 @@ EXTERNAL SOURCES:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
hermes-engine:
:podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec"
:tag: hermes-2023-03-20-RNv0.72.0-49794cfc7c81fb8f69fd60c3bbf85a7480cc5a77
:tag: hermes-2023-08-07-RNv0.72.4-813b2def12bc9df02654b3e3653ae4a68d0572e0
RCT-Folly:
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
RCTRequired:
@@ -726,8 +726,8 @@ SPEC CHECKSUMS:
boost: 57d2868c099736d80fcd648bf211b4431e51a558
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: 4cce221dd782d3ff7c4172167bba09d58af67ccb
FBReactNativeSpec: c6bd9e179757b3c0ecf815864fae8032377903ef
FBLazyVector: 5d4a3b7f411219a45a6d952f77d2c0a6c9989da5
FBReactNativeSpec: 3fc2d478e1c4b08276f9dd9128f80ec6d5d85c1f
Flipper: 6edb735e6c3e332975d1b17956bcc584eccf5818
Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c
Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30
@@ -738,48 +738,48 @@ SPEC CHECKSUMS:
FlipperKit: 2efad7007d6745a3f95e4034d547be637f89d3f6
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
hermes-engine: 10fbd3f62405c41ea07e71973ea61e1878d07322
hermes-engine: 81191603c4eaa01f5e4ae5737a9efcf64756c7b2
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
MMKV: 9c4663aa7ca255d478ff10f2f5cb7d17c1651ccd
MMKVCore: 89f5c8a66bba2dcd551779dea4d412eeec8ff5bb
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
RCTRequired: a2faf4bad4e438ca37b2040cb8f7799baa065c18
RCTTypeSafety: cb09f3e4747b6d18331a15eb05271de7441ca0b3
React: 13109005b5353095c052f26af37413340ccf7a5d
React-callinvoker: c8c87bce983aa499c13cb06d4447c025a35274d6
React-Codegen: 712d523524d89d71f1cf7cc624854941be983c4d
React-Core: 688f88b7f3a3d30b4848036223f8b07102c687e5
React-CoreModules: 63c063a3ade8fb3b1bec5fd9a50f17b0421558c6
React-cxxreact: 37765b4975541105b2a3322a4b473417c158c869
React-debug: 51f11ef8db14b47f24e71c42a4916d4192972156
React-hermes: 935ae71fb3d7654e947beba8498835cd5e479707
React-jsi: ec628dc7a15ffea969f237b0ea6d2fde212b19dd
React-jsiexecutor: 59d1eb03af7d30b7d66589c410f13151271e8006
React-jsinspector: b511447170f561157547bc0bef3f169663860be7
React-logger: c5b527272d5f22eaa09bb3c3a690fee8f237ae95
RCTRequired: c0569ecc035894e4a68baecb30fe6a7ea6e399f9
RCTTypeSafety: e90354072c21236e0bcf1699011e39acd25fea2f
React: a1be3c6dc0a6e949ccd3e659781aa47bbae1868f
React-callinvoker: 1020b33f6cb1a1824f9ca2a86609fbce2a73c6ed
React-Codegen: a0a26badf098d4a779acda922caf74f6ecabed28
React-Core: 52075b80f10c26f62219d7b5d13d7d8089f027b3
React-CoreModules: 21abab85d7ad9038ce2b1c33d39e3baaf7dc9244
React-cxxreact: 4ad1cc861e32fb533dad6ff7a4ea25680fa1c994
React-debug: 17366a3d5c5d2f5fc04f09101a4af38cb42b54ae
React-hermes: 37377d0a56aa0cf55c65248271866ce3268cde3f
React-jsi: 6de8b0ccc6b765b58e4eee9ee38049dbeaf5c221
React-jsiexecutor: c7f826e40fa9cab5d37cab6130b1af237332b594
React-jsinspector: aaed4cf551c4a1c98092436518c2d267b13a673f
React-logger: da1ebe05ae06eb6db4b162202faeafac4b435e77
react-native-fingerprint-scanner: be63e626b31fb951780a5fac5328b065a61a3d6e
react-native-mmkv: dea675cf9697ad35940f1687e98e133e1358ef9f
react-native-version-info: a106f23009ac0db4ee00de39574eb546682579b9
react-native-webview: 9f111dfbcfc826084d6c507f569e5e03342ee1c1
React-NativeModulesApple: c57f3efe0df288a6532b726ad2d0322a9bf38472
React-perflogger: 6bd153e776e6beed54c56b0847e1220a3ff92ba5
React-RCTActionSheet: c0b62af44e610e69d9a2049a682f5dba4e9dff17
React-RCTAnimation: f9bf9719258926aea9ecb8a2aa2595d3ff9a6022
React-RCTAppDelegate: e5ac35d4dbd1fae7df3a62b47db04b6a8d151592
React-RCTBlob: c4f1e69a6ef739aa42586b876d637dab4e3b5bed
React-RCTImage: e5798f01aba248416c02a506cf5e6dfcba827638
React-RCTLinking: f5b6227c879e33206f34e68924c458f57bbb96d9
React-RCTNetwork: d5554fbfac1c618da3c8fa29933108ea22837788
React-RCTSettings: 189c71e3e6146ba59f4f7e2cbeb494cf2ad42afa
React-RCTText: 19425aea9d8b6ccae55a27916355b17ab577e56e
React-RCTVibration: 388ac0e1455420895d1ca2548401eed964b038a6
React-rncore: 755a331dd67b74662108f2d66a384454bf8dc1a1
React-runtimeexecutor: 369ae9bb3f83b65201c0c8f7d50b72280b5a1dbc
React-runtimescheduler: 837c1bebd2f84572db17698cd702ceaf585b0d9a
React-utils: bcb57da67eec2711f8b353f6e3d33bd8e4b2efa3
ReactCommon: 3ccb8fb14e6b3277e38c73b0ff5e4a1b8db017a9
RNCAsyncStorage: 4b98ac3c64efa4e35c1197cb0c5ca5e9f5d4c666
react-native-webview: c2b70afb1d910cdd8810375aecc6c2894e2ba061
React-NativeModulesApple: edb5ace14f73f4969df6e7b1f3e41bef0012740f
React-perflogger: 496a1a3dc6737f964107cb3ddae7f9e265ddda58
React-RCTActionSheet: 02904b932b50e680f4e26e7a686b33ebf7ef3c00
React-RCTAnimation: 88feaf0a85648fb8fd497ce749829774910276d6
React-RCTAppDelegate: 5792ac0f0feccb584765fdd7aa81ea320c4d9b0b
React-RCTBlob: 0dbc9e2a13d241b37d46b53e54630cbad1f0e141
React-RCTImage: b111645ab901f8e59fc68fbe31f5731bdbeef087
React-RCTLinking: 3d719727b4c098aad3588aa3559361ee0579f5de
React-RCTNetwork: b44d3580be05d74556ba4efbf53570f17e38f734
React-RCTSettings: c0c54b330442c29874cd4dae6e94190dc11a6f6f
React-RCTText: 9b9f5589d9b649d7246c3f336e116496df28cfe6
React-RCTVibration: 691c67f3beaf1d084ceed5eb5c1dddd9afa8591e
React-rncore: 142268f6c92e296dc079aadda3fade778562f9e4
React-runtimeexecutor: d465ba0c47ef3ed8281143f59605cacc2244d5c7
React-runtimescheduler: 4941cc1b3cf08b792fbf666342c9fc95f1969035
React-utils: b79f2411931f9d3ea5781404dcbb2fa8a837e13a
ReactCommon: 4b2bdcb50a3543e1c2b2849ad44533686610826d
RNCAsyncStorage: f57e929cd7757f2cb3dd8186d123c09e8281a1ad
RNFileViewer: ce7ca3ac370e18554d35d6355cffd7c30437c592
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNIap: c397f49db45af3b10dca64b2325f21bb8078ad21
@@ -789,7 +789,7 @@ SPEC CHECKSUMS:
SNReactNative: b5e9e529c175c13f3a618e27c76cf3071213d5e1
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
TrustKit: 073855e3adecd317417bda4ac9e9ac54a2e3b9f2
Yoga: 8796b55dba14d7004f980b54bcc9833ee45b28ce
Yoga: 3efc43e0d48686ce2e8c60f99d4e6bd349aff981
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
PODFILE CHECKSUM: c3b827e3c92cdf3199eddc52083480826e717b88
+10 -10
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/mobile",
"version": "3.56.98",
"version": "3.56.114",
"author": "Standard Notes.",
"private": true,
"license": "CC BY-NC-SA 4.0",
@@ -31,16 +31,16 @@
"@babel/core": "*",
"@babel/preset-typescript": "^7.18.6",
"@babel/runtime": "^7.20.1",
"@react-native-async-storage/async-storage": "1.19.0",
"@react-native-async-storage/async-storage": "1.19.2",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.9",
"@react-native/metro-config": "^0.72.11",
"@standardnotes/config": "^2.4.3",
"@standardnotes/react-native-utils": "1.0.1",
"@standardnotes/snjs": "workspace:*",
"@standardnotes/web": "workspace:*",
"@tsconfig/react-native": "^3.0.0",
"@tsconfig/react-native": "^3.0.2",
"@types/react": "^18.0.25",
"@types/react-native": "^0.70.6",
"@types/react-native": "^0.72.2",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"babel-jest": "^29.3.1",
@@ -48,24 +48,24 @@
"eslint": "*",
"eslint-plugin-prettier": "*",
"get-yarn-workspaces": "^1.0.2",
"metro-react-native-babel-preset": "^0.76.7",
"metro-react-native-babel-preset": "^0.76.8",
"npm-check-updates": "*",
"pod-install": "^0.1.38",
"prettier": "*",
"prettier-plugin-organize-imports": "^3.2.0",
"react": "18.2.0",
"react-native": "0.72.3",
"react-native": "0.72.4",
"react-native-file-viewer": "^2.1.5",
"react-native-fingerprint-scanner": "standardnotes/react-native-fingerprint-scanner#b55d1c0ca627a87a130f758603f12911fbac200f",
"react-native-flag-secure-android": "standardnotes/react-native-flag-secure-android#cb08e74583c22a5d912842459b35ebbbb4bcd852",
"react-native-fs": "^2.20.0",
"react-native-iap": "^12.7.4",
"react-native-keychain": "standardnotes/react-native-keychain#d277d360494cbd02be4accb4a360772a8e0e97b6",
"react-native-keychain": "standardnotes/react-native-keychain#4fd687461cecfa26d482d820ee43c0de61b964d4",
"react-native-mmkv": "^2.6.2",
"react-native-privacy-snapshot": "standardnotes/react-native-privacy-snapshot#653e904c90fc6f2b578da59138f2bfe5d7f942fe",
"react-native-share": "^8.2.0",
"react-native-share": "^9.2.3",
"react-native-version-info": "^1.1.1",
"react-native-webview": "11.26.1",
"react-native-webview": "13.3.1",
"typescript": "^4.9.3"
},
"engines": {
+1 -2
View File
@@ -1,4 +1,3 @@
import { requireNativeComponent } from 'react-native'
import { NativeWebViewAndroid } from 'react-native-webview/lib/WebViewTypes'
export default requireNativeComponent('CustomWebView') as NativeWebViewAndroid
export default requireNativeComponent('CustomWebView')
@@ -5,7 +5,7 @@ import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { Button, Dimensions, Keyboard, Platform, Text, View } from 'react-native'
import VersionInfo from 'react-native-version-info'
import { WebView, WebViewMessageEvent } from 'react-native-webview'
import { OnShouldStartLoadWithRequest } from 'react-native-webview/lib/WebViewTypes'
import { OnShouldStartLoadWithRequest, WebViewNativeConfig } from 'react-native-webview/lib/WebViewTypes'
import { AndroidBackHandlerService } from './AndroidBackHandlerService'
import { AppStateObserverService } from './AppStateObserverService'
import { ColorSchemeObserverService } from './ColorSchemeObserverService'
@@ -381,7 +381,7 @@ const MobileWebAppContents = ({ destroyAndReload }: { destroyAndReload: () => vo
nativeConfig={Platform.select({
android: {
component: CustomAndroidWebView,
},
} as WebViewNativeConfig,
})}
/>
)
+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.47.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/models
## [1.47.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/models
## [1.47.8](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/models
+1 -4
View File
@@ -1,9 +1,6 @@
{
"name": "@standardnotes/models",
"version": "1.47.8",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
"version": "1.47.10",
"publishConfig": {
"access": "public"
},
+64
View File
@@ -3,6 +3,70 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.4.487](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-05)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.486](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-04)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.485](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.484](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.483](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-31)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.482](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-30)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.481](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.480](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.479](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-29)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.478](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-28)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.477](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-27)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.476](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-24)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.475](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.474](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.473](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-22)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.472](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/releases
## [1.4.471](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/releases
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/releases",
"version": "1.4.471",
"version": "1.4.487",
"license": "CC BY-NC-SA 4.0",
"main": "dist/releases.json",
"types": "dist/index.d.ts",
+4
View File
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.13.39](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/responses
## [1.13.38](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/responses
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/responses",
"version": "1.13.38",
"version": "1.13.39",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -2,7 +2,7 @@ export interface AsymmetricMessageServerHash {
uuid: string
recipient_uuid: string
sender_uuid: string
replaceabilityIdentifier?: string
replaceability_identifier: string | null
encrypted_message: string
created_at_timestamp: number
updated_at_timestamp: number
@@ -1,6 +1,4 @@
import { AsymmetricMessageServerHash } from '../AsymmetricMessage/AsymmetricMessageServerHash'
export interface SharedVaultInviteServerHash extends AsymmetricMessageServerHash {
export interface SharedVaultInviteServerHash {
uuid: string
shared_vault_uuid: string
user_uuid: string
+4
View File
@@ -67,3 +67,7 @@ export * from './User/SettingData'
export * from './User/UpdateSettingResponse'
export * from './Notification/NotificationServerHash'
export * from './SharedVaults/SharedVaultInviteServerHash'
export * from './SharedVaults/SharedVaultServerHash'
export * from './SharedVaults/SharedVaultUserServerHash'
+32
View File
@@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.64.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-05)
**Note:** Version bump only for package @standardnotes/services
## [1.64.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-04)
**Note:** Version bump only for package @standardnotes/services
## [1.64.8](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-09-01)
**Note:** Version bump only for package @standardnotes/services
## [1.64.7](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-31)
**Note:** Version bump only for package @standardnotes/services
## [1.64.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-24)
**Note:** Version bump only for package @standardnotes/services
## [1.64.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/services
## [1.64.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-23)
**Note:** Version bump only for package @standardnotes/services
## [1.64.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/services
## [1.64.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2023-08-21)
**Note:** Version bump only for package @standardnotes/services
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/services",
"version": "1.64.2",
"version": "1.64.10",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -0,0 +1,6 @@
export enum WebSocketsServiceEvent {
UserRoleMessageReceived = 'WebSocketMessageReceived',
NotificationAddedForUser = 'NotificationAddedForUser',
MessageSentToUser = 'MessageSentToUser',
UserInvitedToSharedVault = 'UserInvitedToSharedVault',
}
@@ -1,13 +1,14 @@
import { InternalEventBusInterface } from '@standardnotes/services'
import { WebSocketApiServiceInterface } from '@standardnotes/api'
import { StorageKey, DiskStorageService } from '@Lib/index'
import { WebSocketsService } from './WebsocketsService'
import { StorageServiceInterface } from '../Storage/StorageServiceInterface'
import { InternalEventBusInterface } from '../Internal/InternalEventBusInterface'
import { StorageKey } from '../Storage/StorageKeys'
describe('webSocketsService', () => {
const webSocketUrl = ''
let storageService: DiskStorageService
let storageService: StorageServiceInterface
let webSocketApiService: WebSocketApiServiceInterface
let internalEventBus: InternalEventBusInterface
@@ -16,7 +17,7 @@ describe('webSocketsService', () => {
}
beforeEach(() => {
storageService = {} as jest.Mocked<DiskStorageService>
storageService = {} as jest.Mocked<StorageServiceInterface>
storageService.setValue = jest.fn()
internalEventBus = {} as jest.Mocked<InternalEventBusInterface>
@@ -27,9 +28,9 @@ describe('webSocketsService', () => {
})
describe('setWebSocketUrl()', () => {
it('saves url in local storage', async () => {
it('saves url in local storage', () => {
const webSocketUrl = 'wss://test-websocket'
await createService().setWebSocketUrl(webSocketUrl)
createService().setWebSocketUrl(webSocketUrl)
expect(storageService.setValue).toHaveBeenCalledWith(StorageKey.WebSocketUrl, webSocketUrl)
})
})
@@ -1,15 +1,13 @@
import { isErrorResponse } from '@standardnotes/responses'
import { UserRolesChangedEvent } from '@standardnotes/domain-events'
import {
AbstractService,
InternalEventBusInterface,
StorageKey,
StorageServiceInterface,
} from '@standardnotes/services'
import { DomainEventInterface } from '@standardnotes/domain-events'
import { WebSocketApiServiceInterface } from '@standardnotes/api'
import { WebSocketsServiceEvent } from './WebSocketsServiceEvent'
import { StorageServiceInterface } from '../Storage/StorageServiceInterface'
import { InternalEventBusInterface } from '../Internal/InternalEventBusInterface'
import { AbstractService } from '../Service/AbstractService'
import { StorageKey } from '../Storage/StorageKeys'
export class WebSocketsService extends AbstractService<WebSocketsServiceEvent, UserRolesChangedEvent> {
export class WebSocketsService extends AbstractService<WebSocketsServiceEvent, DomainEventInterface> {
private webSocket?: WebSocket
constructor(
@@ -61,9 +59,24 @@ export class WebSocketsService extends AbstractService<WebSocketsServiceEvent, U
this.webSocket?.close()
}
private onWebSocketMessage(event: MessageEvent) {
const eventData: UserRolesChangedEvent = JSON.parse(event.data)
void this.notifyEvent(WebSocketsServiceEvent.UserRoleMessageReceived, eventData)
private onWebSocketMessage(messageEvent: MessageEvent) {
const eventData = JSON.parse(messageEvent.data)
switch (eventData.type) {
case 'USER_ROLES_CHANGED':
void this.notifyEvent(WebSocketsServiceEvent.UserRoleMessageReceived, eventData)
break
case 'NOTIFICATION_ADDED_FOR_USER':
void this.notifyEvent(WebSocketsServiceEvent.NotificationAddedForUser, eventData.payload)
break
case 'MESSAGE_SENT_TO_USER':
void this.notifyEvent(WebSocketsServiceEvent.MessageSentToUser, eventData.payload)
break
case 'USER_INVITED_TO_SHARED_VAULT':
void this.notifyEvent(WebSocketsServiceEvent.UserInvitedToSharedVault, eventData.payload)
break
default:
break
}
}
private onWebSocketClose() {
@@ -13,6 +13,8 @@ import {
MfaServiceInterface,
GenerateUuid,
CreateDecryptedBackupFile,
GetTransitionStatus,
StartTransition,
} from '@standardnotes/services'
import { VaultLockServiceInterface } from './../VaultLock/VaultLockServiceInterface'
import { HistoryServiceInterface } from './../History/HistoryServiceInterface'
@@ -76,6 +78,8 @@ export interface ApplicationInterface {
get generateUuid(): GenerateUuid
get getHost(): GetHost
get setHost(): SetHost
get getTransitionStatus(): GetTransitionStatus
get startTransition(): StartTransition
// Services
get alerts(): AlertService
@@ -90,6 +90,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
},
{
uuid: 'misc-message',
@@ -98,6 +99,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 1,
updated_at_timestamp: 1,
replaceability_identifier: null,
},
]
@@ -135,6 +137,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
}
const decryptedMessagePayload: AsymmetricMessageTrustedContactShare = {
@@ -168,6 +171,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
},
{
uuid: 'older-message',
@@ -176,6 +180,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 1,
updated_at_timestamp: 1,
replaceability_identifier: null,
},
]
@@ -202,6 +207,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
}
const decryptedMessagePayload: AsymmetricMessageTrustedContactShare = {
@@ -230,6 +236,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
}
const decryptedMessagePayload: AsymmetricMessageSenderKeypairChanged = {
@@ -259,6 +266,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
}
const decryptedMessagePayload: AsymmetricMessageSharedVaultRootKeyChanged = {
@@ -287,6 +295,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
}
const decryptedMessagePayload: AsymmetricMessageSharedVaultMetadataChanged = {
@@ -317,6 +326,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
}
const decryptedMessagePayload: AsymmetricMessageSharedVaultInvite = {
@@ -343,6 +353,7 @@ describe('AsymmetricMessageService', () => {
encrypted_message: 'encrypted_message',
created_at_timestamp: 2,
updated_at_timestamp: 2,
replaceability_identifier: null,
}
const decryptedMessagePayload: AsymmetricMessageTrustedContactShare = {
@@ -1,14 +1,6 @@
import { GetKeyPairs } from './../Encryption/UseCase/GetKeyPairs'
import { SyncServiceInterface } from './../Sync/SyncServiceInterface'
import { SessionsClientInterface } from './../Session/SessionsClientInterface'
import { MutatorClientInterface } from './../Mutator/MutatorClientInterface'
import { MessageSentToUserEvent } from '@standardnotes/domain-events'
import { AsymmetricMessageServerHash } from '@standardnotes/responses'
import { SyncEvent, SyncEventReceivedAsymmetricMessagesData } from '../Event/SyncEvent'
import { InternalEventBusInterface } from '../Internal/InternalEventBusInterface'
import { InternalEventHandlerInterface } from '../Internal/InternalEventHandlerInterface'
import { InternalEventInterface } from '../Internal/InternalEventInterface'
import { AbstractService } from '../Service/AbstractService'
import { GetTrustedPayload } from './UseCase/GetTrustedPayload'
import { AsymmetricMessageServer } from '@standardnotes/api'
import {
AsymmetricMessageSharedVaultRootKeyChanged,
AsymmetricMessagePayloadType,
@@ -21,8 +13,19 @@ import {
PayloadEmitSource,
VaultListingInterface,
} from '@standardnotes/models'
import { Result } from '@standardnotes/domain-core'
import { GetKeyPairs } from './../Encryption/UseCase/GetKeyPairs'
import { SyncServiceInterface } from './../Sync/SyncServiceInterface'
import { SessionsClientInterface } from './../Session/SessionsClientInterface'
import { MutatorClientInterface } from './../Mutator/MutatorClientInterface'
import { SyncEvent, SyncEventReceivedAsymmetricMessagesData } from '../Event/SyncEvent'
import { InternalEventBusInterface } from '../Internal/InternalEventBusInterface'
import { InternalEventHandlerInterface } from '../Internal/InternalEventHandlerInterface'
import { InternalEventInterface } from '../Internal/InternalEventInterface'
import { AbstractService } from '../Service/AbstractService'
import { GetTrustedPayload } from './UseCase/GetTrustedPayload'
import { HandleRootKeyChangedMessage } from './UseCase/HandleRootKeyChangedMessage'
import { AsymmetricMessageServer } from '@standardnotes/api'
import { GetOutboundMessages } from './UseCase/GetOutboundMessages'
import { GetInboundMessages } from './UseCase/GetInboundMessages'
import { GetVault } from '../Vault/UseCase/GetVault'
@@ -32,7 +35,7 @@ import { FindContact } from '../Contacts/UseCase/FindContact'
import { CreateOrEditContact } from '../Contacts/UseCase/CreateOrEditContact'
import { ReplaceContactData } from '../Contacts/UseCase/ReplaceContactData'
import { EncryptionProviderInterface } from '../Encryption/EncryptionProviderInterface'
import { Result } from '@standardnotes/domain-core'
import { WebSocketsServiceEvent } from '../Api/WebSocketsServiceEvent'
export class AsymmetricMessageService
extends AbstractService
@@ -82,6 +85,9 @@ export class AsymmetricMessageService
case SyncEvent.ReceivedAsymmetricMessages:
void this.handleRemoteReceivedAsymmetricMessages(event.payload as SyncEventReceivedAsymmetricMessagesData)
break
case WebSocketsServiceEvent.MessageSentToUser:
void this.handleRemoteReceivedAsymmetricMessages([(event as MessageSentToUserEvent).payload.message])
break
}
}
@@ -205,7 +211,7 @@ export class AsymmetricMessageService
const result = this._getUntrustedPayload.execute({
privateKey: keys.getValue().encryption.privateKey,
message,
payload: message,
})
if (result.isFailed()) {
@@ -230,7 +236,7 @@ export class AsymmetricMessageService
privateKey: keys.getValue().encryption.privateKey,
sender: contact.getValue(),
ownUserUuid: this.sessions.userUuid,
message,
payload: message,
})
if (result.isFailed()) {
@@ -18,7 +18,7 @@ describe('GetTrustedPayload', () => {
describe('execute', () => {
const mockDto = {
privateKey: 'test-private-key',
message: {} as AsymmetricMessageServerHash,
payload: {} as AsymmetricMessageServerHash,
sender: {} as TrustedContactInterface,
ownUserUuid: 'test-user-uuid',
}
@@ -1,4 +1,4 @@
import { AsymmetricMessageServerHash } from '@standardnotes/responses'
import { AsymmetricMessageServerHash, SharedVaultInviteServerHash } from '@standardnotes/responses'
import { AsymmetricMessagePayload, TrustedContactInterface } from '@standardnotes/models'
import { DecryptMessage } from '../../Encryption/UseCase/Asymmetric/DecryptMessage'
import { Result, SyncUseCaseInterface } from '@standardnotes/domain-core'
@@ -8,12 +8,12 @@ export class GetTrustedPayload implements SyncUseCaseInterface<AsymmetricMessage
execute<M extends AsymmetricMessagePayload>(dto: {
privateKey: string
message: AsymmetricMessageServerHash
payload: AsymmetricMessageServerHash | SharedVaultInviteServerHash
sender: TrustedContactInterface
ownUserUuid: string
}): Result<M> {
const result = this.decryptMessage.execute<M>({
message: dto.message.encrypted_message,
message: dto.payload.encrypted_message,
sender: dto.sender,
privateKey: dto.privateKey,
})
@@ -1,4 +1,4 @@
import { AsymmetricMessageServerHash } from '@standardnotes/responses'
import { AsymmetricMessageServerHash, SharedVaultInviteServerHash } from '@standardnotes/responses'
import { AsymmetricMessagePayload } from '@standardnotes/models'
import { DecryptMessage } from '../../Encryption/UseCase/Asymmetric/DecryptMessage'
import { Result, SyncUseCaseInterface } from '@standardnotes/domain-core'
@@ -8,10 +8,10 @@ export class GetUntrustedPayload implements SyncUseCaseInterface<AsymmetricMessa
execute<M extends AsymmetricMessagePayload>(dto: {
privateKey: string
message: AsymmetricMessageServerHash
payload: AsymmetricMessageServerHash | SharedVaultInviteServerHash
}): Result<M> {
const result = this.decryptMessage.execute<M>({
message: dto.message.encrypted_message,
message: dto.payload.encrypted_message,
sender: undefined,
privateKey: dto.privateKey,
})
@@ -37,7 +37,7 @@ export class ResendMessage implements UseCaseInterface<void> {
const sendMessageResult = await this.sendMessage.execute({
recipientUuid: params.recipient.contactUuid,
encryptedMessage: encryptedMessage.getValue(),
replaceabilityIdentifier: params.rawMessage.replaceabilityIdentifier,
replaceabilityIdentifier: params.rawMessage.replaceability_identifier || undefined,
})
return sendMessageResult
@@ -202,6 +202,10 @@ export class ContactService extends AbstractService<ContactServiceEvent> impleme
return this.findContact(invite.user_uuid)
}
findSenderContactForInvite(invite: SharedVaultInviteServerHash): TrustedContactInterface | undefined {
return this.findContact(invite.sender_uuid)
}
getCollaborationIDForTrustedContact(contact: TrustedContactInterface): string {
return this.buildCollaborationId({
version: Version1CollaborationId,
@@ -34,6 +34,7 @@ export interface ContactServiceInterface extends AbstractService<ContactServiceE
findContact(userUuid: string): TrustedContactInterface | undefined
findContactForServerUser(user: SharedVaultUserServerHash): TrustedContactInterface | undefined
findContactForInvite(invite: SharedVaultInviteServerHash): TrustedContactInterface | undefined
findSenderContactForInvite(invite: SharedVaultInviteServerHash): TrustedContactInterface | undefined
getItemSignatureStatus(item: DecryptedItemInterface): ItemSignatureValidationResult
}
@@ -115,7 +115,7 @@ export class FileService extends AbstractService implements FilesClientInterface
const valetTokenResponse = await this.sharedVault.createSharedVaultFileValetToken({
sharedVaultUuid: params.sharedVaultUuid,
sharedVaultOwnerUuid: params.sharedVaultUuid,
sharedVaultOwnerUuid: params.sharedVaultOwnerUuid,
fileUuid: params.fileUuidRequiredForExistingFiles,
remoteIdentifier: params.remoteIdentifier,
operation: params.operation,
@@ -1,4 +1,5 @@
export enum InternalFeature {
Vaults = 'vaults',
HomeServer = 'home-server',
Transition = 'transition',
}
@@ -1,4 +1,4 @@
const PREFERENCE_IDS = [
const PREFERENCE_PANE_IDS = [
'general',
'account',
'security',
@@ -14,4 +14,4 @@ const PREFERENCE_IDS = [
'whats-new',
] as const
export type PreferenceId = (typeof PREFERENCE_IDS)[number]
export type PreferencePaneId = (typeof PREFERENCE_PANE_IDS)[number]
@@ -1,10 +1,44 @@
import { removeFromArray } from '@standardnotes/utils'
import { AbstractService } from '../Service/AbstractService'
import { StatusServiceEvent, StatusServiceInterface, StatusMessageIdentifier } from './StatusServiceInterface'
import { PreferencePaneId } from '../Preferences/PreferenceId'
/* istanbul ignore file */
export class StatusService extends AbstractService<StatusServiceEvent, string> implements StatusServiceInterface {
private preferencesBubbleCounts: Record<PreferencePaneId, number> = {
general: 0,
account: 0,
security: 0,
'home-server': 0,
vaults: 0,
appearance: 0,
backups: 0,
listed: 0,
shortcuts: 0,
accessibility: 0,
'get-free-month': 0,
'help-feedback': 0,
'whats-new': 0,
}
getPreferencesBubbleCount(preferencePaneId: PreferencePaneId): number {
return this.preferencesBubbleCounts[preferencePaneId]
}
setPreferencesBubbleCount(preferencePaneId: PreferencePaneId, count: number): void {
this.preferencesBubbleCounts[preferencePaneId] = count
const totalCount = this.totalPreferencesBubbleCount
void this.notifyEvent(
StatusServiceEvent.PreferencesBubbleCountChanged,
totalCount > 0 ? totalCount.toString() : undefined,
)
}
get totalPreferencesBubbleCount(): number {
return Object.values(this.preferencesBubbleCounts).reduce((total, count) => total + count, 0)
}
private _message = ''
private directSetMessage?: string
private dynamicMessages: string[] = []
@@ -1,14 +1,20 @@
import { PreferencePaneId } from '../Preferences/PreferenceId'
import { AbstractService } from '../Service/AbstractService'
/* istanbul ignore file */
export enum StatusServiceEvent {
MessageChanged = 'MessageChanged',
PreferencesBubbleCountChanged = 'PreferencesBubbleCountChanged',
}
export type StatusMessageIdentifier = string
export interface StatusServiceInterface extends AbstractService<StatusServiceEvent, string> {
getPreferencesBubbleCount(preferencePaneId: PreferencePaneId): number
setPreferencesBubbleCount(preferencePaneId: PreferencePaneId, count: number): void
get totalPreferencesBubbleCount(): number
get message(): string
setMessage(message: string | undefined): void
addMessage(message: string): StatusMessageIdentifier
@@ -0,0 +1,34 @@
import { HttpServiceInterface } from '@standardnotes/api'
import { GetTransitionStatus } from './GetTransitionStatus'
describe('GetTransitionStatus', () => {
let httpService: HttpServiceInterface
const createUseCase = () => new GetTransitionStatus(httpService)
beforeEach(() => {
httpService = {
get: jest.fn(),
} as unknown as HttpServiceInterface
})
it('should get transition status', async () => {
const useCase = createUseCase()
;(httpService.get as jest.Mock).mockResolvedValueOnce({ status: 200, data: { status: 'TO-DO' } })
const result = await useCase.execute()
expect(result.isFailed()).toBe(false)
expect(result.getValue()).toBe('TO-DO')
})
it('should fail to get transition status', async () => {
const useCase = createUseCase()
;(httpService.get as jest.Mock).mockResolvedValueOnce({ status: 400 })
const result = await useCase.execute()
expect(result.isFailed()).toBe(true)
})
})
@@ -0,0 +1,17 @@
import { Result, UseCaseInterface } from '@standardnotes/domain-core'
import { HttpServiceInterface } from '@standardnotes/api'
import { HttpStatusCode } from '@standardnotes/responses'
export class GetTransitionStatus implements UseCaseInterface<'TO-DO' | 'STARTED' | 'FINISHED' | 'FAILED'> {
constructor(private httpService: HttpServiceInterface) {}
async execute(): Promise<Result<'TO-DO' | 'STARTED' | 'FINISHED' | 'FAILED'>> {
const response = await this.httpService.get('/v1/users/transition-status')
if (response.status !== HttpStatusCode.Success) {
return Result.fail('Failed to get transition status')
}
return Result.ok((response.data as { status: 'TO-DO' | 'STARTED' | 'FINISHED' | 'FAILED' }).status)
}
}
@@ -0,0 +1,33 @@
import { HttpServiceInterface } from '@standardnotes/api'
import { StartTransition } from './StartTransition'
describe('StartTransition', () => {
let httpService: HttpServiceInterface
const createUseCase = () => new StartTransition(httpService)
beforeEach(() => {
httpService = {
post: jest.fn(),
} as unknown as HttpServiceInterface
})
it('should start transition', async () => {
const useCase = createUseCase()
;(httpService.post as jest.Mock).mockResolvedValueOnce({ status: 200 })
const result = await useCase.execute()
expect(result.isFailed()).toBe(false)
})
it('should fail to start transition', async () => {
const useCase = createUseCase()
;(httpService.post as jest.Mock).mockResolvedValueOnce({ status: 400 })
const result = await useCase.execute()
expect(result.isFailed()).toBe(true)
})
})
@@ -0,0 +1,17 @@
import { HttpServiceInterface } from '@standardnotes/api'
import { Result, UseCaseInterface } from '@standardnotes/domain-core'
import { HttpStatusCode } from '@standardnotes/responses'
export class StartTransition implements UseCaseInterface<void> {
constructor(private httpService: HttpServiceInterface) {}
async execute(): Promise<Result<void>> {
const response = await this.httpService.post('/v1/items/transition')
if (response.status !== HttpStatusCode.Success) {
return Result.fail('Failed to start transition')
}
return Result.ok()
}
}

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