Commit Graph

11826 Commits

Author SHA1 Message Date
Linus Aarnio 83c3635932
Add credit card logos to allow displaying icons based on brand (#1149)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-21 13:21:41 +01:00
Linus Aarnio ebcfdcd8a4
Add credit card logos to allow displaying icons based on brand (#1280)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-21 12:08:08 +01:00
Micaiah Martin ac43637203
Merge pull request #2239 from bitwarden/ci/patch-version-check
Added redeployment logic to setup job
2021-12-20 13:19:40 -07:00
Micaiah Martin eb122532bd
Added logic for redeployments (#428) 2021-12-20 13:19:31 -07:00
Vince Grassia 8991dcbf32
Set image tag to be 'dev' for now (#1353) 2021-12-20 13:16:53 -05:00
Micaiah Martin 167ff61374 Added logic for redeployments 2021-12-20 11:10:52 -07:00
Micaiah Martin 3c2094bb04
Patch version check to allow for redeployments. (#1204)
* Added logic for redployment

* Applied linting

- Prettier config was already updated by Oscar. b4df834b16
2021-12-20 10:49:16 -07:00
Micaiah Martin cc9b9c91d7
Patch CI to allow for redeployments. Add Github actions to prettier .ignore as well. (#1352)
* Added inputs for reruns

* Added github workflows to .prettierignore

* Moved the Redeploy logic into the setup job
2021-12-20 10:15:43 -07:00
Oscar Hinton afbf6529c1
Add .git-blame-ignore-revs (#427) 2021-12-20 18:15:11 +01:00
Oscar Hinton 910b4a24e6
Apply Prettier (#426) 2021-12-20 18:04:00 +01:00
Oscar Hinton ec53a16c00
Add Prettier configuration (#425) 2021-12-20 17:44:12 +01:00
Oscar Hinton f7ae94199f
Add .git-blame-ignore-revs (#1203) 2021-12-20 16:49:00 +01:00
Oscar Hinton 521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Addison Beck 9e26336549
[feat(Account Switching)] Allow for extending application state (#584)
* [feat(Account Switching)] Allow for extending application state

* [bug(Account Switching)] Remove hardcoded dev urls

* [bug(Account Switching)] Init Account when signing in

* [bug(Account Switching)] Check for state migration version in local storage for web

* [bug(Account Switching)] Fix never lock configurations

* [chore] Prettier merge

* [bug] Move environmentUrls to global state

* [chore] Ran prettier

* [bug]change storage location for enityId and type

* [style] Ran prettier

Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>
2021-12-20 08:48:47 -05:00
Oscar Hinton b4df834b16
Add Prettier configuration (#1201) 2021-12-20 14:17:39 +01:00
Daniel James Smith 70925871b0
Merge pull request #2234 from patrickhlauke/patrickhlauke-issue1983
A11y: make expandable box headers keyboard-operable, expose correct role/state
2021-12-19 19:33:29 +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
Daniel James Smith eef979fdba
Merge pull request #2226 from patrickhlauke/patrickhlauke-issue1984
View entry: add labels to readonly fields, expand aria-label for repeated toggles
2021-12-19 16:08:05 +01: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
Daniel James Smith fa9662e34a
Merge pull request #2232 from patrickhlauke/patrickhlauke-issue2228
Add aria-pressed attribute to all toggleVisibility buttons
2021-12-19 12:25:04 +01: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 3880d60101
Fix missing translation for unlinking SSO dialog (#1350) 2021-12-17 21:11:02 +01:00
Vince Grassia b33d37e610
Update with linter suggestions (#1199) 2021-12-17 12:26:26 -05:00
Jake Fink f5fdb34f7d
Bug/sso properties globalstate (#1342)
* move sso properties in jslib to globalstate

* update jslib

* update jslib with prettier changes
2021-12-17 11:24:58 -05:00
Jake Fink 59a5300458
move sso properties to globalstate (#583)
* move sso properties to globalstate

* whitespace

* npm prettier changes
2021-12-17 11:24:38 -05:00
Oscar Hinton 5b8f2034c3
Add .git-blame-ignore-revs (#1349) 2021-12-17 16:07:28 +01:00
Oscar Hinton 56477eb39c
Apply Prettier (#1347) 2021-12-17 15:57:11 +01:00
Oscar Hinton 2b0a9d995e
Add Prettier configuration (#1346) 2021-12-17 15:44:44 +01: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 3ad71103dd
Bump electron dependencies (#1194)
* Pull in jslib

* Bumping electron dependencies that relate tojslib

* Bump electron-rebuild

* Bump electron-builder

* Revert "Bump electron-builder"

This reverts commit 8cada435674112c00c032a5954aaca81b2082cd8.

* Bump jslib
2021-12-17 11:15:07 +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
Daniel James Smith f0244b07c8
Merge pull request #2229 from bitwarden/crowdin-auto-sync
Autosync Crowdin Translations
2021-12-17 01:25:35 +01:00
github-actions[bot] 595722dfa1
Autosync the updated translations (#1348)
Co-authored-by: github-actions <>
2021-12-17 01:17:36 +01:00
github-actions[bot] da296559c0
Autosync the updated translations (#1198)
Co-authored-by: github-actions <>
2021-12-17 01:15:45 +01:00
github-actions a3f4748850 Autosync the updated translations 2021-12-17 00:04:37 +00:00
Patrick H. Lauke 086f062a6c Update jslib 2021-12-16 20:09:05 +00:00
Linus Aarnio a8168d6ee7
Fix for issue #1287 in bitwarden/web (#569)
* Format the fieldvalue as a LocaleDateString instead of epoch when importing a date from 1P

This would be better solved by storing it as a date FieldType instead of Text. But since it is unclear when new field types are added, this solution serves as a fix for now and also guides the solution when new fieldtype exists.

* Remove trailing whitespace

* Add tests for custom fields of 1pif imported identity

* Change representation of 1pif imported dates to UTC string

* Changes after running prettier

Co-authored-by: Daniel James Smith <djsmith@web.de>
2021-12-16 18:46:33 +01:00
Linus Aarnio e9666458c4
Select an image to display for credit cards based on the brand. (#537)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-16 18:41:37 +01:00
Vince Grassia 6a1e683a93
Update workflows (#1344) 2021-12-16 11:46:26 -05: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 36b3aea758
Update README.md (#586)
* Update README.md

* Replace header Git diff with Git blame
2021-12-16 14:38:11 +01:00
Oscar Hinton cf1d82ac66
Add .git-blame-ignore-revs and prettier instructions (#585) 2021-12-16 14:10:11 +01:00
Oscar Hinton 193434461d
Apply Prettier (#581) 2021-12-16 13:36:21 +01:00
Oscar Hinton 8b2dfc6cdc
Add Prettier configuration (#574) 2021-12-16 12:45:01 +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
Daniel James Smith 0174d239ca
Fix save prompt showing when disabled by user 2021-12-15 19:04:47 +01:00
Addison Beck 97ca771a00
[bug] Correct bad BroadcasterService import (#1341)
* [bug] Correct bad BroadcasterService import

* [chore] update jslib
2021-12-14 22:07:56 -05:00