Commit Graph

22 Commits

Author SHA1 Message Date
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
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
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
84ba497857 feat: subscription info in preferences 2021-09-06 03:57:33 -03: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
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