1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-05 09:10:53 +01:00
Commit Graph

3769 Commits

Author SHA1 Message Date
Daniel James Smith
bd770c90ed
[Account Switching] Base changes for account switching (#2250)
* Pull in jslib

* Create new state models

* Create browser specific stateService

* Remove registration deprecated services, register stateService

* Replace usage of deprecated services (user, constants)

* Add missing properties to BrowserGroupingsComponentState

* Remove StorageService from initFactory

* Clear the correct state

* Add null check when restoring send-grouping state

* add remember email

* Initialize stateservice in services.module

* Fix 'lock now' not working

* Comment to remove setting defaults on install

* Pull jslib

* Remove setting defaults on install

* Bump jslib

* Pass the current userId to services when logging out

* Bump jslib

* Override vaultTimeout default on account addition

* Pull latest jslib

* Retrieve vaultTimeout from stateService

* Record activity per Account

* Add userId to logout and add fallback if not present

* Register AccountFactory

* Pass userId in messages

* Base changes for account switching di fixes (#2280)

* [bug] Null checks on Account init

* [bug] Use same stateService instance for all operations

We override the stateService in browser, but currently don't pull the background service into popup and allow jslib to create its own instance of the base StateService for jslib services.
This causes a split in in memory state between the three isntances that results in many errors, namely locking not working.

* [chore] Update jslib

* Pull in jslib

* Pull in jslib

* Pull in latest jslib to multiple stateservice inits

* Check vault states before executing processReload

* Adjust iterator

* Update native messaging to include the userId (#2290)

* Re-Add UserVerificationService

* Fix email not being remembered by base component

* Improve readability of reloadProcess

* Removed unneeded null check

* Fix constructor dependency (stateService)

* Added missing await

* Simplify dependency registration

* Fixed typos

* Reverted back to simple loop

* Use vaultTimeoutService to retrieve Timeout

Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
2022-01-27 22:22:51 +01:00
Oscar Hinton
ade2a96239
Fix webpack using double dots (#2293) 2022-01-27 19:18:57 +01:00
Daniel James Smith
aa8fe04a28
[UX] Change menu items for unauthed and locked vault (#2285)
* Change menu items for unauthed and locked vault

* Use 'Log in' instead of 'Login'
2022-01-25 08:17:01 +01:00
Daniel James Smith
71913a5eb5
Update badge number when saving a new entry (#2284)
* Rename message to changePasswordMessage

* Rename message variable to addLoginMessage

* Add early return and remove unneeded if below

* Update badge and menu after adding an entry

* Adjusted casing of enum properties

* Add explicit check for queueMessageType

* Turn NotificationQueueMessageType into simple enum
2022-01-25 08:16:36 +01:00
Robyn MacCallum
07a3a1ea06
Merge pull request #2282 from bitwarden/beeep/remove-sad-faces
Replace sad face with searching image
2022-01-21 14:37:45 -05:00
Robyn MacCallum
4d63769d42 Run prettier 2022-01-21 11:23:01 -05:00
Robyn MacCallum
5c4bcf86a7 Added aria-hidden="true" 2022-01-21 11:21:23 -05:00
Robyn MacCallum
879b983818 Replace sad face with searching image 2022-01-21 10:31:01 -05:00
github-actions[bot]
f0dc5aa458
Autosync the updated translations (#2278)
Co-authored-by: github-actions <>
2022-01-21 11:52:06 +01:00
Vince Grassia
ab7fda888f
Update Version Bump action to latest (#2271) 2022-01-18 10:31:10 -05:00
Oscar Hinton
31e433a49b
Rename package to @bitwarden/browser (#2274) 2022-01-17 17:26:35 +01:00
Andrew Marquez
3f4032011a
Send deletedCipher message to messagingService to refresh badge and menu. Fixes #1708 (#2244) 2022-01-17 16:25:32 +01:00
github-actions[bot]
c88f9a4140
Autosync the updated translations (#2268)
Co-authored-by: github-actions <>
2022-01-14 11:21:28 +01:00
Danielle Flinn
42d8f99249
aligned dark theme variables to the new WV dark theme (#2241)
* aligned dark theme variables to the new WV dark theme

* Update plugins.scss

updated toast close button color

* Run prettier on plugins.scss

Co-authored-by: Daniel James Smith <djsmith@web.de>
2022-01-12 13:12:30 +01:00
github-actions[bot]
209eb3e3e2
Autosync the updated translations (#2261)
Co-authored-by: github-actions <>
2022-01-07 13:50:50 +01:00
Daniel James Smith
8ffe2c2dca
Add --ignore-unknown to prettier (#2259) 2022-01-06 21:07:09 +01:00
Daniel James Smith
ca887c2291
Run prettier on *.ts files (#2257)
* Run prettier on *.ts files

* Add scss to prettier

Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>

* Add all filetypes to prettier and ignore via .prettierignore

Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
2022-01-06 14:57:04 +01:00
Daniel James Smith
756464c1e2
Merge pull request #2256 from bitwarden/apply-prettier-on-previously-ignored-files
Apply prettier for previously ignored file
2022-01-04 16:58:45 +01:00
Daniel James Smith
4b2266a7ce
Add newline before export class 2022-01-04 16:48:57 +01:00
Daniel James Smith
a3fd33c5ae
Apply prettier for previously ignored file 2022-01-04 16:41:07 +01:00
Daniel James Smith
ccd96d5d36
Merge pull request #2255 from bitwarden/Refactor-Autofill-service
Tech-Debt: Refactor autofill service
2022-01-04 15:21:47 +01:00
Daniel James Smith
bacbc71dad
Merge pull request #2254 from bitwarden/update-copyright
Update year in copyright
2022-01-03 12:00:11 +01:00
Daniel James Smith
bc3de6e115
Move address containsOptions to Identity constants 2022-01-02 16:16:10 +01:00
Daniel James Smith
30f7e29773
Move fullname containsOptions to Identity constants 2022-01-02 16:15:52 +01:00
Daniel James Smith
306b7e38c3
Move cardExpiry containsOptions to CC constants 2022-01-02 16:13:32 +01:00
Daniel James Smith
c0134e2776
Move cardnumber containsOptions to CC constants 2022-01-02 16:13:04 +01:00
Daniel James Smith
3bfddd0043
Move cardholder containsOptions to CC constants 2022-01-02 16:09:28 +01:00
Daniel James Smith
643fc17151
Move pasword field ignore list to AutoFillConstants 2022-01-02 15:49:37 +01:00
Daniel James Smith
4e274c2f44
Move card expiry fieldnames to CC constants 2022-01-02 15:44:57 +01:00
Daniel James Smith
ec60979ee2
Move cardNumber fieldnames to CC constants 2022-01-02 15:44:19 +01:00
Daniel James Smith
37948db899
Move cardholder fieldnames to CC constants 2022-01-02 15:43:29 +01:00
Daniel James Smith
ff6e63a335
Move address fieldnames to Identity constants 2022-01-02 15:42:39 +01:00
Daniel James Smith
9e350e25ce
Move fullname fieldnames to Identity constants 2022-01-02 15:41:52 +01:00
Daniel James Smith
8f889310c2
Move company fieldnames to Identity constants 2022-01-02 14:57:12 +01:00
Daniel James Smith
0a1b0f5eb9
Move username fieldnames to Identity constants 2022-01-02 14:56:01 +01:00
Daniel James Smith
aeeb44e8c9
Move phone fieldnames to Identity constants 2022-01-02 14:54:31 +01:00
Daniel James Smith
423ef40aa1
Move country fieldnames to Identity constants 2022-01-02 14:52:52 +01:00
Daniel James Smith
4390989a88
Move state fieldnames to Identity constants 2022-01-02 14:51:34 +01:00
Daniel James Smith
61dbe5421f
Move city fieldnames to Identity constants 2022-01-02 14:50:26 +01:00
Daniel James Smith
6304964ad4
Move postalCode fieldnames to Identity constants 2022-01-02 14:49:10 +01:00
Daniel James Smith
a880cf32e6
Move address3 fieldnames to Identity constants 2022-01-02 14:47:12 +01:00
Daniel James Smith
e12b9ffa67
Move address2 fieldnames to Identity constants 2022-01-02 14:46:54 +01:00
Daniel James Smith
b2a3cd7feb
Move address1 fieldnames to Identity constants 2022-01-02 14:43:46 +01:00
Daniel James Smith
d25d532184
Move email fieldnames to Identity constants 2022-01-02 14:41:50 +01:00
Daniel James Smith
c45d1f8f7e
Move title fieldnames to Identity constants 2022-01-02 14:40:10 +01:00
Daniel James Smith
729150d404
Move middle name fieldnames to Identity constants 2022-01-02 14:37:57 +01:00
Daniel James Smith
5c66dade4a
Move card brand fieldnames to CC constants 2022-01-02 14:18:17 +01:00
Daniel James Smith
7e5b50a6cb
Move CVV fieldnames to CC constants 2022-01-02 14:16:27 +01:00
Daniel James Smith
bb294ac792
Move ExpiryYear fieldnames to CC constants 2022-01-02 14:12:56 +01:00
Daniel James Smith
8992f348d2
Move ExpiryMonth fieldnames to CC constants 2022-01-02 14:10:16 +01:00