1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-07-02 11:35:38 +02:00
Commit Graph

46 Commits

Author SHA1 Message Date
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
b83058ecab
Apply AppInputVerbatim directive (#1170) 2021-11-24 08:03:43 +10:00
Oscar Hinton
6f69486c36
Remove empty catch blocks and remove allow-empty-catch tslint rule (#1117) 2021-10-21 11:10:36 +02:00
Thomas Rittson
816249a48a
Use cdk-virtual-scroll for long cipher lists (#1001)
* Use cdk-virtual-scroll for cipher lists

* add trackBy, reorder dom

* Undo merge conflict error

* Fix layout, increase scrolling buffer

* fix linting

* Remove unused infinite-scroll directives for Send

* Add back refresh method

* Update jslib

* Fix itemSize and min/maxBufferPx directives

* Move refresh() into base class

* Use cipherListVirtualScroll strategy

* fix linting

* Update to use latest virtual-scroll strategy

* Update jslib
2021-08-11 13:00:04 +10:00
Addison Beck
d7287e7aa3
set Send date presets to Custom if editing a send (#997) 2021-07-21 12:43:40 -04:00
Addison Beck
0682269e34
Resolved Safari Date/Time Issues In Send (#992)
* cleaned up date and time logic for Send

* updated jslib

* set up change detection for initial form values on data swap
2021-07-19 09:56:31 -04:00
Addison Beck
f862fc3691
fixed the icon for sends being swapped between file and text sends (#967) 2021-06-24 15:45:36 +00: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
8f7ab9f8db
Bump node to 14 (#869)
* Bump node to 14

* Bump some dependencies

* Bump jslib

* Ensure compatability with latest jslib

* Change node engine to ~14.
2021-05-12 22:38:02 +02:00
Oscar Hinton
2bdd7413aa
Block save button when uploading a send (#871)
* Block save button when uploading a send

* Add overflow hidden to prevent scrollbar appearing
2021-05-04 23:36:57 +02:00
Thomas Rittson
0724041daf
Don't use tokenService to manage emailVerified (#841)
* Update send add-edit component dependencies

* bump jslib
2021-04-15 10:29:26 +02:00
Thomas Rittson
30793a0d9b Merge branch 'master' into verify-email-for-send 2021-04-09 15:41:49 +10:00
Oscar Hinton
eebd4fc9d9
Remove electron remote (#830)
* Remove calls to remote
2021-04-07 20:25:15 +02:00
Thomas Rittson
05183149ad Fix linting 2021-04-07 13:11:45 +10:00
Thomas Rittson
bc543de307 Require user to verify email to use file Send 2021-04-07 12:47:50 +10:00
Thomas Rittson
f3ae6ed1e2 Add "hide email" option for Send 2021-03-25 15:29:49 +10:00
Kyle Spearrin
0e1dab40cc
style tweaks to send add/edit page (#767)
* style tweaks to send add/edit page

* remove redundant conditional
2021-03-12 14:37:52 -05:00
addison
9aaa9a0fdb added file size to Send view 2021-03-09 14:30:30 -05:00
addison
5724875328 fixed icon redirect bug on Sends 2021-03-08 15:19:08 -05:00
addison
c620c419d7 missing * 2021-02-25 13:33:56 -05:00
addison
ac4afc6ef1 changed disabled badge style 2021-02-25 13:27:47 -05:00
addison
f429996d5c added status badges to Send 2021-02-25 13:12:47 -05:00
addison
077b4b8de5 updated disableSend implementations 2021-02-23 10:40:44 -05:00
addison
696fddc970 label-hack change 2021-02-22 15:06:18 -05:00
addison
07e78d75d5 remove unused code 2021-02-18 13:10:10 -05:00
addison
689f2c3535 lint fixes 2021-02-18 13:06:21 -05:00
addison
0918ad1425 removed a comment 2021-02-18 13:05:12 -05:00
addison
ac807b6d54 bells and whistles for Send 2021-02-18 13:03:20 -05:00
Addison Beck
4a8cf62495
removed extra subscription 2021-02-16 16:33:32 -05:00
addison
68044f7170 removed disable send references 2021-02-16 14:02:28 -05:00
addison
ec162f8fbf removed a console log 2021-02-16 13:27:22 -05:00
addison
73bc46ae4a fixed bugs found creating demo video 2021-02-16 13:11:14 -05:00
addison
1290ff2c40 finished CRUD operations for Send 2021-02-16 11:52:23 -05:00
addison
12532f3cc4 Allowed editing sends 2021-02-10 14:15:10 -05:00
addison
30a7db2f20 Added support for viewing Sends' 2021-02-09 15:57:10 -05:00
Matt Gibson
ba173f9da5 Add main menu copy and shortcut and context copy for totp 2021-02-08 11:20:12 -06:00
addison
ec933025f3 made nav into a toolbar 2021-02-05 12:34:01 -05:00
addison
3e6f85c206 deleted more of the send component 2021-02-03 23:52:27 -05:00
addison
5a71d5fdc8 deleted more or the send component 2021-02-03 23:50:41 -05:00
addison
631d053ef1 cleanup 2021-02-03 23:23:19 -05:00
addison
d8e61d49c0 removed unused imports 2021-02-03 23:21:17 -05:00
addison
8479e57fa5 deleted most of the send component 2021-02-03 23:19:42 -05:00
addison
2b9bae6807 cleanup 2021-02-03 23:12:23 -05:00
addison
de162cd34f fixed build complaint 2021-02-03 17:09:04 -05:00
addison
6e49c481f0 Send layout & search 2021-02-03 16:24:49 -05:00