1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-10-31 08:10:29 +01:00
Commit Graph

23 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
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
2a0ab87be0 Update jslib 2021-03-24 11:17:20 -05:00
Oscar Hinton
5d953fd2fc
Update electron to 11.1.1 (#642) 2021-01-27 22:50:18 +01:00
Kyle Spearrin
9c7a5b3c1a makingPremiumAfterPurchase check 2019-10-07 14:30:53 -04:00
Kyle Spearrin
dff1bb8144 getReceiptUrl only when receipt available 2019-09-23 22:59:40 -04:00
Kyle Spearrin
977abbe572 fix promises on makePremium 2019-09-20 00:00:26 -04:00
Kyle Spearrin
1fed3a2440 remove async 2019-09-19 23:12:49 -04:00
Kyle Spearrin
21e3254219 manage sub from app store. app store pricing 2019-09-19 23:04:33 -04:00
Kyle Spearrin
12edd8dcdb tweaks to restore 2019-09-19 11:05:40 -04:00
Kyle Spearrin
5baea84a6a restore and error messages on inapp purchase 2019-09-19 10:52:11 -04:00
Kyle Spearrin
2f84e2fd82 purchase promise 2019-09-19 09:09:25 -04:00
Kyle Spearrin
a092631fa4 in-app purchase pre-check 2019-09-19 08:53:14 -04:00
Kyle Spearrin
0e52c0d164 purchase premium from the desktop app 2019-09-18 16:48:49 -04:00
Kyle Spearrin
2ca8ac573b move toaster and analytics to platform utils 2018-10-03 09:42:11 -04:00
Kyle Spearrin
3da6d7ba68 move premium page to jslib 2018-04-13 13:19:26 -04:00
Kyle Spearrin
e27b2a7a53 convert to ngtools/webpack for aot compilation 2018-04-06 12:25:22 -04:00
Kyle Spearrin
270328d5b3 mac app store fixes 2018-02-27 22:15:52 -05:00
Kyle Spearrin
36e0e32d10 adjustments for mas 2018-02-26 23:43:27 -05:00
Kyle Spearrin
f064f5bd96 fix premium testing logic 2018-02-16 15:04:04 -05:00
Kyle Spearrin
830a437f1e premium membership component 2018-02-16 15:03:29 -05:00