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

1391 Commits

Author SHA1 Message Date
Jeffrey Holland
e1efb6ecae Update userHandle value 2025-03-20 14:18:45 +01:00
Jeffrey Holland
d858823192 Followup to fix merge issues and other comments 2025-03-20 12:22:04 +01:00
Jeffrey Holland
6c31687c55 Fix linting issues 2025-03-19 21:34:53 +01:00
Jeffrey Holland
a5d30d7755 Fix being unable to select a passkey 2025-03-19 16:29:18 +01:00
Jeffrey Holland
66c6239634 Update route names to use fido2 2025-03-19 16:07:48 +01:00
Jeffrey Holland
a6b5845d65 Fix import issues 2025-03-13 20:22:20 +01:00
Jeffrey Holland
134b1b3830 Fix build issues 2025-03-13 17:02:55 +01:00
Jeffrey Holland
9e986df9a3 Merge remote-tracking branch 'origin/passkey-window-working' into autofill/PM-9034-implement-passkey-for-unlocked-accounts 2025-03-13 13:31:03 +01:00
Anders Åberg
5ccf89c57f Update entitlements.mas.plist 2025-03-12 17:46:58 +01:00
Anders Åberg
ecb4790ced reset entitlement formatting 2025-03-12 13:05:02 +01:00
Anders Åberg
32e244f908 removed unsued service 2025-03-11 14:56:22 +01:00
Anders Åberg
2453eaeaf8 Fixed lint 2025-03-11 14:15:13 +01:00
Anders Åberg
8a575f49ce Merge branch 'main' into passkey-window-working 2025-03-11 09:25:32 +01:00
Anders Åberg
7e6f2fa798 Enable Basic Desktop Modal Support (#11484)
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
2025-03-11 09:03:28 +01:00
rr-bw
0568a09212 refactor(device-trust-toasts): [Auth/PM-11225] Refactor Toasts from Auth Services (#13665)
Refactor toast calls out of auth services. Toasts are now triggered by an observable emission that gets picked up by an observable pipeline in a new `DeviceTrustToastService` (libs/angular). That observable pipeline is then subscribed by by consuming the `AppComponent` for each client.
2025-03-10 12:17:46 -07:00
rr-bw
d943f53477 refactor(routing): [Auth/PM-18783] Remove Unauth UI route swapping for all components except 2FA (#13645)
Removes `unauthUiRefreshSwap()` from all routing modules for all refreshed components except for 2FA. This does not remove the legacy components themselves, just the routing to them.

---------

Co-authored-by: Todd Martin <tmartin@bitwarden.com>
2025-03-10 11:12:02 -07:00
Bernd Schoolmann
01f6fd7ee3 [PM-16227] Move import to sdk and enable it in browser/web (#12479)
* Move import to sdk and enable it in browser/web

* Add uncomitted files

* Update package lock

* Fix prettier formatting

* Fix build

* Rewrite import logic

* Update ssh import logic for cipher form component

* Fix build on browser

* Break early in retry logic

* Fix build

* Fix build

* Fix build errors

* Update paste icons and throw error on wrong import

* Fix tests

* Fix build for cli

* Undo change to jest config

* Undo change to feature flag enum

* Remove unneeded lifetime

* Fix browser build

* Refactor control flow

* Fix i18n key and improve import behavior

* Remove for loop limit

* Clean up tests

* Remove unused code

* Update libs/vault/src/cipher-form/components/sshkey-section/sshkey-section.component.ts

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>

* Move import logic to service and add tests

* Fix linting

* Remove erroneous includes

* Attempt to fix storybook

* Fix storybook, explicitly implement ssh-import-prompt service abstraction

* Fix eslint

* Update libs/importer/src/importers/bitwarden/bitwarden-json-importer.ts

Co-authored-by:  Audrey  <ajensen@bitwarden.com>

* Fix services module

* Remove ssh import sdk init code

* Add tests for errors

* Fix import

* Fix import

* Fix pkcs8 encrypted key not parsing

* Fix import button showing on web

---------

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
Co-authored-by:  Audrey  <ajensen@bitwarden.com>
2025-03-10 18:41:47 +01:00
Oscar Hinton
a569dd9ad6 [PM-15892] [PM-12250]Remove nord and remnants from solarizedark (#13449)
* Remove nord and remnants from solarizedark

* Update window reload color

* Remove extension-refresh feature flag from clients (#13450)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>

* Remove usage of nord and solarized themes within DarkImageDirective

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-03-10 15:33:55 +01:00
Thomas Rittson
ef72f513b1 eslint: report unused disable directives (#13463)
Remove any unused disable directives and FIXMEs in our code
2025-03-10 09:33:08 -04:00
Addison Beck
0b38cf27d0 chore: bump client versions (#13761) 2025-03-10 08:51:44 -04:00
bw-ghapp[bot]
62255502a8 Autosync the updated translations (#13758)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-10 08:51:16 -04:00
Ike
c739a884b4 [PM-15015] Adding Request Country Name to auth requests approval dialog (#13718)
* feat(pm-15015) : 
  - Adding `requestCountryName` to auth requests dialogs, and response models. 
  - Updated i18n messages.json in Web, Browser, and Desktop to include "Location" translation.
2025-03-07 18:03:13 -05:00
bw-ghapp[bot]
f566f0cb16 Autosync the updated translations (#13728)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-07 08:24:07 +01:00
✨ Audrey ✨
dcf15b496b [PM-17590] fix chrome translation bug by escaping $ (#13103)
replaces translation with hard-coded text for cross-platform compatibility
2025-03-06 20:13:04 +00:00
Anders Åberg
2a061c4c28 removed comment 2025-03-06 20:53:41 +01:00
Anders Åberg
5d6abb40be Throw error if no activeUserId was found 2025-03-06 20:51:46 +01:00
SmithThe4th
e327816bc4 [PM-11941] Migrate TOTP Generator to use SDK (#12987)
* Refactored totp service to use sdk

Fixed strict typescript issues

* Fixed dependency issues

* Returned object that contains code and period, removed get interval function

* removed dependencies

* Updated to use refactored totp service

* removed sdk service undefined check

* removed undefined as an input from the getCode function

* Made getcode$ an observable

* refactored to use getcodee$

* Filter out emmissions

* updated sdk version

* Fixed readability nit

* log error on overlay if totp response does not return a code

* fix(totpGeneration): [PM-11941] Totp countdown not working on clients

* Used optional chaining if totpresponse returns null or undefined
2025-03-06 14:01:07 -05:00
Jason Ng
f65daf7284 [PM-12045] search service activeuserstate (#13035)
* removing activeuserstate from search service
2025-03-06 12:26:24 -05:00
Anders Åberg
02348f4fa2 Disabled passkey provider 2025-03-06 17:57:51 +01:00
Anders Åberg
2e6656a683 don't throw, instead return undefined 2025-03-06 17:20:26 +01:00
Todd Martin
18a5844c3e Updated desktop to 2025.2.1 (#13683) 2025-03-04 15:16:30 -05:00
Jared Snider
17393050b5 fix(NewUIExtensionTitleTranslation): [Auth/PM-18710] Fix extension having incorrect verifyIdentity (#13667) 2025-03-04 13:30:46 -05:00
Colton Hurst
3bd60786b1 Move SSH Agent Files to Autofill Ownership (#13473)
* Move SSH agent files to Autofill ownership

* Fix ssh-agent.service.ts imports
2025-03-04 12:31:36 -05:00
Jason Ng
f7642aa0c6 [PM-14423] item view security task (#13485)
* show pending change password tasks for ciphers in extension
2025-03-04 12:18:40 -05:00
Anders Åberg
f15f5c6e16 Run completeError if ipc messages conversion failed 2025-03-04 14:20:27 +01:00
Anders Åberg
7952a2d28b cleanup: UP is no longer undefined 2025-03-04 12:44:18 +01:00
Anders Åberg
133c68bbab Add timeout and UV to confirmChoseCipher
UV is performed by UI, not the service
2025-03-04 12:40:30 +01:00
Anders Åberg
acdc6b131a Removed extra cancelRequest in deinint 2025-03-04 12:12:32 +01:00
Anders Åberg
35c3fe5685 Correctly assume UP 2025-03-04 11:52:52 +01:00
Anders Åberg
d999c31f42 changed timeout to be spec recommended maxium, 10 minutes, for now. 2025-03-04 11:45:24 +01:00
Jordan Aasen
13213585b2 [PM-17820] - Browser/Web - update button and label state in username generator (#13189)
* add event handling for username generator

* fix specs. change function name to not be of an event type

* update specs

* rename function

* revert name change

* fix spec

* bubble algorithmSelected up to generator components. add disabled button tests

* add typeSelected event

* revert addition of onType.

* apply same logic in onAlgorithmSelected to web and desktop
2025-03-03 11:44:34 -08:00
Zihad
0c61a44d33 [PM-18413] Fix SSH agent initial prompt issues (#13468)
* fix: set `needs_unlock` default value to true on unix

closes #13323

* fix: ssh prompt not appearing right after unlocking vault

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
2025-03-03 14:05:18 -05:00
Jared Snider
92f027af5e fix(LoginComp + LoginStrategies): [Auth/PM-18654] Refreshed UI - Desktop TDE JIT provisioned user creation errors with missing org SSO id (#13619)
* PM-18654 - State Service & Login Strategy Refactor - move env seeding into login strategy so that new accounts always load w/ the correct environment

* PM-18654 - SSO Comp - just use user id from auth result

* PM-18654 - Config Service - (1) don't allow cascading calls to the renewConfig by using a private promise (2) Replace shareReplay with share configured with manual timer

* PM-18654 - LoginComponents - detail issue and possible fix

* PM-18654 - DesktopLoginV1Comp - use correct destroy hook

* PM-18654 - LoginComp - clean up no longer correct comment

* PM-18654 - New Device Verification Component - Remove unused PasswordLoginStrategy dependency

* PM-18654 - Browser Home Component - fix qParam logic

* PM-18654 - DefaultConfigService - revert changes as they aren't necessary to fix the bug.

* PM-18654 - DefaultConfigService - remove commented code

* PM-18654 - LoginStrategy - add comment

* PM-18654 - Fix login strat tests
2025-03-03 12:09:35 -05:00
Jake Fink
43f5423e78 [PM-12606] Move Vault Timeout and Vault Timeout Settings to KM (#13405)
* move vault timeout and vault timeout settings to km

* move browser vault timeout service to km

* fix cli import

* fix imports

* fix some relative imports

* use relative imports within common

* fix imports

* fix new imports

* Fix new imports

* fix spec imports
2025-02-28 09:55:03 -05:00
Maciej Zieniuk
c80019e919 [PM-18680] biometric's no client key half provided for user (#13609)
* biometric's no client key half provided for user

Biometric's client key half can be optional (null) when the password is not required on start of the application

* improved unit test coverage

* ipc setClientKeyHalf can be null
2025-02-28 14:05:16 +01:00
Anders Åberg
edb9bfda2c Remove unsued dep and comment 2025-02-28 11:24:37 +01:00
Anders Åberg
64cec6cacb Update apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
2025-02-28 11:06:41 +01:00
bw-ghapp[bot]
90d66b93b1 Autosync the updated translations (#13621)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-02-28 10:31:23 +01:00
Anders Åberg
90a4b9a49c Merge branch 'passkey-window-working' of https://github.com/bitwarden/clients into passkey-window-working 2025-02-28 10:11:28 +01:00
Anders Åberg
c02f81eb5a Change windowXy to a Record instead of [number,number] 2025-02-28 10:11:16 +01:00