Commit Graph

2952 Commits

Author SHA1 Message Date
Thomas Rittson 7d43835ea2
Update client for authService refactor (#2302) 2022-02-08 09:06:37 +10:00
addison 9cea47aaf1 [bug] Clean state service on logout 2022-02-07 15:09:43 -05:00
addison 9c7f399a76 [bug] Don't force an active user to init activity recording functions 2022-02-07 11:44:16 -05:00
addison 6da6e46900 [bug] await the vault timeout dropdown change event 2022-02-07 11:44:16 -05:00
addison 693e1e76b5 [bug] Point autofill at the correct storage key 2022-02-07 11:44:16 -05:00
Daniel James Smith 2844e06aa8
Fix regression in notificationBar (#2314) 2022-02-07 11:31:18 +01:00
github-actions[bot] 672772d043
Autosync the updated translations (#2309)
Co-authored-by: github-actions <>
2022-02-04 12:42:27 +01:00
addison 901b88b21f Update jslib 2022-02-03 13:55:06 -05:00
Vincent Salucci 9c60563939
[Icons] FF - requested icon changes (#2306)
* [Icons] Remove FA

* Icon changes
2022-02-03 10:25:38 -06:00
addison c4844b9943 [style] Ran prettier 2022-01-31 14:48:52 -05:00
addison 4f9a741278 [style] Lint fixes 2022-01-31 14:46:04 -05:00
addison f6e274a9a0 [chore] Update jslib 2022-01-31 14:21:06 -05:00
addison 5962abb382 [chore] Update jslib 2022-01-28 09:24:04 -05:00
Vincent Salucci 33314869f0
[Icons] Update Font Sheet (#2272)
* [Icons] Update Font Sheet

* Prettier updates

* Updated refresh -> generate

* Updated closed folder icon

* Reverted to using a base class

* Update jslib

* Removed unused import

* Updated eye/eye-slash icon references

* Update jslib

* Updating fallback image for cipher icon

* Update jslib

* Removed duplicate icon base class

* Update jslib

* Prettier

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-28 04:53:06 -06:00
github-actions[bot] 1b5f4c99b8
Autosync the updated translations (#2295)
Co-authored-by: github-actions <>
2022-01-28 11:08:11 +01:00
Thomas Rittson 4ca282f701
Run Prettier on #2163 (#2296) 2022-01-28 11:00:48 +01:00
Thomas Rittson 805d387469
Move keyConnectorService call to syncService (#2279) 2022-01-28 07:49:23 +10:00
Linus Aarnio 55e6de691d
Add credit card logos to allow displaying icons based on brand (#2163)
* Add credit card logos to allow displaying icons based on brand

* Add light and dark card icons and select based on theme

* Change usage of icon scss to the one in jslib

* Fix typos in scss import code
2022-01-27 22:42:32 +01:00
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
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 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
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 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
Daniel James Smith 768f4b676c
Removed unused OperationDelays constant 2022-01-02 14:02:11 +01:00
Daniel James Smith 5fb9d0ee7f
Separate Identity constants into its own class 2022-01-02 14:01:26 +01:00
Daniel James Smith 47b40e0049
Separate CreditCard constants into its own class 2022-01-02 13:56:42 +01:00
Daniel James Smith 0fbeabf7a6
Extract constants for autofill into separate file 2022-01-02 13:45:32 +01:00
Daniel James Smith 1dab87f43c
Merge pull request #2252 from bitwarden/crowdin-auto-sync
Autosync Crowdin Translations
2022-01-01 17:51:01 +01:00
Daniel James Smith 8fe1a6086c
Update year in copyright 2022-01-01 16:57:46 +01:00
Robyn MacCallum 5445103200 rename fb to formBuilder 2021-12-31 10:14:16 -05:00
github-actions f213f8b620 Autosync the updated translations 2021-12-31 00:04:54 +00:00
github-actions 76798222a1 Autosync the updated translations 2021-12-24 00:04:41 +00:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Patrick H. Lauke c733f2def6 A11y: make expandable box headers actual buttons, expose state with aria-expanded
Closes https://github.com/bitwarden/browser/issues/1983
2021-12-19 17:26:57 +00:00
Patrick H. Lauke df0e7d1ec0
Merge branch 'master' into patrickhlauke-issue1984 2021-12-19 14:43:37 +00:00
Daniel James Smith 19c5b9fc73
Merge pull request #2233 from patrickhlauke/patrickhlauke-issue1985
Add clearer accessible names for password generator options (A-Z, a-z, 0-9, !@#$%^&*)
2021-12-19 13:31:46 +01:00
Patrick H. Lauke dd0e80c42f Reset messages.json other than English one
see https://github.com/bitwarden/browser/pull/2233#pullrequestreview-835848613
2021-12-19 12:20:46 +00:00
Patrick H. Lauke a3f2af707a Add clearer accessible names for password generator options
Closes https://github.com/bitwarden/browser/issues/1985
2021-12-18 22:29:53 +00:00
Patrick H. Lauke 6e050349e4 Add aria-pressed attribute to all toggleVisibility buttons
Closes https://github.com/bitwarden/browser/issues/2228
2021-12-18 20:22:11 +00:00
Daniel James Smith df72485236
Merge pull request #2225 from bitwarden/prevent-save-prompt-when-disabled-by-user
Fix save prompt showing when disabled by user
2021-12-17 11:23:36 +01:00
Daniel James Smith 09e3db24b7
Merge pull request #2223 from patrickhlauke/patrickhlauke-issue1987
A11y: use appropriate HTML heading markup for headings
2021-12-17 01:27:19 +01:00
github-actions a3f4748850 Autosync the updated translations 2021-12-17 00:04:37 +00:00
Patrick H. Lauke 557dd8f68d View entry: add labels to readonly fields, expand aria-label for repeated toggles
Closes https://github.com/bitwarden/browser/issues/1984
2021-12-16 13:41:57 +00:00
Daniel James Smith 0174d239ca
Fix save prompt showing when disabled by user 2021-12-15 19:04:47 +01:00
Patrick H. Lauke ba37c05d1b Add visually hidden <h1> to views that lack an overarching heading 2021-12-13 20:56:23 +00:00
Patrick H. Lauke 75878442f0 Missing class 2021-12-13 20:16:43 +00:00
Patrick H. Lauke b5f2474b68 Neutralise/reset heading styles
- make size/weight match regular text
- remove the theming, as it will inherit this anyway from its surroundings/container; having the color explicitly defined here creates issues as it's more specific otherwise and overrides the local context
2021-12-13 19:53:01 +00:00
Patrick H. Lauke ea02d228f5 Typo 2021-12-13 19:15:48 +00:00
Patrick H. Lauke 1b79812056 Straggler 2021-12-13 17:46:29 +00:00
Patrick H. Lauke 1916136f4c Merge branch 'master' into patrickhlauke-issue1987 2021-12-13 17:37:42 +00:00
Thomas Rittson d7a72b66ff
Revert hack to fix appearance in FF sidebar (#2218)
Bug fixed upstream in FF 90
2021-12-10 18:10:39 +10:00
github-actions[bot] e835a53b80
Bumped version to 1.55.0 (#2214)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-08 09:03:39 -05:00
Oscar Hinton e4aaf81816
Replace toaster library (#2210) 2021-12-07 20:42:18 +01:00
Daniel James Smith 86b4340bfb
Merge pull request #2200 from bitwarden/crowdin-auto-sync
Autosync Crowdin Translations
2021-12-06 21:23:04 +01:00
Oscar Hinton 17aa403461
Fix DI not working (#2211) 2021-12-06 19:56:07 +01:00
Oscar Hinton 3eb860f464
BEEEP: Refactor services DI (#2201) 2021-12-06 12:21:07 +01:00
github-actions b8feca16ec Autosync the updated translations 2021-12-03 00:04:46 +00:00
Thomas Rittson 86650941e4
[A11y] Fix contrast on extension icons (#2203)
* Update extension icons to for a11y contrast

* Fix images
2021-12-01 07:07:34 +10:00
Thomas Rittson 3a1c050502
Update jslib (#2202)
* Update jslib

* Update constructors

* Update jslib
2021-11-29 10:14:04 +10:00
Daniel James Smith 8192a5e47b
Merge pull request #2135 from bitwarden/update-year-in-copyright
Update copyright year in .plist files for safari
2021-11-24 15:30:49 +01:00
Daniel James Smith 00bc1c4f4a
Added copyright span to the plist file I missed 2021-11-24 15:25:22 +01:00
Daniel James Smith d3002499b9
Changed copyright date to a span 2021-11-24 11:39:23 +01:00