1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 14:04:03 +00:00
Commit Graph

20761 Commits

Author SHA1 Message Date
Stephon Brown
be73dc60e0 refactor: rename PremiumOrgUpgradeComponent to PremiumOrgUpgradePlanSelectionComponent 2026-02-05 20:12:22 -05:00
Stephon Brown
641d2c184a Merge branch 'main' into billing/pm-29602/build-upgrade-dialogs 2026-02-05 17:30:49 -05:00
neuronull
831bde21f6 Renovate ignore dep bitwarden-russh (#18792) 2026-02-05 14:59:43 -07:00
Jared
2fd3404c27 Revert "Disable native icon for datetime-local field and use our own icons for stylizing (#18633)" (#18796)
This reverts commit 2d8f74bf70.
2026-02-05 16:44:29 -05:00
Alex Dragovich
1b812d2274 Revert "Remove feature flag check from password generation (#18003)" (#18794)
This reverts commit 7c6d98b50e.
2026-02-05 13:33:44 -08:00
Github Actions
34db6863ab Bumped Desktop client to 2026.2.0 2026-02-05 21:16:46 +00:00
Oscar Hinton
ad523179bf [PM-30677] Convert SendSearchComponent to OnPush (#18322)
Converts SendSearchComponent to use OnPush change detection.
2026-02-05 22:03:42 +01:00
Leslie Xiong
2b6158668d fixed collections still appearing when no organizations (#18779) 2026-02-05 15:36:33 -05:00
Jared
f010d28492 [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-05 15:02:49 -05:00
Mike Amirault
314c842b96 [PM-31435] Use muted colors for Send file and text type icons (#18673) 2026-02-05 14:51:36 -05:00
Mike Amirault
87bc57b3e2 [PM-31434] Match Send table options button size to other tables (#18685) 2026-02-05 14:48:40 -05:00
Nick Krantz
b5d865e8f2 move clearCache before updateWithServer (#18790) 2026-02-05 13:42:50 -06:00
Jason Ng
0b8d61a1b8 [PM-31423] updated isAdminConsoleAction check in cipher-report (#18662) 2026-02-05 12:42:22 -05:00
Vijay Oommen
6c7cca1360 PM-30456 setup the search bar to grow (#18780) 2026-02-05 11:09:50 -06:00
Will Martin
20bc6036c6 [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-05 12:07:40 -05:00
Jared
f34ccf21d8 Fix highlight in left sidebar menu (#18781) 2026-02-05 12:03:01 -05:00
Daniel James Smith
446f35791e [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-05 17:45:09 +01:00
Mike Amirault
5e31ba9cce [PM-27220] Switch export filetype select to simple select (#17865) 2026-02-05 11:30:37 -05:00
Jared
5c7bba00f3 [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-05 10:58:42 -05:00
John Harrington
d88cb89618 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-05 08:41:03 -07:00
Jared
479273a883 Fix optional chaining for collectionId in vault navigation query parameters (#18652) 2026-02-05 10:39:33 -05:00
Jared
2d8f74bf70 Disable native icon for datetime-local field and use our own icons for stylizing (#18633) 2026-02-05 10:37:35 -05:00
Jared
35773ae9a0 [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-05 10:36:44 -05:00
Jared
61763204ea 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-05 10:35:39 -05:00
Jared
3fb31fd040 Add permission guard and only allow provider admin to visit billing page for provider portal users (#18639) 2026-02-05 10:31:21 -05:00
Stephon Brown
76e97ad71b fix(billing): Ensure early exit for closed premium org upgrade payment 2026-02-05 10:22:13 -05:00
Stephon Brown
2141854ca3 Merge branch 'main' into billing/pm-29602/build-upgrade-dialogs 2026-02-05 10:12:06 -05:00
Stephon Brown
bfe181af51 Revert "Fix(billing): Disable tooltip on focus for various billing buttons"
This reverts commit 91f7747df7.
2026-02-05 10:09:11 -05:00
Stephon Brown
a89ec81a81 Revert "Feat(tooltip): Add showTooltipOnFocus input to TooltipDirective"
This reverts commit 02f62bc0fd.
2026-02-05 10:07:42 -05:00
adudek-bw
7c6d98b50e Remove feature flag check from password generation (#18003)
* Remove feature flag check from password generation
2026-02-05 09:46:31 -05:00
Bernd Schoolmann
2cc8715711 [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-05 15:10:15 +01:00
Jared McCannon
ba905dbf12 Fixing bulk restore request property name to match server. (#18757) 2026-02-05 08:03:09 -06:00
Thomas Avery
f457abf60b Add contact info to HAZMAT (#18759) 2026-02-05 10:57:10 +01:00
Stephon Brown
5931857bc5 docs(billing): refine JSDoc for PremiumOrgUpgradeDialogParams 2026-02-04 19:12:53 -05:00
Stephon Brown
a7be6577c2 Merge branch 'main' into billing/pm-29602/build-upgrade-dialogs 2026-02-04 18:44:47 -05:00
Stephon Brown
b8f4292dc4 test(billing): update premium org upgrade payment component tests 2026-02-04 18:42:56 -05:00
Stephon Brown
ac5c73f704 refactor(billing): update premium org upgrade payment to display existing payment method 2026-02-04 18:42:40 -05:00
Stephon Brown
249ac98bd0 feat(payment): add hideHeader input to DisplayPaymentMethodComponent 2026-02-04 18:42:24 -05:00
Stephon Brown
c66876f39f feat(billing): close premium org upgrade dialog if feature is disabled 2026-02-04 18:42:09 -05:00
Stephon Brown
d48ec4c0ba refactor(billing): rename premium org upgrade dialog flag 2026-02-04 18:41:53 -05:00
Stephon Brown
960a57027f refactor(billing): clean up unused dialog data and HTML comment 2026-02-04 18:37:30 -05:00
Stephon Brown
0957a4fd85 feat(billing): add pre-condition checks for premium org upgrade dialog 2026-02-04 18:37:29 -05:00
Vedant Madane
04d2394dbf [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-04 13:38:25 -08:00
neuronull
34108d93e4 SSH Agent v2: Add ssh key primitive types (#18583)
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-02-04 14:01:18 -07:00
renovate[bot]
afc46cc50a [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-04 14:40:50 -06:00
Stephon Brown
0927153811 refactor(billing): remove unused ApiService and DestroyRef 2026-02-04 15:36:03 -05:00
Stephon Brown
79aa43f2a6 refactor(billing): Remove obsolete unified upgrade change 2026-02-04 15:30:40 -05:00
Stephon Brown
bc5e3c4265 Chore: Remove redundant comment in unified upgrade dialog HTML 2026-02-04 15:27:57 -05:00
Stephon Brown
438feb6d6c Test: Mock OrganizationService in PremiumOrgUpgradePaymentComponent tests 2026-02-04 15:27:56 -05:00
Stephon Brown
8aab575ff1 Feature: Add 'Back' status to UpgradePaymentStatus 2026-02-04 15:27:56 -05:00