Commit Graph

20 Commits

Author SHA1 Message Date
Robyn MacCallum 42bb8cd5f8 Run prettier 2021-12-21 14:48:22 -05:00
Robyn MacCallum a49f9fad06 extend state service 2021-12-16 09:39:46 -05:00
Robyn MacCallum 3fd627a67b Merge remote-tracking branch 'origin/master' into account-switching_refactor_implement-service-changes 2021-11-15 15:03:56 -05:00
Robyn MacCallum d476d4961a Initial swap from activeAccount to stateService 2021-11-12 16:11:38 -05:00
Oscar Hinton ce2e6c3cb4
Remove empty catch blocks and remove allow-empty-catch tslint rule (#2136) 2021-10-21 11:10:46 +02:00
Thomas Rittson 82138a08ff
[Refactor] Use rxjs first instead of unsubscribe from queryParams (#2112)
* Use rxjs first instead of unsubscribe

* Update jslib
2021-10-15 07:58:59 +10:00
addison 85e3436de6 [refactor] Replace references to deprecated services
Several refactors were done on the data storage layer of jslib to support Account Switching for desktop.
These changes have been implemented here for parity across clients, improved readability, and to make it easier
to add Account Switching to other clients later if desired.

* The UserService was removed, and so all references have been replaced with the new access points for that data (activeAccount and organizationService most often)
* The StorageService is now considered a "global" scope, where as we have a new "account" scope to consider. Any "account" scope storage items I have moved to saving with
an ActiveAccountService instance instead of a StorageService instance.
* ConstantsServices have been removed and replaced with a StorageKey enum that holds keys that were in ConstantServices and in other feature scoped services.
2021-10-11 10:42:31 -04:00
Oscar Hinton 4e1958f417
Add jslib as a "real" dependency (#1876)
* Support split jslib

* Fix tests

* Bump jslib
2021-06-07 19:25:37 +02:00
Oscar Hinton cdc71dd661
Password reprompt (#1784)
* Add support for password reprompt

* Rename passwordPrompt to reprompt.

* Move showPasswordDialog to paltformutils

* Fix swal2 validation error styling

* Group imports

* Update src/_locales/en/messages.json

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2021-05-03 20:56:38 +02:00
Thomas Rittson b029ead5f6
Don't use tokenService to manage emailVerified (#1788)
* Update send add-edit component dependencies
2021-04-15 11:39:38 +02:00
Matt Gibson 96df402df7
Simplify and fix file picker logic (#1779) 2021-04-12 10:13:53 -05:00
Thomas Rittson b634c7f178 Make tokenService public to correctly extend base 2021-04-09 15:50:39 +10:00
Thomas Rittson df86fad828 Merge branch 'master' into verify-email-for-send 2021-04-09 15:47:25 +10:00
Oscar Hinton 544c7c526d
Show file picker warning in chromium on Mac 11 (#1778) 2021-04-09 00:45:42 +02:00
Thomas Rittson f68858e729 Require user to verify email to use file Send 2021-04-07 12:49:06 +10:00
Vincent Salucci 24d172e3b9
[Send] Added pop out banner for linux os (#1713) 2021-03-17 09:05:48 -05:00
addison 0aeeacc3ec removed a comment 2021-03-08 15:47:48 -05:00
addison 0752a3a925 patched date & time inputs on safari 2021-03-08 14:58:10 -05:00
Vincent Salucci 61d7fcfc85
Fixed lint warnings (#1655) 2021-03-02 12:31:52 -06:00
Vincent Salucci 4853fb3e29
[Send] Add/Edit functionality (#1622)
* Update jslib (0951424 -> 1968dbf)

* [Send] Browser integration initial commit

* Update jslib (1968dbf -> 8a3b551)

* Cleaned up integration

* added radio button style support // updated warning UI/UX

* Update jslib (8a3b551 ->42348e2)
2021-02-23 15:37:55 -06:00