1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-30 16:23:53 +00:00
Commit Graph

1947 Commits

Author SHA1 Message Date
Jason Ng
bddd6f5fb1 [PM-31253] Desktop Footer Tooltip Updates (#18580)
* update desktop archive and delete btns so tooltip shows on hover consistently.
2026-01-28 13:31:49 -05:00
Will Martin
5dc49f21d2 [CL-82] rename bit-icon to bit-svg; create new bit-icon component for font icons (#18584)
* rename bit-icon to bit-svg; create new bit-icon for font icons

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* find and replace current usage

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* add custom eslint warning

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix incorrect usage

* fix tests

* fix tests

* Update libs/components/src/svg/index.ts

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

* Update libs/eslint/components/no-bwi-class-usage.spec.mjs

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

* update component api

* update class name

* use icon type in iconButton component

* update type Icon --> BitSvg

* fix bad renames

* fix more renames

* fix bad input

* revert iconButton type

* fix lint

* fix more inputs

* misc fixes

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix test

* add eslint ignore

* fix lint

* add comparison story

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
2026-01-28 11:36:27 -05:00
renovate[bot]
469b26789b [deps] Platform: Update @types/node to v22.19.7 (#18567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-27 12:04:50 -07:00
Isaiah Inuwa
e94a8ee5a3 Add generic autofill provider library [PM-29786] (#18075)
* Rename macos_provider to autofill_provider

* Add autofill IPC client methods needed for Windows IPC
2026-01-27 13:41:07 -05:00
Oscar Hinton
cf6d02fafa [PM-31264] Broken vault filters in milestone-1 (#18589)
* Fix vault filters

Now uses the same `createFilterFunction` as web rather than the custom proxy like approach.

* Remove provide
2026-01-27 19:00:13 +01:00
renovate[bot]
1008bf5cef [deps] Platform: Update tokio-tracing monorepo (#18238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-27 14:14:22 +01:00
Maciej Zieniuk
9454189df5 [PM-27283] [BEEEP] Reactive availableVaultTimeoutActions$ in vault timeout settings (#17731)
* reactive `availableVaultTimeoutActions$` in vault timeout settings

* cleanup

* deprecation docs

* explicitly provided user id

* clearer mocking

* better docs
2026-01-27 10:28:13 +00:00
Anders Åberg
ec812a7d77 Wire up DI for PRFUnlockService in desktop (#18587) 2026-01-27 10:46:35 +01:00
Nik Gilmore
06c8c7316d [PM-30301][PM-30302] Use SDK for Create and Update cipher operations (#18149)
* Migrate create and edit operations to use SDK for ciphers

* WIP: Adds admin call to edit ciphers with SDK

* Add client version to SDK intialization settings

* Remove console.log statements

* Adds originalCipherId and collectionIds to updateCipher

* Update tests for new cipehrService interfaces

* Rename SdkCipherOperations feature flag

* Add call to Admin edit SDK if flag is passed

* Add tests for SDK path

* Revert changes to .npmrc

* Remove outdated comments

* Fix feature flag name

* Fix UUID format in cipher.service.spec.ts

* Update calls to cipherService.updateWithServer and .createWithServer to new interface

* Update CLI and Desktop to use new cipherSErvice interfaces

* Fix tests for new cipherService interface change

* Bump sdk-internal and commercial-sdk-internal versions to 0.2.0-main.439

* Fix linting errors

* Fix typescript errors impacted by this chnage

* Fix caching issue on browser extension when using SDK cipher ops.

* Remove commented code

* Fix bug causing race condition due to not consuming / awaiting observable.

* Add missing 'await' to decrypt call

* Clean up unnecessary else statements and fix function naming

* Add comments for this.clearCache

* Add tests for SDK CipherView conversion functions

* Replace sdkservice with cipher-sdk.service

* Fix import issues in browser

* Fix import issues in cli

* Fix type issues

* Fix type issues

* Fix type issues

* Fix test that fails sporadically due to timing issue
2026-01-26 11:43:35 -08:00
bitwarden-devops-bot
c2b55e31cf Bumped client version(s) 2026-01-26 16:06:39 +00:00
Oscar Hinton
8bd8a12f65 Fix milestone 1 vault list not showing when not using sdk crypto (#18550) 2026-01-26 10:20:38 -05:00
Jason Ng
47a2f59784 [PM-31188] Desktop Trash Items Context Menu Updates (#18530)
* apply isDeleted check to other options in desktop context menu for items
2026-01-26 10:19:51 -05:00
bw-ghapp[bot]
e03abdaed5 Autosync the updated translations (#18558)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-01-26 13:41:05 +01:00
Anders Åberg
903026b574 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-01-26 10:53:20 +01:00
Thomas Avery
bc8c925cd0 [PM-27486] Remove feature flag PM25174_DisableType0Decryption (#18413) 2026-01-23 11:09:59 -06:00
Leslie Xiong
f57cb83d46 [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-01-23 16:55:41 +01:00
Oscar Hinton
c2f68e0bf6 Use correct key for new send (#18523) 2026-01-23 16:54:24 +01:00
Oscar Hinton
d1c7f995c3 [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-01-23 16:26:10 +01:00
Oscar Hinton
01d6b3dd1e Disable rounded corner in desktop (#18498) 2026-01-23 15:42:08 +01:00
bw-ghapp[bot]
553708dc58 Autosync the updated translations (#18513)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-01-23 10:26:48 +01:00
John Harrington
f8d2800859 [PM-26989] Add Support For Arc Browser on MacOS (#17909)
* added support for arc browser
2026-01-22 15:56:35 -07:00
Leslie Xiong
a28193f880 fixed misalignment of suspended org icon (#18502) 2026-01-22 17:08:46 -05:00
Nick Krantz
a9d8edc52c [PM-28749] Desktop Transfer Items (#18410)
* add transfer items prompt to desktop

* add transfer service to vault v3
2026-01-22 15:20:53 -06:00
Derek Nance
1baed4dea8 [PM-30470] Revert to using X11 on Linux desktop (#18465) 2026-01-22 15:12:15 -06:00
neuronull
0270474c99 Move approve ssh request out of Platform (#18226) 2026-01-22 13:27:36 -07:00
neuronull
2fac696567 Desktop Autotype windows integration tests (#17639) 2026-01-22 15:38:26 +01:00
Jason Ng
eee6fb895c [PM-30889] Remove clone option from archive item desktop (#18457)
* remove clone option from archive item desktop for users who lose premium status
2026-01-22 08:58:17 -05:00
Maciej Zieniuk
1ccacb03a6 [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-01-22 13:01:49 +01:00
Isaiah Inuwa
d0e3923eb6 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-01-22 12:58:37 +01:00
Oscar Hinton
0433678085 [PM-31029] Add feature flag for milestone 2 (#18458)
* Add feature flag for milestone 2

* Fix test

* Remove OnPush
2026-01-22 10:56:43 +01:00
Oscar Hinton
9a479544a6 Add support for rounded layout (#18283) 2026-01-22 10:25:39 +01:00
Jason Ng
d80ca85e50 [PM-30857] add empty state to desktop archives (#18414)
* add empty state to desktop archives
2026-01-21 18:24:17 -05:00
Todd Martin
0ad1ab448a fix(entitlements): Restrict entitlements for Helium browser to just the directory 2026-01-21 17:27:24 -05:00
Jason Ng
2860f0684d [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-01-21 13:49:07 -05:00
Jason Ng
d4b8558956 [PM-30748] update archived restored toast (#18367) 2026-01-21 12:30:31 -05:00
Robyn MacCallum
a005921c40 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-01-20 14:35:32 -05:00
Jason Ng
cb162c12dc [PM-30794] Desktop Archive Filter Remove Truncate (#18405) 2026-01-20 10:58:12 -05:00
renovate[bot]
1226de16bc [deps]: Update Rust crate serial_test to v3.3.1 (#18435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: neuronull <9162534+neuronull@users.noreply.github.com>
2026-01-20 08:58:03 -07:00
Oscar Hinton
e3d66aa5be Fix archive premium badge & fix strict ts errors. (#18440)
Fixes the archive badge to be visible by placing it in the end slot. Resolves strict TS errors.
2026-01-20 12:30:09 +01:00
Nick Krantz
246765a1aa [PM-30453] Archive UI Updates (#18297)
* add org icon to archive list view

* update content of archive confirmation dialog

* fix typing
2026-01-19 13:25:46 -06:00
renovate[bot]
8993a8d781 [deps] KM: Update Rust crate sha2 to v0.10.9 (#17544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2026-01-19 13:26:17 +00:00
Colton Hurst
3b2286fbb0 Revert "[deps] Platform: Lock file maintenance (#14932)" (#18406)
This reverts commit 5dee97158a.
2026-01-16 16:37:07 +00:00
renovate[bot]
5dee97158a [deps] Platform: Lock file maintenance (#14932)
* [deps]: Lock file maintenance

* Pin is-generator-function, downgrade open

* Bump zbus to match zbus_macro

* Attempt to fix rust compile issue by matching zbus and zbus_macro

* Update ashpd ...

* Fix lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hinton <hinton@users.noreply.github.com>
2026-01-16 15:20:08 +01:00
bw-ghapp[bot]
7ee0cfae1a Autosync the updated translations (#18396)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-01-16 15:04:15 +01:00
Leslie Xiong
44bdaf71b3 Desktop/pm 18769/migrate vault filters (#17919)
Migrated vault filters to new v3 vault's navigation

* Decoupled existing vault filtering from vault component by using routed params with routed-vault-filter-bridge
* Converted vault filters to standalone components
* Removed extending filter Base Components from deprecated /libs/angular library and handled logic directly
* Moved shared 'models' and 'services' directories from web-vault into /libs/vault
2026-01-15 16:17:00 +01:00
neuronull
6ef5241c29 Add Rust pre-commit hooks for desktop native (#17823) 2026-01-15 07:50:47 -07:00
bw-ghapp[bot]
6397b4225a Autosync the updated translations (#18364)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2026-01-14 18:52:50 +00:00
Isaac Ivins
968260c9f5 [PM-19079] [PM-28168] add edit desktop migration (#18294)
The goal of this PR is to migrate the Desktop Send-v2 component from the AddEditComponent to now use to shared SendAddEditDialogComponent from @bitwarden/send-ui library

---------

Co-authored-by: William Martin <contact@willmartian.com>
Co-authored-by: Hinton <hinton@users.noreply.github.com>
2026-01-14 10:09:38 -07:00
renovate[bot]
622df1deaf [deps] Platform: Update electron-store to v11 (#16846)
* [deps] Platform: Update electron-store to v11

* wip-fix: all imports failing due to nodenext switch

* fix: desktop tsconfig not working properly

Renderer tsConfigPath was wrong so it defaulted to the base `tsconfig.json` which
included every single sourcefile into the angular artifact. This caused errors
with ESM modules which behave differently on node and needed a separate `tsconfig.json`
configuration.

* fix: revert some of the changes made to tools code

* fix: ESM import in tests

* chore: use consistent path

* feat: actually use custom tsconfig for preload

* fix: use correct entry point in tsconfig.main.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
2026-01-13 08:04:40 -07:00
Oscar Hinton
5fe01323bb Improve routing during account switching to ensure feature flags are triggered (#18037)
When account switching from the old layout it's not bringing you into the new design. This resolves it by ensuring the route guard for vault is triggered after account switching.
2026-01-13 10:23:29 +00:00