Commit Graph

36 Commits

Author SHA1 Message Date
Karol Sójko
2e168df929 Revert "feat: handle unprotected session expiration (#747)"
This reverts commit 8db549f6f6.
2021-12-15 15:26:31 +01:00
Vardan Hakobyan
8db549f6f6 feat: handle unprotected session expiration (#747)
* feat: hide note contents if the protection expires when the protected note is open and wasn't edited for a while

* feat: handle session expiration for opened protected note for both plain advanced editors

* fix: if after canceling  session expiry modal only one unprotected note stays selected, show its contents in the editor

* refactor: handle session expiration for opened protected note (move the logic to web client)

* feat: handle the case of selecting "Don't remember" option in session expiry dialog

* test (WIP): add unit tests for protecting opened note after the session has expired

* test: add remaining unit tests

* refactor: move the opened note protection logic to "editor_view"

* refactor: reviewer comments
- don't rely on user signed-in/out status to require authentication for protected note
- remove unnecessary async/awaits
- better wording on ui

* refactor: reviewer's comments:
 - use snjs method to check if "Don't remember" option is selected in authentication modal
 - move the constant to snjs
 - fix eslint error

* refactor: avoid `any` type for `appEvent` payload

* test: add unit tests

* chore: update function name

* refactor: use simpler protection session event types

* refactor: protected access terminology

* refactor: start counting idle timer after every edit (instead of counting by interval in spite of edits)

* test: unit tests

* style: don't give extra brightness to the "View Note"/"Authenticate" button on hover/focus

* chore: bump snjs version

Co-authored-by: Mo Bitar <me@bitar.io>
2021-12-14 19:14:01 +04:00
Aman Harwara
f9b15262c7 feat: Purchase "Create account" & "Sign in" flows and Floating label input (#672) 2021-10-19 14:50:42 +00:00
Karol Sójko
f5c6eafbc0 fix: syncing-server-demo url 2021-09-14 13:59:41 +02:00
Vardan Hakobyan
5b18fc7146 feat: add "sync" pane to preferences -> account tab (#621)
* feat: add "sync" pane to preferences -> account tab

* chore: configure eslint to add new line at the end of file and remove trailing spaces

* chore: add newline at the end of file
2021-08-26 22:57:27 +04:00
Antonella Sgarlatta
44bf907aa4 feat: toggle move to trash to delete permanently on alt key down 2021-07-28 16:18:05 -03:00
Gorjan Petrovski
a9870214ea feat: implement preferences pane 2021-07-05 16:57:37 +02:00
Antonella Sgarlatta
8ca9a3f8f3 fix: fix setting demo custom host 2021-06-29 11:34:27 -03:00
Antonella Sgarlatta
b70cc0e7e4 feat: add right-click context menu 2021-04-29 17:07:14 -03:00
Baptiste Grob
abfc588368 feat: multiple selected notes panel 2021-04-13 14:43:48 +02:00
Baptiste Grob
cc474da0c3 feat: warning for protected note without protection
- Use `.sn-button` everywhere
- Delete permissions modal
- Capitalize "Clear session data"
2021-03-22 16:52:04 +01:00
Baptiste Grob
c084268f51 feat: display warning banner when using the app with no account 2021-02-02 15:40:20 +01:00
Baptiste Grob
d4f02a124d feat: implement SNJS backup file password retrieval 2021-01-28 15:28:55 +01:00
Baptiste Grob
afb12f1420 fix: launch state error 2021-01-22 12:08:48 +01:00
Baptiste Grob
a0909399f8 fix: lint errors 2021-01-22 11:52:24 +01:00
Baptiste Grob
5d65364885 feat: batch manager protection + react challenge modal + eslint fix 2021-01-22 11:37:58 +01:00
Baptiste Grob
2c0f215409 feat: (wip) sessions management 2020-12-16 17:27:26 +01:00
Baptiste Grob
3a16140699 chore(deps): upgrade snjs & sncrypto-web to npm package versions 2020-11-19 13:37:49 +01:00
Baptiste Grob
50a5cc4851 fix: handle demo signin less generically (#497) 2020-11-12 11:40:07 +01:00
Baptiste Grob
212a65f463 refactor: move status functions to footer view 2020-09-29 12:08:19 +02:00
Baptiste Grob
92b223d35a fix: activate themes on desktop 2020-09-28 12:07:13 +02:00
Mo Bitar
8679bf5b30 fix: proper reload of ext data 2020-09-25 11:48:55 -05:00
Mo Bitar
94a82412bd fix: bind modals to application lifetime 2020-09-24 15:32:01 -05:00
Mo Bitar
b3e5ca340d feat: improve strings, challenges, and template readiness 2020-09-23 22:34:18 -05:00
Mo Bitar
463f0eb286 fix: remove unused code 2020-09-22 00:13:23 -05:00
Mo Bitar
d42518fc61 feat: custom challenges 2020-09-22 00:10:43 -05:00
Baptiste Grob
19a9f57bed fix: show correct sync status 2020-09-17 14:27:53 +02:00
Mo Bitar
2b6abeebfc feat: snjs app groups (#468)
* feat: snjs app groups

* fix: update snjs version to point to wip commit

* wip: account switcher

* feat: rename lock manager to auto lock service

* fix: more relevant sign out copy

* chore(deps): update snjs

* fix: use setTimeout instead of setImmediate

* feat: make account switcher expiremental feature

* chore(deps): upgrade snjs
2020-09-15 10:55:32 -05:00
Baptiste Grob
096b9c8c87 fix: prevent session expired alerts from piling up 2020-07-20 11:35:18 +02:00
Baptiste Grob
ac5c36ab66 fix: type error 2020-06-27 13:27:19 +02:00
Mo Bitar
78e4ae0a16 fix: use snjs proper types location 2020-04-30 11:23:02 -05:00
Mo Bitar
dee164f4a2 fix: editor status after changing note 2020-04-24 12:55:23 -05:00
Mo Bitar
0c6b5cbeb7 mv services/state > ui_models/app_state 2020-04-17 13:31:47 -05:00
Mo Bitar
407e3ea0d8 Fixes and improvements related to components 2020-04-15 19:17:08 -05:00
Mo Bitar
1280c2ec52 Editor component management simplification 2020-04-15 13:11:10 -05:00
Mo Bitar
9cf99896a5 Remove dummy concept in favor of editor group and editors 2020-04-14 15:03:22 -05:00