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

20297 Commits

Author SHA1 Message Date
Todd Martin
852d12e9ab Revert "[deps] Platform: Update napi to v3 (major) (#16053)"
This reverts commit 852248d5fa.
2026-01-02 15:42:03 -05:00
Robyn MacCallum
7ef5204791 Revert "[PM-29418] Fix SSH list not working while locked (#17866)" (#18171)
This reverts commit 24dcbb48c6.
2026-01-02 09:50:37 -05:00
Addison Beck
7dfb0c1e38 fix(desktop): restore explicit target to Linux builds (#18169)
Commit a3e654d (https://github.com/bitwarden/clients/pull/16053) removed explicit --target flags from the Linux desktop build workflow when removing musl support. This change inadvertently broke the build.js binary distribution logic, which only copies the desktop_proxy binary to the dist directory when an explicit target is specified. Without this binary in the expected location (/opt/Bitwarden/desktop_proxy), browser integration fails on Linux.

This fix restores explicit --target flags using gnu triplets instead of the previously removed musl triplets. The x64 build now uses --target=x86_64-unknown-linux-gnu and the arm64 build uses --target=aarch64-unknown-linux-gnu, ensuring build.js properly distributes the desktop_proxy binary and restoring browser integration functionality on Linux desktop.
2025-12-31 14:45:02 -05:00
Thomas Avery
e8768405f6 [PM-29928] Fix biometrics status check when native messaging permission is missing (#18154)
* Dont check biometrics status when nativeMessaging permission isn't granted

* Increase polling interval and add unit tests

(cherry picked from commit 966f9a0c52)
2025-12-31 13:08:36 -06:00
Leslie Tilton
ad4b01f315 [PM-28548] Phishing Blocker support links (#18070)
* Change domain terminology to web addresses

* Added phishing resource file

* Finish renaming and adding runtime configuration for domains vs links setting

* Update reference

* Add matching functions per resource

* correct URL matching logic for links-based detection

Problem:
The phishing link matcher was failing to detect known phishing URLs due to
two issues:

1. Protocol mismatch: Entries in the phishing list use `http://` but users
   typically visit `https://` versions. The matcher was comparing full URLs
   including protocol, causing legitimate matches to fail.
   - List entry: `http://smartdapptradxx.pages.dev`
   - User visits: `https://smartdapptradxx.pages.dev/`
   - Result: No match (incorrect)

2. Hostname-only matching would have caused false positives: An earlier
   attempt to fix #1 included hostname-only comparison, which defeats the
   purpose of links-based detection. The goal of PM-28548 is precise URL
   matching to avoid blocking entire domains (like pages.dev, github.io)
   when only specific paths are malicious.

Solution:
- Always strip protocol (http:// or https://) from both entry and URL
  before comparison, treating them as equivalent
- Remove hostname-only matching to maintain precision
- Keep prefix matching for subpaths, query strings, and fragments

---------

Co-authored-by: Alex <adewitt@bitwarden.com>
(cherry picked from commit 800a21d8a3)
2025-12-30 12:15:35 -05:00
Jason Ng
3d6448ba68 [PM29951] add archive flag check to desktop vault-v2 (#18056)
(cherry picked from commit e2a1cfcbe8)
2025-12-29 13:00:46 -05:00
Bernd Schoolmann
e0e2cf56f5 [PM-30285] Add soundness check to cipher and folder recovery step (#18120)
* Add soundness check to cipher and folder recovery step

* fix tests

---------

Co-authored-by: Maciej Zieniuk <mzieniuk@bitwarden.com>
(cherry picked from commit f689fd88b7)
2025-12-29 18:33:32 +01:00
Daniel James Smith
dccc7b183c Bump year in copyright (#18132)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
(cherry picked from commit 4e1cca132d)
2025-12-29 16:12:50 +01:00
Github Actions
47eb28be34 Bumped client version(s) 2025-12-29 14:59:06 +00:00
bw-ghapp[bot]
d4a276f1de Autosync the updated translations (#18130)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-28 09:57:37 +00:00
bw-ghapp[bot]
00b5329430 Autosync the updated translations (#18129)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-28 09:57:05 +00:00
bw-ghapp[bot]
8acbb246a1 Autosync the updated translations (#18128)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-28 09:56:36 +00:00
bw-ghapp[bot]
c548461650 Autosync the updated translations (#18118)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-28 10:41:29 +01:00
Alex
5ddfd91a14 correct virtual scroll rowSize for password reports (#18058)
The Exposed Passwords and Weak Passwords reports were using an incorrect
rowSize value (53px instead of 75px) for their virtual scroll tables.
This caused the \"Back to reports\" button to collide with table entries.

The issue was cumulative - more items meant more visible collision. This
fix aligns both reports with the Reused Passwords report which correctly
uses 75px for identical row structures.
2025-12-26 14:28:10 -08:00
Bryan Cunningham
2da44bb300 [CL-913] add new color palette to theme and tailwind config (#17998)
* add new color palette to theme and tailwind config

* updated docs color names

* remove safelist changes

* add missing accent colors to docs

* updated color mappings

* combined docs in colors.mdx and reference in Claude.md

* add variables for white and black

* updated docs

* updated list rendering style

* more specific docs instructions

* revert to simpler colors docs reference

* remove changes to claude.md

* use rgb color variables to compose semantic
2025-12-26 16:18:31 -05:00
Todd Martin
5c13b07366 chore(merge): Fixed date initialization on test 2025-12-26 15:28:58 -05:00
Todd Martin
91991d2da6 feat(account): [PM-29545] Update AccountInfo creationDate to use Date instead of string
* Add creationDate of account to AccountInfo

* Added initialization of creationDate.

* Removed extra changes.

* Fixed tests to initialize creation date

* Added helper method to abstract account initialization in tests.

* More test updates.

* Linting

* Additional test fixes.

* Fixed spec reference

* Fixed imports

* Linting.

* Fixed browser test.

* Modified tsconfig to reference spec file.

* Fixed import.

* Removed dependency on os.  This is necessary so that the @bitwarden/common/spec lib package can be referenced in tests without node.

* Revert "Removed dependency on os.  This is necessary so that the @bitwarden/common/spec lib package can be referenced in tests without node."

This reverts commit 669f6557b6.

* Updated stories to hard-code new field.

* Removed changes to tsconfig

* Revert "Removed changes to tsconfig"

This reverts commit b7d916e8dc.

* Updated to use Date

* Updated to use Date on sync.

* Changes to tests that can't use mock function

* Prettier updates

* Update equality to handle Date type.

* Change to type comparison.

* Simplified equality comparison to just use properties.

* Added comment.

* Updated comment to reference Date.

* Added back in internal method tests.
2025-12-26 14:42:19 -05:00
Jordan Aasen
99305a5342 only pass strings to i18n pipe (#17978) 2025-12-24 10:14:52 -08:00
Jordan Aasen
77ccc3eb49 [PM-26656] - remove AutofillConfirmation feature flag (#18074)
* remove AutofillConfirmation feature flag

* fix tests. remove feature flag tests
2025-12-23 14:24:23 -08:00
Vicki League
735f885091 [PM-30141] Fix page height and a11y by removing extra <main> (#18099) 2025-12-23 15:55:33 +00:00
Bernd Schoolmann
3fbb4aced9 [PM-27239] Tde registration encryption v2 (#17831)
* tmp

* Implement TDE v2 registration via SDK

* Undo encstring test string change

* Add feature flag

* Add tests

* Continue tests

* Cleanup

* Cleanup

* run prettier

* Update to apply new sdk changes

* Fix build

* Update package lock

* Fix tests

---------

Co-authored-by: Bernd Schoolmann <quexten@fedora-2.fritz.box>
2025-12-23 16:27:25 +01:00
Vicki League
dc1ecaaaa2 [PM-29819][CL-806] Fix focus mgmt on search and filter page navigations (#18007) 2025-12-22 16:55:20 -05:00
Jared Snider
d95739191b PM-30125 - IdentityTokenResponse - mark deprecated properties as such (#18092) 2025-12-22 15:56:12 -05:00
gitclonebrian
328ff89747 bumped cargo deny version to fix CVSS error (#18091) 2025-12-22 15:19:08 -05:00
Alex Morask
59a1b4d79e Remove FF: pm-22415-tax-id-warnings (#17871) 2025-12-22 14:14:23 -06:00
Anders Åberg
5d79d44015 chore: move @nx packages to devDependencies (#18062)
These packages are build/tooling dependencies and should not be in
production dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 18:13:39 +01:00
Mike Amirault
dfb597c236 [PM-24015] Handle Send form empty password field properly (#17911) 2025-12-22 11:04:14 -05:00
bw-ghapp[bot]
ec20e5937a Autosync the updated translations (#18089)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-22 07:43:04 +00:00
bw-ghapp[bot]
e73d5770d3 Autosync the updated translations (#18088)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-22 07:42:26 +00:00
bw-ghapp[bot]
5c2cfee8df Autosync the updated translations (#18087)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-22 07:42:07 +00:00
Bernd Schoolmann
2d6d1dfe53 [PM-29929] Exclude organization vault items in data recovery tool (#18044)
* Exclude organization vault items in data recovery tool

* Allow undefined organization id
2025-12-21 20:46:18 +00:00
renovate[bot]
ea975610e6 [deps] Platform: Update electron to v39 (#17301)
* [deps] Platform: Update electron to v39

* Update and change builder

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2025-12-19 17:39:59 -05:00
Dave
0064f18ccd fix(set-initial-password) [PM-28494]: Newly created master password not accepted on unlock until after re-login on browser extension (#17930)
* fix(set-initial-password-service) [PM-28494]: Update MP data and decryption property sets to accommodate legacy and new paths for service.

* fix(set-initial-password-component) [PM-28494]: Add salt and mp data to credentials object.

* refactor(set-initial-password-service) [PM-28494]: Additional comments.

* test(set-initial-password-service) [PM-28494]: Update tests for added credential members.
2025-12-19 14:56:13 -05:00
bmbitwarden
481386218a PM-24189 improved screen reader parsing for special character checkbox (#17361)
* PM-24189 improved screen reader parsing for special character checkbox

* PM-24189 resolved voiceOver issue

* PM-24189 resolved voiceOver issue

* PM-27628 resolved pr comment re id and aria labels and comments

* PM-24189 resolved pr comment
2025-12-19 13:26:40 -05:00
Leslie Tilton
ea4666e3c1 [PM-25884] Move Phishing Detection Safari check to PhishingDetectionSettingsService (#18042)
* Move safari check to phishing detection settings to expose to all places using phishing detection

* Remove duplicate comment
2025-12-19 11:58:14 -06:00
Bernd Schoolmann
60b84361d2 Follow-up comment fix (#18067)
* Fix ssh account switching

* Npx prettier

* Follow-up comment fix
2025-12-19 16:47:14 +00:00
Bernd Schoolmann
f4037f404e [PM-29419] Fix ssh account switching (#18060)
* Fix ssh account switching

* Npx prettier
2025-12-19 17:34:34 +01:00
Daniel James Smith
3bd9ee1925 Delete unused models (#18063)
These were used prior to the extension refresh work.

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-12-19 09:33:40 -06:00
Oscar Hinton
44b31fdade [PM-29448] Consume the new send table in web (#17923)
2nd part of PM-29448. Consumes the new send table in the web vault. Also updates the send table to contain the responsive behaviour.
2025-12-19 16:00:37 +01:00
renovate[bot]
6ed60823cc [deps] UI Foundation: Update storybook to v9.1.17 [SECURITY] (#18052)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bryan Cunningham <bcunningham@bitwarden.com>
2025-12-19 08:47:50 -05:00
bw-ghapp[bot]
21157f71e7 Autosync the updated translations (#18046)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-19 12:24:41 +01:00
bw-ghapp[bot]
e989df475a Autosync the updated translations (#18026)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-12-19 12:18:02 +01:00
bw-ghapp[bot]
3b84d256c8 Autosync the updated translations (#18045)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-19 12:12:55 +01:00
Mike Amirault
39bc4fb789 [PM-29875] Close Send drawer on navigation (#18031) 2025-12-18 14:48:48 -05:00
Mike Amirault
0527171f3c [PM-29780] Add feature flag for Send email OTP verification (#18005)
* [PM-29780] Add feature flag for Send email OTP verification

* [PM-29780] Add default flag value
2025-12-18 14:12:52 -05:00
neuronull
bb71390da4 Desktop Autotype fix feature triggering in settings menu (#17808) 2025-12-18 12:06:04 -07:00
Shane Melton
ff3582109c [PM-28746] Item transfer event logs (#18032)
* [PM-28746] Add item organization event types and i18n strings

* [PM-28746] Log event when transfer is accepted or declined
2025-12-18 10:20:59 -08:00
Mick Letofsky
524bd9a484 Remove review-prompt and migrate the only unique BW instruction to the CLAUDE.md (#18049) 2025-12-18 19:19:09 +01:00
Vijay Oommen
799644c5aa PM-29935 delete button text needs to be fixed (#18048) 2025-12-18 11:06:54 -06:00
cyprain-okeke
ef7b66ad0d [PM 29079]Remove code for pm-24033-updat-premium-subscription-page (#17905)
* Remove the feature flag

* delete and rename CloudHostedPremiumVNextComponent
2025-12-18 17:35:48 +01:00