1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-03 13:33:32 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
Addison Beck
0b306ca1a7
[Account Switching] [Feature] Add the ability to maintain state for up to 5 accounts at once (#1079)
* [refactor] Remove references to deprecated services

* [feature] Implement account switching

* [bug] Fix state handling for authentication dependent system menu items

* [bug] Enable the account switcher to fucntion properly when switching to a locked accounts

* [feature] Enable locking any account from the menu

* [bug] Ensure the avatar instance used in the account switcher updates on account change

* [style] Fix lint complaints

* [bug] Ensure the logout command callback can handle any user in state

* [style] Fix lint complaints

* rollup

* [style] Fix lint complaints

* [bug] Don't clean up state until everything else is done on logout

* [bug] Navigate to vault on a succesful account switch

* [bug] Init the state service on start

* [feature] Limit account switching to 5 account maximum

* [bug] Resolve app lock state with 5 logged out accounts

* [chore] Update account refrences to match recent jslib restructuring

* [bug] Add missing awaits

* [bug] Update app menu on logout

* [bug] Hide the switcher if there are no authed accounts

* [bug] Move authenticationStatus display information out of jslib

* [bug] Remove unused active style from scss

* [refactor] Rewrite the menu bar

* [style] Fix lint complaints

* [bug] Clean state of loggout out user after redirect

* [bug] Redirect on logout if not explicity provided a userId that isn't active

* [bug] Relocated several settings items to persistant storage

* [bug] Correct account switcher styles on all themes

* [chore] Include state migration service in services

* [bug] Swap to next account on logout

* [bug] Correct DI service

* [bug] fix loginGuard deps in services.module

* [chore] update jslib

* [bug] Remove badly merged scss

* [chore] update jslib

* [review] Code review cleanup

* [review] Code review cleanup

Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-15 17:32:00 -05:00
Oscar Hinton
04cfdb246d
BEEEP: Refactor services DI (#1175) 2021-12-06 12:03:02 +01:00
Oscar Hinton
0297ea57da
Use explicit import paths (#1084) 2021-09-20 10:41:57 +02:00
Matt Gibson
bd0fb024c1
Always get key from storage to ensure biometric prompt. (#952)
* Always get key from storage to ensure biometric prompt.

* Update jslib

* Update jslib
2021-06-15 13:40:34 -05:00
Matt Gibson
05e9419d65 Request biometrically secured stored key 2021-06-09 16:55:50 -04:00
Oscar Hinton
296340a5be
Add jslib as a "real" dependency (#941)
* Add jslib as a "real" dependency

* Move more packages to jslib

* Remove some unesessary dev dependencies.

* Add back missing preinstall

* Revert jslib bump

* Fix jslib containing wrong types/node.

* Bump jslib

* Remove unessesary alias

* Remove dummy module
2021-06-07 19:26:36 +02:00
Kyle Spearrin
0d5d8b671d
use swal titletext to avoid XSS (#884) 2021-05-13 15:22:52 -04:00
Matt Gibson
e76e56d824 Match linter rules 2021-02-03 12:21:22 -06:00
Hinton
8084b28013 Ensure we only setup a communication when userId matches 2021-01-15 10:59:09 +01:00
Hinton
d0a5326bd7 Fix linting errors 2020-12-22 17:16:12 +01:00
Hinton
e639fa6674 Make fingerprint validation optional, update readme with debug info for native messaging 2020-12-18 15:47:48 +01:00
Hinton
d20aaeb0e5 Display error message when biometric is disabled in the desktop 2020-12-16 17:25:30 +01:00
Hinton
c13d6f810e Add support for communicating with multiple extensions at the same time 2020-12-16 15:42:46 +01:00
Hinton
28943f4bc1 Fix linting errors 2020-11-30 15:10:57 +01:00
Hinton
ed0acdead2 Restore focus when displaying sync confirm 2020-11-30 14:58:52 +01:00
Hinton
da0cd3d588 Send error when failing to decrypt message 2020-10-23 14:40:31 +02:00
Hinton
77fc0ce55b Cleanup code 2020-10-21 16:48:40 +02:00
Hinton
a6563e7de2 Send key to browser. 2020-10-19 18:34:24 +02:00
Hinton
2ac6148821 Show fingerprint message 2020-10-19 16:50:33 +02:00
Hinton
54c53e432b Setup new encryption flow 2020-10-19 12:21:07 +02:00
Hinton
74b51c9a6c wip 2020-10-16 17:09:17 +02:00
Hinton
d83e2bc117 Use proper logging, fix linting errors. 2020-10-12 21:34:41 +02:00
Hinton
51b749b1dc Split native messaging into renderer and background service. Encrypt messages and verify timestamp 2020-10-12 21:18:28 +02:00
Hinton
44cd222626 Minor cleanup 2020-10-12 18:03:16 +02:00
Hinton
c80b538674 Wire up desktop -> browser communication. Add initial biometry support for browser integration 2020-10-11 20:41:10 +02:00
Hinton
45302e5bd5 Add settings toggle to enable/disable browser integration 2020-10-07 18:25:18 +02:00
Hinton
cb9c0b318e Add untested support for linux and macos 2020-10-05 20:28:00 +02:00
Hinton
830c4a45ee Replace cosole logs with logService 2020-10-05 20:05:48 +02:00
Hinton
24ef7e1ef6 Generate app manifests and add install scripts for windows 2020-10-05 19:48:51 +02:00
Hinton
f09a788103 Initial PoC for browser <-> desktop communication 2020-10-05 15:27:52 +02:00