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

5998 Commits

Author SHA1 Message Date
Anders Åberg
9d7c8efb73 Try running it via node 2025-12-16 11:43:57 +01:00
Anders Åberg
a1f015e858 Also try pnpm exec instead 2025-12-16 11:39:32 +01:00
Anders Åberg
76316927cf just try running from node_modules 2025-12-16 11:39:03 +01:00
Anders Åberg
d96639db8d use @electron/rebuild 2025-12-16 11:33:44 +01:00
Anders Åberg
aa5fb77427 Use npx
pnpm runs the postinstall script for apps/desktop, the electron-rebuild
binary isn't in PATH. The binary is at root node_modules/.bin/, but the
script runs from apps/desktop/.
2025-12-16 11:09:04 +01:00
Anders Åberg
cb619ddb84 Pin open at 8.4.2 instead 2025-12-16 11:05:18 +01:00
Anders Åberg
1d46284a01 Added open and all its transitive dependencies to the webpack allowlist
so they get bundled instead of being marked as external (which caused pnpm symlink issues with pkg)
2025-12-16 11:05:18 +01:00
Anders Åberg
ad9a09798e pnpm workflows 2025-12-16 11:05:18 +01:00
bw-ghapp[bot]
a7d3056f50 Autosync the updated translations (#17972)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-16 09:20:53 +01:00
Jason Ng
d130c443b8 [PM-26514] Archive With Non Premium User (#17820)
* Add callout for archive non premium, add premium check, add archive badge to view/edit modal, update btn text
2025-12-15 18:16:04 -05:00
Todd Martin
4b93df98c8 chore(README): Update READMEs missing H1 headers
* Update READMEs missing H1 headers.

* Changed casing.
2025-12-15 16:35:44 -05:00
bw-ghapp[bot]
1d1eca472e Autosync the updated translations (#17937)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-12-15 18:57:55 +01:00
Max
721f253ef9 [PM-28536] Add phishing blocker setting to account security (#17527)
* added phishing blocker toggle

* design improvements

* Fix TypeScript strict mode errors in PhishingDetectionSettingsServiceAbstraction

* Camel case messages

* Update PhishingDetectionService.initialize parameter ordering

* Add comments to PhishingDetectionSettingsServiceAbstraction

* Change state from global to user settings

* Remove clear on logout phishing-detection-settings

* PM-28536 making a change from getActive to getUser because of method being deprecated

* Moved phishing detection services to own file

* Added new phishing detection availability service to expose complex enable logic

* Add test cases for PhishingDetectionAvailabilityService

* Remove phishing detection availability in favor of one settings service

* Extract phishing detection settings service abstraction to own file

* Update phishing detection-settings service to include availability logic. Updated dependencies

* Add test cases for phishing detection element. Added missing dependencies in testbed setup

* Update services in extension

* Switch checkbox to bit-switch component

* Remove comment

* Remove comment

* Fix prettier vs lint spacing

* Replace deprecated active user state. Updated test cases

* Fix account-security test failing

* Update comments

* Renamed variable

* Removed obsolete message

* Remove unused variable

* Removed unused import

---------

Co-authored-by: Leslie Tilton <23057410+Banrion@users.noreply.github.com>
Co-authored-by: Graham Walker <gwalker@bitwarden.com>
Co-authored-by: Tom <144813356+ttalty@users.noreply.github.com>
2025-12-15 09:51:31 -06:00
Oscar Hinton
898c5d366a [PM-28809] Migrate last auth from LooseComponentsModule (#17650)
Migrates the last auth owned components from `LooseComponentsModule`.
2025-12-15 10:42:35 -05:00
Github Actions
d0ddf7d841 Bumped client version(s) 2025-12-15 15:28:27 +00:00
Maciej Zieniuk
1b305c3c23 [PM-26049] Auto key not stored due to vault timeout write vs read race condition for cli (#17707)
* auto key not stored due to vault timeout race condition being null for cli

* fix unit test default state

* neglected electron key service test cleanup

* bad merge - fix formatting
2025-12-15 11:36:34 +01:00
Alex Dragovich
14dd732b52 [PM-23258] changing verbiage from import data to import items (#17123)
* [PM-23258] changing verbiage from import data to import items

* [PM-23258] Removing vault and data from import and export titles, navs, and buttons

* [PM-23258] more verbiage changes

* [PM-23258] reverting unnecessary change

* [PM-23258] removing unused text from messages json files

* [PM-23258] small text changes from design

* [PM-23258] including secrets manager changes
2025-12-12 09:43:34 -08:00
adudek-bw
944d324985 [PM-27081] Fix chromium direct import for linux (#17894)
* Fix chromium direct import for linux
2025-12-12 12:38:35 -05:00
Todd Martin
27d82aaf28 feat(accounts): Add creationDate of account to AccountInfo
* Add creationDate of account to AccountInfo

* Added initialization of creationDate.

* Removed extra changes.

* Fixed tests to initialize creation date

* Added helper method to abstract account initialization in tests.

* More test updates.

* Linting

* Additional test fixes.

* Fixed spec reference

* Fixed imports

* Linting.

* Fixed browser test.

* Modified tsconfig to reference spec file.

* Fixed import.

* Removed dependency on os.  This is necessary so that the @bitwarden/common/spec lib package can be referenced in tests without node.

* Revert "Removed dependency on os.  This is necessary so that the @bitwarden/common/spec lib package can be referenced in tests without node."

This reverts commit 669f6557b6.

* Updated stories to hard-code new field.

* Removed changes to tsconfig

* Revert "Removed changes to tsconfig"

This reverts commit b7d916e8dc.
2025-12-12 10:03:31 -05:00
Jordan Aasen
2c4034ec7c update popup router cache when navigating after file upload (#17694) 2025-12-11 15:47:26 -08:00
Github Actions
9f1496b218 Bumped Desktop client to 2025.12.1 2025-12-11 21:25:36 +00:00
Dave
4576a52fd1 fix(token-service) [PM-15333]: Portable App Is Not Portable (#17781)
* feat(token-service) [PM-15333]: Update Portable secure storage resolution to use disk.

* feat(token-service) [PM-15333]: Move isWindowsPortable evaluation to preload with other platform evaluations.
2025-12-11 15:03:10 -05:00
neuronull
22e9c6a72f Re-apply desktop native debug log level debug builds and fix build workflow (#17908)
* Reapply "Desktop Native compile debug builds with debug log level (#17357)" (#17815)

This reverts commit 5386b58f23.

* Use release mode if workflow called from upstream

* fix bug in build script

* revert napi build command to not use --release

* forward caller's args to napi

* js things

* shell thangs

* use platform agnostic expansion

* Revert "use platform agnostic expansion"

This reverts commit 5ee629f822.

* powershell expansion
2025-12-11 12:44:51 -07:00
Bryan Cunningham
4c971c70c0 [CL-927] anon layout header actions slot (#17796)
* add a slot for consumers to show user actions in anon layout header

* remove commented code

* ensure logo stays top aligned

* switch to dashed naming

* fix ngif statements

* remove empty selector

* remove unnecessary containers

* use smaller logo on smaller screens

* remove commented code from extension layout

* remove dupe slot

* only take extension screenshots on small screens

* take screenshot at 380

* take large and small screenshot

* update story to use new control flow
2025-12-11 13:56:13 -05:00
neuronull
f7d2dd0cd0 Desktop use debug level file filter if developer build (#17910) 2025-12-11 11:13:22 -07:00
Brandon Treston
50dff4e032 [PM-28422] Client batching for member actions (#17805)
* add member action batching, feature flag, and implement batching for reinvite

* clean up, fix tests, remove redundant tests

* cleanup

* clean up tests

* bump cloud limit to 8k
2025-12-11 10:30:05 -05:00
Daniel James Smith
458da1adc0 [PM-29565] Delete deprecated callout component (#17895)
* Replace usages of app-callout with bit-callout

* Delete callout.component

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-12-11 14:38:33 +01:00
renovate[bot]
33d909b0bb [deps] Platform: Update Rust crate rand to v0.9.2 (#17550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-11 14:28:40 +01:00
Bernd Schoolmann
51d29f777e [PM-24353] Drop legacy pin support (#17328)
* Drop legacy pin support

* Fix cli build

* Fix browser build

* Remove pin key

* Fix comment

* Fix CI / tests

* Add migration to remove key

* Inline export key

* Extract vault export key generation

* Cleanup

* Add migrator

* Fix mv2 build
2025-12-11 13:01:09 +01:00
Bernd Schoolmann
404e07b6bd [PM-27225] Fix nothing showing when biometrics unavailable (#17209)
* Fix nothing showing when biometrics unavailable

* Cleanup

* Switch to tooltip

* Fix type error

* Fix type check

* Fix includes

* Fix types

* Fix tests

* Add missing return

* Add DesktopDisconnected to canUseBiometrics

* Apply suggestions

* Move comment

* Cleanup

* Fix typing for null value

* Add tests

* Fix QA bugs
2025-12-11 12:47:00 +01:00
Oscar Hinton
267e488390 [BEEEP] [PM-28239] Migrate generators to standalone (#17386)
* Migrate generators to use standalone and control flow

* Resolve feedback

* Add variable for account

* Fix generators
2025-12-11 12:04:15 +01:00
bmbitwarden
f5cdee3fa6 PM-28180 responsively hide deletion date column in sends table (#17652)
* PM-28180 responsively hide options in sends table

* PM-28180 resolved pr comments

* PM-28180 revert named container change

* PM-28180 resolved pr comment re naming container

* PM-28180 resolved double class issue
2025-12-10 20:03:40 -05:00
Thomas Avery
fe4895d97e [PM-28264] Consolidate and update the UI for key connector migration/confirmation (#17642)
* Consolidate the RemovePasswordComponent

* Add getting confirmation details for confirm key connector

* Add missing message
2025-12-10 15:24:20 -06:00
Alex Morask
d205580701 Only show free for 1 year for SM standalone (#17914) 2025-12-10 14:45:06 -06:00
renovate[bot]
cdeacf2a77 [deps]: Update Rust crate ashpd to v0.12.0 (#16420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-12-10 17:14:12 +00:00
renovate[bot]
7f892cf26a [deps] Autofill: Update prettier to v3.7.3 (#17853)
* [deps] Autofill: Update prettier to v3.6.2

* fix: [PM-23425] Fix prettier issues related to dependency updte

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

* [deps] Autofill: Update prettier to v3.6.2

* [deps] Autofill: Update prettier to v3.7.3

* [PM-29379] Fix prettier issues found with the updated Prettier 3.7.3

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

---------

Signed-off-by: Ben Brooks <bbrooks@bitwarden.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ben Brooks <bbrooks@bitwarden.com>
2025-12-10 10:57:36 -06:00
renovate[bot]
3c6b6eaa56 [deps] Platform: Update Rust crate anyhow to v1.0.100 (#17546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 10:51:02 -06:00
renovate[bot]
0439f60a3b [deps] Platform: Update Rust crate oo7 to v0.5.0 (#16416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 10:22:35 -06:00
Ike
0e277a411d [PM-1632] Redirect on SSO required response from connect/token (#17637)
* feat: add Identity Sso Required Response type as possible response from token endpoint.

* feat: consume sso organization identifier to redirect user

* feat: add get requiresSso to AuthResult for more ergonomic code.

* feat: sso-redirect on sso-required for CLI and Desktop

* chore: fixing type errors

* test: fix and add tests for new sso method

* docs: fix misspelling

* fix: get email from AuthResult instead of the FormGroup

* fix:claude: when email is not available for SSO login show error toast.

* fix:claude: add null safety check
2025-12-10 10:31:28 -05:00
renovate[bot]
852248d5fa [deps] Platform: Update napi to v3 (major) (#16053)
* [deps] Platform: Update napi to v3

* fix: upgrade required dependencies

* fix: deprecated syntax in package.json

* fix: TS code after napi changes

* fix: lint

* fix: floating promise

* fix: libsqlite musl compilation

* feat: remove support for musl

* fix: sorting lint

* fix: logging not working

* fix: pre-emptive fix for passkey autofill

* fix: rust lint

* fix: package-lock

* fix: linux type error

* fix: windows type error

---------

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>
2025-12-10 09:43:51 -05:00
renovate[bot]
892f5548d2 [deps] Platform: Update Rust crate bytes to v1.11.0 (#17618)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 15:14:18 +01:00
renovate[bot]
151c2d97f0 [deps]: Update Rust crate tokio to v1.48.0 (#15700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 14:13:24 +00:00
renovate[bot]
0301e9d1d7 [deps]: Update Rust crate tokio-util to v0.7.17 (#17575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-10 07:57:58 -06:00
Isaac Ivins
663ef60ae5 Feature/pm 27795 migrate send filters desktop migration (#17802)
Created a new navigation component that renders Send type filters as sidebar navigation items.
2025-12-10 10:02:30 +01:00
bmbitwarden
3e9db6b472 PM-27628 Rename Remove individual vault export policy (#17335)
* PM-27628 conditions for send and export links in left navbar

* PM-27628 resolved claude comment for pr

* PM-27628 resolved claude comment for pr

* PM-27628 reverted earlier display conditionals and changed label

* PM-27628 changed out keys as well

* PM-27628 revert description key change
2025-12-09 23:49:58 -05:00
Bernd Schoolmann
3af19ad934 [PM-28813] Implement encryption diagnostics & recovery tool (#17673)
* Implement data recovery tool

* Fix tests

* Move Sdkloadservice call and use bit action
2025-12-10 04:03:31 +01:00
Shane Melton
f161a8c454 [PM-27662] Introduce vault item transfer service (#17876)
* [PM-27662] Add revision date to policy response

* [PM-27662] Introduce vault item transfer service

* [PM-27662] Add feature flag check

* [PM-27662] Add tests

* [PM-27662] Add basic implementation to Web vault

* [PM-27662] Remove redundant for loop

* [PM-27662] Remove unnecessary distinctUntilChanged

* [PM-27662] Avoid subscribing to userMigrationInfo$ if feature flag disabled

* [PM-27662] Make UserMigrationInfo type more strict

* [PM-27662] Typo

* [PM-27662] Fix missing i18n

* [PM-27662] Fix tests

* [PM-27662] Fix tests/types related to policy changes

* [PM-27662] Use getById operator
2025-12-09 15:14:40 -08:00
SmithThe4th
6dba3ac377 [PM-27663] Create VaultItemTransferModalComponent and confirmation dialogs (#17883)
* Created item transfer dialogs

* Added empty line
2025-12-09 17:28:04 -05:00
renovate[bot]
22338632be [deps] Platform: Update Rust crate zbus to v5.12.0 (#17035)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-09 20:57:23 +00:00
renovate[bot]
717cf93cc8 [deps]: Update Rust crate cc to v1.2.49 (#17893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-09 20:53:30 +00:00