Commit Graph

22056 Commits

Author SHA1 Message Date
Oscar Hinton
c5449e6432
[PM-39048] Feat: scaffold @bitwarden/pam library (#21259)
Add a new libs/pam feature library for Privileged Access Management,
generated via the basic-lib Nx generator.

- Register the "pam" team in the basic-lib generator (schema enum,
  interactive prompt, and the @bitwarden/team-pam-dev CODEOWNERS handle)
- Generate libs/pam with standard structure and a placeholder spec
- Wire up tsconfig.base.json path, CODEOWNERS, and root jest.config.js
2026-06-16 09:55:07 +02:00
Jordan Aasen
c66167f574
fix cloning archived item (#20812) 2026-06-15 17:37:16 -07:00
Jordan Aasen
48cfccca50
[PM-35212] - allow bulk archive/unarchive of items in a collection (#20920)
* allow bulk archive/unarchive of items in a collection

* fix test
2026-06-15 17:18:00 -07:00
Patrick-Pimentel-Bitwarden
e0b375ccfc
fix(codeowners): Added environment selector to auth's responsibilities. (#21284) 2026-06-15 21:54:59 +00:00
Jared Snider
36805f689f
Auth/Add CLAUDE.md files to angular/src/auth and common/src/auth on file organization + barrel files (#21283)
* Add CLAUDE.md files to angular/src/auth and common/src/auth

* Remove unnecessary reference
2026-06-15 21:35:10 +00:00
Marc Bartelt
693b2af308
Add a less confusing argument and environment variable name to disable updates (#19045)
Co-authored-by: Addison Beck <github@addisonbeck.com>
2026-06-15 16:10:34 -04:00
Jordan Aasen
2e666add43
[PM-34926] Allow single-character CJK vault searches (#21013)
* check for CJK chars for immediate search

* use unicode script property escapes
2026-06-15 12:43:18 -07:00
Nick Krantz
af9efd3a55
add missing copy translations for desktop (#21208) 2026-06-15 14:25:06 -05:00
Vince Grassia
71d6b6bfe7
Fix repo name in PR description link (#21276) 2026-06-15 13:44:19 -05:00
Zhiwei Liang
5e88c4e90a
[PM-38362] fix(powermonitor): Improve connection handling and remove unwraps (#20919)
* fix(powermonitor): Improve connection handling and remove unwraps

Potentially fix crashing issue for KDE

Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>

* Increase method timeout from 2 to 25 seconds

* Format

Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>

* Change timeout back to 2 seconds

---------

Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
Co-authored-by: Addison Beck <github@addisonbeck.com>
2026-06-15 14:09:28 -04:00
github-actions[bot]
da6603de29
Bumped client version(s) (#21271)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-15 13:14:17 -04:00
Bernd Schoolmann
34ec3e0575
[PM-18344] Implement Clipboard Support on Wayland/Gnome via RemoteDesktop Portal (#21068)
* Implement input capture portal clipboard

* Update zbus

* Update ashpd

* Update

* Read via portal

* Cleanup

* Cargo fmt

* Cleanup

* Fix

* Fix

* Clean up comment

* Clean up

* Clean up

* Clean up

* Restructure

* Replace comment about x11 socket

* Fix comment
2026-06-16 02:04:59 +09:00
Bernd Schoolmann
dde73675e8
[PM-38565] Replace tray settings with "Keep Bitwarden running in the background" (#21044)
* Implement new settings behavior

* Copy changes

* Migrate setting

* Fix build

* Fix
2026-06-16 01:17:52 +09:00
SmithThe4th
a2c9e34784
[PM-28192] Migrate Cipher Attachment Operations to use SDK instead of APIs (#20628)
* Implemented SDK attachment operations on sdk service

* Added SDK paths for attachment operations in cipher service

* Used SDK attachment operations

* Updated to use upgrade from the sdk

* Potential fix for pull request finding 'Useless assignment to local variable'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Returned decrypted from the SDK

* Updated SDK version

* Fixed tests

* Fixed stict TS checks

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
2026-06-15 11:27:07 -04:00
Jonathan Prusik
4020f942e1
do not do heuristic filtering on targeted fields (#21245) 2026-06-15 08:35:27 -04:00
bw-ghapp[bot]
a4eb56065c
Autosync the updated translations (#21261)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-06-15 10:56:27 +00:00
bw-ghapp[bot]
f071e3a4d7
Autosync the updated translations (#21262)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-06-15 10:56:03 +00:00
bw-ghapp[bot]
8cbddf432c
Autosync the updated translations (#21260)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-06-15 10:55:19 +00:00
Oscar Hinton
f9ee87fcc4
Expand .claude/rules to cover i18n, Tailwind, testing, and Angular DI (#21051)
* Expand .claude/rules to cover i18n, Tailwind, testing, and Angular DI

Cross-references typescript.md and angular-components.md against the
canonical code-style docs, fixes inaccuracies, and adds rule files for
gaps where Claude was making the same mistakes repeatedly.

* Update .claude/rules/tailwind.md

* Resolve feedback

* Fix autofill context
2026-06-15 11:07:42 +02:00
Thomas Rittson
3ca5564fcd
[PM-38867] Fix: add error toast if no owner for a new item (#21222) 2026-06-13 07:41:35 +10:00
John Harrington
58e35343aa
[PM-38165] Limit Send Email character length (#20895)
* limit send.emails length

* add email max chars error message

* check email max chars limit on each value changes
2026-06-12 13:47:41 -07:00
Jonathan Prusik
fce61d84d0
[PM-39000] Fix targeted new password field not filling upon click on generate password inline menu (#21239)
* fix targeted new password field not filling upon click on generate password inline menu

* add tests
2026-06-12 15:58:35 -04:00
Jonathan Prusik
25bec0e5b3
[PM-38992] Fix Targeting Rules autofilling new password inputs with current password values (#21238)
* fix Targeting Rules autofilling new password inputs with current password values

* fix Targeting Rules not being used for explicitly defined new password field inline menu typing
2026-06-12 15:10:23 -04:00
Ben Brooks
0d0fed94b3
[PM-37768] VULN - webauthn honor permissions policy (#21054)
* [PM-37768] Honor document Permissions Policy in FIDO2 page script
* [PM-37768] Cover Firefox & Safari in WebAuthn Permissions Policy gate
* [PM-37768] Move WebAuthn Permissions Policy gate to content script
* [PM-37768] Rehydrate DOMException across messenger boundary
* [PM-37768] Bail page script in sandboxed iframes

---------

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
2026-06-12 11:37:17 -07:00
Jared Snider
de29234694
Auth - Add claude.md for libs/auth (#21235) 2026-06-12 14:06:21 -04:00
SmithThe4th
2a4e49c6a6
Cleaned up dead code (#21173) 2026-06-12 13:37:36 -04:00
bw-ghapp[bot]
434c56643c
Autosync the updated translations (#21221)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-06-12 18:53:07 +02:00
Jonathan Prusik
bc9e7a2887
[PM-38617] Fix Targeting Rules not respecting Fill Assist setting changes in some cases (#21094)
* clear pageTargetingRules on page location change

* add defensive check of fill assist setting before generating fill scripts

* page details cache should clear when the Fill Assist setting is changed

* subscribe background overlay to fill assist changes and broadcast targeting rules cache invalidation

* refactor enableFillAssist$ resolution

* consolidate feature flag checks against fill assist setting in domain setting state

* eliminate unneeded messaging round-trip to the background

* remove unused Autofill Service dependency

* update resolved states
2026-06-12 12:39:11 -04:00
Ben Brooks
e364e9941d
[PM-36016] Handle cross-origin iframes in queryDeepSelector (#21024)
* [PM-36016] Enable recursive iframe routing via shared resolver
* [PM-36016] Extract URL variation helper; use it for routing match
* [PM-36016] Add and update unit tests
* [PM-36016] Log failures when routing targeted fields to iframe
* [PM-36016] Improve overly-verbose jsdoc comment
* [PM-36016] Narrow try/catch scope in getSubFrameUrlVariations
* [PM-36016] Refactor target flattening to use flatMap

---------

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
2026-06-12 07:36:59 -07:00
neuronull
80441b25c7
Bump SDK version for ECDSA key support (#21176) 2026-06-12 08:09:18 -06:00
brandonbiete
512a925f6b
Pin snapcraft to 8.x/stable to fix Linux builds (#21217)
Snapcraft 9.0.0 removed the deprecated 'snap' command. electron-builder
26.x still uses this command for core22 builds. Pinning to 8.x/stable
as temporary fix until electron-builder v27 is released.
2026-06-12 09:31:05 -04:00
Vicki League
c9d0621ff2
[CL-1208] Remove extra header space in desktop (#21157) 2026-06-12 08:59:59 -04:00
Bernd Schoolmann
f64d0d3c46
Fix migration (#21223) 2026-06-12 12:01:17 +02:00
bw-ghapp[bot]
887eeed531
Autosync the updated translations (#21220)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-06-12 10:57:00 +02:00
bw-ghapp[bot]
facd1ff4a4
Autosync the updated translations (#21219)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-06-12 10:53:16 +02:00
Bernd Schoolmann
e83e990cb4
[PM-38719] Add env var to override access token location (#21125)
* Add env var to override access token location

* Fix comment

* Prettier
2026-06-12 16:09:30 +09:00
Nick Krantz
e41fe9a29a
force sync after collection deletion to update ciphers (#21029) 2026-06-11 15:53:07 -05:00
Nick Krantz
808c6e66b2
[PM-38421] Remove duplicate copy actions (#21023)
* remove copy options from the options menu on desktop, they're in a separate action menu now

* [PM-38421] Add tests for vault-cipher-row context menu

* [PM-38421] Add SSH key copy fields to vault-cipher-row

* [PM-38421] Add SSH key copy translations to desktop locale
2026-06-11 15:51:39 -05:00
Daniel Riera
8bb8ec8492
[PM-32245] Update toggle for targeting rules in Autofill Settings view with designed experience (#21049)
* create the fill assist popover component

* update messages copy to match design request

* bring in the popover and leverage on autofill settings page

* update messages and use a new value since they are immutable
2026-06-11 19:44:42 +00:00
Leslie Tilton
aba7bd498c
[PM-38182] Fix Trend Chart not appearing in Access Intelligence V2 path (#21152)
* Add TrendWidgetComponent, feature flagged, to Access Intelligence v2 path. Updated v2 activity tab stories and test cases. Added DefaultRiskOverTimeService to Access Intelligence v2 routing

* Inline initializeTrendChartEffect in constructor to avoid noUnusedLocals hint

* Move test helpers to testing folder

* Remove SharedModule usage

* Move NewAdminWelcomeDialogComponent storybooks under DIRT folder

* Remove stories covered by the TrendWidget stories from ActivityTab stories

* Add buildActivityTabProviders for activity tab stories. Consolidate trend chart helpers for use in activity tab stories

* Update title of NewAdminWelcomeDialog storybook

* Remove trendChartInitialized guard to re-initialize RiskOverTimeService on organization changes in activity tab
2026-06-11 13:36:28 -05:00
Vince Grassia
fcbd92d71d
[BRE-2013] Add repository_dispatch trigger to sdk-update workflow (#21187) 2026-06-11 13:34:38 -04:00
Jordan Aasen
0b9a7f561e
[PM-38833] - properly set billing cycle in offer/success. (#21179)
* properly set billing cycle in offer/success.

* fixes to churn mitigation offer dialog

* fix test
2026-06-11 10:03:11 -07:00
Bryan Cunningham
31f416c60c
[CL-1222] m3 fast follows (#21202)
* fix hover states

* remove blue background on incative checked

* run prettier

* change to overflow auto to try and prevent scrollbars

* slightly larger selected checkmark
2026-06-11 12:01:15 -04:00
Leslie Tilton
6b5bde742c
Fix help text size and removed redundant class styling (#21183) 2026-06-11 10:26:31 -05:00
Jackson Engstrom
3a32dbc666
[PM-33407] Add organizationusernotificationpolicy component (#20362)
* add feature flag pm-31948-org-user-notification-banner

* add policy enum

* adds barebones organization-user-notification-policy

* adds custom validator for length of fields

* fixes allowbanner checkbox to save enable the policy

* saves null when policy is turned off to clear the fields

* moves custom messages to messages.json

* changes enabled/disabled state control for button text

* updates required description message and validator

* Updates copy for policy title and description

* add tests

* fix strict type checking

* updates "Allow banner" to "Enable banner"

* fixes issue with text in a disabled field being saved

* empty strings in the form are saved as null

* changes validator error key to be more generic

* removes inline comments

* fixes i18n format. ":{" => ": {"
2026-06-11 08:21:54 -07:00
Alex Morask
1e1690af2e
[PM-38891] fix: Bind subscription strikethrough price to actual billing interval (#21205)
The struck-through original price on Organization > Billing > Subscription hardcoded its cadence label to the "year" i18n key, so monthly plans rendered "/year" instead of "/month" once a percent-off discount made the strikethrough visible. Bind to i.interval, matching the active-price span.
2026-06-11 10:09:50 -05:00
neuronull
4608e138bf
SSH Agent fix calling unregistered IPC handlers upon account switch (#20914) 2026-06-11 08:53:48 -06:00
Addison Beck
dddaba1f35
fix(nx): clear build dependsOn workspace default (#21203)
The bitwarden-clients workspace uses source-direct webpack bundling: apps
bundle libs via @bitwarden/* path aliases in tsconfig.base.json that resolve
to sibling lib source, not dist artifacts.

The workspace default targetDefaults.build.dependsOn: ["^build"] is an
artifact-based declaration that did not match the codebase. Combined with
@nx/js plugin auto-inference of build targets on every lib with a
tsconfig.lib.json, it forces nx build <app> to walk into leaf libs that
cannot compile standalone with tsc. This causes failed builds.

This commit changes the workspace default to [], making the declaration match
the actual bundling pattern. Apps no longer pull broken leaf libs through
their build chain, instead using their dependencies with their aliases.
2026-06-11 16:26:06 +02:00
Mike Amirault
0e3634d2d2
[PM-38357] Surface more descriptive error messages from server on Send edit failure (#21067)
* [PM-38357] Surface more descriptive error messages from server on Send edit failure

* Address AI review comments

* Re-add guard and adjust abstract method documentation
2026-06-11 09:53:08 -04:00
Thomas Rittson
0e9b1b2cfd
Fix malformed policy sync response parsing (#21189) 2026-06-11 09:47:03 -04:00