* [bug] Move bulk of system lock checks into app.component
* [review] Extract shared system timeout logic
* [review] Correct an improper number
* [review] Opt for a more locally scoped system timeout helper than a dedicated enum
* Add credit card logos to allow displaying icons based on brand
* Add light and dark card icons and select based on theme
* Change usage of icon scss to the one in jslib
* Fix typos in scss import code
* Pull in jslib
* Create new state models
* Create browser specific stateService
* Remove registration deprecated services, register stateService
* Replace usage of deprecated services (user, constants)
* Add missing properties to BrowserGroupingsComponentState
* Remove StorageService from initFactory
* Clear the correct state
* Add null check when restoring send-grouping state
* add remember email
* Initialize stateservice in services.module
* Fix 'lock now' not working
* Comment to remove setting defaults on install
* Pull jslib
* Remove setting defaults on install
* Bump jslib
* Pass the current userId to services when logging out
* Bump jslib
* Override vaultTimeout default on account addition
* Pull latest jslib
* Retrieve vaultTimeout from stateService
* Record activity per Account
* Add userId to logout and add fallback if not present
* Register AccountFactory
* Pass userId in messages
* Base changes for account switching di fixes (#2280)
* [bug] Null checks on Account init
* [bug] Use same stateService instance for all operations
We override the stateService in browser, but currently don't pull the background service into popup and allow jslib to create its own instance of the base StateService for jslib services.
This causes a split in in memory state between the three isntances that results in many errors, namely locking not working.
* [chore] Update jslib
* Pull in jslib
* Pull in jslib
* Pull in latest jslib to multiple stateservice inits
* Check vault states before executing processReload
* Adjust iterator
* Update native messaging to include the userId (#2290)
* Re-Add UserVerificationService
* Fix email not being remembered by base component
* Improve readability of reloadProcess
* Removed unneeded null check
* Fix constructor dependency (stateService)
* Added missing await
* Simplify dependency registration
* Fixed typos
* Reverted back to simple loop
* Use vaultTimeoutService to retrieve Timeout
Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
* [Icons] Update Font Sheet
* Added import statement for styles
* updated to clone icon
* Changed save to save changes icon
* Revert to using base bwi class
* Updated import order for bwi icon styles
* Converted new account switcher ui updates
* Bump jslib
* Fix occurances where bwi-eye-slash was used instead of btw-eye-slash-2
* Move settings cog to the left side
* Updated eye/eye-slash icon references
* Update jslib
* Update jslib
* Update fallback image for cipher icon
* Update jslib
Co-authored-by: Hinton <oscar@oscarhinton.com>
* Rename message to changePasswordMessage
* Rename message variable to addLoginMessage
* Add early return and remove unneeded if below
* Update badge and menu after adding an entry
* Adjusted casing of enum properties
* Add explicit check for queueMessageType
* Turn NotificationQueueMessageType into simple enum
The DI refactor created a bad initlizer for SystemService that left out the reload callback.
This callback is null in prod, so I just set up a factory initlizer that used null for the callback value.
This fixes a bug causing clipboard clearing to not function, as platformUtilsService was not correctly injected.