1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 13:23:34 +00:00
Commit Graph

18969 Commits

Author SHA1 Message Date
Andreas Coroiu
afbe27591b fix(badge): [PM-24661] Improve performance of badge state calculation for large number of tabs
* refactor: rewrite the badge service to only calculate states for active tab

This also fixes an issue where the `difference` function didn't work and caused
all tabs to update for every single state update.

* fix: compilation issue

* feat: add error logging

* fix: linting

* fix: badge clearing on reload on firefox

* feat: optimize observable

* feat(wip): update all active tabs

tests are broken

* fix: existing tests

* feat: add new tests

(cherry picked from commit 1a57ad3fc5)
desktop-v2025.8.0 browser-v2025.8.0 web-v2025.8.0 cli-v2025.8.0
2025-08-19 12:09:37 -04:00
Jonathan Prusik
e7059b790d [PM-24936] Prevent inline menu inheritance of potentially dangerous opacity from host body and above (#16063)
* prevent inline menu inheritance of dangerous opacity from host body and above

* cleanup and update tests

* check page opacity after html/body attribute mutations

* update tests

* cleanup
2025-08-19 10:20:18 -04:00
Shane Melton
f157d8c3f5 [PM-24710] Add a debounceTime to autofill currentPageDetails (#16029)
* [PM-24710] Add a debounceTime to currentPageDetails to ensure details collection content script has enough time to collect for details

* Adjust test observables to account for debounce

---------

Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>
2025-08-15 11:09:13 -04:00
Alex Morask
5a37431ae7 Resolve PayPal account credit custom field (#16016) 2025-08-14 11:24:44 -05:00
Shane Melton
a5f610ecf3 [PM-24689] Handle possible null active account (#16006)
(cherry picked from commit d825b5c6e5)
2025-08-13 11:59:59 -07:00
bw-ghapp[bot]
83e5c6646a Autosync the updated translations (#15976)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
(cherry picked from commit f4d3f36c56)
2025-08-11 17:46:50 +02:00
bw-ghapp[bot]
4a28708979 Autosync the updated translations (#15975)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
(cherry picked from commit a5e9485fa1)
2025-08-11 17:46:37 +02:00
bw-ghapp[bot]
cfdb06c439 Autosync the updated translations (#15974)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
(cherry picked from commit 579a01f8b2)
2025-08-11 17:46:19 +02:00
bw-ghapp[bot]
4b113f4441 Autosync the updated translations (#15945)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
(cherry picked from commit 6b21574663)
2025-08-11 17:34:05 +02:00
bw-ghapp[bot]
36721fb18e Autosync the updated translations (#15947)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
(cherry picked from commit ecbbd932a0)
2025-08-11 16:59:08 +02:00
Nick Krantz
df2b3498b8 Navigate the user from the autofill nudge to the proper destination based on their browser (#15876) 2025-08-11 09:51:01 -05:00
Github Actions
f2d42138b6 Bumped client version(s) 2025-08-11 14:30:29 +00:00
bw-ghapp[bot]
9f6757dadc Autosync the updated translations (#15946)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-08-11 14:11:11 +02:00
✨ Audrey ✨
01d95f325f hide experimental bw send --email flag (#15955) 2025-08-08 15:12:48 -04:00
✨ Audrey ✨
6ab67e9a8f [PM-23532] introduce send access guard (#15529)
* document expected auth flows
* implement send access trampoline
2025-08-08 14:28:03 -04:00
Stephon Brown
a75f9dc9f0 Billing/pm 22625/tax id should not be saved when hidden (#15905)
* fix: add logic for ngOnUpdate

* fix: use markAsTouched function

* tests: add component tests
2025-08-08 15:33:34 +00:00
bitwarden-charlie
7835d01456 chore/SRE-583 Deprecate usage of Auth-Email Header (#14418)
* chore/SRE-583 Deprecate usage of Auth-Email Header

* SRE-583 additional cleanup

* SRE-583 removed Utils

* SRE-583 formatting

---------

Co-authored-by: sneakernuts <671942+sneakernuts@users.noreply.github.com>
2025-08-08 08:26:03 -06:00
Rui Tomé
a139fb5def [PM-24433] Update the CLI confirm org-member command to create a default collection (#15917)
* Update the CLI ConfirmCommand to send the DefaultUserCollectionName for default collection creation

* Add "My Items" message to CLI

* Refactor ConfirmCommand to encapsulate default user collection name encryption in a separate method
2025-08-08 13:53:27 +01:00
rr-bw
c5e5417abf fix(device-management-sorting): [Auth/PM-24046] Device Management Sorting (#15889)
This PR makes it so the devices are always sorted in this order (by default):

1. Has Pending Auth Request (if any) comes first
2. Current Device comes second (or first if there are no pending auth requests)
3. First Login Date - the rest of the devices are sorted by first login date (newest to oldest)

This sort order is preserved even after a user approves/denies and auth request - that is, the approved/denied device will re-sort to its correct position according to it's first login date.

Feature Flag: `PM14938_BrowserExtensionLoginApproval`
2025-08-07 13:46:02 -07:00
Daniel García
b57238ca99 [PM-23663] Update yao-pkg and migrate CLI to Node 22 (#15622) 2025-08-07 14:34:03 -04:00
Jason Ng
2ef8b1a6bf [PM-18066] new item details view (#15311)
* update item details v2 in libs for new view design. targets web, browser, and desktop
2025-08-07 13:21:24 -04:00
Andreas Coroiu
c3f6892f9e [PM-24451] firefox extension crash due to huge memory usage when unlocking vault (#15938)
* feat: only set badge state for the active tab

* fix: tests

* feat: avoid calculating states unecessarily

* Revert BrowserApi.removeListener change

* Add fatal log on observable failure

* Use fromChromeEvent

* Remove required-using tests

* Only disable some

* One of each

---------

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2025-08-07 13:19:14 -04:00
Miles Blackwood
f7169e909f Generate password triggers notifications (#15874) 2025-08-07 13:12:05 -04:00
rr-bw
46046ca1fa fix(change-password-prompt) [Auth/PM-22356] Scope org invite email to submitted email (#15783)
Adds a check to make sure that the email on the Org Invite matches the email submitted in the form. If it matches, only then do we apply the org invite to get the MP policies. But if the emails do not match, it means the user attempting to login is no longer the user who originally clicked the emailed org invite link. Therefore, we clear the Org Invite + Deep Link and allow the user to login as normal.
2025-08-07 08:19:35 -07:00
Github Actions
1ffe8e433f Bumped client version(s) 2025-08-07 14:01:33 +00:00
Bernd Schoolmann
c13f8241c6 Remove worker js on safari (#15914) 2025-08-07 14:50:52 +02:00
Justin Baur
804ad79877 Fix extra signalr connection web (#15633)
* Revert "fix(SignalR): Revert "[PM-23062] Fix extra signalr connections""

This reverts commit 97ec9a6339.

* Fix first login on web
2025-08-07 08:48:46 -04:00
Vicki League
8ae015f2d8 [CL-372] Add required type attr to buttons in stories (#15892) 2025-08-06 16:16:17 -04:00
Vicki League
6ec0a61b7e [CL-682] Convert color password enum to const (#15908) 2025-08-06 14:35:37 -04:00
Colton Hurst
423b1cf1df Remove BlockInput (#15913)
* Remove block_input

* Add virtual key code comment
2025-08-06 11:08:48 -04:00
cyprain-okeke
6a9348ecff [PM 22969]UI when MSP/BUP when subscription is canceled (#15843)
* implement cancel subscription message

* update the header message
2025-08-06 16:02:39 +01:00
Daniel Riera
5e5a24922b PM-24355 (#15862) 2025-08-06 09:49:50 -04:00
Daniel Riera
55464a0fc9 PM-24242 Add IDs to AtRisk Notification for automation (#15865)
* PM-24242

* fix ts issue in storybook
2025-08-06 09:49:23 -04:00
Ketan Mehta
8980016d2d [PM-23378] clear selection after event on (#15465)
* clear selection after event on individual part

* added changes in org

* added clearSelection in refresh()

---------

Co-authored-by: Jason Ng <jng@bitwarden.com>
2025-08-06 09:45:38 -04:00
Brandon Treston
29e16fc5e0 [PM-22107] Update Remove Individual Vault policy dialog (#15323)
* WIP

* switch to signal

* fix ts strict errors

* clean up

* refactor policy list service

* implement vnext component

* refactor to include feature flag check in display()

* CR feedback

* refactor submit to cancel before request is built

* clean up

* Fix typo

---------

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2025-08-06 09:34:43 -04:00
Thomas Rittson
61cd0c4f51 [PM-23920] Admin Console - adopt strongly typed guids (#15814)
Update organization, collection and policy to use strongly typed IDs
2025-08-06 15:27:52 +10:00
Jonathan Prusik
598348fcc1 eslint/ts disable removals (#15418) 2025-08-05 17:31:41 -04:00
Github Actions
326d7bf3bd Bumped client version(s) 2025-08-05 18:57:40 +00:00
Colton Hurst
a9c7936334 [PM-22789] Handle Autotype Hotkey Event (#15840)
* [PM-22789] Handle full hotkey event for autotype

* [PM-22789] Move userId into windows conditional check

* [PM-22789] Refactor autotype service observables

* [PM-22789] Address PR comments

* [PM-22789] Refactor stringIsNotUndefinedNullAndEmpty() function
2025-08-05 12:59:32 -04:00
Addison Beck
033642c0db docs: document the basic-lib generator (#15891) 2025-08-05 12:21:16 -04:00
Daniel Riera
2549afc45d PM-23890 Update overlays when a cipher is deleted (#15800)
* PM-23890 WIP

* add messaging service references

* Revert "PM-19574 Browser Autofill overlay displays outdated data (#15624)"

This reverts commit 9eceaa3d4c.

* add test

* fix merge spacing

* Revert "Revert "PM-19574 Browser Autofill overlay displays outdated data (#15624)""

This reverts commit 0fc6ec4d0b.
2025-08-05 12:17:38 -04:00
Bryan Cunningham
5f5f771adb [CL-754] Fix shift when closing sidenav (#15849)
* update shield logo and container padding

* Fix horizontal icon shift

* use absolutel position to fix shield shifting

* add new shield and admin console logo

* add new logos

* add business unit portal logo

* delete redundant logos

* add missing fill color class
2025-08-05 11:06:23 -04:00
Vicki League
26c0176e2e [CL-712] Update icon button, components using it, and affected virtual scroll heights (#15683) 2025-08-05 10:58:49 -04:00
Rui Tomé
40a1a0a2b7 [PM-22241] Add DefaultUserCollectionName support to bulk organization user confirmation (#15873)
* Add bulk user confirmation method to OrganizationUserService

* Update OrganizationUserBulkConfirmRequest to include optional defaultUserCollectionName property

* Implement conditional bulk user confirmation logic in BulkConfirmDialogComponent.

Its gated behind the feature flag for default user collection.

* Refactor OrganizationUserBulkConfirmRequest to use SdkEncString for defaultUserCollectionName

* Refactor BulkConfirmDialogComponent to use organization object instead of organizationId for improved clarity and type safety.

* Add unit tests for OrganizationUserService to validate user single/bulk confirmation logic

* Refactor OrganizationUserService to streamline encrypted collection name retrieval by introducing getEncryptedDefaultCollectionName$ method.

* Refactor unit tests for OrganizationUserService to reduce duplication by introducing a setupCommonMocks function for common mock configurations.

* refactor(organization-user.service): streamline retrieval of encrypted collection name in bulk confirmation process
2025-08-05 15:34:17 +01:00
Thomas Avery
2a3e1ae1f5 [PM-23619] Remove getPrivateKey from the key service and update consumers (#15784)
* remove getPrivateKey from keyService

* Update consumer code

* Increase unit test coverage
2025-08-05 09:25:50 -05:00
Nick Krantz
7145092889 [PM-24119] Manually open extension message (#15827)
* refactor manually open extension error message to a separate component

* allow icons and max width to be updated via setAnonLayoutWrapperData

* set error state when the extension fails to open

* bump timeout to 2000ms. I was seeing false error states when attempting to open the extension

* fix initialization of css variables
2025-08-05 08:42:05 -05:00
Nick Krantz
920145b393 get updated cipher from cipherViews$ on desktop. This avoids a race condition with waiting for the new cipher to be upserted in some cases. (#15859) 2025-08-05 08:38:45 -05:00
Andrei
80b74b3300 [PM-22472] break generated passphrase on separators (#15112) 2025-08-04 15:50:32 -04:00
✨ Audrey ✨
d5e78e9549 [PM-24092] fix positional argument processing (#15756) 2025-08-04 15:45:17 -04:00
Ben Brooks
bddd81ce79 fix: [PM-23494] detect ID vs login inputs on booksamillion.com (#15548)
* fix: [PM-23494] add newsletter checks; cleanup

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>

* fix: [PM-23494] improve isExplicitIdentityEmailField, add NewEmailFieldKeywords

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>

* fix: [PM-23494] improve isNewsletterForm, add NewsletterFormNames

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>

---------

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
2025-08-04 11:02:15 -07:00