Commit Graph

16 Commits

Author SHA1 Message Date
Karol Sójko
90f185059a chore(snjs): add error logs when not able to create session (#2240) 2023-03-02 13:39:20 +01:00
Mo
e7f1d35341 refactor: http service (#2233) 2023-02-28 20:43:25 -06: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
de5973e15f fix(web): disable subscription sharing on demo 2023-02-03 06:41:00 +01:00
Karol Sójko
271db1c3dc fix(snjs): notify http service of refresh session 2023-01-18 14:38:26 +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
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
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
9fb85cd77a fix: refactor application event observing on web 2022-10-21 14:28:11 +02:00
Mo
d7a90c4d91 refactor: add pkc fields for registration endpoint (#1680) 2022-09-29 09:13:05 -05:00
Karol Sójko
e809328fa8 feat(snjs): add retrieving web sockets token for establishing connection (#1602)
* feat(snjs): add retrieving web sockets token for establishing connection

* fix(snjs): imports

* fix(snjs): use only web sockets connection token

* fix(snjs): linter issue
2022-09-21 14:39:43 +02:00
Karol Sójko
2d0ee10226 feat: sharing subscriptions UI (#1567)
* feat(web): add ui for subscription sharing

* fix(web): add missing triggers

* fix(snjs): setting authorization token on http service

* fix(web): add alert upon invite failure

* fix(web): display invitations list

* fix(web): canceling subscription invitations

* fix(web): fonts

* fix(web): linter issues

* fix: click event handler

* fix: styles

* feat: update styles

* feat: don't show bottom separator if all invites used

* fix(web): references to alert service

* fix(web): remove usebeforeunload

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2022-09-15 12:00:29 +02:00
Karol Sójko
55b1409a80 feat: add subscription manager to handle subscription sharing (#1517)
* feat: add subscription manager to handle subscription sharing

* fix(services): add missing methods to the interface

* fix(services): add subscription manager specs

* feat(snjs): add subscriptions e2e tests

* fix(snjs): add wait in subscription cancelling test

* fix(snjs): checking for canceled invitations in tests

* fix(snjs): add e2e test for restored limit of subscription invitations

* chore(lint): fix linter issues
2022-09-13 10:28:11 +02:00
Karol Sójko
ffb2193924 feat(encryption): refactor circular dependencies on services 2022-08-05 11:59:02 +02:00
Karol Sójko
0e40469e2f feat: add snjs package 2022-07-06 14:04:30 +02:00