Commit Graph

67 Commits

Author SHA1 Message Date
Antonella Sgarlatta
844b7a7a2b fix: Shows informative error on UI when file upload limit is reached (#2961) 2025-12-18 09:49:27 -03:00
Antonella Sgarlatta
54af28aa04 chore: Add serverPassword param to endpoints (#2919) [skip e2e]
* chore: send server password param to delete account endpoint

* chore: send server password param to disable mfa endpoint

* chore: modify tests

* chore: force challenge prompt for mfa disable

* chore: fix eslint errors

* chore: add server passsword to get recovery codes

* chore: fix tests

* chore: pass server password as header
2025-08-26 09:04:03 -03:00
Mo
b6eda707bd chore: auth verification (#2867) [skip e2e] 2024-04-08 21:22:56 +05:30
Karol Sójko
7a4172ad11 chore: add e2e test for refresh tokens cooldown period - skip e2e (#2860)
* chore: add e2e test for refresh tokens cooldown period

* chore: fix refreshing session in e2e

* chore: fix session refresh cooldown test

* chore: fix e2e test

* Add dropped response simulation test

---------

Co-authored-by: moughxyz <mo@standardnotes.com>
2024-03-14 11:11:17 +01:00
Mo
3b2f761661 fix: use API v0 on iOS (#2858) [skip e2e] 2024-03-07 09:29:46 -06:00
Karol Sójko
1d0e8cfc7f chore: switch api to cookie based sessions - skip e2e (#2854)
* chore: switch api to cookie based sessions - skip e2e

* chore: fix legacy http service to include api version in requests - skip e2e
2024-03-05 09:25:53 +01:00
Karol Sójko
d4c94a67e2 chore(api): add sending cookie credentials with requests - skip e2e 2024-02-22 12:54:31 +01:00
Karol Sójko
2ce908da29 chore: add method to designate a shared vault survivor (#2538) 2023-09-26 13:48:36 +02:00
Karol Sójko
f7d204b205 chore: add designated survivor uuid to shared vault metadata (#2527)
* chore: add designated survivor uuid to shared vault metadata

* fix specs
2023-09-22 12:54:42 +02:00
Karol Sójko
7d92b85fcd chore: fix passing the x-shared-vault-owner-context header 2023-08-21 16:41:58 +02:00
Karol Sójko
a6029e3ef1 chore: send shared vault owner context when creating a shared vault file valet token (#2435)
* chore: send shared vault owner context when creating a shared vault file valet token

* chore: remove unused shared vault upload bytes limit
2023-08-21 14:57:54 +02:00
Aman Harwara
c76ffc764b clipper: handle clipped note sync in background (#2367) 2023-08-03 18:43:04 +05:30
Karol Sójko
027dd41147 fix: exit interview discount link not working (#2381) 2023-08-03 13:28:27 +02:00
Karol Sójko
247daddf5a chore: vault tests refactors and lint (#2374) 2023-08-01 17:23:56 -05:00
Mo
4a29e2a24c chore: upgrade eslint and prettier (#2376)
* chore: upgrade eslint and prettier

* chore: add restrict-template-expressions
2023-07-27 14:36:05 -05:00
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
a77535456c refactor: application dependency management (#2363) 2023-07-23 15:54:31 -05:00
Mo
eba1289ab9 fix: fixes issue where some accounts were not correctly loading subscription info (#2361) 2023-07-17 09:25:00 -05:00
Mo
7fb33c400c chore: refetch subscription when prefs menu opens (#2360) 2023-07-17 09:04:22 -05:00
Mo
078ef3772c refactor: native feature management (#2350) 2023-07-12 12:56:08 -05:00
Karol Sójko
f097f6e354 chore(api): fix request params and make api package publishable (#2351)
* chore(api): fix request params and make api package publishable

* chore(api): fix deps

* chore(encryption): fix privacy
2023-07-11 17:19:37 +02:00
Karol Sójko
937f9d98d7 chore(api): fix missing exports 2023-07-11 10:34:35 +02:00
Aman Harwara
7f0bb4e127 refactor: use Fetch API for HttpService (#2349) 2023-07-07 19:26:31 +05:30
Mo
0ab6b5c6fe chore(fix): fixes sync response not correctly identifying all errors (#2346) 2023-07-05 11:28:45 -05:00
Mo
b032eb9c9b internal: incomplete vault systems behind feature flag (#2340) 2023-06-30 09:01:56 -05:00
Mo
7f5041c4a8 chore: check for external request 2023-06-26 04:40:46 -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
Mo
5a7419bf1c fix: exception handling (#2277) 2023-03-26 15:54:59 -05:00
Karol Sójko
54f1e618de chore: store authenticator devices labels in preferences instead of server (#2252) 2023-03-09 11:05:15 +01: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
9414774e89 feat(dev): add u2f ui for managing devices and signing in (#2182)
* feat: add u2f ui for managing devices and signing in

* refactor: change unnecessary useState to derived constant

* fix: modal refactor

* fix(web): hide u2f under feature trunk

* fix(web): jest setup

---------

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2023-02-03 07:54:56 +01:00
Karol Sójko
9bdda2b60a fix(api): add u2f required error tag 2023-01-24 13:39:54 +01:00
Karol Sójko
856a7e3500 refactor: remove Uuid and RoleName from @standardnotes/common in favour of @standardnotes/domain-core value objects (#2167) 2023-01-19 16:17:59 +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
Karol Sójko
5d20a53e6e fix(snjs): simplify authenticator api for generating options (#2147) 2023-01-11 14:44:31 +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
Karol Sójko
59e8b5c8b5 feat(api): add authenticators api (#2124)
* feat(api): add authenticators api

* fix(services): responses interpreting in authenticator manager
2022-12-29 16:04:53 +01:00
Karol Sójko
2696b07759 fix(api): handling expired token responses (#2113) 2022-12-21 14:22:20 +01:00
Karol Sójko
bb4f1ff099 fix(snjs): refreshing sessions (#2106)
* fix(snjs): refreshing sessions

* fix(snjs): bring back all tests

* fix(snjs): passing session tokens values

* fix(api): remove redundant specs

* fix(snjs): add projecting sessions to storage values

* fix(snjs): deps tree

* fix(snjs): bring back subscription tests

* fix(snjs): remove only tag for migration tests

* fix(snjs): session specs
2022-12-19 08:28:10 +01:00
Mo
0c253dc46a chore: make models package public for consumption by server 2022-11-18 05:51:08 -06:00
Mo
4fa8066402 chore: remove tsc build from local workspaces (#2020) 2022-11-16 18:13:28 -06:00
Mo
d519aca685 feat: iap (#1996) 2022-11-13 09:28:16 -06:00
Mo
3498130bfb fix: load blocking by network await (#1989) 2022-11-09 14:25:32 -06:00
Karol Sójko
b2faa815e9 feat: add sending user requests to process (#1908)
* feat: add sending user requests to process

* fix(snjs): yarn lock

* fix(snjs): imports

* fix: specs
2022-11-02 11:33:02 +01:00
Karol Sójko
0c44ad6c8e feat(web): add accepting subscription invites from UI 2022-10-24 14:30:28 +02:00
Karol Sójko
9fb85cd77a fix: refactor application event observing on web 2022-10-21 14:28:11 +02:00
Karol Sójko
4f0805d5b0 feat(api): add accepting invites by the client 2022-10-21 10:24:49 +02:00
Karol Sójko
fabce1f7ac feat(api): add keyshare initiation for workspaces 2022-10-12 14:05:11 +02:00