Commit Graph

1555 Commits

Author SHA1 Message Date
Gorjan Petrovski
73f03e6ea6 feat: passcode lock in preferences (#644)
* feat: implement existing passcode lock in prefs

* chore: cleanup commented code and unused imports

* feat: improve design for passcode lock

* fix: propert folder naming

* feat: passcode lock form buttons margin
2021-09-23 17:25:39 +02:00
Gorjan Petrovski
52ddb49bd7 fix: encryption status title (#643)
* fix: encryption status title

* fix: derive encryption status directly from appState and application

* Update app/assets/javascripts/preferences/panes/Encryption.tsx

Co-authored-by: Mo Bitar <mo@standardnotes.org>

Co-authored-by: Mo Bitar <mo@standardnotes.org>
2021-09-22 17:23:15 +02:00
Gorjan Petrovski
30deea79b2 feat: encryption status dynamic string (#642) 2021-09-22 16:27:51 +02:00
Gorjan Petrovski
7b5b78832a feat: implement encrypted items info (#641)
* feat: implement encrypted items info

* Update app/assets/javascripts/ui_models/app_state/account_menu_state.ts

Co-authored-by: Mo Bitar <mo@standardnotes.org>

* Update app/assets/javascripts/ui_models/app_state/account_menu_state.ts

Co-authored-by: Mo Bitar <mo@standardnotes.org>

* Update app/assets/javascripts/preferences/panes/EndToEndEncryption.tsx

Co-authored-by: Mo Bitar <mo@standardnotes.org>

* Update app/assets/javascripts/preferences/panes/EndToEndEncryption.tsx

Co-authored-by: Mo Bitar <mo@standardnotes.org>

Co-authored-by: Mo Bitar <mo@standardnotes.org>
2021-09-22 15:56:34 +02:00
Gorjan Petrovski
77525a56cd feat: implement UI for logging out (#638)
* feat: implement UI for logging out

* feat: use old style dialogs for logout confirmation

* feat: implement manage sessions

* feat: implement session logout success dialog

* feat: use snjs alert for revoking sessions confirmation

* fix: make OtherSessionsLogout easier to read
2021-09-21 19:01:32 +02:00
Gorjan Petrovski
a9610fdbc6 feat: implement spinner for 2fa loading (#640) 2021-09-21 18:11:58 +02:00
Gorjan Petrovski
8464824c61 feat: use existing change password wizard in preferences (#639) 2021-09-21 17:36:52 +02:00
Mo Bitar
e6e01d0f2c fix: remove code already handled by snjs (#633) 2021-09-17 11:16:16 -05:00
Gorjan Petrovski
8fb34f2e85 feat: improve 2fa styles based on feedback (#635)
* feat: improve 2fa styles based on feedback

* fix: preferences panes and dialogs electron compatibility

* fix: no horizontal line when opening two factor activation

* feat: improve two factor activation styles

* feat: further 2fa style improvements

* feat: padding 2fa widgets

* feat: add padding between QR code and content

* feat: refresh 2fa after passcode confirmation

* feat: don't autocomplete passwords for DecoratedInput
2021-09-17 18:14:53 +02:00
Antonella Sgarlatta
78f5bcfb46 Merge branch 'develop' into feature/subscription-info-in-preferences 2021-09-15 17:04:48 -03:00
Karol Sójko
d5be258b25 Merge branch 'hotfix/3.8.22' into develop 2021-09-14 13:59:56 +02:00
Karol Sójko
f5c6eafbc0 fix: syncing-server-demo url 2021-09-14 13:59:41 +02:00
Antonella Sgarlatta
ccb80ed6da Merge branch 'develop' into feature/subscription-info-in-preferences 2021-09-13 12:05:23 -03:00
Antonella Sgarlatta
b3f2d77846 chore(version-snjs): 2.14.1 2021-09-13 12:02:30 -03:00
Karol Sójko
6afce84324 feat: add changing email (#634) 2021-09-13 10:01:32 +02:00
Vardan Hakobyan
b0ed19d6a3 feat: implement credentials information on Prefs -> Account pane (#632)
* feat: implement prefs -> credentials section UI (w/o backend integration)

* feat: implement credentials information on Prefs -> Account pane

- implement email changing UI (w/o backend integration)
- implement password changing UI and reuse existing change password logic
- replace 2FA dialog with shared one
- implement React hook for preventing window refresh

* fix: provide correct types

* refactor: reuse styles from stylekit, rename components and create enum for input types

* refactor: update default exports to named ones, correct texts

* chore: remove unnecessary depenedency

* chore: yarn.lock without unnecessary packages

* Revert "chore: yarn.lock without unnecessary packages"

This reverts commit 64aa75e8408b06884d6e7383180292a4a9a3e8ad.
2021-09-09 19:23:21 +04:00
Antonella Sgarlatta
8993c7b951 Merge branch 'develop' into feature/subscription-info-in-preferences 2021-09-09 11:37:45 -03:00
Gorjan Petrovski
7b1499d75e feat: disabled 2fa feature (#631)
* feat: add dim and blur to unavailable 2fa

* feat: message over disabled 2FA

* feat: 2fa remove overlay and dimming

* fix: add newline to _ui,css

* fix: tsc errors

* Update app/assets/javascripts/preferences/panes/two-factor-auth/TwoFactorAuthView.tsx

Co-authored-by: Vardan Hakobyan <vardan_live@live.com>

* refactor: rename s to status

Co-authored-by: Vardan Hakobyan <vardan_live@live.com>
2021-09-09 16:28:37 +02:00
Antonella Sgarlatta
2696f5b735 refactor: merge active and cancelled components into one 2021-09-07 15:11:27 -03:00
Antonella Sgarlatta
dee0c74ebb Update app/assets/javascripts/preferences/panes/account/subscription/subscription_state.tsx
Co-authored-by: Mo Bitar <mo@standardnotes.org>
2021-09-07 14:37:37 -03:00
Antonella Sgarlatta
d5e77d71b6 Merge branch 'develop' into feature/subscription-info-in-preferences 2021-09-07 13:14:44 -03:00
Antonella Sgarlatta
41257977a7 fix: fix state and add loading state 2021-09-07 13:14:12 -03:00
Antonella Sgarlatta
99ef854ae8 fix: set mobx store as local state 2021-09-07 12:06:25 -03:00
Antonella Sgarlatta
28dab13fb1 refactor: use mobx for state and separate files for components 2021-09-07 12:04:25 -03:00
Antonella Sgarlatta
1b87df18bc feat: get plan name from subscriptions endpoint 2021-09-07 11:19:51 -03:00
Gorjan Petrovski
1294b94117 feat: integrate two factor authentication (#626)
* feat: integrate SNJS MFA with web

* fix: create rudimentary typings file for qrcode.react

* chore: lint fixes

* fix: address PR feedback

* fix: address PR feedback

* fix: address PR feedback 2

* fix: replace spread props on TwoFactorAuthWrapper component

* chore: change null check to undefined check
2021-09-06 17:15:34 +02:00
Antonella Sgarlatta
c55946cb54 fix: fix challenge modal submission debounce 2021-09-06 10:49:17 -03:00
Antonella Sgarlatta
ea793e1fc9 Merge branch 'develop' into feature/subscription-info-in-preferences 2021-09-06 03:58:30 -03:00
Antonella Sgarlatta
84ba497857 feat: subscription info in preferences 2021-09-06 03:57:33 -03:00
Vardan Hakobyan
041d437bd4 feat: pass web app version to snjs application (#623)
* feat: store web version in local storage

* feat: pass web app version to snjs application when creating WebApplication

* refactor: pass version in application constructor, remove unnecessary method

* refactor: move global variables declarations to separate files to avoid declaring them in all places where they are used

* refactor: better way to use global variables

* chore: add comment

* chore: make global constants pascal case

* chore: version bump for snjs

* chore: yarn.lock with correct snjs version

* chore: bump snjs version
2021-09-06 10:36:57 +04:00
Gorjan Petrovski
b7d10810a5 chore: update snjs, sncrypto-web and fix tsc complaints (#624)
Co-authored-by: Mo Bitar <mo@standardnotes.org>

Co-authored-by: Mo Bitar <mo@standardnotes.org>
2021-09-02 15:59:43 +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
Mo Bitar
41e1dd9731 fix: race condition where previous note actions may be displayed for current note (#613) 2021-08-13 16:16:39 -05:00
Antonella Sgarlatta
083d8f592e fix: view note on protected notes warning not dismissing warning 2021-08-09 12:28:51 -03:00
Antonella Sgarlatta
e82e27ddb6 fix: pass application to options component in overflow menu 2021-08-09 11:47:10 -03:00
Antonella Sgarlatta
7849de7e8f fix: delete unused removeAltKeyObserver from editor view 2021-08-09 11:08:32 -03: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
eb6d8c9cba fix: change filename of secret key download (#610) 2021-07-27 14:42:30 +02:00
Gorjan Petrovski
84bb17ba1d feat(preferences): 2FA activation dialog with mocked state (#605) 2021-07-27 11:32:07 +02:00
Gorjan Petrovski
d9c5fd5129 feat: two factor authentication segment in preferences with mocked state (#600) 2021-07-21 12:17:50 +02:00
Antonella Sgarlatta
0b8cd1b7b4 fix: avoid changing selected note when editing archived or trashed note from search results 2021-07-19 12:15:35 -03:00
Antonella Sgarlatta
ffc84a7ab6 chore(version-snjs): 2.7.20 2021-07-15 12:49:36 -03:00
Gorjan Petrovski
08ab1d009d fix: creating placeholder note redirects focus (#601) 2021-07-15 12:14:28 +02:00
Gorjan Petrovski
f5ae75ef26 fix: provide websocket url to ApplicationGroup (#602) 2021-07-15 12:06:32 +02:00
Antonella Sgarlatta
d4195f8204 chore(version-snjs): 2.7.19 - permissions handling 2021-07-14 19:00:33 -03:00
Antonella Sgarlatta
197a552d87 feat: change restore locked note message 2021-07-14 11:45:26 -03:00
Antonella Sgarlatta
b1aeaeac41 chore(version-snjs): 2.7.18 2021-07-13 19:23:14 -03:00
Antonella Sgarlatta
0e67f78259 fix: typo 2021-07-13 09:52:36 -03:00
Antonella Sgarlatta
86fd93ab0e fix: prevent restoring version if note is locked 2021-07-12 19:30:57 -03:00
Antonella Sgarlatta
f84d789b16 Merge branch 'develop' into feature/account-menu-react 2021-07-12 12:26:51 -03:00