1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 03:33:30 +00:00
Commit Graph

3350 Commits

Author SHA1 Message Date
rr-bw
e418a623b5 [PM-27086] rename flag variable name for clarity 2026-01-16 11:20:35 -08:00
rr-bw
e592912711 [PM-27086] Update flag branching in SetInitialPasswordComponent 2026-01-16 11:20:35 -08:00
rr-bw
5689d1ca6b [PM-27086] Changing direction: rename 'Old' methods back to original name 2026-01-16 11:20:35 -08:00
rr-bw
bfbaa2d6f0 [PM-27086] Changing direction: remove new methods 2026-01-16 11:20:34 -08:00
rr-bw
acc6117990 [PM-27086] re-add properties missed in rebase 2026-01-16 11:20:34 -08:00
rr-bw
881a5156bc [PM-27086] minor refactoring & comment update 2026-01-16 11:20:34 -08:00
rr-bw
55b0f0c773 [PM-27086] refactor addition of optional currentPassword and rotateUserKey properties to only happen in certain flows 2026-01-16 11:20:34 -08:00
rr-bw
6c0a11c940 [PM-27086] update comments 2026-01-16 11:20:34 -08:00
rr-bw
6b56ed7c32 [PM-27086] cleanup unnecessary curly braces and property 2026-01-16 11:20:33 -08:00
rr-bw
b30a2d0fbe [PM-27086] more test updates 2026-01-16 11:20:33 -08:00
rr-bw
0ff3f217c8 [PM-27086] duplicate and then modify tests for new setInitialPassword() version 2026-01-16 11:20:33 -08:00
rr-bw
f80df63acc [PM-27086] add deprecated tag 2026-01-16 11:20:33 -08:00
rr-bw
dfb01316f2 [PM-27086] update method names in test files 2026-01-16 11:20:32 -08:00
rr-bw
2e4c582792 [PM-27086] rename new methods 2026-01-16 11:20:32 -08:00
rr-bw
194d433f8c [PM-27086] rename old methods 2026-01-16 11:20:32 -08:00
rr-bw
2dd1ed2b86 [PM-27086] refactor flag logic to only check flag value in one location 2026-01-16 11:20:32 -08:00
rr-bw
ad366e77e3 [PM-27086] add SetInitialPasswordCredentialsV2 2026-01-16 11:20:31 -08:00
rr-bw
10a6b2228e [PM-27086] update storybook MDX 2026-01-16 11:20:31 -08:00
rr-bw
48ae5e7ff1 [PM-27086] add ConfigService to stories 2026-01-16 11:20:30 -08:00
rr-bw
1ade3a5db5 [PM-27086] re-add setKdfConfig and setUserKey 2026-01-16 11:20:30 -08:00
rr-bw
75d16df6af [PM-27086] create setInitialPasswordV2() 2026-01-16 11:20:29 -08:00
rr-bw
8005cfe510 [PM-27086] add flagged logic to InputPasswordComponent.submit() 2026-01-16 11:20:29 -08:00
rr-bw
4e5188bab2 add feature flag 2026-01-16 11:20:29 -08:00
bmbitwarden
07a5b4772c PM-21800 calling copyToClipboard function from PlatformUtilsService in order to trim copied string (#17510)
* PM-21800 applied tw-whitespace-break-spaces in order to manage contents of clipboard

* PM-21800 implemented host listener to decorate clipboard value

* PM-21800 revert earlier tailwind change

* PM21800 resolved pr comment re shared clipboard function

* chore: rerun UI tests

* PM-21800 resolved failling chromatic tests

* PM-21800 resolved failing chromatic tests

* PM-21800 reverted from shared clipboard component

* PM-21800 resolved clipboard issue

* PM-21800 resolved clipboard issue

* PM-21800 resolved pr comment

* PM-21800 reverted storybook change

* PM-21800 removed css tailwind way to restrict clipboard copied text

* PM-21800 refactored hostlistener in color password component

* PM-21800 resolved pr comment to replace class with data attribute
2026-01-16 11:38:28 -05:00
Vicki League
12516ceeea [PM-24178] Handle dialog focus when launched from a menu item (#18208) 2026-01-16 09:36:00 -05:00
Bernd Schoolmann
d410706b45 [PM-30846] Fix incorrect log for private key regen in data recovery tool (#18356)
* Fix no log

* Fix prettier
2026-01-16 10:24:57 +01:00
Mike Amirault
9f74178928 [PM-21774] Adjust icon and tooltip for protected Sends on the Sends l… (#18293)
* [PM-21774] Adjust icon and tooltip for protected Sends on the Sends list page

* [PM-21774] Update Sent table UI stories

* [PM-21774] Fix Send table UI story
2026-01-15 14:19:43 -05:00
Leslie Tilton
417dfdd305 [PM-30319][PM-30685] Separate and compress phishing data storage (#18337)
* Add logs for debugging in phishing-detection-settings.service

* Update phishing data service to separate web addresses from meta data for performant writes. Store compressed string instead of array

* Cleanup

* Updated test cases

* Cleanup comments

* Fix fallback encoding/decoding mismatch

* Fix type checking
2026-01-15 12:36:03 -06:00
Leslie Xiong
44bdaf71b3 Desktop/pm 18769/migrate vault filters (#17919)
Migrated vault filters to new v3 vault's navigation

* Decoupled existing vault filtering from vault component by using routed params with routed-vault-filter-bridge
* Converted vault filters to standalone components
* Removed extending filter Base Components from deprecated /libs/angular library and handled logic directly
* Moved shared 'models' and 'services' directories from web-vault into /libs/vault
2026-01-15 16:17:00 +01:00
Jordan Aasen
2cec30e533 fix attachment dl icon alignment in web and desktop (#18349) 2026-01-14 17:19:09 -08:00
Mike Amirault
952ee02376 [PM-30687] Remove Desktop Send UI refresh feature flag (#18359) 2026-01-14 15:33:07 -05:00
Bernd Schoolmann
aec049aa84 [PM-30633] Add setLegacyMasterKeyFromUnlockData (#18316)
* Add setMasterKeyFromunlockData

* Rename method

* Add comment

* Add tests

* Fix build

* Fix linting

* Add set local master key hash

* Add tests

* Cleanup

* Move function

* Prettier

* Fix tests

* Eslint

* Fix tests
2026-01-14 12:06:13 -06:00
SmithThe4th
f018ce36a1 Revert "[PM-28455] Fix vault breaking when collection name decryption fails (…" (#18343)
This reverts commit 20974f8195.
2026-01-13 19:38:56 +00:00
SmithThe4th
20974f8195 [PM-28455] Fix vault breaking when collection name decryption fails (#18331)
* Set error cannot decrypt when collection name cannot be decrypted

* Put back previous comment
2026-01-13 12:38:28 -05:00
olfek
67f6f82842 [PM-30443][FIX] Pass more inclusive user verification Boolean to setAbortTimeout (#15027)
* [FIX] Pass more inclusive user verification Boolean to `setAbortTimeout`

* Update `setAbortTimeout` user verification parameter type

* Fix lint issue

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-01-13 11:01:05 -06:00
Daniel Riera
5ee702093c make types optional to mitigate the design inconsistency (#18072) 2026-01-13 10:14:17 -05:00
renovate[bot]
622df1deaf [deps] Platform: Update electron-store to v11 (#16846)
* [deps] Platform: Update electron-store to v11

* wip-fix: all imports failing due to nodenext switch

* fix: desktop tsconfig not working properly

Renderer tsConfigPath was wrong so it defaulted to the base `tsconfig.json` which
included every single sourcefile into the angular artifact. This caused errors
with ESM modules which behave differently on node and needed a separate `tsconfig.json`
configuration.

* fix: revert some of the changes made to tools code

* fix: ESM import in tests

* chore: use consistent path

* feat: actually use custom tsconfig for preload

* fix: use correct entry point in tsconfig.main.json

---------

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>
2026-01-13 08:04:40 -07:00
Bryan Cunningham
067bfa698d [CL-822] fix popover initial position (#18107)
* ensure trigger is fully rendered before placement

* do not skip popover screenshots

* try to stabalize popover screenshots

* try to stabalize popover screenshots

* add play function to remaining stories

* add screenshot diff threshold

* increase diff threshold

* revert story changes

* add comment about double requestAnimationFrame

* empty commit to trigger claude review

* address Claude feedback. Move init and cleanup

* add comment about rafIds are assigned

* add destroyed flag to prevent any potential race conditions

* use different rafIds for explicit cleanup

* check for ref to prevent duplicate creation

* prevent clicks during destroy lifecycle

* add spec for popover trigger directive

* ensure popover closes if clicked during initial delay
2026-01-12 17:04:46 -05:00
bmbitwarden
27d43c500f PM-28183 implemented new sends filter and search design (#17901)
* PM-28183 implemented new sends filter and search design

* PM-28183 resolved table issue fallout from merge conflict

* PM-28183 resolved browser paste url issue

* PM-28183 put new feature behind feature flag

* PM-28183 resolved feature flag

* PM-28183 resolved type-safe approach pr comment

* PM-28183 resolved DesktopSendUIRefresh feature flag is enabled. pr comment

* PM-28183 restored SendUIRefresh

* PM-28183 resolved query parameter subscription pr comment

* PM-28183 resolved pr comment re enum like objects

* PM-28183 resolved remove enum like objects  pr comment

* PM-28183 resolved pr comment re defining filteredSends member variable

* PM-28183 resolved pr comment re Code Duplication in syncCompleted Handler

* PM-28183 resolved pr comment re Floating Promise

* PM-28183 restored feature flag

* PM-28183 resolved pr comment re Dual Binding Pattern

* PM28183 resolved options cell button pr comment

* PM 28183 resolved pr comment re Incorrect CSS Class - Breaking Layout

* PM 28183 resolved pr comment re uery Param Update Causes Redundant Filter Application

* PM-28183 resolved lint issues

* PM 28183 resolved lint issues

* PM-28183 resolved type issue with import

* PM-28183 resolved import in failling test

* chore: rerun web build

* PM-28183 resolved build issues

* PM-28183 resolved build issues

* PM-28183 resolved lint issues
2026-01-12 13:26:50 -05:00
Alex Morask
b1dcf34e9a [PM-29604] [PM-29605] [PM-29606] Premium subscription page redesign (#18300)
* refactor(subscription-card): Correctly name card action

* feat(storage-card): Switch 'callsToActionDisabled' into 1 input per CTA

* refactor(additional-options-card): Switch 'callsToActionDisabled' into 1 input per CTA

* feat(contract-alignment): Remove 'active' property from Discount

* feat(contract-alignment): Rename 'name' to 'translationKey' in Cart model

* feat(response-models): Add DiscountResponse

* feat(response-models): Add StorageResponse

* feat(response-models): Add CartResponse

* feat(response-models): Add BitwardenSubscriptionResponse

* feat(clients): Add new endpoint invocations

* feat(redesign): Add feature flags

* feat(redesign): Add AdjustAccountSubscriptionStorageDialogComponent

* feat(redesign): Add AccountSubscriptionComponent

* feat(redesign): Pivot subscription component on FF

* docs: Note FF removal POIs

* fix(subscription-card): Resolve compilation error in stories

* fix(upgrade-payment.service): Fix failing tests
2026-01-12 10:45:12 -06:00
Stephon Brown
3707a6fc84 billing(fix): add initial focus to upgrade button (#18184) 2026-01-12 10:44:19 -06:00
Vijay Oommen
7fdff46bec [PM-26146] Remove risk insights activity tab feature flag (#18218) 2026-01-12 14:28:58 +00:00
Bernd Schoolmann
f167f06b62 [PM-30442] Fix cipherkey getting included in export of unencrypted json (#18206)
* Fix cipherkey being exported in unencrytped json export

* Fix unencrypted json exporting with cipher key

* Fix unencrypted export for org vaults

---------

Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2026-01-12 10:06:11 +00:00
Bernd Schoolmann
3563b935d1 Fix typescript 7 incompatibilities in KM code (#18174)
* Fix platform tsgo compat

* Fix km tsgo compat

* Pass through null

* Undo platform changes
2026-01-12 10:14:32 +01:00
Jordan Aasen
404d925f84 [PM-24560] - Add Archive UI Element to View and Edit Item Cards (#16954)
* finalize new UI elements for archive/unarchive

* add tests

* add missing service

* add tests

* updates to edit and view pages

* use structureClone

* fix lint

* fix typo

* clean up return types

* fixes to archive UI

* fix tests

* use @if and userId$
2026-01-09 16:39:22 -08:00
Thomas Avery
711036bd60 [PM-27325] Deprecate user account crypto init methods (#18188)
* deprecate account crypto init methods

* Add deprecation notice for new use cases on makeKeyPair
2026-01-09 14:53:48 -06:00
Jason Ng
00882c331a [PM-30611] show deleted archived items in trash (#18272) 2026-01-09 15:39:18 -05:00
Addison Beck
eb12758c99 fix(nx): use relative paths in tsconfig.base.json for TypeScript 7 compatibility (#18295)
Update the NX library generator to prefix paths with './' when adding entries to tsconfig.base.json. This ensures compatibility with TypeScript 7 and tsgo, which require relative paths to explicitly start with './'.
2026-01-09 21:22:54 +01:00
bmbitwarden
92190d734c Pm 28182 add success page (#17814)
* PM-28182-implemented send confirmation drawer

* PM-28182 resolved lint issue

* PM-28182 resolved pr comment

* PM-28182 put behind feature flag

* Fix feature flag checks in send component

* Fix feature flag checks in send dropdown component

* Add SendUIRefresh feature flag

* PM-28182 resolved lint issues

* PM-28182 resolved N bug in drawer message

* PM28182 resolved expirationDate replaced with delettionDate

* PM-28182 resolved build issue

* PM-28182 resolved failling tests

* PM-28182 resolved pr comment to consolidate expression

* chore: rerun web build

* PM-28182 removed unneeded export
2026-01-09 13:39:26 -05:00
Brandon Treston
392794b560 Ac/pm 26365 auto confirm extension one time setup dialog (#17339)
* create nav link for auto confirm in settings page

* wip

* WIP

* create auto confirm library

* migrate auto confirm files to lib

* update imports

* fix tests

* fix nudge

* cleanup, add documentation

* clean up

* cleanup

* fix import

* fix more imports

* implement one time dialog

* add tests

* design changes

* fix styles

* edit copy

* fix tests

* fix tw issue

* fix typo, add tests

* CR feedback

* more clean up, fix race condition

* CR feedback, cache policies, refactor tests

* run prettier with updated version

* clean up duplicate logic

* clean up

* add missing export

* fix test

* fix dialog position

* add tests
2026-01-09 12:41:39 -05:00