Commit Graph

87 Commits

Author SHA1 Message Date
Karol Sójko
eb062220d6 chore: fix endpoints and properties used in shared vaults to match the server (#2370)
* chore: upgrade @standardnotes/domain-core

* chore: enable vault tests by default

* chore: fix asymmetric messages paths

* chore: fix message property from user_uuid to recipient_uuid

* chore: fix server response properties for messages and notifications

* chore: fix user_uuid to recipient_uuid in resend all message use case

* chore: use notification payload and type from domain-core

* chore: fix non existent uuid in conflicts tests

* chore: use shared vault user permission from domain-core

* chore: enable all e2e tests

* chore: upgrade domain-core

* chore: mark failing tests as skipped

* chore: skip test

* chore: fix recipient_uuid in specs

* chore: skip test

* chore: skip test

* chore: skip test

* chore: skip test

* chore: fix remove unused var and unskip test

* Revert "chore: skip test"

This reverts commit 26bb876cf55e2c4fa9eeea56f73b3c2917a26f5c.

* chore: unskip passing tests

* chore: skip test

* chore: skip test

* fix: handle invite creation error

* chore: skip tests

* fix: disable vault tests to merge the PR

* chore: unskip asymmetric messages tests
2023-07-27 15:43:45 +02:00
Mo
14bae5e895 tests: vault tests 3 (#2373) 2023-07-27 07:35:38 -05:00
Mo
d268c02ab3 fix: Fixes issue where lock screen would not use previously active theme (#2372) 2023-07-26 15:50:08 -05:00
Mo
7c463b36af tests: vault tests [no ci] 2023-07-26 06:43:52 -05:00
Mo
7222ca7fd0 tests: vaults-2 (#2368) 2023-07-26 04:55:58 -05:00
Mo
596e041c42 tests: vault tests (#2366) 2023-07-25 07:40:28 -05:00
Mo
98c0228139 tests: vaults (#2365)
* tests: signature tests

* tests: asymmetric

* feat: delete contact use case

* chore: lint

* chore: lint
2023-07-24 19:28:28 +00:00
Mo
3281ac9d37 refactor: break up vault services (#2364) 2023-07-24 07:46:20 -05:00
Mo
a77535456c refactor: application dependency management (#2363) 2023-07-23 15:54:31 -05:00
Mo
7fb33c400c chore: refetch subscription when prefs menu opens (#2360) 2023-07-17 09:04:22 -05:00
Karol Sójko
30b113cc84 chore: running paid subscription e2e tests on both self-hosted and home-server setup (#2355)
* chore: add activating paid subscription in e2e on both self-hosted and home-server setup

* chore: fix activating premium features on e2e test suites

* chore: remove unnecessary sleep duplication

* chore: add defining the subscription expires at date in e2e
2023-07-14 10:52:17 +02:00
Mo
078ef3772c refactor: native feature management (#2350) 2023-07-12 12:56:08 -05:00
Karol Sójko
325737bfbd chore: fix ContentType usage (#2353)
* chore: fix ContentType usage

* chore: fix specs
2023-07-12 13:53:29 +02:00
Mo
c8e52b667c internal: change password preprocessing step (#2347) 2023-07-06 08:51:06 -05:00
Mo
b06999d25b refactor: root key manager (#2344) 2023-07-04 07:31:50 -05:00
Mo
96f42643a9 feat: New one-click Home Server, now in Labs. Launch your own self-hosted server instance with just 1 click from the Preferences window. (#2341) 2023-07-03 08:30:48 -05:00
Mo
d79e7b14b1 chore: legacy fixes (#2343) 2023-07-03 08:03:25 -05:00
Mo
b032eb9c9b internal: incomplete vault systems behind feature flag (#2340) 2023-06-30 09:01:56 -05:00
Mo
bb804fff45 fix: fixes issue where a renewed session would in some cases would not save to disk, causing a reauthentication prompt to occur 2023-06-25 15:12:22 -05:00
Aman Harwara
7c3b8d4534 chore: fix test 2023-06-25 17:47:35 +05:30
Karol Sójko
7b66ee1d40 chore: enable e2e for history tests (#2335) 2023-05-25 12:41:49 +02:00
Karol Sójko
f14b047d7e chore: add possibility to skip paid features in the e2e test suite 2023-05-18 12:28:11 +02:00
Mo
2703f8b669 chore: fix test 2023-05-07 21:32:33 -05:00
Mo
9f937f217b chore: remove phased out storage encryption policy (#2323) 2023-05-03 07:56:01 -05:00
Mo
7e3db49322 feat: Automatic plaintext backup option in Preferences > Backups will backup your notes and tags into plaintext, unencrypted folders on your computer. In addition, automatic encrypted text backups preference management has moved from the top-level menu in the desktop app to Preferences > Backups. (#2322) 2023-05-02 11:05:10 -05:00
Karol Sójko
896834f65a chore(web): put sign-in email notifications setting under paywall (#2249)
* chore: upgrade setting names to value objects

* chore(web): put sign-in email notifications setting under paywall

* chore: fix using setting name value objects in mocha tests

* chore: fix wording on email notifications titles
2023-03-08 12:53:59 +01:00
Mo
2a567ad052 refactor: demo params 2023-03-03 10:26:38 -06:00
Mo
e7f1d35341 refactor: http service (#2233) 2023-02-28 20:43:25 -06:00
Karol Sójko
70e3ba3fa5 chore: remove workspaces from code base (#2220) 2023-02-23 14:01:55 +01:00
Karol Sójko
734a38ab1f chore: upgrade @standardnotes/domain-core with less 3rd party dependencies (#2214) 2023-02-15 11:42:55 +01:00
moughxyz
545d2dbfa9 temp: skip history e2e 2023-01-20 17:06:52 -06:00
Karol Sójko
21a4eb0cf0 fix(snjs): signed out fetching revisions test 2023-01-20 11:26:16 +01:00
Karol Sójko
6a7ff423ff fix(snjs): remove isFailed() checks during tests in order for getValue() to give a meaningful exception 2023-01-20 10:45:16 +01:00
Karol Sójko
cb9c16047e fix(snjs): bring back history tests and fix handlinf of error with revisions 2023-01-20 10:02:48 +01:00
Mo
544a28d450 refactor: offline roles (#2169) 2023-01-19 21:46:21 -06:00
moughxyz
391b2af4e1 temp: skip history e2e tests 2023-01-19 21:26:26 -06:00
Karol Sójko
24cda40dde fix(snjs): history revisions specs 2023-01-18 12:41:57 +01:00
Karol Sójko
d734574a7e fix(snjs): increase revision creation delay in specs 2023-01-18 10:28:05 +01:00
Karol Sójko
880a537774 feat(snjs): add revisions api v2 (#2154)
* feat(snjs): add revisions api v2

* fix(snjs): reference listing and getting revisions in specs

* fix(snjs): revisions specs

* fix(web): usage of revision metadata

* fix(snjs): add specs for decryption revision

* fix(snjs): issue with building mocked specs

* fix(snjs): adjust revision creation delay
2023-01-18 09:20:06 +01:00
moughxyz
2f07f7a3d1 test: refactor flakey test to use app context 2023-01-16 09:53:39 -06:00
Karol Sójko
854f1654d1 Revert "fix(snjs): missing deinit procedures in application tests"
This reverts commit 939012b2a1.
2023-01-16 15:46:46 +01:00
Karol Sójko
939012b2a1 fix(snjs): missing deinit procedures in application tests 2023-01-16 14:12:59 +01:00
Karol Sójko
5e6c901c21 feat: recovery codes UI (recovery sign in + get recovery codes) (#2139)
* feat(web): show recovery codes

* feat(web): add recovery sign in

* fix: copy

* fix: styles

* feat: add "copy to clipboard" button

* style: copy

* fix: copy button bg

* style: singularize recovery codes

* style: singularize recovery codes

* feat: password validation

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
Co-authored-by: Mo <mo@standardnotes.com>
2023-01-10 21:33:44 +01:00
Karol Sójko
8deeae5a16 feat(snjs): add account recovery e2e test suite (#2134)
* feat(snjs): add account recovery e2e test suite

* fix(snjs): request params in account recovery tests

* fix(snjs): context password passing

* refactor: replace factory functions with context

Co-authored-by: Mo <mo@standardnotes.com>
2023-01-09 17:25:52 +01:00
Karol Sójko
be028ff87b feat(snjs): add sign in with recovery codes use case (#2130)
* feat(snjs): add sign in with recovery codes use case

* fix(snjs): code review adjustments

* fix(snjs): remove unnecessary exposed getter

* fix(services): waiting for event handling

* fix: preferences test

Co-authored-by: Mo <mo@standardnotes.com>
2023-01-09 06:52:56 +01:00
Mo
59fc68296b refactor: optimize delay between batches on mobile to allow UI interactivity during load (#2129) 2023-01-04 13:31:45 -06:00
Mo
3c332a35f6 feat: improve initial load performance on mobile (#2126) 2023-01-03 14:15:45 -06:00
Mo
a447fa1ad7 test: fix e2e testing setup 2023-01-03 11:00:12 -06:00
Karol Sójko
8311271a49 fix(snjs): skip workspaces tests as they are a pending backlog feature 2022-12-27 13:49:02 +01:00
Karol Sójko
dd41082e71 fix(snjs): add error log upon not being able to reach the mock event publisher 2022-12-27 10:48:55 +01:00