1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-02 09:43:29 +00:00
Commit Graph

20279 Commits

Author SHA1 Message Date
Isaiah Inuwa
9d10da366f Support x64 for cross-platform Appx builds 2025-12-12 15:04:31 -06:00
Isaiah Inuwa
4eb6c40ca7 Extract Windows plugin to a separate executable 2025-12-12 15:04:28 -06:00
Isaiah Inuwa
dc4acd672d wip: Early exit for GetLockStatus if client isn't open 2025-12-03 15:47:07 -06:00
Isaiah Inuwa
d4b0439874 Fix keyboard focus when vault is locked 2025-12-03 15:47:06 -06:00
Isaiah Inuwa
411b2bcf88 Add native transfer_focus() method 2025-12-03 15:47:05 -06:00
Isaiah Inuwa
4e7622bcf1 wip: Test SetParent(client_window_handle, plugin_window_handle) 2025-12-03 15:47:03 -06:00
Isaiah Inuwa
da7f595ba8 Update minimum Windows version supported 2025-12-03 15:47:00 -06:00
Isaiah Inuwa
7da5c3211b Merge main into iinuwa/win-passkey-poc 2025-12-03 15:46:57 -06:00
renovate[bot]
854f2abd28 [deps] Autofill: Update tldts to v7.0.18 (#17452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 19:49:25 +01:00
Daniel Riera
3de3bee08f [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
2025-11-25 13:42:46 -05:00
Jordan Aasen
eae894123d [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
2025-11-25 10:33:21 -08:00
Will Martin
898d514d5b [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
2025-11-25 13:13:07 -05:00
Isaiah Inuwa
ffaef4489a Allow cross-packaging Beta Appx config and release Rust libs 2025-11-25 11:49:25 -06:00
Isaiah Inuwa
4bee21f762 Add more vertical space for modal login screen 2025-11-25 11:49:23 -06:00
Isaiah Inuwa
eb055db2c4 Hide UI if possible when prompting for UV 2025-11-25 11:49:21 -06:00
Nick Krantz
441783627b [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
2025-11-25 11:28:34 -06:00
Vincent Salucci
17ae78ea83 chore: fix feature flag name, refs PM-27766 (#17660) 2025-11-25 11:23:01 -06:00
Isaiah Inuwa
93833f743d Use WebAuthn client window for silent assertions 2025-11-25 10:23:40 -06:00
Isaiah Inuwa
89585f0b67 wip: Try showing UV prompt without Bitwarden modal 2025-11-25 10:23:38 -06:00
Isaiah Inuwa
7e251f8abb Use a string for transaction context everywhere 2025-11-25 10:23:37 -06:00
Isaiah Inuwa
46f990c340 Implement Windows plugin WebAuthn cancellation 2025-11-25 10:23:36 -06:00
Isaiah Inuwa
926168e97e Add some more vertical space to modal for email verification page 2025-11-25 10:23:33 -06:00
Dave
cf6569bfea 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>
2025-11-25 11:23:22 -05:00
Ben Brooks
c04c1757ea Revert "Lets shadow DOM check signal page update (#16114)" (commit 6129ca5366) (#17503)
Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
2025-11-25 08:06:03 -08:00
Bryan Cunningham
540da69daf [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>
2025-11-25 11:04:37 -05:00
SmithThe4th
57946f6406 Fixed invalid cipher remprompt values (#17513) 2025-11-25 10:37:28 -05:00
Bryan Cunningham
568183bacd fix disabled cursor styles (#17656) 2025-11-25 10:18:43 -05:00
Todd Martin
d16c25e759 chore(docs) Add comments from contributing docs to master password types in code
* Added comments from contributing docs.

* Grammatical changes.
2025-11-25 10:02:51 -05:00
Nick Krantz
cdd8a697e8 do not show copy password button on the web for users that do not have access (#17635) 2025-11-25 08:41:41 -06:00
Andreas Coroiu
9e90e72961 [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
2025-11-25 14:48:25 +01:00
renovate[bot]
86a757119c [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>
2025-11-25 12:07:02 +01:00
Oscar Hinton
e6d6f8d266 Migrate org reports to standalone and remove from loose components (#15791) 2025-11-25 11:11:21 +01:00
Jordan Aasen
43fd99b002 [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
2025-11-24 13:49:05 -08:00
Isaiah Inuwa
1c81932d01 Cleanup 2025-11-24 13:45:25 -06:00
Isaiah Inuwa
61745ece41 Provide WebAuthnPlugin::perform_user_verification wrapper 2025-11-24 13:45:23 -06:00
Isaiah Inuwa
978f2ee807 Copy from slice over raw pointer to Vec 2025-11-24 13:45:22 -06:00
Isaiah Inuwa
def7f7c059 Fix some docs 2025-11-24 13:45:21 -06:00
Isaiah Inuwa
b4070e93cb Add docs and Debug impls 2025-11-24 13:45:20 -06:00
Isaiah Inuwa
6b2ba80d6a Clean up more COM 2025-11-24 13:45:19 -06:00
Isaiah Inuwa
2f7281eef8 Cleanup some unused COM stuff 2025-11-24 13:45:18 -06:00
Isaiah Inuwa
fa7bb19a4e squash userid 2025-11-24 13:45:17 -06:00
Isaiah Inuwa
c81957c89d Move include files 2025-11-24 13:45:16 -06:00
Isaiah Inuwa
4e82028406 Add UserId type 2025-11-24 13:45:15 -06:00
Isaiah Inuwa
df145bab8c Convert physical to logical pixels 2025-11-24 13:45:14 -06:00
Isaiah Inuwa
89a0f0fd4d Split win_webauthn into separate lib 2025-11-24 13:45:13 -06:00
Isaiah Inuwa
0a040b1edc Reorganize modules 2025-11-24 13:45:12 -06:00
Isaiah Inuwa
94997f5472 Prepare to split types module into separate modules 2025-11-24 13:45:11 -06:00
Isaiah Inuwa
8df2669376 Remove old make_credential implementation 2025-11-24 13:45:10 -06:00
Isaiah Inuwa
ab1e92e8da Implement PluginAuthenticator::make_credential 2025-11-24 13:45:09 -06:00
Isaiah Inuwa
6ce04191ed Remove old get_assertion implementation 2025-11-24 13:45:07 -06:00