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

1665 Commits

Author SHA1 Message Date
Bernd Schoolmann
204f911b01 Fix cargo toml 2025-09-04 21:57:38 +02:00
Bernd Schoolmann
950a2fa7bc Fix cargo toml 2025-09-04 21:56:03 +02:00
Bernd Schoolmann
f7d466d3f9 Fix merge conflict 2025-09-04 21:53:47 +02:00
Bernd Schoolmann
690c4701cc Fix linting 2025-09-04 21:48:08 +02:00
Bernd Schoolmann
ea1c3252e8 [BEEEP | PM-25358] Add process isolation on windows and mac desktop main process (#16156)
* Prevent memory dumping and debugger on windows and mac main process

* Fix clippy

* Only isolate process when isdev is false

* Clean up

* Add backticks around link
2025-09-04 21:40:25 +02:00
Bernd Schoolmann
ad5159b4cd Fix tests 2025-09-04 21:37:35 +02:00
Bernd Schoolmann
6257efa3fb Feature flag ui changes 2025-09-04 21:23:09 +02:00
Bernd Schoolmann
1ae7c30047 Add feature flag and re-add old impl 2025-09-04 21:05:49 +02:00
Bernd Schoolmann
7c99870ec9 Merge branch 'main' into km/poc-windows-hello-2 2025-09-04 18:37:22 +02:00
Colton Hurst
896f54696b [PM-24158] Add Premium Check (#16042)
* [PM-24158] Add initial premium check

* [PM-24158] Add premium membership dialog fix

* [PM-24158] Small updates

* [PM-24158] Set hasPremium to false upon initialization

* [PM-24158] Partial update to settings component tests

* [PM-24158] Fix billing mocked return value and add mac OS autotype test

* [PM-24158] Add missing premium checks

* [PM-24158] Update provider

* [PM-24158] Renamed autotype resolved value

* [PM-24158] Update missed resolvedAutotypeEnabled refactor

* [PM-24158] Fix tests
2025-09-04 12:33:39 -04:00
Bernd Schoolmann
10a5eba05f Remove limitation on ssh agent + collections (#15441) 2025-09-04 18:05:18 +02:00
Daniel James Smith
66f5700a75 [PM-24748][PM-24072] Chromium importer (#16100)
* Add importer dummy lib, add cargo deps for win/mac

* Add Chromium importer source from bitwarden/password-access

* Mod crypto is no more

* Expose some Chromium importer functions via NAPI, replace home with home_dir crate

* Add Chromium importer to the main <-> renderer IPC, export all functions from Rust

* Add password and notes fields to the imported logins

* Fix windows to use homedir instead of home

* Return success/failure results

* Import from account logins and join

* Linux v10 support

* Use mod util on Windows

* Use mod util on macOS

* Refactor to move shared code into chromium.rs

* Fix windows

* Fix Linux as well

* Linux v11 support for Chrome/Gnome, everything is async now

* Support multiple browsers on Linux v11

* Move oo7 to Linux

* Fix Windows

* Fix macOS

* Add support for Brave browser in Linux configuration

* Add support for Opera browser in Linux configuration

* Fix Edge and add Arc on macOS

* Add Opera on macOS

* Add support for Vivaldi browser in macOS configuration

* Add support for Chromium browser in macOS configuration

* Fix Edge on Windows

* Add Opera on Windows

* Add Vivaldi on windows

* Add Chromium to supported browsers on Windows

* stub out UI options for chromium direct import

* call IPC funcs from import-desktop

* add notes to chrome csv importer

* remove (csv) from import tool names and format item names as hostnames

* Add ABE/v20 encryption support

* ABE/v20 architecture description

* Add a build step to produce admin.exe and service.exe

* Add Windows v20/ABE configuration functionality to specify the full path to the admin.exe and service.exe. Use ipc.platform.chromiumImporter.configureWindowsCryptoService to configure the Chromium importer on Windows.

* rename ARCHITECTURE.md to README.md

* aligns with guidance from architecture re: in-repository documentation.
* also fixes a failing lint.

* cargo fmt

* cargo clippy fix

* Declare feature flag for using chromium importer

* Linter fix after executing npm run prettier

* Use feature flag to guard the use of the chromium importer

* Added temporary logging to further debug, why the Angular change detection isn't working as expected

* introduce importer metadata; host metadata from service; includes tests

* fix cli build

* Register autotype module in lib.rs
introduce by a bad merge

* Fix web build

* Fix issue with loaders being undefined and the feature flag turned off

* Add missing Chromium support when selecting chromecsv

* debugging

* remove chromium support from chromecsv metadata

* fix default loader selection

* [PM-24753] cargo lib file (#16090)

* Add new modules

* Fix chromium importer

* Fix compile bugs for toolchain

* remove importer folder

* remove IPC code

* undo setting change

* clippy fixes

* cargo fmt

* clippy fixes

* clippy fixes

* clippy fixes

* clippy fixes

* lint fix

* fix release build

* Add files in CODEOWNERS

* Create tools owned preload.ts

* Move chromium-importer.service under tools-ownership

* Fix typeError
When accessing the Chromium direct import options the file button is hidden, so trying to access it's values will fail

* Fix tools owned preload

* Remove dead code and redundant truncation

* Remove configureWindowsCryptoService function/methods

* Clean up cargo files

* Fix unused async

* Update apps/desktop/desktop_native/bitwarden_chromium_importer/Cargo.toml

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>

* Fix napi deps

* fix lints

* format

* fix linux lint

* fix windows lints

* format

* fix missing `?`

* fix a different missing `?`

---------

Co-authored-by: Dmitry Yakimenko <detunized@gmail.com>
Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by:  Audrey  <ajensen@bitwarden.com>
Co-authored-by:  Audrey  <audrey@audreyality.com>
Co-authored-by: adudek-bw <adudek@bitwarden.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2025-09-04 11:21:57 +02:00
Maciej Zieniuk
3a62e9c2f1 [PM-21772] Show key connector domain for new sso users (#15381)
* Passed in userId on RemovePasswordComponent.

* Added userId on other references to KeyConnectorService methods

* remove password component refactor, test coverage, enabled strict

* explicit user id provided to key connector service

* redirect to / instead when user not logged in or not managing organization

* key connector service explicit user id

* key connector service no longer requires account service

* key connector service missing null type

* cli convert to key connector unit tests

* remove unnecessary SyncService

* error toast not showing on ErrorResponse

* bad import due to merge conflict

* bad import due to merge conflict

* missing loading in remove password component for browser extension

* error handling in remove password component

* organization observable race condition in key-connector

* usesKeyConnector always returns boolean

* unit test coverage

* key connector reactive

* reactive key connector service

* introducing convertAccountRequired$

* cli build fix

* moving message sending side effect to sync

* key connector service unit tests

* fix unit tests

* move key connector components to KM team ownership

* new unit tests in wrong place

* key connector domain shown in remove password component

* type safety improvements

* convert to key connector command localization

* key connector domain in convert to key connector command

* convert to key connector command unit tests with prompt assert

* organization name placement change in the remove password component

* unit test update

* show key connector domain for new sso users

* confirm key connector domain page does not require auth guard

* confirm key connector domain page showing correctly

* key connector url required to be provided when migrating user

* missing locales

* desktop styling

* have to sync and navigate to vault after key connector keys exchange

* logging verbosity

* splitting the web client

* splitting the browser client

* cleanup

* splitting the desktop client

* cleanup

* cleanup

* not necessary if condition

* key connector domain tests fix for sso componrnt and login strategy

* confirm key connector domain base component unit tests coverage

* confirm key connector domain command for cli

* confirm key connector domain command for cli unit tests

* design adjustments

removed repeated text, vertical buttons on desktop, wrong paddings on browser extension

* key connector service unit test coverage

* new linting rules fixes

* accept invitation to organization called twice results in error.

Web vault remembers it's original route destination, which we do not want in case of accepting invitation and Key Connector, since provisioning new user through SSO and Key Connector, the user is already accepted.

* moved required key connector domain confirmation into state

* revert redirect from auth guard

* cleanup

* sso-login.strategy unit test failing

* two-factor-auth.component unit test failing

* two-factor-auth.component unit test coverage

* cli unit test failing

* removal of redundant logs

* removal of un-necessary new lines

* consolidated component

* consolidated component css cleanup

* use KdfConfig type

* consolidate KDF into KdfConfig type in identity token response

* moving KC requiresDomainConfirmation lower in order, after successful auth

* simplification of trySetUserKeyWithMasterKey

* redirect to confirm key connector route when locked but can't unlock yet

---------

Co-authored-by: Todd Martin <tmartin@bitwarden.com>
2025-09-03 21:16:40 +02: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
Bernd Schoolmann
45d0e90607 Disallow biometric key over IPC (#16161) 2025-09-02 13:09:03 +02:00
Bernd Schoolmann
258ba516c9 Invert setting 2025-09-01 17:59:10 +02:00
Bernd Schoolmann
b4ef2792dc Merge branch 'main' into km/poc-windows-hello-2 2025-09-01 14:37:00 +02:00
bw-ghapp[bot]
a50a17005e Autosync the updated translations (#16244)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-09-01 11:37:11 +00:00
bw-ghapp[bot]
215107e141 Autosync the updated translations (#16237)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-09-01 12:39:46 +02:00
Bernd Schoolmann
82503838ae Merge branch 'main' into km/poc-windows-hello-2 2025-08-29 20:01:32 +02:00
Bernd Schoolmann
6181b6b7e2 Fix imports 2025-08-29 19:53:49 +02:00
Bernd Schoolmann
31562763ec Merge branch 'km/poc-windows-hello-2' of https://github.com/bitwarden/clients into km/poc-windows-hello-2 2025-08-29 19:09:53 +02:00
Bernd Schoolmann
6aa73baa05 Replace magic numbers 2025-08-29 19:09:36 +02: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
Bernd Schoolmann
3dcf9badc9 Add test 2025-08-29 17:17:14 +02:00
Bernd Schoolmann
a4472bae47 Apply prettier 2025-08-29 17:10:49 +02:00
Bernd Schoolmann
7502ff2462 Merge branch 'km/poc-windows-hello-2' of github.com:bitwarden/clients into km/poc-windows-hello-2 2025-08-29 15:50:16 +02:00
Bernd Schoolmann
5642bcf13f Add tests 2025-08-29 15:49:44 +02:00
Bernd Schoolmann
e3e21b94b4 Cargo fmt 2025-08-29 15:29:50 +02:00
Bernd Schoolmann
22a8f12f38 Fix clippy issues 2025-08-29 15:29:35 +02:00
Bernd Schoolmann
82efdee1b3 Run cargo fmt 2025-08-29 15:21:08 +02:00
Bernd Schoolmann
e53665bc69 Sort deps 2025-08-29 15:08:36 +02:00
Bernd Schoolmann
aed64a15d2 Merge main 2025-08-29 15:06:37 +02:00
Bernd Schoolmann
f4d1c33f5a Fix cargo toml 2025-08-29 14:55:11 +02:00
Bernd Schoolmann
9f51f85b10 Clean up linux implementation 2025-08-29 14:52:17 +02:00
Thomas Rittson
381adf9305 Move max-old-space-size to .npmrc (#16192)
* Move max-old-space-size to .npmrc

* Remove redundant environment variables

* Add comment
2025-08-29 14:49:28 +02:00
Bernd Schoolmann
418f924abe Cleanup 2025-08-29 14:39:39 +02:00
Bernd Schoolmann
1ee71f1aa1 Update tests 2025-08-29 14:33:22 +02:00
Bernd Schoolmann
fb04da5cd7 Add tests for DPAPI 2025-08-29 14:31:59 +02:00
Oscar Hinton
97ee61db00 Configure clippy (#16194)
Apply the same clippy configuration as we have in sdk-internal. bitwarden/sdk-internal@49f84e6/Cargo.toml#L91-L94

Adds FIXME comments to all existing violations. unwrap is bad as those will resullt in panics and crash the application. Unused async is ignored in napi since that would require changes to the js side which I don't want to deal with.
2025-08-29 08:27:50 -04:00
Bernd Schoolmann
d7bf6a2eb8 Cargo fmt 2025-08-29 14:26:42 +02:00
Bernd Schoolmann
e8b09b849c Merge branch 'km/poc-windows-hello-2' of https://github.com/bitwarden/clients into km/poc-windows-hello-2 2025-08-29 14:24:43 +02:00
Bernd Schoolmann
99df506d23 Cleanup and add docs 2025-08-29 14:24:26 +02:00
Bernd Schoolmann
c29c236471 Merge branch 'km/poc-windows-hello-2' of github.com:bitwarden/clients into km/poc-windows-hello-2 2025-08-29 14:06:33 +02:00
Bernd Schoolmann
10f8663682 Fix tests 2025-08-29 14:06:10 +02:00
Bernd Schoolmann
fb2e9b2039 Fix tests 2025-08-29 14:01:26 +02:00
Bernd Schoolmann
9e1a683c44 Fix test 2025-08-29 13:58:22 +02:00
Bernd Schoolmann
14229a2a4e Add tests and clean up 2025-08-29 13:55:08 +02:00
bw-ghapp[bot]
2b2912b1be Autosync the updated translations (#16207)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-08-29 11:16:03 +00:00
Bernd Schoolmann
602b5a01e4 Run cargo fmt 2025-08-29 13:10:03 +02:00