Commit Graph

15 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 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
Matt Gibson 99f8fdb4e9 Use file upload service for file uploads 2021-03-29 08:24:00 -05:00
Kyle Spearrin 2ca8ac573b move toaster and analytics to platform utils 2018-10-03 09:42:11 -04:00
Kyle Spearrin 8f92e478ba fix attachments deps 2018-08-29 09:31:25 -04:00
Kyle Spearrin ebc1807fcb update jslib 2018-06-08 12:16:23 -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 58e39c0c81 lint fixes 2018-02-08 10:37:54 -05:00
Kyle Spearrin 0a647e4846 show dialog device util 2018-02-02 23:42:33 -05:00
Kyle Spearrin 77d1d272cc add api actions to attachments page 2018-01-31 21:56:47 -05:00
Kyle Spearrin 6316842a49 attachments modal 2018-01-29 23:19:55 -05:00