1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00
Commit Graph

11617 Commits

Author SHA1 Message Date
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
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
Addison Beck
512c5c2837 [bug] Correct storage location of organizations (#580) 2021-12-14 22:04:39 -05:00
Jake Fink
214f82e142 send configType and redirectBehavior as int instead of string for request (#1339) 2021-12-14 13:25:48 -05:00
Daniel James Smith
3fc7dd7089 Bump electron to 16 (#579)
* Bump electron to 16.0.2

* Bump electron-update to 4.6.1
2021-12-14 19:03:54 +01:00
Addison Beck
17ae5ee57c [Account Switching] [Refactor] Implement new account centric services (#1220)
* [chore] updated services.module to use account services

* [refactor] sorted services provided by services.module

* [chore] removed references to deleted jslib services

* [chore] used activeAccount over storageService for account level storage items

* [chore] resolved linter warnings

* Refactor activeAccountService to stateService

* [bug] Remove uneeded calls to state service on logout

This was causing console erros on logout. Clearing of data is handled fully in dedicated services, clearing them in state afterwards is essentially a redundant call.

* [bug] Add back null locked callback to VaultTimeoutService

* Move call to get showUpdateKey

* [bug] Ensure HtmlStorageService does not override StateService options and locations

* [bug] Adjust theme logic to pull from the new storage locations

* [bug] Correct theme not sticking on refresh

* [bug] Add enableFullWidth to the account model

* [bug] fix theme option empty when light is selected

* [bug] init state on application start

* [bug] Reinit state when coming back from a lock

* [style] Fix lint complaints

* [bug] Clean state on logout

* [chore] Resolved merge issues

* [bug] Correct default for enableGravitars

* Bump angular to 12.

* Remove angular.json

* Bump rxjs

* Fix build errors, remove file-loader with asset/resource

* Use contenthash

* Bump jslib

* Bump ngx-toastr

* [chore] resolve issues from merge

* [chore] resolve issues from merge

* [bug] Add missing bracket

* Use newer import syntax

* [bug] Correct service orge

* [style] Fix lint complaints

* [chore] update jslib

* [review] Address code review

* [review] Address code review

* [review] Rename providerService to webProviderService

Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-14 11:10:26 -05:00
Daniel James Smith
8644d84e68 FSescure-Importer: Add support for style = global (#578)
* Fescure-Importer: Add support for style = global

* Fix linting
2021-12-14 10:22:09 +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