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

20774 Commits

Author SHA1 Message Date
Daniel James Smith
2a39a643f4 Revert "[PM-29149] Add ServerCommunicationConfigService (#18815)" (#18821)
This reverts commit f1b9408e3f.
2026-02-17 09:52:07 -08:00
Mike Amirault
21f49b260f [PM-22119] Update icon for password protected Sends on Desktop (#18659)
* [PM-22119] Update icon for password protected Sends on Desktop

* Mute Send type icons to match web
2026-02-17 09:52:06 -08:00
Daniel James Smith
3ea81f3e80 [PM-29149] Add ServerCommunicationConfigService (#18815)
* Add state- and key-definitions for persisting serverCommunicationConfig(s)

* Add implementation of the SDK-defined ServerCommunicationConfigRepository

* Add ServerCommunicationConfigService

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-02-17 09:52:06 -08:00
SmithThe4th
9647d35684 [PM-30580] Add encryptMany to SDK for batch cipher encryption (#18803)
* Migrated encrypt many to the sdk

* removed comment

* updated sdk package
2026-02-17 09:52:06 -08:00
Vijay Oommen
41ea3175bf [PM-29621] Changed error message to indicate lack of permissions (#18528) 2026-02-17 09:52:06 -08:00
Brad
331f69f983 [PM-18855] Add edit Cipher permission check to Cipher Authorization Service and use in Vault dialog (#18375)
Centralize edit permission checks in CipherAuthorizationService instead of using the disableForm parameter passed to VaultItemDialogComponent. This refactoring improves consistency with how delete and restore permissions are handled, establishes a single source of truth for authorization logic, and simplifies caller components.

This change also fixes the bug in ticket, which allows Users to properly edit Ciphers inside of the various Admin Console report types.
2026-02-17 09:52:06 -08:00
Brad
f56592ad09 [PM-30543] Add select all checkbox to Access Intelligance Applications table (#18682)
Adds a "Select all" checkbox to the table in the Access Intelligence applications tab. This allows users to quickly select or deselect all applications currently showing in the table for marking as critical apps.
2026-02-17 09:52:06 -08:00
SmithThe4th
98c742e891 [PM-31668] Race condition in cipher cache clearing causes stale failed decryption state after leaving organization (#18751)
* Refactored the search index to index with the cipherlistview

* Fixed comment

* clear encrypted cipher state to prevent stale emissions during sync
2026-02-17 09:52:05 -08:00
Nick Krantz
73ce18066c restore archived item from trash to archive (#18795) 2026-02-17 09:52:05 -08:00
Graham Walker
258e1afee4 pm-31420 Add download button to export Access Intelligence table into csv report (#18802)
* pm-31420 add download button feature to new applications tab for access intelligence feature

* PM-31420 fixing unit tests

* pm-31420 adding types

* pm-31420 fixing types and merging in main
2026-02-17 09:52:05 -08:00
Will Martin
04bafcb3cd [CL-1034] tooltip should only show on focus-visible (#18767) 2026-02-17 09:52:05 -08:00
Mike Amirault
e9476323dd [PM-30881] Add lock icon to browser Sends list for protected Sends (#18635)
* [PM-30881] Add lock icon to browser Sends list for protected Sends

* Trigger AI PR review

* [PM-30881] Add missing i18n key to browser file
2026-02-17 09:52:05 -08:00
Vicki League
74dcb945b2 [CL-1039] Set code ownership for global style files (#18786) 2026-02-17 09:52:05 -08:00
bw-ghapp[bot]
0e24ea01d1 Autosync the updated translations (#18804)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:52:04 -08:00
bw-ghapp[bot]
5c8d29236d Autosync the updated translations (#18805)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:52:04 -08:00
Andreas Coroiu
3a9bd17281 [PM-30404] Exclude .wasm.js from babel (#18555)
* feat: exclude .wasm.js from babel

* feat: exclude from browser and desktop too
2026-02-17 09:52:04 -08:00
Will Martin
2305542f82 Add settings.json for extra known marketplaces (#18807) 2026-02-17 09:52:04 -08:00
neuronull
fb500f80f0 Renovate ignore dep bitwarden-russh (#18792) 2026-02-17 09:52:04 -08:00
Jared
56685fe8d1 Revert "Disable native icon for datetime-local field and use our own icons for stylizing (#18633)" (#18796)
This reverts commit 2d8f74bf70.
2026-02-17 09:52:03 -08:00
Alex Dragovich
3a8f956222 Revert "Remove feature flag check from password generation (#18003)" (#18794)
This reverts commit 7c6d98b50e.
2026-02-17 09:52:03 -08:00
Github Actions
48d06c3a45 Bumped Desktop client to 2026.2.0 2026-02-17 09:52:03 -08:00
Oscar Hinton
b40ebe26c8 [PM-30677] Convert SendSearchComponent to OnPush (#18322)
Converts SendSearchComponent to use OnPush change detection.
2026-02-17 09:52:03 -08:00
Leslie Xiong
14d85b8469 fixed collections still appearing when no organizations (#18779) 2026-02-17 09:52:03 -08:00
Jared
057fe18b07 [PM-25365] Enhance layout responsiveness in vault component header (#18679)
* Enhance layout responsiveness in vault components by adding flex properties to improve structure and ensure proper height management.

* Refactor vault component layout to rid of my changes

* Update apps/web/src/app/vault/individual-vault/vault.component.html

Co-authored-by: Jackson Engstrom <jengstrom@bitwarden.com>

---------

Co-authored-by: Jackson Engstrom <jengstrom@bitwarden.com>
2026-02-17 09:52:03 -08:00
Mike Amirault
6ac6a3ea83 [PM-31435] Use muted colors for Send file and text type icons (#18673) 2026-02-17 09:52:02 -08:00
Mike Amirault
005c1faf0c [PM-31434] Match Send table options button size to other tables (#18685) 2026-02-17 09:52:02 -08:00
Nick Krantz
b4b38a86d2 move clearCache before updateWithServer (#18790) 2026-02-17 09:52:02 -08:00
Jason Ng
f19ba0e6ca [PM-31423] updated isAdminConsoleAction check in cipher-report (#18662) 2026-02-17 09:52:02 -08:00
Vijay Oommen
5000d394b0 PM-30456 setup the search bar to grow (#18780) 2026-02-17 09:52:02 -08:00
Will Martin
9d4b83c3b4 [CL] fix no-bwi-class-usage eslint rule to allow helper classes (#18782)
The eslint rule now distinguishes between icon classes (bwi, bwi-lock, etc.)
and helper utility classes (bwi-fw, bwi-sm, bwi-lg, etc.) defined in the SCSS.
Helper classes like bwi-fw are legitimate utility classes that modify appearance
and can be used with bit-icon or other components without triggering warnings.

Updated the rule to maintain an allowlist of helper classes and only error when
actual icon classes are used directly.

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-17 09:52:02 -08:00
Jared
2ff291ff4c Fix highlight in left sidebar menu (#18781) 2026-02-17 09:52:02 -08:00
Daniel James Smith
b769059b9d [PM-29127] Improve subdomain parsing for fido2 (#18383)
* Add check and test for empty inputs into isValidRpId

* Ensure the origin's scheme is https

* Improve parsing and validation of rpId

* Move https requirement check further down as we accept http for localhost

* Add documentation

* Remove ts-strict-ignore

* ts-strict: Fix possibly null on parsedOrigin.hostname

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-02-17 09:52:01 -08:00
Mike Amirault
37f42b6be1 [PM-27220] Switch export filetype select to simple select (#17865) 2026-02-17 09:52:01 -08:00
Jared
26087b846c [PM-16694] ac integration page background fill missing (#18508)
* Fixing some tech debt before implementing actual fix of implementation

* Adding new components to handle the different routes for the integrations page to make use of bit-tab-nav-bar to follow background-fill UI spec

* Implement organization integrations page with routing and state management

- Added routing for organization integrations including device management, event management, single sign-on, and user provisioning.
- Created OrganizationIntegrationsState to manage integrations and organization data.
- Introduced OrganizationIntegrationsResolver for preloading organization and integration data.
- Updated components to utilize the new state management and resolver.
- Refactored integration routes to follow updated naming conventions.

* Refactor organization integrations components to use signals and observables; enhance async handling in templates and add debug logging

* Enhance organization integrations module with routing updates and state management improvements

- Added OrganizationIntegrationsState for better state management.
- Updated routing to redirect to single sign-on by default.
- Integrated OrganizationIntegrationsResolver for preloading data.
- Refactored components to utilize new state management and improved async handling.

* Refactor SingleSignOnComponent to remove OnInit lifecycle and debug logging

- Simplified SingleSignOnComponent by removing the OnInit implementation.
- Eliminated debug logging for integrations in ngOnInit.
- Cleaned up imports for better readability.

* Refactor WebHeaderComponent to simplify background handling

- Removed the useAltBackground input signal from WebHeaderComponent.
- Updated the HTML template to conditionally apply styles based solely on the child element count of the tabs container.

* Refactor organization integrations components for improved readability and performance

- Updated HTML templates to remove optional chaining for organization properties.
- Removed unnecessary debug logging and comments in the OrganizationIntegrationsResolver.
- Simplified DeviceManagementComponent by eliminating the OnInit lifecycle hook.

* Refactor organization integrations components to use direct state properties

- Updated components to access organization and integrations directly from state instead of using observables.
- Simplified HTML templates by removing async pipes and using direct function calls for better readability.
- Ensured consistent naming conventions for organization and integrations variables across components.

* Enhance WebHeaderComponent by adding bitTypography attribute to the title element for improved styling consistency

* Refactor organization state to use 'undefined' instead of 'null' for organization signal and remove OnInit lifecycle hook from UserProvisioningComponent for cleaner code.

* Refactor EventManagementComponent to remove OnInit lifecycle hook for cleaner code and improved readability.

* Update organization state to set organization value to 'undefined' when null is provided, enhancing state management consistency.

* Update WebHeaderComponent to allow optional title and icon inputs, enhancing flexibility in header configuration.

* Update WebHeaderComponent to allow account property to be nullable, improving type safety and handling of user data.
2026-02-17 09:52:01 -08:00
John Harrington
076cc24fc5 PM-23851 False requirement to pop out extension when using send files (#17950)
* follow existing popout guard pattern to force popout on firefox when filepicker is exposed

* move firefox guard to tools ownership & revert changes to auth owned file

* initial refactor to consolidate logic  using file-picker-popout.guard

* remove safari from guard & disable forced popout in vault import

* enforce popout on Safari with test coverage

* use userAgent and consistent detection for platform detection

* refactor guard tests involving routes

* replace imports lost during merge

* remove text sends from popout requirement and update tests

* add tooltip and screen-reader text describing popout behavior
2026-02-17 09:52:01 -08:00
Jared
dd371e32ba Fix optional chaining for collectionId in vault navigation query parameters (#18652) 2026-02-17 09:52:01 -08:00
Jared
4871531b5e Disable native icon for datetime-local field and use our own icons for stylizing (#18633) 2026-02-17 09:52:01 -08:00
Jared
7a3bfa5f95 [PM-29771] Make invitation non-plural if only 1 member selected (#18684)
* Make invitation non-plural if only 1 member selected

* Add isSingleInvite as per Jimmy's suggestion
2026-02-17 09:52:01 -08:00
Jared
76c7bbb90d Update bulk restore/revoke component to conditionally display non-compliant members callout. Adjusted logic to set statuses based on entry errors and isRevoking state. (#18654) 2026-02-17 09:52:00 -08:00
Jared
9462184e17 Add permission guard and only allow provider admin to visit billing page for provider portal users (#18639) 2026-02-17 09:52:00 -08:00
adudek-bw
70c321094e Remove feature flag check from password generation (#18003)
* Remove feature flag check from password generation
2026-02-17 09:52:00 -08:00
Bernd Schoolmann
6a01fd1575 [PM-31640] Fix SDK tracing / cipher decryption performance issues (#18777)
* Fix SDK tracing performance issues

* Update package lock

* Update package lock

* Fix npm lock
2026-02-17 09:52:00 -08:00
Jared McCannon
e26d833ba0 Fixing bulk restore request property name to match server. (#18757) 2026-02-17 09:52:00 -08:00
Thomas Avery
3cce990004 Add contact info to HAZMAT (#18759) 2026-02-17 09:51:59 -08:00
Vedant Madane
c3f3cab5aa [PM-30845] fix(vault): preserve card brand when editing existing card (#18381)
* fix(vault): preserve card brand when editing existing card

Fixes #16978

The brand field was not being restored when editing an existing card
cipher, causing it to show '--Select--' and potentially lose the brand
data when saving.

Added the brand field to initFromExistingCipher() to properly restore
the card brand when opening a card for editing.

Also updated the test to verify all card fields including brand, expMonth,
and expYear are properly initialized from existing cipher data.

* fix: add brand to OptionalInitialValues interface

Addresses review feedback from @jengstrom-bw in PR #18381.
The brand field was being used in card-details-section.component.ts
but wasn't defined in the OptionalInitialValues type, causing a
TypeScript compilation error.

Adds brand?: string; to the Credit Card Information section of
OptionalInitialValues in cipher-form-config.service.ts.

* test: add coverage for initFromExistingCipher brand logic
2026-02-17 09:51:59 -08:00
neuronull
fb7711904d SSH Agent v2: Add ssh key primitive types (#18583)
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-02-17 09:51:59 -08:00
renovate[bot]
0846579eb9 [deps] Vault: Update @koa/router to v15 (#18086)
* [deps] Vault: Update @koa/router to v15

* update router imports from `@koa/router`

* remove `@types/koa__router` no longer needed with update to `@koa/router`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>
Co-authored-by: Nick Krantz <nick@livefront.com>
2026-02-17 09:51:59 -08:00
Jackson Engstrom
6c16db4220 [PM-26706] Update search results header for extension (#18676)
* dynamically changes the allItems title from 'All items' to 'Search results' based on search text length

* updates logic and copy for changing the allItems header text

* changes how ciphers are displayed when a user has a search term and/or filters applied

* Update apps/browser/src/vault/popup/components/vault-v2/vault-v2.component.html

Co-authored-by: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>

* refactors tests

---------

Co-authored-by: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>
2026-02-17 09:51:59 -08:00
Bryan Cunningham
d11fb4302c [CL-637] icon api buttons links (#18388)
* update button api to accept icons

* use template outlet in button

* add link component

* create link component to handle anchors and buttons

* remove unnecessary let variables

* fix link focus state styling

* update link underline style

* fix broken skip link focus

* add focus method to link component

* fix typo

* fix off center loading state

* move flex styles to template to fix some minor style overrides

* remove unnecessary variables

* fix interaction states and add styles for test class to work properly

* refactor classes and make variable sreadonly

* fix classes not being applied correctly

* fix bad merge conflict resolution

* simplified button template
2026-02-17 09:51:58 -08:00
renovate[bot]
8f724de83c [deps] AC: Update core-js to v3.48.0 (#18709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jared <TheWolfBadger@gmail.com>
2026-02-17 09:51:58 -08:00