1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-17 18:09:17 +00:00
Commit Graph

2921 Commits

Author SHA1 Message Date
Patrick Pimentel
86ab5f4357 Merge branch 'auth/pm-14943/auth-request-extension-dialog-approve' into auth/pm-14943/auth-request-extension-dialog-approve-debug 2025-09-03 14:48:31 -04:00
Patrick Pimentel
63b6aec078 Merge branch 'auth/pm-25130/inactive-user-server-notification' into auth/pm-14943/auth-request-extension-dialog-approve-debug 2025-09-03 14:34:53 -04:00
Patrick Pimentel
d478422d59 Merge remote-tracking branch 'origin' into auth/pm-14943/auth-request-extension-dialog-approve-debug 2025-09-03 14:33:39 -04:00
Patrick Pimentel
1789ab08ed Merge remote-tracking branch 'origin' into auth/pm-14943/auth-request-extension-dialog-approve 2025-09-03 14:21:52 -04:00
Patrick Pimentel
98311c7679 Merge branch 'auth/pm-25130/inactive-user-server-notification' into auth/pm-14943/auth-request-extension-dialog-approve 2025-09-03 14:16:50 -04:00
Patrick Pimentel
3a00a710bd fix(inactive-user-server-notification): [PM-25130] Inactive User Server Notify - Fixed location of set definition. 2025-09-03 13:58:41 -04:00
Shane Melton
b6ef7716da [PM-24243] Load config service feature flag into SDK client (#15855)
* [PM-24243] Load config service feature flag into SDK client during initialization

* [PM-24243] Bump sdk version

* [PM-24243] Update load_flags to use generic Map instead of strongly typed object

* [PM-24243] Pass entire feature states object into SDK

* [PM-24243] Bump SDK version

* [PM-24243] Fix failing test
2025-09-03 13:56:55 -04:00
Shane Melton
2de321d6e8 [PM-24796] Ensure the CipherView prototype is not lost within the cache Signal (#16267) 2025-09-03 09:34:35 -07:00
Patrick-Pimentel-Bitwarden
8a96fd590c Merge branch 'main' into auth/pm-25130/inactive-user-server-notification 2025-09-03 10:32:05 -04:00
Patrick Pimentel
ccea368df2 Merge remote-tracking branch 'origin' into auth/pm-14943/auth-request-extension-dialog-approve 2025-09-03 10:18:35 -04:00
Justin Baur
73e8532ecc feat(tokens): Allow Inactive user authenticated API calls 2025-09-03 10:09:02 -04:00
Patrick Pimentel
45267a8279 Merge remote-tracking branch 'origin' into auth/pm-14943/auth-request-extension-dialog-approve 2025-09-02 17:19:29 -04:00
Nick Krantz
5967cf0539 [PM-14571] At Risk Passwords - Badge Update (#15983)
* add exclamation badge for at risk passwords on tab

* add berry icon for the badge when pending tasks are present

* remove integration wtih autofill for pending task badge

* add ability to override Never match strategy
- This is helpful for non-autofill purposes but cipher matching is still needed. This will default to the domain.

* add at-risk-cipher badge updater service

* Revert "add exclamation badge for at risk passwords on tab"

This reverts commit a9643c03d5.

* remove nullish-coalescing

* ensure that all user related observables use the same user.id

---------

Co-authored-by: Shane Melton <smelton@bitwarden.com>
2025-09-02 15:09:20 -05:00
Patrick Pimentel
0c254caa54 fix(extension-device-approval): [PM-14943] Answering Service Full Implementation - Removed debug statements. 2025-09-02 16:02:23 -04:00
Patrick Pimentel
aa9bae6146 fix(extension-device-approval): [PM-14943] Answering Service Full Implementation - Active user id will no longer throw. 2025-09-02 15:58:33 -04:00
Patrick Pimentel
503149aaf4 fix(extension-device-approval): [PM-14943] Answering Service Full Implementation - Committing to a branch with all the debug statements. 2025-09-02 15:57:25 -04:00
Nik Gilmore
232dd89814 [PM-19998] Add arrow icons to vault carousel component (#16041)
* Add arrow icons to vault carousel component

* Fix carousel next button and update tests

* Add new unit tests for back/next buttons

* Copy 'next' string from web/src/locales to browser/src/_locales

* Fix layout / spacing on carousel arrows

* Remove 'next' string from non-en locales

* Fix lint errors on carousel tests

* Add I18n provider to storybook for carousel

* Fix spacing for carousel button row

* Update carousel arrows to use small icon variant

* Add label attr to carousel buttons

* Add next string to locales  for Desktop
2025-09-02 11:48:46 -07:00
Patrick-Pimentel-Bitwarden
7a7645d301 Merge branch 'main' into auth/pm-25130/inactive-user-server-notification 2025-09-02 13:50:23 -04:00
neuronull
048d8a5f79 Remove UseTreeWalkerApiForPageDetailsCollection feature flag (#16130)
* remove flag and instances of use

* feedback jprusik: additional removals of pageContainsShadowDomElements

* feedback jprusik: remove a stray logic branch
2025-09-02 08:46:30 -06:00
Patrick-Pimentel-Bitwarden
dd5b20e3c0 Merge branch 'main' into auth/pm-25130/inactive-user-server-notification 2025-08-29 16:22:08 -04:00
Patrick Pimentel
d283c7e10d Merge remote-tracking branch 'origin/inactive-account-api-calls' into auth/pm-14943/auth-request-extension-dialog-approve 2025-08-29 16:07:15 -04:00
Nick Krantz
e4c75b3c49 Revert "PM-23386 Display autofill options after sync (#15906)" (#16222)
This reverts commit 8c51050eda.
2025-08-29 14:57:19 -05:00
Justin Baur
115351e650 Allow Inactive user authenticated API calls 2025-08-29 15:32:12 -04:00
Patrick Pimentel
ce5a16f686 fix(extension-device-approval): [PM-14943] Answering Service Full Implementation - Added Justin's change and things seem to be working better. Still broken on new account. 2025-08-29 15:29:05 -04:00
Nick Krantz
de928e9ba1 Fix SDK typings (#16223)
* fix SDK typings for `uuidAsString`

* add `load_flags` to mock SDK instance
2025-08-29 14:27:49 -05:00
Oscar Hinton
e0da2671b4 [PM-13374] Update all SDK uuids (#14962)
* fix: broken SDK interface

* Fix all compile errors related to uuids

* Fix browser desktop

* Fix tests

---------

Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
2025-08-29 13:09:33 -04:00
Patrick Pimentel
43fe8f36d9 Merge branch 'auth/pm-25130/inactive-user-server-notification' into auth/pm-14943/auth-request-extension-dialog-approve 2025-08-29 11:48:08 -04:00
Oscar Hinton
63af0ad711 [CL-836] Extract base css variables (#14733)
* Extract base variables

* Get tw to consume font css variables
2025-08-29 10:43:38 +02:00
Patrick Pimentel
5eea93228b fix(inactive-user-server-notification): [PM-25130] Inactive User Server Notify - Renamed file to match linting pattern. 2025-08-28 16:44:00 -04:00
Patrick Pimentel
865ffa2739 fix(inactive-user-server-notification): [PM-25130] Inactive User Server Notify - Fixed tests and updated with Justin's comments. 2025-08-28 16:35:19 -04:00
Patrick Pimentel
38aaf2ba86 fix(extension-device-approval): [PM-14943] Answering Service Full Implementation - Lots of debug statements added. Seeing unknown error closing connection. 2025-08-28 16:18:08 -04:00
Patrick Pimentel
83faf0a8b2 Merge remote-tracking branch 'origin' into auth/pm-14943/auth-request-extension-dialog-approve 2025-08-28 15:40:34 -04:00
Patrick Pimentel
d944ae12ca fix(extension-device-approval): [PM-14943] Answering Service Full Implementation - Minor changes to default server notifications service. 2025-08-28 15:35:26 -04:00
Patrick Pimentel
7d853aa5c9 fix(extension-device-approval): [PM-14943] Answering Service Full Implementation - Minor changes to default server notifications service. 2025-08-28 15:34:28 -04:00
Patrick Pimentel
805d58ad30 Merge remote-tracking branch 'origin' into auth/pm-25130/inactive-user-server-notification 2025-08-28 14:57:36 -04:00
Patrick Pimentel
e04daf3a9c fix(extension-device-approval): [PM-14943] Answering Service Full Implementation - Restructuring some code, adding comments. 2025-08-28 14:55:17 -04:00
Patrick-Pimentel-Bitwarden
c828b3c4f4 Auth/pm 23620/auth request answering service (#15760)
* feat(notification-processing): [PM-19877] System Notification Implementation - Implemented auth request answering service.

* test(notification-processing): [PM-19877] System Notification Implementation - Added tests.
2025-08-28 13:47:05 -04:00
neuronull
2fe9f4b138 Fix copy labels and toasts for ssh key items in web and browser (#16154) 2025-08-28 10:42:29 -06:00
Jeffrey Holland
8c51050eda PM-23386 Display autofill options after sync (#15906)
* PM-23386 Display autofill options after sync

* Clear the cipher state instead of changing caching

* Fix `true` param that isn't needed anymore
2025-08-28 10:55:18 +02:00
Vicki League
38f62a0149 [PM-25222] Fix svg alignment issues caused by new preflight defaults (#16181) 2025-08-27 12:40:16 -04:00
Addison Beck
5f7c0ae999 build: ensure new libraries are added to the root jest.config (#16166)
* Add missing libs to jest.config.js

Added 15 missing libraries to the jest projects array:
- libs/assets
- libs/client-type
- libs/core-test-utils
- libs/dirt/card
- libs/guid
- libs/logging
- libs/messaging-internal
- libs/messaging
- libs/serialization
- libs/state-test-utils
- libs/state
- libs/storage-core
- libs/storage-test-utils
- libs/tools/export/vault-export/vault-export-ui
- libs/user-core

This ensures all existing libraries with jest.config.js files are included in CI test runs.

* Update basic-lib generator to add new libs to jest.config.js

- Added updateJestConfig function that automatically adds new libraries to jest.config.js
- Function finds the appropriate alphabetical position for the new library
- Added comprehensive tests for the new functionality
- Ensures new libraries are included in CI test runs from creation

This prevents the issue where new libraries are created but their tests
are not run in CI because they are missing from the jest configuration.

* Fix import statements in state-definitions and deserialization-helpers tests

- Fixed ClientLocations import in state-definitions.spec.ts to use @bitwarden/storage-core instead of relative import
- Simplified deserialization-helpers.spec.ts import to use library root @bitwarden/serialization
2025-08-27 11:56:42 -04:00
Maciej Zieniuk
4c960906fa Account Recovery with Key Connector enabled not working prior to removal of Master Password (#15616) 2025-08-27 16:32:18 +02:00
Nick Krantz
fcc2bc96d1 [PM-21024] Use Server for Password Change URLs (#14912)
* migrate change login password service to use bitwarden server rather than fetch directly

- avoids CSP entirely

* add `HelpUsersUpdatePasswords` policy to policy type

* add `HelpUsersUpdatePasswordsPolicy` components

* allow list description override for policy description

* add `HelpUsersUpdatePasswordsPolicy` when the feature flag is enabled

* apply `HelpUsersUpdatePasswords` to everyone in an org

* use policy to guard the well known password API

* fix tests

* refactor to use `policyAppliesToUser$`

* remove policy work for change password - this was removed from scope

* update copy for show favicon setting - it now handles both favicons and change password urls

* remove favicon setting description - no longer needed

* only call change password service when the setting is enabled

* add popover for permitting cipher details

* import permit popover directly into the settings component

* replace `nativeFetch` with `fetch`

* use string literal to construct URL rather than `URL` class
- The `getIconsUrl` can return with an appended path which the new URL constructor will strip when passed as the base parameter

* use string literal to construct URL rather than `URL` class instance (#16045)

- The `getIconsUrl` can return with an appended path which the new URL constructor will strip when passed as the base parameter

* [PM-24716] UI changes for Change URI work (#16043)

* use platform service to launch the URI
- this allows desktop to open a separate browser instance rather than use electron

* fix spacing on web app

* add bitLink for focus/hover states

* remove spacing around links
2025-08-27 09:03:44 -05:00
Patrick Pimentel
e96ff92053 Merge branch 'auth/pm-23620/auth-request-answering-service' into auth/pm-14943/auth-request-extension-dialog-approve 2025-08-26 17:53:35 -04:00
Patrick Pimentel
1300a03091 Merge branch 'auth/pm-25130/inactive-user-server-notification' into auth/pm-14943/auth-request-extension-dialog-approve 2025-08-26 17:52:17 -04:00
Patrick Pimentel
978906d156 Merge remote-tracking branch 'origin' into auth/pm-23620/auth-request-answering-service 2025-08-26 17:09:00 -04:00
Patrick Pimentel
82a053358f Merge remote-tracking branch 'origin' into auth/pm-25130/inactive-user-server-notification 2025-08-26 16:46:22 -04:00
neuronull
34cd41988a Remove EnableNewCardCombinedExpiryAutofill feature flag (#16131) 2025-08-26 12:44:08 -06:00
Brandon Treston
28b5a2bb5e [PM-22717] Expose DefaultUserCollectionEmail to clients (#15643)
* enforce restrictions based on collection type, set default collection type

* fix ts strict errors

* fix default collection enforcement in vault header

* enforce default collection restrictions in vault collection row

* enforce default collection restrictions in AC vault header

* enforce default collection restriction for select all

* fix ts strict error

* switch to signal, fix feature flag

* fix story

* clean up

* remove feature flag, move check for defaultCollecion to CollecitonView

* fix test

* remove unused configService

* fix test: coerce null to undefined for collection Id

* clean up leaky abstraction for default collection

* fix ts-strict error

* fix parens

* add new property to models, update logic, refactor for ts-strict

* fix type

* rename defaultCollection getter

* clean up

* clean up

* clean up, add comment, fix submit

* add comment

* add feature flag

* check model for name

* cleanup readonly logic, remove featureflag logic

* wip

* refactor CollectionRequest into Create and Update models

* fix readonly logic

* cleanup

* set defaultUserCollectionEmail in decryption from Collection

* split save into update/create methods

* fix readonly logic

* fix collections post and put requests

* add defaultUserCollection email to model when submitting collection dialog
2025-08-26 11:42:52 -04:00
Todd Martin
ad2dfe1e99 feat(notifications): [PM-19388] Enable push notifications on locked clients
* Add back notifications connection on locked accounts

* Updated tests.

* Make sure web push connection service is started synchronously

* Fixed merge conflicts.

---------

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2025-08-26 11:41:15 -04:00