Commit Graph

39 Commits

Author SHA1 Message Date
Oscar Hinton 3aa52a5537
Add eslint (#1369) 2022-02-24 20:50:19 +01:00
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
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 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 c7345197f7
Password reprompt fixes (#926)
* Hide card number when hidden

* Avoid double password prompts

* Bump jslib
2021-05-28 20:08:44 +02:00
Oscar Hinton 42564285d9
Password reprompt (#838)
* Add support for password reprompt
2021-05-04 21:32:03 +02:00
Matt Gibson 42636d3d2e Update view DI 2021-04-22 08:28:47 -05:00
Oscar Hinton 6acfba4b40
Remove dead code (#839)
* Remove last remnants of old analytics code
2021-04-14 23:43:22 +02: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
Kyle Spearrin 848dff7863
tweaks to minimize on copy feature (#432) 2020-04-14 16:52:03 -04:00
Elias Papavasileiou a84af15c93
Add minimize when copying to clipboard option (#390)
* Add minimize when copying to clipboard option

* Change minimizeOnCopyToClipboardKey constant reference and fix whitespace

* Extend feature to context menus and view component

* Cleanup and refactor methods

* Refactor copy method and add minimizeOnCopyToClipboardKey constant to electronConstants.ts

* Use window.main subclass and fix formatting

* Revert "Use window.main subclass and fix formatting"

This reverts commit 0159613751.

* Reimplement part of 0159613751

* Add null check to VaultComponent::copyValue

* Remove unused import
2020-04-14 16:11:41 -04:00
Kyle Spearrin 7dd11511c6 event logging on view page 2019-07-09 13:11:10 -04:00
Kyle Spearrin 2ca8ac573b move toaster and analytics to platform utils 2018-10-03 09:42:11 -04:00
Kyle Spearrin 23e94b7275 user canAccessPremium checks 2018-08-28 23:17:34 -04:00
Kyle Spearrin 12d39edec6 implement view reload 2018-08-20 17:01:25 -04:00
Kyle Spearrin cbf66d16b8 viewHistory event moved to desktop 2018-07-30 11:00:06 -04:00
Kyle Spearrin e4f209e240 pass win params 2018-04-07 00:19:04 -04:00
Kyle Spearrin e27b2a7a53 convert to ngtools/webpack for aot compilation 2018-04-06 12:25:22 -04:00
Kyle Spearrin 86226990ee move component code out to jslib 2018-04-05 23:50:06 -04:00
Kyle Spearrin 72771d4b90 add support for login uris 2018-03-01 23:45:12 -05:00
Kyle Spearrin 093071c8f3 password breach check moved to view page 2018-02-28 11:35:48 -05:00
Kyle Spearrin e24a083936 show toasts on copying, resolves #28 2018-02-23 16:31:52 -05:00
Kyle Spearrin 1eaa104182 convert copying to platform utils service 2018-02-16 14:15:35 -05:00
Kyle Spearrin 58e39c0c81 lint fixes 2018-02-08 10:37:54 -05:00
Kyle Spearrin 641046490b remove alerterror 2018-01-26 16:13:58 -05:00
Kyle Spearrin eee5f6ff32 combine edit into add/edit component 2018-01-26 14:56:54 -05:00
Kyle Spearrin cd834a39fc timer is any type 2018-01-26 12:32:30 -05:00
Kyle Spearrin 8840f07032 lint fixes 2018-01-25 14:57:49 -05:00
Kyle Spearrin 8f9cc29661 finish implementing view page 2018-01-25 14:25:44 -05:00
Kyle Spearrin 15868ab541 routing updates 2018-01-25 11:28:52 -05:00
Kyle Spearrin fcdbed93a3 view login info/styles 2018-01-24 23:26:40 -05:00
Kyle Spearrin 18a45886d1 add/edit components setup 2018-01-24 17:41:57 -05:00
Kyle Spearrin 7e89a9ba3d add cipher view types 2018-01-24 12:20:01 -05:00
Kyle Spearrin b16ae24d58 load item view cipher 2018-01-24 00:06:05 -05:00
Kyle Spearrin d3fdaed4c2 split vault into components 2018-01-23 22:21:14 -05:00