1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-20 11:24:07 +00:00
Commit Graph

2685 Commits

Author SHA1 Message Date
Brandon Treston
184fba9819 [PM-26901] Add notification handler for auto confirm (#18886)
* add notification handler for auto confirm

* add missing state check

* fix test

* isolate angular specific code from shared lib code

* clean up

* use autoconfirm method

* fix test
2026-02-17 09:52:22 -08:00
Jason Ng
b732506ebc [PM-31738] update archive toasts (#18923)
* update archive toast for all clients and trash archive restore toast, update archive cipher utilities spec
2026-02-17 09:52:22 -08:00
Daniel James Smith
faea15f110 [PM-32212] Migrate platform font icons to bit-icon (#18970)
* Changes on browser

* Changes on desktop

* Changes on web

* Fix chromatic story

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-02-17 09:52:21 -08:00
bw-ghapp[bot]
d37faeb8a8 Autosync the updated translations (#18961)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:52:20 -08:00
Alex
ead4cc7f4e [PM-32088] Switch phishing data source to GitHub (#18890)
* Switch phishing data source to GitHub and remove fallback mechanism

The phish.co.za mirror is down, causing every update cycle to timeout on
the primary fetch before falling back to the GitHub raw URL. This removes
phish.co.za entirely and uses GitHub as the sole data source, which was
the original source before the mirror was introduced.

- Rename `remoteUrl`/`fallbackUrl` to `ghSourceUrl` on PhishingResource type
- Remove phish.co.za URLs from both Domains and Links resources
- Remove catchError fallback block in `_updateFullDataSet()`
- Errors now propagate to `_backgroundUpdate()` which already handles
  retries (3 attempts with 5-minute delays) and graceful degradation

* revert the fallback logic removal, change prop name, add use fallback flag

* Update Links primaryUrl to Bitwarden-hosted blocklist

* remove all fallback logic
2026-02-17 09:52:19 -08:00
blackwood
e685485a51 Expand generic pattern for notification queue messages. (#18543) 2026-02-17 09:52:18 -08:00
Will Martin
f96279f988 Fix EventListener type errors in inline menu list handlers (#18943)
Changed event parameter type from MouseEvent to Event in handleFillCipherClickEvent and handleViewCipherClickEvent to match the EventListener interface expected by useEventHandlersMemo.

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-17 09:52:18 -08:00
Jordan Aasen
ea5f3de0d1 [PM-26703] - Update Item Action Behavior for Extension (#18921)
* Revert "Revert "[PM-26703]- Browser - Update autofill Behavior (#18467)" (#18723)"

This reverts commit 5d17d9ee71.

* fix title in non-autofill list

* add feature flag

* add old logic. add specs

* revert changes

* remove comments

* update language in spec

* update appearance spec

* revert change to security-tasks

* fix logic for blocked uri. add deprecated notice.

* fix test

* fix type error
2026-02-17 09:52:17 -08:00
Ben Brooks
1e2dfc804a PM-28831 Add isTrusted checks to ignore programmatically generated events (#18627)
* ignore events that do not originate from the user agent
* [pm-28831] Add isTrusted checks and update tests
* [pm-28831] Add isTrusted check to click events
* [pm-28831] Replace in-code jest exceptions with new utils
* [pm-28831] Move isTrusted checks to testable util
* [pm-28831] Remove redundant check in cipher-action.ts
* [pm-28831] Add isTrusted checks to click events in autofill-inine-menu-list
---------

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
2026-02-17 09:52:17 -08:00
Jonathan Prusik
20f9b519ec consolidate excluded domains copy to allow removal of service invocation (#18610) 2026-02-17 09:52:16 -08:00
Daniel Riera
758a1ece69 [PM-29519]Remove @ts-strict-ignore in browser-fido2-user-interface.service.ts (#18691) 2026-02-17 09:52:15 -08:00
Leslie Xiong
03875dcf05 [CL-1022] Update Berry Styles (#18799)
* created 'berry' component

* added 'bit-berry' to 'popup-tab-navigation'

* simplified - removed null checks

* changed 'effectiveSize' to 'computedSize'

* fixed 'accentPrimary' color

* updated to not render berry if 'count' is 0 or negative number

* simplified checking count undefined

* updated computed padding

* switched from `[ngClass]` to `[class]`

* updated 'popup-tab-navigation' berry to use 'danger' variant

* fixed berry positioning in popup-tab-navigation

* updated content logic

* cleanup unused 'ngClass'

* updated conditional rendering of berry

* updated story 'Usage'

* updates with adding berry 'type'

* added type "status" to popup-tab-navigation

* fixed type error

* updated 'Count Behavior' description
2026-02-17 09:52:15 -08:00
Nick Krantz
454f5029cc [PM-24978] Corrupt Attachment Keys (#17790)
* display translated content for attachments that cannot be downloaded

* consume decryption failure from the sdk for attachments

* add decryption errors from sdk

* only show fix attachment issues for when key is null and it does not have a decryption failure

* separate decryption failure state in view
2026-02-17 09:52:15 -08:00
Jason Ng
6fe2aecbf9 [PM-31679] remove archive from browser edit (#18854)
* removing archive btns from browser edit form footer, remove archive items from showing in expired premium users vault
2026-02-17 09:52:14 -08:00
Bernd Schoolmann
346afbc15b Remove duplicate import of VaultComponent (#18904) 2026-02-17 09:52:14 -08:00
Jackson Engstrom
003036460e [PM-29116] UI Text cut off on default size extension for Download Bitwarden (#18789)
* updates settings buttons to wrap instead of truncate

* adds new download copy
2026-02-17 09:52:13 -08:00
Jordan Aasen
edd9832272 [PM-17735] - remove v2 suffix from browser vault components (#18108)
* remove v2 suffix

* fix test

* fix path

* fix test

* Fix missed -v2 import path

* fix test

---------

Co-authored-by: Shane <smelton@bitwarden.com>
2026-02-17 09:52:12 -08:00
Andreas Coroiu
8855884644 [PM-29313] [Defect] TDE JIT Provisioning - Extension showing locked icon even if user already logged in (#18672)
* fix: add better error handling to badge service

* fix: lint
2026-02-17 09:52:11 -08:00
Jason Ng
d7cbfebfab [PM-31675] remove archive from web edit (#18764)
* refactor default cipher archive service, update archive/unarchive in vault-item-dialog, remove archive/unarchive items in edit form
2026-02-17 09:52:11 -08:00
Daniel Riera
8e9a9c7e32 [PM 29531]Remove ts strict ignore in list autofill inline menu list ts (#18738)
* fix(autofill): type throttle to preserve handler this/args and return void

* fix(autofill): strict TS and defaults for inline menu list, throttle typing, TOTP interval

* update snapshots

* swap mouse event for event

* prevent default does nothing on event
2026-02-17 09:52:10 -08:00
Alex Dragovich
3c3ac1d39c [PM-31685] Removing email hashes (#18744)
* [PM-31685] Removing email hashes

* [PM-31685] fixing tests, which are now passing

* [PM-31685] removing anon access emails field and reusing emails field

* [PM-31685] fixing missed tests

* [PM-31685] fixing missed tests

* [PM-31685] code review changes

* [PM-31685] do not encrypt emails by use of domain functionality

* [PM-31685] test fixes
2026-02-17 09:52:10 -08:00
Jonathan Prusik
eeb73b9c28 fix processMutations debouncing (#18615) 2026-02-17 09:52:08 -08:00
Bernd Schoolmann
89c9200552 [PM-29208] Remove individual cryptographic-key states & migrate key service (#18164)
* Remove inividual user key states and migrate to account cryptographic state

* Fix browser

* Fix tests

* Clean up migration

* Remove key-pair creation from login strategy

* Add clearing for the account cryptographic state

* Add migration

* Cleanup

* Fix linting
2026-02-17 09:52:08 -08:00
bw-ghapp[bot]
3ab0c2da90 Autosync the updated translations (#18836)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:52:07 -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
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
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
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
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
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
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
Jordan Aasen
719c719f25 [PM-31606] - Clone should not be an option for archived item for non-premium user (#18726)
* do not allow cloning of archived items for non-premium users

* add tests
2026-02-17 09:51:58 -08:00
Jonathan Prusik
a163eb48fc [PM-31281] Add teardown of listeners/observers (#18593)
* add teardown of listeners/observers

* add tests
2026-02-17 09:51:57 -08:00
Mike Amirault
d41f95e981 [PM-31429] Add missing helper text for password protected Sends, remove unused one (#18694)
* [PM-31429] Add missing helper text for password protected Sends, remove unused one

* Put one UI change behind feature flag, add back required translations

* Reorder translation

* Add spaces

* Come full circle, remove last couple of committed changes
2026-02-17 09:51:55 -08:00
Daniel Riera
f0f5051b0b - Clear pending auth requests for both HTTP and HTTPS (#18661)
- Add null-safe checks before returning auth credentials
- Align callback typing and optional arguments
2026-02-17 09:51:55 -08:00
Jonathan Prusik
a0dc52dd72 when only password and new password fields have values and do not match any vault ciphers, trigger a new cipher notification (#18729) 2026-02-17 09:51:54 -08:00
tbmc
eb4d23acf6 Fix layout of download Bitwarden link in settings popup (#18309)
Co-authored-by: John Harrington <84741727+harr1424@users.noreply.github.com>
2026-02-17 09:51:53 -08:00
Jonathan Prusik
7701358419 [PM-29236] Refactor of post-submit notification triggering logic (#18395)
* refactor triggerChangedPasswordNotification logic

* improve triggerChangedPasswordNotification and test coverage to handle scenarios more comprehensively

* restore triggerChangedPasswordNotification logic and move new logic and testing to triggerCipherNotification

* add branching qualification logic for cipher notifications

* add and implement undetermined-cipher-scenario-logic feature flag

* add optional chaining to username comparison of existing login ciphers

* cleanup

* update tests

* prefer explicit length comparisons
2026-02-17 09:51:52 -08:00
Jordan Aasen
981e6e1e05 Revert "[PM-26703]- Browser - Update autofill Behavior (#18467)" (#18723)
This reverts commit 7b583aa0ec.
2026-02-17 09:39:34 -08:00
Jackson Engstrom
1b44c2dfc4 [PM-21564] Hide buttons when user has View access to an item
* Changes attachment modal to remove choose file button and changes upload button to close button if the user doesn't have edit rights to the cipher.
2026-02-17 09:39:32 -08:00
bw-ghapp[bot]
9089ba0b1f Autosync the updated translations (#18671)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:39:31 -08:00
bw-ghapp[bot]
d44b07d473 Autosync the updated translations (#18666)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:39:30 -08:00
Andy Pixley
56d6e8613f [BRE-1527] Renewing Apple app certs (#18668) 2026-02-17 09:39:30 -08:00
Ben Brooks
8e1042e333 [PM-28613] Hardcode min-height to fix vertical squish (#18461)
* [pm-28613] Hardcode min-height
* [pm-28613] Hardcode icon max-height for Safari
Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
2026-02-17 09:39:30 -08:00
Daniel Riera
f8f7592ffe [PM-29522] Remove @ts-strict-ignore in background/auto-submit-login.background.ts (#18333)
* add explicit checks and change remove listener to any in order to match add listener and chrome api

* address feedback

* when requestInitiator is falsy but active auto submit exists, cleanup should still occur

* add documentation to remove listener
2026-02-17 09:39:29 -08:00
Jordan Aasen
5c65096e8f [PM-29262] - improve performance of premium spotlight observable (#18490)
* improve performance of premium spotlight observable

* re-add comment

* fix test. remove unused service
2026-02-17 09:39:29 -08:00
Nick Krantz
85f9a952cc remove unarchive button when a cipher is deleted (#18575) 2026-02-17 09:39:29 -08:00
Nick Krantz
681308fe0f [PM-29271] Add referrer checking for vault messages (#18346)
* update message from vault handling to check against accounts or message sender

* update valid vault referrer logic to check all configured environments
2026-02-17 09:39:29 -08:00
Maciej Zieniuk
719f83a73c [PM-30307] Session key retrieval redesign for the local backed session storage (#18493)
* session key retrieval redesign for the local backed session storage

* typo

* incorrect substring

* get cache edge cases incorrectly handling to null values after removal

* test coverage

* internal `SessionKeyResolveService`
2026-02-17 09:39:28 -08:00