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

6226 Commits

Author SHA1 Message Date
Oscar Hinton
ae5630621a Fix milestone 1 vault list not showing when not using sdk crypto (#18550) 2026-02-17 09:39:18 -08:00
Jason Ng
f048002874 [PM-31188] Desktop Trash Items Context Menu Updates (#18530)
* apply isDeleted check to other options in desktop context menu for items
2026-02-17 09:39:18 -08:00
Vijay Oommen
99bf08ec25 PM-30799 added html clean up for the domain (#18393) 2026-02-17 09:39:17 -08:00
bw-ghapp[bot]
b6e04fb7c0 Autosync the updated translations (#18560)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:39:17 -08:00
bw-ghapp[bot]
2315c5ad1b Autosync the updated translations (#18558)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:39:17 -08:00
bw-ghapp[bot]
2b9950d0ab Autosync the updated translations (#18559)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:39:16 -08:00
Rui Tomé
9d5f7a6a32 [PM-28842] Add max length validation to master password policy form (#18237)
* Update master password policy dialog to limit the minimum length to 128

* Update master password policy to use dynamic maximum length from Utils

* Add unit tests for MasterPasswordPolicyComponent to validate password length constraints and scoring
2026-02-17 09:39:16 -08:00
Anders Åberg
e0e5d307e1 PM-2035: PRF Unlock (web + extension) (#16662)
* PM-13632: Enable sign in with passkeys in the browser extension

* Refactor component + Icon fix

This commit refactors the login-via-webauthn commit as per @JaredSnider-Bitwarden suggestions. It also fixes an existing issue where Icons are not displayed properly on the web vault.

Remove old one.

Rename the file

Working refactor

Removed the icon from the component

Fixed icons not showing. Changed layout to be 'embedded'

* Add tracking links

* Update app.module.ts

* Remove default Icons on load

* Remove login.module.ts

* Add env changer to the passkey component

* Remove leftover dependencies

* PRF Unlock

Cleanup and testes

* Workaround prf type missing

* Fix any type

* Undo accidental cleanup to keep PR focused

* Undo accidental cleanup to keep PR focused

* Cleaned up public interface

* Use UserId type

* Typed UserId and improved isPrfUnlockAvailable

* Rename key and use zero challenge array

* logservice

* Cleanup rpId handling

* Refactor to separate component + icon

* Moved the prf unlock service impl.

* Fix broken test

* fix tests

* Use isChromium

* Update services.module.ts

* missing , in locales

* Update desktop-lock-component.service.ts

* Fix more desktoptests

* Expect a single UnlockOption from IdTokenResponse, but multiple from sync

* Missing s

* remove catches

* Use new control flow in unlock-via-prf.component.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* Changed throw behaviour of unlockVaultWithPrf

* remove timeout comment

* refactired webauthm-prf-unlock.service internally

* WebAuthnPrfUnlockServiceAbstraction -> WebAuthnPrfUnlockService

* Fixed any and bad import

* Fix errors after merge

* Added missing PinServiceAbstraction

* Fixed format

* Removed @Inject()

* Fix broken tests after Inject removal

* Return userkey instead of setting it

* Used input/output signals

* removed duplicate MessageSender registration

* nit: Made import relative

* Disable onPush requirement because it would need refactoring the component

* Added feature flag (#17494)

* Fixed ById from main

* Import feature flag from file

* Add missing test providers for MasterPasswordLockComponent

Add WebAuthnPrfUnlockService and DialogService mocks to fix test failures
caused by UnlockViaPrfComponent dependencies.

---------

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2026-02-17 09:39:16 -08:00
bmbitwarden
d97af20127 Pm 30608 defect the send page is not refreshed after removing the text in the search bar (#18421)
* PM-30608 resolved search bug

* PM-30608 resolved x button click issue
2026-02-17 09:39:16 -08:00
Vijay Oommen
a1e62100d6 [PM-30879] Huntress Integration (#18505) 2026-02-17 09:39:15 -08:00
Thomas Avery
384b153778 [PM-27486] Remove feature flag PM25174_DisableType0Decryption (#18413) 2026-02-17 09:39:15 -08:00
Jackson Engstrom
03bc9d47e8 [PM-20079] Updates header new/invite members button text spacing 2026-02-17 09:39:14 -08:00
Jason Ng
8f1d1c42d0 [PM-31072] If Archive Item is in Trash, remove Unarchive button (#18481) 2026-02-17 09:39:14 -08:00
Leslie Xiong
9929b3562c [BUG FIX]Desktop/Pm 31148/Pm 31149/Unexpected behaviors for Collections and Folders (#18506)
* fixed collections still appearing if all orgs are suspended

* fixed 'No folders' not displaying vault items

* PR followup:
- converted `allOrganizationsDisabled` to computed property
- converted observables to signals
2026-02-17 09:39:14 -08:00
Oscar Hinton
c258b5e453 Use correct key for new send (#18523) 2026-02-17 09:39:14 -08:00
adudek-bw
db1e0b0788 Change send success page text to not mention email verification (#18382)
* Change send success page text to not mention email verification

* [PM-30706] replacing message and fixing double word bug

* [PM-30706] improving message parameters

---------

Co-authored-by: Alex Dragovich <46065570+itsadrago@users.noreply.github.com>
Co-authored-by: Alex Dragovich <adragovich@bitwarden.com>
2026-02-17 09:39:14 -08:00
Oscar Hinton
0af9aed3d9 [PM-31158] Change default send to file for old ui (#18526)
* Change default send to file for old ui

* Trigger change detection to ensure signals are refreshed
2026-02-17 09:39:13 -08:00
Oscar Hinton
97ce4181a6 Disable rounded corner in desktop (#18498) 2026-02-17 09:39:13 -08:00
bw-ghapp[bot]
383f5fb023 Autosync the updated translations (#18514)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:39:13 -08:00
bw-ghapp[bot]
eb8516ad6a Autosync the updated translations (#18515)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:39:13 -08:00
bw-ghapp[bot]
defd67ebb4 Autosync the updated translations (#18513)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-02-17 09:39:12 -08:00
John Harrington
0536fdd8f5 [PM-26989] Add Support For Arc Browser on MacOS (#17909)
* added support for arc browser
2026-02-17 09:39:12 -08:00
Jonathan Prusik
956f0b3733 [PM-25615] Handle missing autofillOverlayContentService case (#18369)
* handle missing autofillOverlayContentService case

* additional checks autofillOverlayContentService
2026-02-17 09:39:12 -08:00
Leslie Xiong
f45d24d8e2 fixed misalignment of suspended org icon (#18502) 2026-02-17 09:39:11 -08:00
Nick Krantz
9e4fde68e2 [PM-28749] Desktop Transfer Items (#18410)
* add transfer items prompt to desktop

* add transfer service to vault v3
2026-02-17 09:39:11 -08:00
Derek Nance
bcfefd5ca0 [PM-30470] Revert to using X11 on Linux desktop (#18465) 2026-02-17 09:39:11 -08:00
neuronull
720386f83c Move approve ssh request out of Platform (#18226) 2026-02-17 09:39:11 -08:00
Nick Krantz
0ab0f5d437 avoid setting width on body when extension is within a tab (#18499) 2026-02-17 09:39:10 -08:00
neuronull
f496de02e1 Desktop Autotype windows integration tests (#17639) 2026-02-17 09:39:10 -08:00
Jason Ng
db22a558e8 [PM-30889] Remove clone option from archive item desktop (#18457)
* remove clone option from archive item desktop for users who lose premium status
2026-02-17 09:39:10 -08:00
Maciej Zieniuk
6ba3e294ec [PM-27233] Support v2 encryption for JIT Password signups (#18222)
* Support v2 encryption for JIT Password signups

* TDE set master password split

* update sdk-internal dependency

* moved encryption v2 to InitializeJitPasswordUserService

* remove account cryptographic state legacy states from #18164

* legacy state comments

* sdk update

* unit test coverage

* consolidate do SetInitialPasswordService

* replace legacy master key with setLegacyMasterKeyFromUnlockData

* typo

* web and desktop overrides with unit tests

* early return

* compact validation

* simplify super prototype
2026-02-17 09:39:10 -08:00
Isaiah Inuwa
6278a91f3e Improve desktop autofill developer builds (#18334)
* Consolidate references to credential provider feature flag
* Adjust entitlements and build stuff for macOS autofill credential extension
* Reduce signature time for MAS builds
2026-02-17 09:39:10 -08:00
Oscar Hinton
2f862b31e1 [PM-31029] Add feature flag for milestone 2 (#18458)
* Add feature flag for milestone 2

* Fix test

* Remove OnPush
2026-02-17 09:39:10 -08:00
Oscar Hinton
7533acb763 Add support for rounded layout (#18283) 2026-02-17 09:39:09 -08:00
Brandon Treston
5e4bbd8830 [PM-30500] Centralize Organization Data Ownership (#18387)
* remove deprecated OrganizationDataOwnership components, promote vNext

* WIP: add new components and copy

* multi step dialog for organization- data ownership

* disable save

* clean up copy, fix bug

* copy change, update button text

* update copy

* un-rename model

* use policyApiService

* simplify style
2026-02-17 09:39:09 -08:00
Jordan Aasen
391a3c9ce1 [PM-29816] - fix scroll position in browser vault (#18449)
* fix scroll position in browser vault

* use bitScrollLayoutHost
2026-02-17 09:39:09 -08:00
Shane Melton
2ae2f31174 [PM-30906] Auto confirm nudge service fix and better nudge documentation (#18419)
* [PM-30906] Refactor AutoConfirmNudgeService to be Browser specific and add additional documentation detailing when this is necessary

* [PM-30906] Add README.md for custom nudge services
2026-02-17 09:39:09 -08:00
Jason Ng
65de03ebfb [PM-30857] add empty state to desktop archives (#18414)
* add empty state to desktop archives
2026-02-17 09:39:09 -08:00
Todd Martin
39e5ab27d4 fix(entitlements): Restrict entitlements for Helium browser to just the directory 2026-02-17 09:39:09 -08:00
Jonathan Prusik
91d8edf457 refresh top layer when top layer candidate handlers are set up (#18326) 2026-02-17 09:39:09 -08:00
Leslie Tilton
e496d0f9ca Move loading blob to memory to rxjs pipeline triggered implicitly. Removed from constructor. Added dispose to guard against memory leaks (#18480) 2026-02-17 09:39:08 -08:00
Alex
0c93a38fb9 [PM-30718] add IndexedDB storage service for phishing data (#18344)
* add PhishingIndexedDbService for IndexedDB storage

Add a dedicated IndexedDB storage service for phishing detection data.
This service provides save, load, and clear operations using IndexedDB
instead of chrome.storage.local to avoid broadcast overhead, size
limitations, and JSON serialization cost for large datasets.

* add unit tests for PhishingIndexedDbService

Add comprehensive tests for save, load, and clear operations with
mocked IndexedDB. Tests cover success cases, error handling, and
database initialization with object store creation.

* add PhishingIndexedDbService core structure

- Add IndexedDB service with per-operation database opening
- Define PhishingUrlRecord type for row storage
- Include clearStore helper for atomic data replacement
- Service worker safe: no cached connections

* add saveUrls with chunked writes

- Add PhishingUrlRecord type for row storage
- Store each URL as individual row
- Chunk writes at 50K per transaction for responsiveness
- Atomic replacement: clear then save

* add hasUrl for lookups

- Direct IndexedDB index lookup via keyPath
- Returns boolean, handles errors gracefully

* add loadAllUrls with cursor iteration

- Cursor-based bulk load for fallback scenarios
- Memory-efficient: no intermediate array duplication
- Returns empty array on error

* add saveUrlsFromStream for memory efficiency

- Stream directly from fetch response body
- Parse newline-delimited URLs incrementally
- Reuse chunked save infrastructure

* update PhishingIndexedDbService tests

- Replace blob-based tests with row-per-URL API tests
- Test saveUrls, hasUrl, loadAllUrls, saveUrlsFromStream
- Verify chunked writes and cursor iteration
- Use stream/web ReadableStream with type cast for Node.js compatibility

* use proper URL syntax and cleanup global state

Update test data to use proper URL syntax with https:// prefix to match
real phishing.database format. Add cleanup of global.indexedDB in
afterEach to prevent test pollution.

* improve stream processing correctness and efficiency

- Move decoder.decode() before done check with { stream: !done } to flush properly
- Use array reassignment instead of splice() for O(1) chunk clearing
- Use single trim via local variable to avoid double-trim
- Centralize URL cleaning in saveChunked(), simplify saveChunk()
- Use explicit urls.length > 0 comparison

* duplicate urls test

* split final buffer by newlines
2026-02-17 09:39:08 -08:00
Jordan Aasen
5a5f7e1781 [PM-25082] - update browser extension widths (#18376)
* update browser extension widths

* use PopupWidthOptions where possible
2026-02-17 09:39:08 -08:00
Daniel Riera
68b598bc1e Revert "PM-29509 [LO IMPACT] Remove @ts-strict-ignore in fido2/content/mess…" (#18478)
This reverts commit 7853ac3d9f.
2026-02-17 09:39:08 -08:00
Jason Ng
a76e68c310 [PM-30761] remove archive from trash (#18361)
* add isDeleted check to showUnarchiveBtn and other optionss in vault cipher row
* remove unarchive options from desktop trash, remove archive options in bulk menu for items in trash
2026-02-17 09:39:08 -08:00
Jason Ng
5b1f659b68 [PM-30748] update archived restored toast (#18367) 2026-02-17 09:39:07 -08:00
Brad
b632709743 [PM-30250] Prevent over scrolling on Inactive 2FA and Unsecure Website reports (#18399)
* use bit-table-scroll on inactive 2FA and unsecured website reports

* fix: back to reports button renders on report page load
2026-02-17 09:39:07 -08:00
Bryan Cunningham
0ca7394e59 [CL-984] link style updates (#18360)
* WIP

* add new link styles

* update link stories

* skip default screenshot as variations are covered in other stories

* updated docs and story background

* make default the default linkType value

* remove references to primary link type in CL

* use better bg colors in stories

* remove duplicate linkType

* update aria-disabled text to use new palette

* add back primary link type to story

* fix capitolization

* add backticks to variant names in docs

* remove important from link styles

* fix generic selector to find correct button

* fix capitolization

* mark variants as deprecated in docs

* fix link hover text colors
2026-02-17 09:39:07 -08:00
Robyn MacCallum
3ecf3584de Fix DDG Native Messaging Test Runner Errors (#18355)
* Fix TS errors

* sdk loader mock

* Downgrade packages to be CommonJS-compatible

* Fix formattinmg

* Move logs to service

* package lock fixes
2026-02-17 09:39:07 -08:00
Jordan Aasen
bafd9fe9c9 [PM-30742] - do not show archive button in AC (#18345)
* do not show archive button in AC

* do not show archive button in AC
2026-02-17 09:39:06 -08:00