Commit Graph

123 Commits

Author SHA1 Message Date
Mo Bitar
0ad65befb0 deps(snjs): 2.20.1 2021-12-08 22:23:57 -06:00
Laurent Senta
c27dce1ab7 style: with prettier (#762)
* style: use pretty quick on staged files

* style: test edit utils

* style: try with lint-staged

* style: test lint application
2021-12-06 15:27:18 +01:00
Aman Harwara
31c48af01c feat: Add "Pin selected notes" button to editor title bar (#760) 2021-12-06 14:47:35 +05:30
Mo Bitar
82ee0974c1 feat: snjs upgrade and fixes 2021-12-05 11:04:46 -06:00
Aman Harwara
9730006cba feat: Nativize "No distraction" theme as "Focus Mode" (#758)
Co-authored-by: Mo Bitar <me@bitar.io>
2021-12-02 22:34:57 +05:30
Vardan Hakobyan
a8f949e8c5 Chore/setup testing environment (#755)
* chore: setup environment for unit tests

* fix: remove extra character from json
2021-11-30 19:01:51 +04:00
Mo Bitar
6f3a749e52 fix: default to feature status entitled to avoid temporarily flashing error 2021-11-26 18:29:00 -06:00
Mo
cf3664751f feat: display feature status (#745)
* feat: display feature status

* fix: hook dep

* fix: react hooks dep
2021-11-22 11:39:14 -06:00
Mo Bitar
893615157b fix: update snjs 2021-11-14 11:46:41 -06:00
Mo Bitar
dee60e0fae fix: extension url validation 2021-11-14 11:26:57 -06:00
Mo Bitar
76258f5462 fix: component expiration for custom extensions 2021-11-12 12:21:04 -06:00
Aman Harwara
8c1c00ec75 chore: Bump snjs to 2.17.6 (#735) 2021-11-12 10:14:31 -06:00
Mo Bitar
873aa1558e fix: offline repo handling 2021-11-11 13:51:54 -06:00
Aman Harwara
28661436c5 feat: Use menu-border instead of menu-border-color (#731) 2021-11-10 23:28:39 +05:30
Aman Harwara
716e1cf465 feat: Fix menu border color (#730) 2021-11-10 23:04:52 +05:30
Aman Harwara
9d4172bf7a feat: Use menu-border-color (#729) 2021-11-10 11:03:54 -06:00
Mo
73b91e5964 fix: reload subscription state after event (#727)
* fix: reload subscription state after event

* chore: yarn.lock

* chore: lint

* fix: hook exhaustive deps
2021-11-09 19:33:10 -06:00
Mo Bitar
4b21083229 fix: disable v4 feature checks 2021-11-09 16:41:12 -06:00
Aman Harwara
42b3cf5750 feat: Use border-main (#721) 2021-11-05 19:29:54 +05:30
Aman Harwara
54c09b9b49 chore: Bump sn-stylekit to 5.2.9 (#719) 2021-11-04 18:11:59 +05:30
Vardan Hakobyan
04fab80adb feat: fetch features and store locally for offline users (#706)
* feat: fetch features and store locally for offline users

* feat: handle success and error cases

* refactor: move offline activation code reading/validation to snjs

* chore: update after renaming snjs function

* fix: correct condition for checking offline users

* feat: let users remove their previous offline keys (WIP)

* refactor: handle setOfflineFeatures function response accordingly

* feat: remove corresponding local data when removing offline key

* fix: use snjs' confirm dialog instead of custom one

* feat: show warning before installing extension from untrusted source

* refactor: move functions for validating external feature url and checking if custom server host was used to snjs

* chore: put correct snjs version

* chore: make `eslint-plugin-react-hooks` in yarn.lock to match the `develop` branch

* chore: deps update

* chore: deps update
2021-11-03 22:27:36 +04:00
Mo
fd6d83655c feat: Component toggleability and add toggleable components to quick settings menu (#707)
* feat: toggleable extensions

* fix: return all themes for quick settings

* chore: bump snjs deps

* feat: Use Switch component for toggle in Quick Settings Menu

* feat: Add toggleableComponents to footer_view

* refactor: Change "components" to "toggleableComponents"

* feat: Add checked state to component toggle in quick settings menu
2021-10-27 10:19:42 -05:00
Karol Sójko
36608487ce feat: upgrade to latest active node LTS version 2021-10-26 13:54:13 +02:00
Mo
413fe47828 chore: update all dependencies (#699) 2021-10-22 14:47:41 -05:00
Aman Harwara
f4949249f2 feat: Use Menu component in the general account menu (#698) 2021-10-22 19:46:25 +05:30
Aman Harwara
3a4e2509af feat: Add "Export" and "Duplicate" buttons in notes options menu. (#688)
Co-authored-by: Mough <mo@standardnotes.org>
2021-10-19 15:43:20 +00:00
Karol Sójko
29b72c71cf fix: update snjs to 2.14.14 (#684) 2021-10-14 11:37:44 +02:00
Antonella Sgarlatta
bf24453472 chore(version-snjs): 2.14.13 2021-10-12 15:41:22 -03:00
Antonella Sgarlatta
17fcb0175d Merge branch 'develop' into feat/prefs-defaults 2021-10-05 19:38:52 -03:00
Antonella Sgarlatta
aa40354a31 chore(version-snjs): 2.14.11 2021-10-04 20:34:08 -03:00
Aman Harwara
b4fcc993aa feat(preferences): Defaults segment
feat: Dropdown component
2021-09-30 20:50:44 +05:30
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
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
6a17bfa888 chore(version-snjs): 2.14.3 2021-09-13 19:39:12 -03: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
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
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
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
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
Gorjan Petrovski
84bb17ba1d feat(preferences): 2FA activation dialog with mocked state (#605) 2021-07-27 11:32:07 +02:00
Gorjan Petrovski
d4bc026b04 fix: update mobx, preferences can be open multiple times (#604) 2021-07-22 14:10:23 +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
bffd9ec54d chore(version-snjs): 2.7.21 2021-07-20 15:54:57 -03:00
Antonella Sgarlatta
ffc84a7ab6 chore(version-snjs): 2.7.20 2021-07-15 12:49:36 -03:00
Antonella Sgarlatta
d4195f8204 chore(version-snjs): 2.7.19 - permissions handling 2021-07-14 19:00:33 -03:00
Antonella Sgarlatta
b1aeaeac41 chore(version-snjs): 2.7.18 2021-07-13 19:23:14 -03:00
Antonella Sgarlatta
e9cfe45b39 chore(version-snjs): 2.7.17 2021-07-12 12:24:10 -03:00