Commit Graph

36 Commits

Author SHA1 Message Date
Robyn MacCallum 42bb8cd5f8 Run prettier 2021-12-21 14:48:22 -05:00
Robyn MacCallum fc2256ce1b Minor fixes I missed initially 2021-11-16 10:02:15 -05:00
Robyn MacCallum d476d4961a Initial swap from activeAccount to stateService 2021-11-12 16:11:38 -05:00
addison 85e3436de6 [refactor] Replace references to deprecated services
Several refactors were done on the data storage layer of jslib to support Account Switching for desktop.
These changes have been implemented here for parity across clients, improved readability, and to make it easier
to add Account Switching to other clients later if desired.

* The UserService was removed, and so all references have been replaced with the new access points for that data (activeAccount and organizationService most often)
* The StorageService is now considered a "global" scope, where as we have a new "account" scope to consider. Any "account" scope storage items I have moved to saving with
an ActiveAccountService instance instead of a StorageService instance.
* ConstantsServices have been removed and replaced with a StorageKey enum that holds keys that were in ConstantServices and in other feature scoped services.
2021-10-11 10:42:31 -04:00
Oscar Hinton a848406ce0
Use explicit import paths (#2074) 2021-09-17 15:44:27 +02:00
Oscar Hinton 4e1958f417
Add jslib as a "real" dependency (#1876)
* Support split jslib

* Fix tests

* Bump jslib
2021-06-07 19:25:37 +02:00
Oscar Hinton ae4c1b29d2
Add support for biometrics to Safari (#1775)
* Add Biometrics support to Safari
2021-04-07 17:39:59 +02:00
Oscar Hinton 75f84f6723
Resolve FF < 77 not working (#1706) 2021-03-15 15:44:10 +01:00
Matt Gibson 1868b99d17
Linter updates and fixes (#1604) 2021-02-10 09:40:15 -06:00
Oscar Hinton 8e20e48373
Resolve safari not working due to missing chrome api (nativeMessaging) (#1585) 2021-01-29 23:31:36 +01:00
Oscar Hinton 14293a7831
Reload browser extension after enabling nativeMessaging (#1577) 2021-01-27 23:05:50 +01:00
Oscar Hinton 0511905ab4
Handle desktop logged into a different account for biometrics (#1533) 2021-01-15 16:44:27 +01:00
Oscar Hinton c4388dad66
SystemService, Store if fingerprints have been validated or not (#1528) 2021-01-13 23:31:44 +01:00
Hinton 98cc69c6fa Solve native messaging silently disconnecting when restarting the desktop app 2021-01-05 15:12:48 +01:00
Hinton e922ff0bc2 Make error handler more generic 2021-01-04 20:53:49 +01:00
Oscar Hinton 83cea49a1b
Add missing break statement (#1503) 2020-12-21 09:18:18 -05:00
Hinton 47b6934699 Make checking fingerprint optional 2020-12-18 16:06:36 +01:00
Hinton 72c6f52ae2 Resolve review comments 2020-12-16 21:44:12 +01:00
Hinton 95d475a9d3 Show an error when biometrics is disabeld in desktop app or not supported 2020-12-16 17:32:51 +01:00
Hinton c4185fe6ee Add support for multiple concurrent extensions with native messaging 2020-12-16 15:47:30 +01:00
Hinton 0e2432d6f4 Review comments 2020-11-23 14:27:36 +01:00
Hinton 6257764c37 Resolve review comments 2020-11-19 19:16:29 +01:00
Hinton c1b099f5da Handle invalidatedEncrytption message 2020-10-23 14:40:50 +02:00
Hinton 222665dd9d Fix error in firefox 2020-10-21 20:39:58 +02:00
Hinton 251d0fdde3 Handle another error message 2020-10-21 17:50:27 +02:00
Hinton 0a4d59092b Cleanup, localize error. 2020-10-21 17:18:04 +02:00
Hinton 9064298309 Display error message when browser integration is disabled, or desktop not running 2020-10-21 15:56:10 +02:00
Hinton a3dbf8b65d Unlock using master key from desktop 2020-10-19 18:34:40 +02:00
Hinton a659c86373 Show fingerprint message 2020-10-19 16:50:25 +02:00
Hinton 378f603709 Setup new encryption flow 2020-10-19 12:20:45 +02:00
Hinton 90bba83ae5 wip 2020-10-16 17:08:53 +02:00
Hinton 41134aee98 Minor cleanup 2020-10-16 12:01:07 +02:00
Hinton a77cca82c8 Encrypt messages and verify timestamp. 2020-10-12 21:18:47 +02:00
Hinton 894d245361 Ensure biometric unlock works even if popup is not in focus 2020-10-12 18:01:34 +02:00
Hinton 5eb0ce1e09 Fix linting errors 2020-10-11 20:45:25 +02:00
Hinton f311101ed9 Initial work of biometric unlock for browser 2020-10-09 17:16:15 +02:00