1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 13:10:17 +00:00
Commit Graph

18022 Commits

Author SHA1 Message Date
rr-bw
18f48439ca simplify changePassword(...) parameters 2025-04-15 13:51:28 -07:00
rr-bw
634b8c2ed6 update tests 2025-04-15 13:51:27 -07:00
rr-bw
2bf88c5008 add a flow to InputPasswordFlow enum, and a method to verify the flow and presence of a userId 2025-04-15 13:51:27 -07:00
rr-bw
a1d53e9840 resolve rebase discrepancies 2025-04-15 13:51:27 -07:00
rr-bw
72f8debc50 update typing 2025-04-15 13:51:27 -07:00
rr-bw
1cd3fed5cb update kdfConfig retrieval 2025-04-15 13:51:26 -07:00
rr-bw
d806ea2d31 update activeAccount retreival to happen just once 2025-04-15 13:51:26 -07:00
rr-bw
b0020c278b make userId a component property on ChangePasswordComponent, and pass userId down to child InputPasswordComponent 2025-04-15 13:51:26 -07:00
rr-bw
f3ae574f46 simplify getting activeAccount userId and
email
2025-04-15 13:51:26 -07:00
rr-bw
2a976a0db2 update typing 2025-04-15 13:51:25 -07:00
rr-bw
f9892f295e refactor rotateUserKey control and calling of setValue() 2025-04-15 13:51:25 -07:00
rr-bw
cc52fcc1e6 update newMasterKeyEncryptedUserKey creating in legacy performSubmitActions method 2025-04-15 13:51:25 -07:00
rr-bw
2e056a0f41 update @Input kdfConfig initial value 2025-04-15 13:51:25 -07:00
rr-bw
f52d5a171b update documentation, variable naming 2025-04-15 13:51:24 -07:00
rr-bw
deeced81c3 make sure passwordIsBreached is a boolean 2025-04-15 13:51:24 -07:00
rr-bw
d17c7e5a6b update inputPasswordFlow in PasswordSettingsComponent 2025-04-15 13:51:24 -07:00
rr-bw
7f00ab5847 update routing on security.component.html so the 'Master password' tab is styled correctly in UI 2025-04-15 13:51:24 -07:00
rr-bw
50d5b0cb36 update storybook docs 2025-04-15 13:51:23 -07:00
rr-bw
9802add86b add tests 2025-04-15 13:51:23 -07:00
rr-bw
a674161f33 feature flag routing 2025-04-15 13:51:23 -07:00
rr-bw
b262d11db1 remove comments 2025-04-15 13:51:23 -07:00
rr-bw
a698f4a9b4 change component name to ChangePasswordComponent 2025-04-15 13:51:23 -07:00
rr-bw
ab2e8d1deb update storybook 2025-04-15 13:51:22 -07:00
rr-bw
198aa7d9bd update changePassword(), submitOld(), DI, and variable naming 2025-04-15 13:51:22 -07:00
rr-bw
60066830a0 update InputPasswordComponent to work with currentPassword and current password related crypto properties 2025-04-15 13:51:22 -07:00
rr-bw
38e1988f3e rename to newMasterKey 2025-04-15 13:51:22 -07:00
rr-bw
6e70d0f817 add submitOld() to ChangePasswordComponent and rotateUserKeyClicked() to InputPasswordComponent 2025-04-15 13:51:22 -07:00
rr-bw
f46ea84177 update injection of ChangePasswordService 2025-04-15 13:51:21 -07:00
rr-bw
d2fd834a38 create a ChangePasswordService 2025-04-15 13:51:21 -07:00
rr-bw
0e6ad93371 update kdf param type, inputPasswordFlow on PasswordSettingsComponent 2025-04-15 13:51:21 -07:00
rr-bw
99f97a6414 add updatePassword() method 2025-04-15 13:51:21 -07:00
rr-bw
a29cafa92b add submit methods 2025-04-15 13:51:20 -07:00
rr-bw
5816628ec7 handle currentPassword evaluation 2025-04-15 13:51:20 -07:00
rr-bw
9fedf0ed56 add PasswordSettingsComponent ngOnInit 2025-04-15 13:51:20 -07:00
rr-bw
7eddf8b55a setup PasswordSettingsComponent and ChangeExistingPasswordComponent 2025-04-15 13:51:19 -07:00
Jonathan Prusik
b66430b25c [PM-19781] Lit Components icons cleanup (#14294)
* update icon shapes to match new design system icons

* add AngleUpIcon to storybook

* rename Family icon to Users to match design system naming conventions

* add Collection icon

* move illustrations to their own path/category to match design system convention

* remove hardcoded PartyHorn illustration size

* fix swapped story names

* rename PartyHorn illustration to Celebrate to match design system convention

* update Warning illustration to use new design system shape
2025-04-15 16:36:05 -04:00
Shane Melton
8258ea39b0 [PM-18903] Desktop sync issues (#13681)
* [PM-18707] Use different BroadcasterSubscriptionId in base view component to avoid collision with desktop view component

* [PM-18707] Use userId instead of payloadUserId for cipher notification syncs

* [PM-19032] Live Sync on Desktop (#13851)

* migrate the vault-items to an observables rather than async/promises

- this helps keep data in sync with the service state and avoids race conditions

* migrate the view component to an observables rather than async/promises

- this helps keep data in sync with the service state and avoids race conditions

* decrypt saved cipher from server

* bump timeout for upserting ciphers

* mark `go` as async in desktop vault

- previously it was a floating promise

* Revert "mark `go` as async in desktop vault"

This reverts commit fd28f40b18.

* Revert "bump timeout for upserting ciphers"

This reverts commit e963acc377.

* move vault utilities to `common` rather than `lib` to avoid circular dependencies

* use `perUserCache$` for `cipherViews$` to avoid new subscriptions from being created

* use userId from observable rather than locally set to be the most up to date

* [PM-18707] Add clearBuffer$ input to perUserCache$ helper so that  the internal share replay buffers can be cleared

* [PM-18707] Rework forceCipherViews$ to clearBuffer$ refactor

- Add dependency for cipherDecryptionKeys$ for the cipherViews so that decryption is never attempted without keys

* [PM-18707] Add overload to perUserCache to satisfy type checker

* [PM-18707] Fix overloads

* [PM-18707] Add check for empty failed to decrypt ciphers

* [PM-18707] Mark vault component for check after observable emits.

The cipherViews$ observable now persists between subscriptions, meaning that updates via the sync push notifications can occur outside the AngularZone causing delays in updating the view.

---------

Co-authored-by: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>
Co-authored-by: Nick Krantz <nick@livefront.com>
2025-04-15 12:17:41 -07:00
Jonathan Prusik
4cddc40828 remove inlineAutofillMenuRefreshAddEditCipher message (#13805) 2025-04-15 14:39:48 -04:00
Jonathan Prusik
e3d1ef456e [PM-14909] Add data/state for security task completion notification (#14279)
* include tasks with notification cipher data

* send security task information with update success message for notification

* mark completed cipher updates with tasks as complete

* refactor notification confirmation components and add stories

* add keyhole icon

* add conditional footer button to notification confirmation component

* add external link icon

* add external link icon to action button

* add notification confirmation footer story

* use keyhole icon if there are no additional security tasks to complete

* add new message catalog entries to chrome.i18n

* reimplement sending security task information with update success message for notification

* open tasks in extension from confirmation notification button

* update vault message key and dismiss all security tasks for a given cipher upon password update

* resolve changes against updated main branch basis

* put task fetching behind feature flag and update tests

* cleanup

* more cleanup
2025-04-15 14:37:12 -04:00
Justin Baur
f74d7e5fd5 [PM-20239] Initializing nx (#14276)
* Add .nx file to .gitignore

Co-authored-by: Addison Beck <github@addisonbeck.com>

* Add nx package

Co-authored-by: Addison Beck <github@addisonbeck.com>

* Add nx.json file

Co-authored-by: Addison Beck <github@addisonbeck.com>

* Add nx to Platform ownership

---------

Co-authored-by: Addison Beck <github@addisonbeck.com>
2025-04-15 14:17:53 -04:00
Andy Pixley
94d9487547 [BRE-777] Fixing output to match what's in gh-actions (#14292) 2025-04-15 12:31:08 -04:00
Bernd Schoolmann
b09305577f [PM-19603] Change asymmetric interface to only allow key encapsulation (#14046)
* Change asymmetric interface to only allow key encapsulation

* Fix naming

* Clean up naming

* Update libs/common/src/key-management/crypto/abstractions/encrypt.service.ts

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

* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts

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

* Update libs/common/src/key-management/crypto/abstractions/encrypt.service.ts

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

* Fix test

---------

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2025-04-15 16:39:02 +02:00
Opeyemi
9f174e7723 update mas-dev SHA-1 (#14290) 2025-04-15 13:57:37 +00:00
bw-ghapp[bot]
cb37434a16 Autosync the updated translations (#14284)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-04-15 13:40:20 +02:00
bw-ghapp[bot]
c7804c1032 Autosync the updated translations (#14283)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-04-15 13:34:13 +02:00
bw-ghapp[bot]
b5434adb42 Autosync the updated translations (#14282)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-04-15 13:32:36 +02:00
bw-ghapp[bot]
eb9812091c Autosync the updated translations (#14234)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2025-04-15 11:59:48 +02:00
Todd Martin
938e9454e1 fix(workflow): [PM-19254] Update image tag generation for builds from forked PRs
* Added fork name to tag

* Added logging.

* Added pull_request_target

* Added repository name if on fork.

* Limited characters

* Added sanitization

* Moved to env var for extra security.
2025-04-14 21:33:51 -04:00
Todd Martin
356a20a4bc fix(login): [PM-20174] Do not show validation errors on email input on LoginComponent
* Do not show validation errors on input

* Removed one-line function.

* Removed awaits
2025-04-14 15:55:01 -04:00
Thomas Avery
95ea1b22ae [PM-17987] Add feature flag (#13991)
* Add feature flag

* Add unit tests.
2025-04-14 12:47:09 -05:00