1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00
Commit Graph

18014 Commits

Author SHA1 Message Date
Bernd Schoolmann
8c6a33d7b8 [PM-16603] Implement userkey rotation v2 (#12646)
* Implement key rotation v2

* Pass through masterpassword hint

* Properly split old and new code

* Mark legacy rotation as deprecated

* Throw when data is null

* Cleanup

* Add tests

* Fix build

* Update libs/key-management/src/key.service.spec.ts

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

* Update apps/web/src/app/auth/settings/change-password.component.ts

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

* Add documentation

* Centralize loading logic

* Fix build

* Remove sharedlib from legacymigration component

---------

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-03-24 20:41:21 +01:00
Anders Åberg
8e62e0589d PM-11230: Add hybrid as passkey transport (#13536) 2025-03-24 20:17:18 +01:00
Vijay Oommen
8ed8c9af6a [PM-18685] Disable MyVault when the Person Ownership policy is true (#13930) 2025-03-24 08:33:17 -05:00
Anders Åberg
8e455007c0 PM-19095: Wire passkey autofill to UI (#13051)
* Passkey stuff

Co-authored-by: Anders Åberg <github@andersaberg.com>

* Ugly hacks

* Work On Modal State Management

* Applying modalStyles

* modal

* Improved hide/show

* fixed promise

* File name

* fix prettier

* Protecting against null API's and undefined data

* Only show fake popup to devs

* cleanup mock code

* rename minmimal-app to modal-app

* Added comment

* Added comment

* removed old comment

* Avoided changing minimum size

* Add small comment

* Rename component

* adress feedback

* Fixed uppercase file

* Fixed build

* Added codeowners

* added void

* commentary

* feat: reset setting on app start

* Moved reset to be in main / process launch

* Add comment to create window

* Added a little bit of styling

* Use Messaging service to loadUrl

* Enable passkeysautofill

* Add logging

* halfbaked

* Integration working

* And now it works without extra delay

* Clean up

* add note about messaging

* lb

* removed console.logs

* Cleanup and adress review feedback

* This hides the swift UI

* pick credential, draft

* Remove logger

* a whole lot of wiring

* not working

* Improved wiring

* Cancel after 90s

* Introduced observable

* Launching bitwarden if its not running

* Passing position from native to electron

* Rename inModalMode to modalMode

* remove tap

* revert spaces

* added back isDev

* cleaned up a bit

* Cleanup swift file

* tweaked logging

* clean up

* Update apps/desktop/macos/autofill-extension/CredentialProviderViewController.swift

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Update apps/desktop/src/platform/main/autofill/native-autofill.main.ts

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Update apps/desktop/src/platform/services/desktop-settings.service.ts

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* adress position feedback

* Update apps/desktop/macos/autofill-extension/CredentialProviderViewController.swift

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Removed extra logging

* Adjusted error logging

* Use .error to log errors

* remove dead code

* Update desktop-autofill.service.ts

* use parseCredentialId instead of guidToRawFormat

* Update apps/desktop/src/autofill/services/desktop-autofill.service.ts

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Change windowXy to a Record instead of [number,number]

* Update apps/desktop/src/autofill/services/desktop-fido2-user-interface.service.ts

Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>

* Remove unsued dep and comment

* changed timeout to be spec recommended maxium, 10 minutes, for now.

* Correctly assume UP

* Removed extra cancelRequest in deinint

* Add timeout and UV to confirmChoseCipher

UV is performed by UI, not the service

* Improved docs regarding undefined cipherId

* cleanup: UP is no longer undefined

* Run completeError if ipc messages conversion failed

* don't throw, instead return undefined

* Disabled passkey provider

* Throw error if no activeUserId was found

* removed comment

* Fixed lint

* removed unsued service

* reset entitlement formatting

* Update entitlements.mas.plist

---------

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>
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
2025-03-24 07:50:11 -04:00
Github Actions
a6e785d63c Bumped client version(s) 2025-03-24 10:49:32 +00:00
bw-ghapp[bot]
d4116c05d7 Autosync the updated translations (#13962)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-24 10:28:51 +01:00
bw-ghapp[bot]
714a3f33e4 Autosync the updated translations (#13961)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-24 10:28:16 +01:00
bw-ghapp[bot]
1c3084eef4 Autosync the updated translations (#13960)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-24 10:27:12 +01:00
Patrick-Pimentel-Bitwarden
841e5980d7 fix(device-approval-login): [PM-19379] Approve Device Login - Fix the call so that it works when not in a TDE scenario. (#13934) 2025-03-21 10:22:37 -04:00
bw-ghapp[bot]
a3d037de3c Autosync the updated translations (#13939)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-03-21 10:26:39 +00:00
bw-ghapp[bot]
266d6cc8dc Autosync the updated translations (#13938)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-21 11:14:54 +01:00
bw-ghapp[bot]
1551ab5be9 Autosync the updated translations (#13937)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-21 11:14:45 +01:00
Alec Rippberger
87847dc806 fix: check device id and creationDate for falsey values
This commit adds validation to check for falsey values in device 'id' and 'creationDate' fields in the device management component. This prevents potential issues when these string values are empty or otherwise evaluate to false.

Resolves PM-18757
2025-03-20 15:23:19 -05:00
Jeffrey Holland
79fd1b3263 PM-17187 Autofill new card information in the popout (#13688) 2025-03-20 20:54:33 +01:00
Daniel Riera
85c71351fc PM-19361 Notification bar dropdown folder component displays "No Folder" twice (#13924)
* PM-19361
- Remove default folder option
- Edit iFrame height

* revert testing change
2025-03-20 15:37:46 -04:00
Jason Ng
cf827981af [PM-19240] Do not show task unless Manage or Edit Permission (#13880)
* do not show task for edit except pw
2025-03-20 15:16:18 -04:00
Alex Rosenfeld
bd0fedc5ce [PM-18153] add support for importing some older / wonky card formats from msecure (#13328)
* add support for importing some older / wonky card formats from msecure

* slightly less fuzzy logic

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-03-20 18:53:17 +01:00
Michał Chęciński
c999c19f07 fix(workflow): add conditional checks for Docker image scanning and result upload (#13898) 2025-03-20 16:38:51 +00:00
Matt Andreko
e31ffd9b66 Update SARIF upload to use proper branch (#13917) 2025-03-20 12:29:24 -04:00
Github Actions
bef0e0f5b7 Bumped client version(s) 2025-03-20 14:58:59 +00:00
Justin Baur
23fbb56248 Switch Notifications to only connect on unlocked (#13913) 2025-03-20 10:56:30 -04:00
Daniel Riera
45d5b171b8 PM-19291 Pass relevant folder and vault data to drop down component within notification footer (#13901)
* PM-19291
- Pass relevant data into dropdown component
- Clean up some files
- Pass all data into notificationBarIframeInitData using promise all

* fix tests
2025-03-20 09:54:56 -04:00
Oscar Hinton
57c15a26eb [PM-18657] Fix clipboard tests calling console.warn (#13580)
* Fix clipboard tests calling console.warn

* Change to jest.SpyInstance
2025-03-20 11:17:46 +01:00
Oscar Hinton
92587a1dd8 [CL-611] Fix whitespaces for about dialog & emergency access (#13855) 2025-03-20 02:20:55 +01:00
Vicki League
886f85df48 [CL-605] Fix whitespace between elements (#13644) 2025-03-20 02:20:07 +01:00
Shane Melton
2c41e497f7 Add missing mocks (#13910) 2025-03-19 14:30:54 -07:00
Patrick-Pimentel-Bitwarden
2e0c991f83 fix(device-approval-persistence): [PM-9112] Device Approval Persistence (#13680)
* feat(device-approval-persistence): [PM-9112] Device Approval Persistence - Added in view cache data needed to persist the approval process. Clears after 2 minutes.
2025-03-19 19:26:10 +00:00
Jason Ng
4c4019c35f [PM]19342] Onboarding Nudges Feature Flag (#13906) 2025-03-19 14:49:03 -04:00
bw-ghapp[bot]
c9f7bb38a4 Autosync the updated translations (#13904)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-19 18:11:32 +00:00
bw-ghapp[bot]
ce5e734130 Autosync the updated translations (#13902)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-19 18:11:01 +00:00
bw-ghapp[bot]
a238b7e297 Autosync the updated translations (#13903)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-03-19 18:10:32 +00:00
Jonathan Prusik
5c27918609 [PM-18785] Build dropdown button selection components (#13692)
* create standalone option selection button component

* create option selection components

* replace dropdown-menu component with option selection in button row

* create folder and vault selection components

* add story for option-selection and update button row component

* update options selection component behaviour and styling

* add shared icon typing

* move Options to common types

* refactor option selection component to handle options better

* rework notification footer and button row components to handle expected data props

* add optional selection option menu label

* set max-height with scroll handling on option selection menu

* fix menu item spacing

* avoid displaying the dropdown menu horizontally outside of the viewport

* update dropdown menu style

* update button content spacing

* allow overriding default scrollbar colors

* update options items menu typography

* fix eslint exception

* refine some prop names
2025-03-19 10:49:15 -04:00
rr-bw
7c0af6c8fb fix(service): [Auth/PM-17648] Fix MasterPasswordApiService injection (#13886) 2025-03-18 14:41:43 -07:00
Brandon Treston
69b2972e56 [PM-19244] add missing null check, fix feature flag logic, cleanup (#13850)
* add missing null check, fix feature flag logic, cleanup

* add null check
2025-03-18 16:42:02 -04:00
Vince Grassia
17a60d0226 Update Dockerfile (#13888) 2025-03-18 20:08:41 +00:00
Justin Baur
0cb77b24f6 Update @bitwarden/sdk-internal version (#13883)
* Update `@bitwarden/sdk-internal` version

* Update package-lock file
2025-03-18 14:51:32 -04:00
renovate[bot]
ac127c1512 [deps] Vault: Update https-proxy-agent to v7.0.6 (#12301)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-18 14:23:48 -04:00
Jordan Aasen
70cfd33d96 Revert "collapse collections initially" (#13845)
This reverts commit 2e90a6af12.
2025-03-18 09:18:20 -07:00
Jordan Aasen
30057fea33 [PM-18669] - Moving item to org in desktop app does not update until sync (#13754)
* refresh vault item list after sharing cipher

* refresh list after save

* fix vault sync issue

* update autofill a11y

* Revert "update autofill a11y"

This reverts commit 1a3aa0d0f0.
2025-03-18 09:03:03 -07:00
Jordan Aasen
514e2ca664 [PM-17673] - fix loading state for vault popup items service (#13711)
* fix loading state for vault popup items service

* fix tests

* add fallback in collectPageDetailsFromTab$

* add pageDetailsTimeout to autofill service
2025-03-18 08:51:11 -07:00
Todd Martin
4537642003 chore(2fa recovery code): [PM-18175] Remove feature flag and old recovery flow 2025-03-17 16:22:25 -04:00
Daniel Riera
3f19b6a42b PM-19229 (#13848) 2025-03-17 15:54:45 -04:00
Addison Beck
e8c4c570e9 fix: save indication of browser installation to storage (#13743) 2025-03-17 14:23:40 -04:00
Jordan Aasen
8b4fab9737 [PM-13930] - add cancel button to multiple screens (#13705)
* add cancel button to multiple screens

* revert changes to view-v2

* remove unnecessary props

* add cancel button to blocked domains
2025-03-17 13:30:59 -04:00
Thomas Avery
a11536a424 [PM-17668] Move DeviceTrustService to KM ownership (#13194)
* move DeviceTrustService to KM ownership

* update codecov
2025-03-17 12:02:44 -05:00
Brandon Treston
41e1d4e7bf fix showEdit bug (#13853) 2025-03-17 12:02:09 -04:00
Nick Krantz
55741984a7 open install extension in new tab (#13775) 2025-03-17 10:23:00 -05:00
Nick Krantz
14c6d97fd1 move windowMessageHandlers above event listeners to account for safari bug (#13773) 2025-03-17 10:20:00 -05:00
Jordan Aasen
fdcb6ff7a2 remove bulk share dialog components and related modules and i18n keys (#13815) 2025-03-14 15:37:44 -07:00
Jordan Aasen
53a032ca65 [PM-17520][PM-17521][PM-17523][PM-17524][PM-17525] - migrate css classes (#13811)
* migrate css classes

* remove bulk share dialog components and related modules and i18n keys

* Revert "remove bulk share dialog components and related modules and i18n keys"

This reverts commit 40060b6011.
2025-03-14 15:36:55 -07:00