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

20056 Commits

Author SHA1 Message Date
Github Actions
5cc4738716 Bumped Desktop client to 2025.11.3 2026-02-17 09:24:26 -08:00
Nick Krantz
1f68368d36 update translation key to use noun form of archive (#17500) 2026-02-17 09:24:26 -08:00
renovate[bot]
bd5adb2017 [deps]: Update actions/checkout action to v5.0.1 (#17537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 09:24:25 -08:00
Jordan Aasen
231ec865d0 [PM-28817] - update copy for vault premium spotlight (#17667)
* update copy for vault premium spotlight

* remove unecessary observable

* fix logic
2026-02-17 09:24:25 -08:00
Thomas Rittson
3f8c4b58ee [PM-25913] Fix owners unable to rename provider-managed organization (#17482)
Update to match new API: send null properties
for organization properties that are unchanged
2026-02-17 09:24:25 -08:00
Nick Krantz
780bd058d0 [PM-26513] Desktop Archive Upgrade (#16964)
* always shows desktop archive filter regardless of the users premium status

* include spec files in tsconfig

* add upgrade path for desktop

* combine duplicate class instances

* remove optional chaining

* update tests to avoid null assertions

* add test files to the spec tsconfig

* implement signal for premium badge component

* remove badge template reference
2026-02-17 09:24:25 -08:00
renovate[bot]
f13e06dbb8 [deps] Autofill: Update tldts to v7.0.18 (#17452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 09:24:25 -08:00
Daniel Riera
49a555c2d9 [PM-27821]Add validation of extension origin for uses of window.postMessage (#17476)
* PM-27821 - Replace chrome.runtime.getURL() with BrowserApi.getRuntimeURL() for consistency
- Add extension origin validation for all window.postMessage calls
- Implement token-based authentication for inline menu communications
- Add message source validation (event.source === globalThis.parent)
- Add command presence validation (- Update notification bar to validate message origins and commands
- Add extensionOrigin property to services using postMessage
- Generate session tokens for inline menu containers (32-char random)
- Validate tokens in message handlers to prevent unauthorized commands

* Add explicit token validation

* only set when receiving the trusted initNotificationBar message

* await windowmessageorigin before posting to parent

* fix tests

* the parent must include its origin in the message for notification bar race condition

* reduce if statements to one block and comment

* extract parentOrigin from the URL and set windoMessageOrigin accordingly

* consolidate if statements

* add bar.spec file

* fix merge conflict
2026-02-17 09:24:24 -08:00
Jordan Aasen
81967f83e2 [PM-28376] - update copy for autofill confirmation dialog url list expand button (#17594)
* update copy for autofill confirmation dialog url list expand button

* fix tests
2026-02-17 09:24:24 -08:00
Will Martin
fb63893b09 [CL-854] feat: add bit-header component to component library (#17662)
Add new bit-header component to libs/components with:
  - Header component with left, center, and right content projection
  - Storybook stories for documentation
  - Export from component library index
2026-02-17 09:24:24 -08:00
Nick Krantz
ec4773e9bc [PM-26359] Archive Upgrade - Browser (#16904)
* add archive upgrade flow to more options menu

* add reprompt for archiving a cipher

* add premium badge for archive in settings

* update showArchive to only look at the feature flag

* add premium badge for browser settings

* add event to prompt for premium

* formatting

* update test
2026-02-17 09:24:24 -08:00
Vincent Salucci
c94035547e chore: fix feature flag name, refs PM-27766 (#17660) 2026-02-17 09:24:23 -08:00
Dave
cca7fe6a40 feat(user-decryption-options) [PM-26413]: Remove ActiveUserState from UserDecryptionOptionsService (#16894)
* feat(user-decryption-options) [PM-26413]: Update UserDecryptionOptionsService and tests to use UserId-only APIs.

* feat(user-decryption-options) [PM-26413]: Update InternalUserDecryptionOptionsService call sites to use UserId-only API.

* feat(user-decryption-options) [PM-26413] Update userDecryptionOptions$ call sites to use the UserId-only API.

* feat(user-decryption-options) [PM-26413]: Update additional call sites.

* feat(user-decryption-options) [PM-26413]: Update dependencies and an additional call site.

* feat(user-verification-service) [PM-26413]: Replace where allowed by unrestricted imports invocation of UserVerificationService.hasMasterPassword (deprecated) with UserDecryptionOptions.hasMasterPasswordById$. Additional work to complete as tech debt tracked in PM-27009.

* feat(user-decryption-options) [PM-26413]: Update for non-null strict adherence.

* feat(user-decryption-options) [PM-26413]: Update type safety and defensive returns.

* chore(user-decryption-options) [PM-26413]: Comment cleanup.

* feat(user-decryption-options) [PM-26413]: Update tests.

* feat(user-decryption-options) [PM-26413]: Standardize null-checking on active account id for new API consumption.

* feat(vault-timeout-settings-service) [PM-26413]: Add test cases to illustrate null active account from AccountService.

* fix(fido2-user-verification-service-spec) [PM-26413]: Update test harness to use FakeAccountService.

* fix(downstream-components) [PM-26413]: Prefer use of the getUserId operator in all authenticated contexts for user id provided to UserDecryptionOptionsService.

---------

Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
2026-02-17 09:24:23 -08:00
Ben Brooks
e37a78ea15 Revert "Lets shadow DOM check signal page update (#16114)" (commit 6129ca5366) (#17503)
Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
2026-02-17 09:24:23 -08:00
Bryan Cunningham
1e7107379d [CL-761] Enable strict template typechecking (#17334)
* enable strict template typechecking

* add callout component to module

* fixing popup action types

* fixing cipher item copy types

* fix archive cipher type

* fixing trash list items types

* fix remaining trash list item type errors

* use CipherViewLike as correct type

* change popup back directive to attribute selector

* allow undefined in popupBackAction handler

* Remove undefined from type

* fix error with firefox commercial build

---------

Co-authored-by: Vicki League <vleague@bitwarden.com>
2026-02-17 09:24:23 -08:00
SmithThe4th
ffe67f1ead Fixed invalid cipher remprompt values (#17513) 2026-02-17 09:24:22 -08:00
Bryan Cunningham
a93978ce79 fix disabled cursor styles (#17656) 2026-02-17 09:24:22 -08:00
Todd Martin
3f12b48dbb chore(docs) Add comments from contributing docs to master password types in code
* Added comments from contributing docs.

* Grammatical changes.
2026-02-17 09:24:22 -08:00
Nick Krantz
b520c13092 do not show copy password button on the web for users that do not have access (#17635) 2026-02-17 09:24:22 -08:00
Andreas Coroiu
acc7451100 [PM-27530] Rename BitwardenClient to PasswordManagerClient (#17578)
* fix: compilation issues with PM client rename

* fix: jest compilation

* feat: rename all non-breaking platform instances

* feat: update SDK
2026-02-17 09:24:22 -08:00
renovate[bot]
da6fb7a64c [deps] Architecture: Update @eslint/compat to v2 (#17622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2026-02-17 09:24:21 -08:00
Oscar Hinton
f91aebce86 Migrate org reports to standalone and remove from loose components (#15791) 2026-02-17 09:24:21 -08:00
Jordan Aasen
4f96a142d8 [PM-24722][PM-27695] - add persistent callout in settings for non-premium users (#17246)
* add persistent callout in settings for non-premium users

* remove premium v2 component

* add spec

* remove premium-v2.component.html

* fix title

* fix typo

* conditionally render h2

* re-add pemiumv2component. change class prop to observable

* change from bold to semibold

* remove unecessary tw classes. use transform: booleanAttribute

* add spotlight specs

* code cleanup
2026-02-17 09:24:21 -08:00
blackwood
024b2c7ee4 Allows limited internal message posting when host experience content is controlled (#17313) 2026-02-17 09:24:21 -08:00
Bryan Cunningham
dffca387d4 [CL-925] add filled danger button (#17633)
* add dangerPrimary button variant

* add dangerPrimary to small story
2026-02-17 09:24:21 -08:00
Oscar Hinton
67af777d76 Enable directive-class-suffix (#17385) 2026-02-17 09:24:20 -08:00
Leslie Tilton
107f66257c Correct phishing blocker file structure (#17477) 2026-02-17 09:24:20 -08:00
renovate[bot]
1ff87c0b2c [deps] Platform: Update Rust crate arboard to v3.6.1 (#17547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2026-02-17 09:24:20 -08:00
Andreas Coroiu
a0e91f29d6 [PM-27564] Self-host configuration is not applied with nx build (#17279)
* fix: web not using env variables

* fix: apply claude suggestion

* fix: remove non-working serve targets
2026-02-17 09:24:20 -08:00
renovate[bot]
9fac782db4 [deps] Billing: Update braintree-web-drop-in to v1.46.0 (#14451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com>
2026-02-17 09:24:20 -08:00
Bernd Schoolmann
b183dd67ed Fix biometrics unlock when pin is enabled (#17528) 2026-02-17 09:24:20 -08:00
neuronull
f8a4083e63 Desktop Autotype fix IPC error handling (#17332)
* Desktop Autotype fix IPC error handling

* TS lint

* sweep sweep: fix unecessary member name qualifier
2026-02-17 09:24:19 -08:00
Todd Martin
49ea6f8c5a chore(feature-flag): Removed pm-28325-remove-pm-22110-disable-alternate-login-methods flag 2026-02-17 09:24:19 -08:00
Nick Krantz
b5e724548b [PM-24505] Manually open extension error message (#17116)
* update manual open message to be more generic to cover more scenarios

* update error state when attempting to open the extension via button press
2026-02-17 09:24:19 -08:00
renovate[bot]
09fbabcc6c [deps] Vault: Update koa to v2.16.3 [SECURITY] (#17514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 09:24:19 -08:00
Daniel Riera
c3dd485eaf [PM-28516] Inline menu is not working in main (#17524)
* PM-28516 alidate iframe and stylesheet URLs against their own origins to handle
cases where chrome assigns different extension ids in different contexts

* switch to regex to match exisiting match pattern

* updated regex to account for safari
2026-02-17 09:24:19 -08:00
Oscar Hinton
e1cf72ea5c Add clap and async-trait as tool owned dependencies (#17579) 2026-02-17 09:24:18 -08:00
Dave
fa0a26ecbb fix(two-factor) [PM-21204]: Users without premium cannot disable premium 2FA (#17134)
* refactor(two-factor-service) [PM-21204]: Stub API methods in TwoFactorService (domain).

* refactor(two-factor-service) [PM-21204]: Build out stubs and add documentation.

* refactor(two-factor-service) [PM-21204]: Update TwoFactorApiService call sites to use TwoFactorService.

* refactor(two-fatcor) [PM-21204]: Remove deprecated and unused formPromise methods.

* refactor(two-factor) [PM-21204]: Move 2FA-supporting services into common/auth/two-factor feature namespace.

* refactor(two-factor) [PM-21204]: Update imports for service/init containers.

* feat(two-factor) [PM-21204]: Add a disabling flow for Premium 2FA when enabled on a non-Premium account.

* fix(two-factor-service) [PM-21204]: Fix type-safety of module constants.

* fix(multiple) [PM-21204]: Prettier.

* fix(user-verification-dialog) [PM-21204]: Remove bodyText configuration for this use.

* fix(user-verification-dialog) [PM-21204]: Improve the error message displayed to the user.
2026-02-17 09:24:18 -08:00
Andreas Coroiu
350cd8e910 chore: ignore commercial sdk (#17585) 2026-02-17 09:24:18 -08:00
renovate[bot]
96f69f724f [deps] Platform: Update nx monorepo to v21.6.8 (#16415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 09:24:18 -08:00
Leslie Tilton
d187c07edf [PM-28451] Fix icons in application review table (#17512)
* Fix icons in application review table

* Add default icon if none is found in review applications table. Move function to computed signal

* Rename function

* Remove redundant if statement
2026-02-17 09:24:18 -08:00
renovate[bot]
a05ae283a3 [deps]: Update Rust crate cc to v1.2.46 (#17571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-02-17 09:24:17 -08:00
renovate[bot]
ef5670fdb6 [deps] Platform: Update Rust crate libc to v0.2.177 (#17549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-02-17 09:24:17 -08:00
renovate[bot]
21b9ac906a [deps]: Update Rust crate clap to v4.5.51 (#17572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 09:24:17 -08:00
renovate[bot]
ade6242a47 [deps]: Update Rust crate async-trait to v0.1.89 (#17570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 09:24:17 -08:00
renovate[bot]
b6993fe11a [PM-28558] [deps]: Update actions/upload-artifact action to v5.0.0 (#17538)
* [deps]: Update actions/upload-artifact action to v4.6.2

* Bumping to 5.0.0. to keep all usages in sync

All other upload-artifacts actions were also bumped to 5.0.0 with https://github.com/bitwarden/clients/pull/17305

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-02-17 09:24:16 -08:00
bw-ghapp[bot]
96e87fae96 Autosync the updated translations (#17531)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:24:16 -08:00
bw-ghapp[bot]
f7772f77df Autosync the updated translations (#17530)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:24:15 -08:00
bw-ghapp[bot]
981c6dd76f Autosync the updated translations (#17529)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:24:15 -08:00
Addison Beck
927e81249a chore: create eslint rule to catch insecure page script injection (#17437)
* chore: create eslint rule to catch insecure page script injection

* chore: ignore existing lints

* review: tighten rule scope

* review: add tests
2026-02-17 09:24:15 -08:00