1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 19:53:59 +00:00
Commit Graph

18822 Commits

Author SHA1 Message Date
Bernd Schoolmann
29f87f2b95 Fix build on browser 2025-07-22 14:32:44 +02:00
Bernd Schoolmann
c4af80ac21 Fix build 2025-07-22 13:50:13 +02:00
Bernd Schoolmann
a8105af829 Cleanup 2025-07-22 13:41:38 +02:00
Bernd Schoolmann
031a689667 Add arg null check 2025-07-22 13:36:30 +02:00
Bernd Schoolmann
8729f313ed Fix build 2025-07-22 13:09:20 +02:00
Bernd Schoolmann
d386c0f66a Merge branch 'km/new-mp-service-api' of github.com:bitwarden/clients into km/new-mp-service-api 2025-07-22 13:02:08 +02:00
Bernd Schoolmann
37bdf652c3 Add comments 2025-07-22 13:01:46 +02:00
Bernd Schoolmann
6ac261b647 Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:54:40 +02:00
Bernd Schoolmann
915e5f11e8 Update libs/common/src/key-management/master-password/types/master-password.types.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:54:26 +02:00
Bernd Schoolmann
530c835a3d Update libs/common/src/key-management/master-password/abstractions/master-password.service.abstraction.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:51:08 +02:00
Bernd Schoolmann
be697ada34 Update libs/common/src/key-management/master-password/services/master-password.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:49:37 +02:00
Bernd Schoolmann
9de08adf55 Update libs/common/src/key-management/master-password/types/master-password.types.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-07-22 12:48:51 +02:00
Bernd Schoolmann
9c8654b364 Cleanup 2025-07-22 12:48:24 +02:00
Bernd Schoolmann
b7ba0accae Merge branch 'main' into km/new-mp-service-api 2025-07-18 11:54:27 +02:00
Bernd Schoolmann
d5dbab1f0e Cleanup 2025-07-18 00:15:11 +02:00
Bernd Schoolmann
bc2b075363 Fix comments 2025-07-18 00:09:09 +02:00
Bernd Schoolmann
c53681e1fe Fix abstract class types 2025-07-18 00:04:21 +02:00
rr-bw
99b1e7adf1 feat(extension-login-approvals) [Auth/PM-14939 follow-up] add missing translations to browser when using extension tab (table view) (#15667) 2025-07-17 14:40:57 -07:00
rr-bw
9ca265c543 feat(redirectToVaultIfUnlockedGuard): [Auth/PM-20623] RedirectToVaultIfUnlocked Guard (#15236)
Adds a `redirect-to-vault-if-unlocked.guard.ts` that does the following:
- If there is no active user, allow access to the route
- If the user is specifically Unlocked, redirect the user to /vault
- Otherwise, allow access to the route (fallback/default)
2025-07-17 14:24:53 -07:00
Nick Krantz
b4120e0e3f [PM-22134] Migrate list views to CipherListView from the SDK (#15174)
* add `CipherViewLike` and utilities to handle `CipherView` and `CipherViewLike`

* migrate libs needed for web vault to support `CipherViewLike`

* migrate web vault components to support

* add  for CipherView.  will have to be later

* fetch full CipherView for copying a password

* have only the cipher service utilize SDK migration flag

- This keeps feature flag logic away from the component
- Also cuts down on what is needed for other platforms

* strongly type CipherView for AC vault

- Probably temporary before migration of the AC vault to `CipherListView` SDK

* fix build icon tests by being more gracious with the uri structure

* migrate desktop components to CipherListViews$

* consume card from sdk

* add browser implementation for `CipherListView`

* update copy message for single copiable items

* refactor `getCipherViewLikeLogin` to `getLogin`

* refactor `getCipherViewLikeCard` to `getCard`

* add `hasFido2Credentials` helper

* add decryption failure to cipher like utils

* add todo with ticket

* fix decryption failure typing

* fix copy card messages

* fix addition of organizations and collections for `PopupCipherViewLike`

- accessors were being lost

* refactor to getters to fix re-rendering bug

* fix decryption failure helper

* fix sorting functions for `CipherViewLike`

* formatting

* add `CipherViewLikeUtils` tests

* refactor "copiable" to "copyable" to match SDK

* use `hasOldAttachments` from cipherlistview

* fix typing

* update SDK version

* add feature flag for cipher list view work

* use `CipherViewLikeUtils` for copyable values rather than referring to the cipher directly

* update restricted item type to support CipherViewLike

* add cipher support to `CipherViewLikeUtils`

* update `isCipherListView` check

* refactor CipherLike to a separate type

* refactor `getFullCipherView` into the cipher service

* add optional chaining for `uriChecksum`

* set empty array for decrypted CipherListView

* migrate nudge service to use `cipherListViews`

* update web vault to not depend on `cipherViews$`

* update popup list filters to use `CipherListView`

* fix storybook

* fix tests

* accept undefined as a MY VAULT filter value for cipher list views

* use `LoginUriView` for uri logic (#15530)

* filter out null ciphers from the `_allDecryptedCiphers$` (#15539)

* use `launchUri` to avoid any unexpected behavior in URIs - this appends `http://` when missing
2025-07-17 14:55:32 -05:00
Alec Rippberger
00b6b0224e feat(extension-login-approvals): [Auth/PM-14939] devices list view for browser (#14620)
Creates a new `DeviceManagementComponent` that fetches devices and formats them before handing them off to a view component for display.

View components:

- `DeviceManagementTableComponent` - displays on medium to large screens
- `DeviceManagementItemGroupComponent` - displays on small screens

Feature flag: `PM14938_BrowserExtensionLoginApproval`
2025-07-17 10:43:49 -07:00
Bryan Cunningham
250e46ee70 [PM-23816] Revert aria disabled buttons (#15656)
* Revert "[CL-295] Use aria-disabled on buttons (#15009)"

This reverts commit 682f1f83d9.

* fix import

* bring back story fixes
2025-07-17 11:40:22 -04:00
Matt Andreko
127fed70ac Update scan workflow to use centralized reusable component (#15635) 2025-07-17 10:01:37 -04:00
Nick Krantz
6843e273b8 [PM-23689] Setup Extension Video tweaks (#15620)
* add transitions for overlay and top border of video

* refactor video container class for readability

* update max width for setup-extension page

* tweak sizes of videos for larger viewports

* fix opacity never changing

* remove complex interval transitions
2025-07-17 08:50:07 -05:00
Oscar Hinton
67d3035aa5 [PM-22544] Add Performance measurement tools (#15475)
Adds logService.mark and logService.measure which are wrappers around performance.mark and performance.measure with extra debug logging for more visibility outside the performance tool.
2025-07-17 15:03:57 +02:00
Bernd Schoolmann
a493355fa9 Merge branch 'km/new-mp-service-api' of github.com:bitwarden/clients into km/new-mp-service-api 2025-07-17 13:06:28 +02:00
Bernd Schoolmann
4b5d6b44c1 Clean up comments 2025-07-17 13:03:50 +02:00
Oscar Hinton
c4888efca7 [PM-21804] Migrate vault loose components (#14850)
* Migrate PremiumBadgeComponen to standalone.
* Remove unused FolderAddEdit (usage has previously been replaced with the v2 dialog)
2025-07-17 12:35:51 +02:00
rr-bw
682503e2bd docs(authStatus): [Auth/PM-22699] [BEEEP] Document AuthenticationStatus (#15197)
Add documentation to `AuthenticationStatus`
2025-07-16 16:58:19 -07:00
Jordan Aasen
4350cadc48 [PM-23752] - [Desktop] My Vault showing in filter when user belongs to one org with policy enabled (#15646)
* fix ngSwitchCase name

* remove unused var
2025-07-16 15:57:51 -07:00
SmithThe4th
4b7dd3dcb8 Add filter to wait for user key availabilty before decrypting folders (#15645) 2025-07-16 22:12:05 +00:00
Bernd Schoolmann
3e946ff115 Merge branch 'main' into km/new-mp-service-api 2025-07-16 21:46:36 +02:00
Bernd Schoolmann
524a39a9f7 Merge branch 'km/new-mp-service-api' of github.com:bitwarden/clients into km/new-mp-service-api 2025-07-16 21:41:50 +02:00
Bernd Schoolmann
4548364c2c Remove introduced function 2025-07-16 21:41:17 +02:00
Jordan Aasen
60419bd96f add new-cipher-menu component (#15467)
* add new-cipher-menu component

* move new cipher menu to vault. clean up template
2025-07-16 12:39:38 -07:00
Jason Ng
0cebdd4581 [PM-23813] apply dismiss check when setting status inside nudge services addressing footer lag in FF. (#15639) 2025-07-16 15:32:06 -04:00
Bernd Schoolmann
eb0e196236 Merge branch 'main' into km/new-mp-service-api 2025-07-16 21:12:21 +02:00
Bernd Schoolmann
788c4d32ef Merge branch 'km/new-mp-service-api' of github.com:bitwarden/clients into km/new-mp-service-api 2025-07-16 21:02:03 +02:00
Ned Thompson
2086e7ae87 add data-testids to address and tax inputs (#15637) 2025-07-16 15:01:40 -04:00
Bernd Schoolmann
c518f5a77c Clean up 2025-07-16 20:51:24 +02:00
Bernd Schoolmann
5e7a2e69bd Merge branch 'main' into km/new-mp-service-api 2025-07-16 20:45:28 +02:00
Bernd Schoolmann
28a5c91034 Fix build 2025-07-16 20:41:48 +02:00
Bernd Schoolmann
a12e4e0a5f Fix test and build issues 2025-07-16 20:36:48 +02:00
Nick Krantz
24e8f0d75d [PM-23157] Autofill - Master Reprompt (#15431)
* delay setting `this.cipher` until reprompt is verified

* handle failures of reprompt

* do not show cipher after copy password or copy totp fails
2025-07-16 13:22:51 -05:00
Bernd Schoolmann
ea167fc3cc Merge branch 'main' into km/new-mp-service-api 2025-07-16 20:21:25 +02:00
Patrick-Pimentel-Bitwarden
35819aa2e3 fix(change-password): [PM-23811] Callout Missing Bug (#15638)
* fix(change-password): [PM-23811] Tooltip Missing Bug - Fixed import to show tooltip.

* fix(change-password-component): Change Password Update [18720] - Changed to use common module.
2025-07-16 14:14:03 -04:00
Bernd Schoolmann
b76b652885 Add tests 2025-07-16 19:50:06 +02:00
Bernd Schoolmann
ea9554a701 Re-sort spec 2025-07-16 18:56:02 +02:00
Rui Tomé
aa8505128f [PM-20167] Refactor: Remove SeparateCustomRolePermissions feature flag and flagged logic (#15628) 2025-07-16 16:36:34 +01:00
Bernd Schoolmann
8bbe719ff6 Fix linting 2025-07-16 17:24:22 +02:00