Commit Graph

33 Commits

Author SHA1 Message Date
Oscar Hinton 521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
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
Thomas Rittson b6db41c26c
Update jslib (#1176)
* Update jslib

* Update component constructors

* Update jslib
2021-11-29 10:21:48 +10:00
Thomas Rittson afb30d5e0b
[Key Connector] Add support for key connector and OTP (#1135)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 19:00:01 +01:00
Oscar Hinton 6f69486c36
Remove empty catch blocks and remove allow-empty-catch tslint rule (#1117) 2021-10-21 11:10:36 +02:00
Oscar Hinton 0297ea57da
Use explicit import paths (#1084) 2021-09-20 10:41:57 +02:00
Thomas Rittson 3aa171a664
[macOS] Don't enable secure input when app is not in focus (#970)
* Don't engage macOS secure input if not focused

* Refactor to use focusInputOnPageLoad

* Fix style and linting

* Refactor to remove focusOnPageLoad

* Update jslib
2021-07-05 08:06:24 +10: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
Oscar Hinton af5898a001
Add setting for disabling auto prompt of biometrics (#873)
* Add setting for disabling auto prompt of biometrics

* Ensure window is visible before prompting for biometrics
2021-05-06 20:19:48 +02:00
Matt Gibson e76e56d824 Match linter rules 2021-02-03 12:21:22 -06:00
Chad Scharf 97e982bf01 onDestroy needed for broadcast subscriptions 2020-11-04 14:00:44 -05:00
Chad Scharf fe031ac6b8 remove trailing whitespace for lint errors 2020-11-04 12:19:56 -05:00
Chad Scharf c001a00f82 Hide hidden fields on hide/minimize 2020-11-04 12:09:21 -05:00
Chad Scharf 4a18a4eb93 cont. removing broadcast srv jslib refs 2020-11-02 17:11:56 -05:00
Chad Scharf d8d1ee3022 Handle main window hide 2020-10-29 16:35:09 -04:00
Kyle Spearrin 48aaf4b920
cleanup for biometrics (#489) 2020-07-23 17:24:35 -04:00
Oscar Hinton 26b023a3cb
Biometric support (#470)
* Initial work on windows hello support

* Hide login button if not enabled

* Add windows.security.credentials.ui dependency to desktop as well.

* Only enable biometric on windows.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Ensure we support biometric before showing login with windows hello / touchid.

* Ensure compatability with latest jslib

* Only require module on use.

* Add windows.security.credentials.ui to src/package.json.

* Update requirements

* Update consent messages for biometrics
2020-07-23 13:32:36 -04:00
Vincent Salucci c1113852a4
[Auto-Logout] Implement Vault Timeout Options (#424)
* Update jslib (31a2574 -> 28e3fff)

* Initial commit of vault timeout implentation

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-04-01 10:18:36 -05:00
Kyle Spearrin e063c8b09d purge state on lock/logout 2019-07-02 08:18:42 -04:00
Kyle Spearrin fdc3f403e2 fix order 2019-06-04 00:03:20 -04:00
Kyle Spearrin 0ed33a07d8 cleanup 2019-06-04 00:00:46 -04:00
Marc 89c066069c If an environment is configured, show the hostname in the lock screen (#258)
* If an environment is configured, show the hostname in the lock screen.

* Restore back src/locales/en_GB/messages.json
2019-06-03 23:56:33 -04:00
Kyle Spearrin fdb822f8b3 reload on logout too, move to messages 2019-02-25 15:07:44 -05:00
Kyle Spearrin 5657105291 dont refresh when pin locked 2019-02-25 14:27:20 -05:00
Kyle Spearrin 2c91a2004c pin locking 2019-02-13 10:06:58 -05:00
Kyle Spearrin bccb77356b lock screen message improvements 2019-01-08 00:21:28 -05:00
Kyle Spearrin 24bd7208fd Refresh window when locked to enure that all purged memory is cleaned up 2018-12-26 11:02:02 -05:00
Kyle Spearrin 2ca8ac573b move toaster and analytics to platform utils 2018-10-03 09:42:11 -04:00
Kyle Spearrin e27b2a7a53 convert to ngtools/webpack for aot compilation 2018-04-06 12:25:22 -04:00
Kyle Spearrin d9ff799681 move lock component to jslib 2018-04-04 23:01:40 -04:00
Kyle Spearrin 8e519f5518 toggle password on unlock page 2018-02-24 13:48:55 -05:00
Kyle Spearrin a77b16b766 lock/unlock 2018-02-09 22:47:53 -05:00