1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 10:33:31 +00:00
Commit Graph

20961 Commits

Author SHA1 Message Date
Oscar Hinton
41c49a4d66 Fix broken audit test (#19279) 2026-02-27 14:38:35 +01:00
Oscar Hinton
59c0b28816 Deprecated SharedModules (#19260) 2026-02-27 11:45:06 +01:00
Bernd Schoolmann
dc772c22f7 [PM-31406] fix: TypeScript 5.9 type compatibility fixes for fido2 & platform-owned code (#19188)
* fix: TypeScript 5.9 type compatibility fixes for platform-owned code

Add explicit `as BufferSource` casts and `Uint8Array` wrapping to satisfy
stricter type checking in TypeScript 5.9. Non-functional changes.

* Fix fido2 issues

* Fix another type error

* Fix another type error
2026-02-27 10:59:52 +01:00
Bernd Schoolmann
81f1c6a1c6 Add support for new vault in encrypted migrator (#19226) 2026-02-27 03:46:22 -06:00
Bernd Schoolmann
04926833be [PM-31763] Migrate userkey state to be client-managed SDK-available state (#18906)
* Migrate userkey state to be client-managed SDK-available state

* Update sdk to 556

* Fix types

* Fix build

* Linting
2026-02-27 10:36:19 +01:00
Nick Krantz
d04210926c pass addCollectionIds as an array rather than null (#19204) 2026-02-26 16:10:55 -06:00
renovate[bot]
e911c41132 [deps] UI Foundation: Update storybook to v9.1.19 [SECURITY] (#19261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-26 16:59:42 -05:00
Leslie Xiong
b3439482fa [PM-18768] Migrate vault cipher list (#18522)
* migrated vault cipher list

* added back `rounded` prop to `bit-layout`

* moved account switcher to right corner

* moved username below cipher item name

* fixed spacing to align with send pages

* removed commented out

* fixed options buttons overflowing if has launch

* fixed "options" label disappearing when width is insufficient

* reverted search component, added search directly to vault-list

* placed new vault cipher list work behind 'desktop-ui-migration-milestone-3' feature flag

* reverted scss changes

* added back search bar when FF not enabled

* fixed owner column responsiveness (set to table width instead of screen)

* fixed 'owner' column responsiveness

* hide 'owner' column at 'md' breakpoint

* Remove duplicate badge component and org name pipe

* Convert to standalone

* Added back translations

* used correct 'tw' variants for 'px'

* extended existing `item-footer` component

* removed unused `showGroups()` from `vault-cipher-row`

* removed 'addAccess' from `vault-list.component`

* removed more unused, separated 'cipher collections' from 'filter collections'

* converted `vault-wrapper` to use signal

* updated original 'vault.component' to reflect main

* fixed `templateUrl`, merge fix

* changed to `getFeatureFlag$`

* fixes for `item-footer` and `vault-collection-row`

* fixed lint error

* - replaced using global css with tailwind
- added functionality and ui for empty states
- moved search and vault header from 'vault-list' to 'vault component'

* fixed accessing `this.userCanArchive$`

* converted more to tailwind in vault component

* removed unused 'selection' from `vault-list`

* Fix flashing vault list

* Move app-header title to routing module

* Remove broken half-migrated new form

* removed unnecessary `this.organizations$` block

* removed `firstSetup$`, cleaned up unused, separated 'delete' and 'restore' handling for footer and cipher menu

* used desktop 'launch' functionality

* moved 'bit-no-items' into `vault-list`

* removed unused locales

* aligned `handleDelete` and `handleRestore` with original desktop functionality

* Fix linting and tests

* Move no-items out of table similar to send.

* Re-add newline end of messges.json

* Remove events

* Hide copy buttons if there is nothing to copy. Simplify

* fix

* Get rid of unused copyField

* Use dropdown button in vault list instead

* Fix linting

* removed unused imports

* updated `vault-orig` to current in main

* fixed `vault-orig` templateUrl

* fixed import order, removed unused `combineLatest` block

* fixed `onVaultItemsEvent` "delete"

* removed duplicate rendering of logo

* preserve cipher view after 'cancel'

* filter from `allCiphers`

* moved `enforceOrganizationDataOwnership` call inside "syncCompleted" block

* converted `showAddCipherBtn` to observable

* removed unused

* added `submitButtonText` to `app-vault-item-footer`

* removed filtering restricted item types

* fixed `cancelCipher` pass in and set `cipherId`

* updated `submitButtonText`

* updated `vault-orig` to current `vault` in main

---------

Co-authored-by: Hinton <hinton@users.noreply.github.com>
2026-02-26 16:41:02 -05:00
rr-bw
4c2aec162d refactor(input-password-flows): [Auth/PM-27086] Use new KM Data Types in InputPasswordComponent flows - TDE Offboarding (#18204)
Updates the `setInitialPasswordTdeOffboarding` path to use new KM data types:
- `MasterPasswordAuthenticationData`
- `MasterPasswordUnlockData`

This allows us to move away from the deprecated `makeMasterKey()` method (which takes email as salt) as we seek to eventually separate the email from the salt.

Behind feature flag: `pm-27086-update-authentication-apis-for-input-password`
2026-02-26 09:51:19 -08:00
Oscar Hinton
c5fa1a5b04 Eliminate standalone in libs/components (#19142)
* Eliminate last standalone in libs/components

* Fix annon layout
2026-02-26 18:48:41 +01:00
Alex Morask
d8fdfdf559 feat: add 'My Items' feature to enterprise organizations (#19064) 2026-02-26 11:00:18 -06:00
Oscar Hinton
6b326a5fd0 [CL-1051] Generic closeOnNavigation for drawers (#19031)
Exposes closeOnNavigation from cdk config and implements a drawer close solution on navigation. More complex scenarios may still require custom handling.

DialogService is referenced in imported components in some tests meaning we need to use overrideProvider rather than providers.
2026-02-26 17:44:49 +01:00
Oscar Hinton
5c5102fa30 [CL-1058] Eslint suggestions for no-bwi-class and no-icon-children (#19134)
Follow up to #19104 and #18584 to add eslint suggestions that can be applied in editors to speed up resolving the lints.

Also adds a fixedWidth input to bit-icon since having fixed width icons is fairly common and I would prefer that we don't keep bwi-fw
2026-02-26 17:17:23 +01:00
Alex Morask
abbfda124f refactor(billing): simplify subscription visibility and fix redirect race condition (#19255) 2026-02-26 10:13:47 -06:00
Oscar Hinton
3092b4bcf7 Deprecated JslibModule (#19186)
Deprecates the JslibModule and removes unused pipes and directives.
2026-02-26 17:08:22 +01:00
Bernd Schoolmann
aa918c3163 chore: bump @bitwarden/sdk-internal to 0.2.0-main.566 (#19224) 2026-02-26 00:01:18 +01:00
Jordan Aasen
298b174921 [PM-31192] - [Defect] Deleting item -Scroll does not persist when returning to Vault tab (#19160)
* fix scroll after deletion

* fix tests

* fix comment
2026-02-25 14:23:54 -08:00
Jared
66b3d35b58 PR #18534 (f22736bb64) — reverted: policy dialogs converted back from drawer to popup dialogs (#19235)
PR #18852 (3f3fc6f984) — reverted: OnDestroy drawer-close logic removed from PoliciesComponent, drawer docs removed from dialogs.mdx

PR #18915 (2e83244158) — reverted: showDescription property in BasePolicyEditDefinition restored to true
2026-02-25 15:36:18 -05:00
Nick Krantz
e422dc7f29 [PM-32717] Individual Vault - Edit Cipher permissions (#19228)
* bypass cipher edit permissions for individual vault

* replace bypassCipherEditPermission with form configuration mode

* allow partial edit to view cipher form

* remove old comment
2026-02-25 13:26:56 -06:00
Vince Grassia
727bc02a63 Add signing options for DLLs and Node files (#19197) 2026-02-25 13:25:12 -05:00
Jason Ng
2e38f409ec [PM-31408] update archive flag check in desktop vault (#19230) 2026-02-25 13:05:29 -05:00
Bernd Schoolmann
666ff42d22 [PM-31763] Add unlock service & module (#18870)
* Add unlock service

* Move methods

* Prettier

* Fix type errors

* Prettier

* Fix test

* Fix module order

* Attempt to fix tests

* Cleanup CODEOWNERS

* Backport biometric unlock and legacy master-key logic

* Add tests for biometrics

* Prettier

* Add biometric unlock to abstract unlock service

* Fix build
2026-02-25 18:50:25 +01:00
Dave
4f706746d6 [PM-30811] Update change email flow to use new Key Management APIs (#18857)
* feat(change-email) [PM-30811]: Add feature flag.

* feat(change-email) [PM-30811]: Add new constructor to EmailTokenRequest.

* feat(change-email) [PM-30811]: Update import.

* feat(change-email) [PM-30811]: Stub new ChangeEmailService.

* feat(change-email) [PM-30811]: Provide ChangeEmailService.

* feat(change-email) [PM-30811]: Add ChangeEmailService impl.

* feat(change-email) [PM-30811]: Add ChangeEmailService to component.

* feat(change-email) [PM-30811]: Remove change-email methods from ApiService.

* feat(change-email) [PM-30811]: Update EmailTokenRequest for new APIs.

* feat(change-email) [PM-30811]: Finish implementation of both paths in ChangeEmailService.

* feat(change-email) [PM-30811]: Wire-up service in ChangeEmailComponent.

* test(change-email) [PM-30811]: Add ChangeEmailService tests.

* test(change-email) [PM-30811]: Update tests.

* refactor(change-email) [PM-30811]: EmailTokenRequest strict-ignore until legacy support can be unwound.

* refactor(change-email) [PM-30811]: Re-order imports.

* test(change-email) [PM-30811]: Update component tests to reflect new implementation.

* refactor(change-email) [PM-30811]: Formatting.

* test(change-email-service) [PM-30811]: Improve accuracy of null-checking tests: kdf, userKey, salt, in order.
2026-02-25 12:41:29 -05:00
Nick Krantz
0bbdcb69c7 adds cipher edit permission to the attachments dialog in the vault-v3 (#19231) 2026-02-25 11:33:39 -06:00
Bernd Schoolmann
4024d34df8 [PM-31406] fix: TypeScript 5.9 type compatibility fixes for audit.service (#19195)
* fix: TypeScript 5.9 type compatibility fixes for audit.service

Add explicit `as BufferSource` casts and `Uint8Array` wrapping to satisfy
stricter type checking in TypeScript 5.9. Non-functional changes.

* Add non-null assertion
2026-02-25 10:46:13 -06:00
Bernd Schoolmann
cf7f9cfc7e [BEEEP|PM-32521] Remove compare key hash and move to proof of decryption (#19101)
* Remove compare key hash and move to proof of decryption

* Fix cli build

* Fix mv2

* Fix provider

* Prettier
2026-02-25 17:02:04 +01:00
Colton Hurst
385ba70b5c Electron gtk bug fixed, workaround is no longer needed. (#18520) 2026-02-25 10:21:26 -05:00
Alex Morask
b964cfc8e4 [PM-32612] Only show subscription menu option when premium user has subscription (#19209)
* fix(billing): only show Subscription menu option when premium user has subscription

* fix(billing): missed state service invocation changes
2026-02-25 08:25:24 -06:00
Bernd Schoolmann
b27f820ffb Add non-null type hints (#19219) 2026-02-25 14:47:20 +01:00
Andreas Coroiu
a5df3540af [PM-31831] fix: add support for overriding commercial SDK (#18863)
* fix: add support for overriding commercial SDK

* fix: only download commercial when needed

* fix: only download OSS SDK for OSS builds and commercial SDK for commercial builds

Previously, the OSS sdk-internal was downloaded and linked for all
build types including commercial, which is wasteful. Now each build
type only downloads the SDK artifact it needs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* revert: changes to build-desktop.yml

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:15:19 +01:00
Bernd Schoolmann
98f6169333 Narrow types for platform utils service (#19196) 2026-02-25 03:12:13 -06:00
Bernd Schoolmann
d20f659bbc [PM-31406] fix: TypeScript 5.9 type compatibility fixes for vault-owned code (#19191)
* fix: TypeScript 5.9 type compatibility fixes for vault-owned code

Add explicit `as BufferSource` casts and `Uint8Array` wrapping to satisfy
stricter type checking in TypeScript 5.9. Non-functional changes.

* Fix cli build
2026-02-25 10:04:23 +01:00
Bernd Schoolmann
8d0c4123a6 fix: TypeScript 5.9 type compatibility fixes for admin-console-owned code (#19192)
Add explicit `as BufferSource` casts and `Uint8Array` wrapping to satisfy
stricter type checking in TypeScript 5.9. Non-functional changes.
2026-02-25 13:22:46 +10:00
Thomas Rittson
da0005b01b [PM-32131] Add UseMyItems organization ability (#19018)
Not used in the front-end yet, but adding it here
for consistency
2026-02-25 12:54:23 +10:00
Nick Krantz
f2837e9099 normalize origin for comparison (#19212) 2026-02-24 16:39:49 -06:00
Stephon Brown
f667507512 [PM-32028] Remove Save and Cancel Buttons (#18954)
* feat(billing): Refactor DisplayPaymentMethodInlineComponent for external form control

* feat(billing): Integrate external payment method management in PremiumOrgUpgradePayment
Cleanup: Remove debug console.warn in invoice preview refresh

* test(billing): Update PremiumOrgUpgradePaymentComponent tests

* refactor:add non-null assertion for payment method validation

* refactor: use string selectors for ViewChild

* refactor: remove unused `tap` operator

* test: improve component mocking setup

* feat: add payment method validation on upgrade

* refactor(billing): remove unused updatePaymentInParent input
2026-02-24 14:07:43 -06:00
Daniel James Smith
181e4767d8 Parse the CommunicationServerConfigResponse within the ConfigService and expose changes via an observable. (#19184)
Model was introduced on the server with https://github.com/bitwarden/server/pull/6892

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-02-24 15:03:44 -05:00
Nick Krantz
0a1baa7e42 [PM-31060] Product Update Notification (#19027)
* add feature flag

* temp

* add ping animation with filled info icon

* add ping animation to stop after 4 goes around

* add local state for autofill-icon

* add logic to avoid new accounts

* fix closing of popover

* fix strict typings

* remove `creationDate` logic from being considered for autofill notification

* remove "now," from the autofill description

* remove height and width in the svg
2026-02-24 13:42:45 -06:00
Vijay Oommen
4bcdd08ab8 [PM-32447] Integration card after edits (#19203) 2026-02-24 13:37:33 -06:00
sven-bitwarden
d50c5e1819 [PM-32172] Redirect All Calls to PUT Policy VNext Endpoint (#19015)
* Redirect all remaining calls to VNextSavePolicy endpoint

* Remove unused code

---------

Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
2026-02-24 12:37:58 -06:00
Alex
bc14512a02 Revert "[PM-31803] Fix Password Manager reports not displaying items with limited collection access (#18956)" (#19153)
This reverts commit 1ef8f257b0.
2026-02-24 09:45:28 -08:00
Nick Krantz
c03ea5b29f only show delete button when the user has delete permissions (#19200) 2026-02-24 10:36:29 -06:00
aj-bw
3e4fef63a0 restore draft true after our last pilot release (#19089) 2026-02-24 10:18:17 -05:00
John Harrington
1e2ce42437 [PM-30127] [Defect] Automatic pop out is not necessary when editing a file send (#19111)
* relax popout requirement on file type Send edit

* remove popout req for text sends on firefox and safari & adjust test coverage
2026-02-24 07:32:14 -07:00
Bernd Schoolmann
bd58443ce6 chore: bump @bitwarden/sdk-internal to 0.2.0-main.559 (#19183) 2026-02-24 12:26:28 +01:00
Andreas Coroiu
69f0e61cda [PM-32442] Enforce tsc-strict on desktop and CLI apps (#19058)
* fix: ts-strict not applying to desktop

* fix: ts-strict not applying to cli

* fix: desktop ESM module resolution in storybook
2026-02-24 09:20:44 +01:00
Vijay Oommen
663a6e849b [PM-31725] updated template for HEC and datadog (#18819) 2026-02-23 17:00:05 -06:00
John Harrington
39b09d9310 [PM-32530] [Defect] Double / infinite spinner is displayed when accessing an email verified Send (#19125)
* remove redundant spinner

* fix infinite spinner
2026-02-23 15:32:50 -07:00
Will Martin
e7bf683503 [CL-1057] remove desktop global styles from bitLink (#19140) 2026-02-23 16:12:12 -05:00
Bernd Schoolmann
6ab6f3819e Update sdk to 556 (#19128) 2026-02-23 14:54:20 -06:00