1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00
Commit Graph

1874 Commits

Author SHA1 Message Date
Alec Rippberger
8889ed3d3c Rework ExtensionAnonLayoutWrapperDataService to use BehaviorSubject 2024-10-21 08:32:14 -05:00
Alec Rippberger
808d31c790 Simplify getting query params 2024-10-18 23:03:37 -05:00
Alec Rippberger
628acf0c16 WIP remove validated email& display extension back button 2024-10-18 17:07:34 -05:00
Alec Rippberger
493fbc0f32 Use continue method unanimously 2024-10-18 16:35:33 -05:00
Alec Rippberger
9ef1e3ce39 Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-10-18 14:19:44 -05:00
Jared Snider
496bc74b51 PM-13820 - RegistrationStartSecondaryComp - add bitLink to link (#11626) 2024-10-18 15:08:08 -04:00
Zilong Xue
81d1274111 Fix: Add TOTP import support to KeePassX CSV importer (#11574)
KeePassX CSV importer was missing TOTP field support. Added logic to parse TOTP fields from the CSV and include them in the vault entries. Added unit tests to verify TOTP import functionality.
2024-10-18 20:37:32 +02:00
Jared Snider
2605c03c81 Update Icon Docs to include information on viewbox scaling (#11613) 2024-10-18 12:14:29 -04:00
Alec Rippberger
3af2178ad2 Remove height / width from vault icon svg. 2024-10-18 10:23:53 -05:00
Alec Rippberger
a4e74b1ed2 Remove unused setPreviousUrl function. 2024-10-18 10:22:14 -05:00
Alec Rippberger
d4395fb142 Add todo comment re. inline errors. 2024-10-18 10:09:54 -05:00
Alec Rippberger
40dd0dd1d2 Replace loggedEmail with this.emailFormControl.value. 2024-10-18 09:48:40 -05:00
Alec Rippberger
ee1929bcc9 Move getLoginWithDevice call to loadEmailSettings. 2024-10-18 09:37:59 -05:00
Alec Rippberger
a49c4458d3 Replace loggedEmail with this.emailFormControl.value. 2024-10-18 09:30:21 -05:00
Jared Snider
ad40db9ecf PM-13368 - Registration with Email Verification - Registration Finish - Add 2FA support (#11614) 2024-10-18 10:17:23 -04:00
Andreas Coroiu
c787ecd22c [PM-11764] Implement account switching and sdk initialization (#11472)
* feat: update sdk service abstraction with documentation and new `userClient$` function

* feat: add uninitialized user client with cache

* feat: initialize user crypto

* feat: initialize org keys

* fix: org crypto not initializing properly

* feat: avoid creating clients unnecessarily

* chore: remove dev print/subscription

* fix: clean up cache

* chore: update sdk version

* feat: implement clean-up logic (#11504)

* chore: bump sdk version to fix build issues

* chore: bump sdk version to fix build issues

* fix: missing constructor parameters

* refactor: simplify free() and delete() calls

* refactor: use a named function for client creation

* fix: client never freeing after refactor

* fix: broken impl and race condition in tests
2024-10-18 16:15:10 +02:00
Alec Rippberger
79e177ac24 Only send email in query parameters if set. 2024-10-18 09:12:50 -05:00
Alec Rippberger
398d8e9beb Add new wave icon 2024-10-17 16:32:02 -05:00
Alec Rippberger
3cb428c606 Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-10-17 16:30:15 -05:00
Rui Tomé
97e195cd7b [PM-11404] Account Management: Prevent a verified user from purging their vault (#11411)
* Update AccountService to include a method for setting the managedByOrganizationId

* Update AccountComponent to conditionally show the purgeVault button based on a feature flag and if the user is managed by an organization

* Add missing method to FakeAccountService

* Remove the setAccountManagedByOrganizationId method from the AccountService abstract class.

* Refactor AccountComponent to use OrganizationService to check for managing organization

* Rename managesActiveUser to userIsManagedByOrganization

* Refactor userIsManagedByOrganization property to be non-nullable in organization data and response models

* Refactor organization.data.spec.ts to include non-nullable userIsManagedByOrganization property
2024-10-17 16:06:33 +01:00
Jared Snider
a5f856da2a Component Library - Add Icon documentation (#11571)
* Add Icon documentation

* Add 7th bullet

* Icon docs - add context on how to go from hex values to appropriate tailwind classes.

* 7th bullet needs bold to look right

* Add color icon per suggestion
2024-10-17 10:47:08 -04:00
Bernd Schoolmann
e8f0135d50 [PM-12806] Enforce 5000 iteration minimum for prelogin (#11332)
* Enforce 5000 iteration minimum for prelogin

* Fix tests

* Add more extensive tests

* Add loginstrategy prelogin downgrade test
2024-10-17 09:58:07 -04:00
Jordan Aasen
288b0cff2f fix send options viewsLeft (#11594) 2024-10-17 15:28:02 +02:00
Daniel James Smith
783305696a Fix stories title for card-component (#11562)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-10-17 09:22:56 -04:00
Addison Beck
073ee4739b Split Organization.LimitCollectionCreationDeletion into two separate business rules (#11223)
* Declare feature flag

* Introduce new model properties

* Reference feature toggle in template

* Fix bugs caught during manual testing
2024-10-17 06:34:34 -04:00
Jared Snider
4b67cd24b4 Auth/PM-8112 - UI refresh - Registration Components (#11353)
* PM-8112 - Update classes of existing registration icons

* PM-8112 - Add new icons

* PM-8112 - Export icons from libs/auth

* PM-8112 - RegistrationStart - Add new user icon as page icon

* PM-8112 - Replace RegistrationCheckEmailIcon with new icon so it displays properly

* PM-8112 - RegistrationFinish - Add new icon across clients

* PM-8112 - Registration start comp - update page icon and page title on state change to match figma

* PM-8112 - RegistrationFinish - adding most of framework for changing page title & subtitle when an org invite is in state.

* PM-8112 - Add joinOrganizationName to all clients translations

* PM-8112 - RegistrationFinish - Remove default page title & subtitle and let onInit logic figure out what to set based on flows.

* PM-8112 - RegistrationStart - Fix setAnonLayoutWrapperData calls

* PM-8112 - RegistrationFinish - simplify qParams init logic to make handling loading and page title and subtitle setting easier.

* PM-8112 - Registration Link expired - move icon to page icon out of main content

* PM-8112 - RegistrationFinish - Refactor init logic further into distinct flows.

* PM-8112 - Fix icons

* PM-8112 - Extension AppRoutingModule - move sign up start & finish routes under extension anon layout

* PM-8112 - Fix storybook

* PM-8112 - Clean up unused prop

* PM-8112 - RegistrationLockAltIcon tweaks

* PM-8112 - Update icons to have proper styling

* PM-8112 - RegistrationUserAddIcon - remove unnecessary svg class

* PM-8112 - Fix icons
2024-10-16 18:28:27 -04:00
Jordan Aasen
6e37047776 account for possible null value (#11589) 2024-10-16 21:11:43 +02:00
Alec Rippberger
c5fa20ce42 Adjust overlay position of EnvironmentSelectorComponent for new layout.
Since the switcher is located at the bottom of the screen we need to position it up above the trigger button so that it is not cut off.
2024-10-16 11:51:47 -05:00
Alec Rippberger
d954741b38 Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-10-16 10:28:22 -05:00
Brandon Treston
1f330b078d Remove platformUtilService.showToast call (#11410) 2024-10-16 09:52:45 -04:00
Nick Krantz
d8f1527db0 [PM-13016] Browser default match detection (#11569)
* update conditional to only exit early if value is null

- The UriMatchStrategy for Domain was 0 and hitting the conditional

* add baseDomain test
2024-10-16 08:11:41 -05:00
Alec Rippberger
a3a2e9e321 Run prettier. 2024-10-15 22:06:54 -05:00
Alec Rippberger
b839c82d9e Remove unused enforcedPasswordPolicyOptions property. 2024-10-15 21:57:28 -05:00
Alec Rippberger
00355670b6 Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-10-15 21:47:21 -05:00
Alec Rippberger
2f29903136 Clean up and flush out register form tests. 2024-10-15 21:40:48 -05:00
Thomas Rittson
178a418850 Conditionally disable client-side policy validation (#11550) 2024-10-16 08:46:03 +10:00
Alec Rippberger
28aae75abf Fix translations. 2024-10-15 16:42:58 -05:00
Alec Rippberger
38051c9e7d Simplify ngOnInit: remove webOnInit and move getLoginWithDevice to defaultOnInit
I couldn't find any usages of qParams.org or qParams.sponsorshipToken on QA (signing up for family membership, creating organization, manually modifying query params), so I think these are safe to remove.
2024-10-15 16:22:47 -05:00
Alec Rippberger
588c65b039 Add DefaultLoginComponent tests. 2024-10-15 16:20:07 -05:00
Alec Rippberger
833582b8d4 Rename goAfterLogIn to evaluatePassword and borrow logic from lock component. 2024-10-15 16:20:06 -05:00
Alec Rippberger
64b967d69e Merge branch 'auth/pm-8111/browser-refresh-login-component' of https://github.com/bitwarden/clients into auth/pm-8111/browser-refresh-login-component 2024-10-15 14:42:52 -05:00
Alec Rippberger
e51010f504 Add test for unauthUiRefreshRedirect. 2024-10-15 14:42:42 -05:00
Alec Rippberger
49776193c0 Fix translation error 2024-10-15 14:42:18 -05:00
Jordan Aasen
87545e4d21 fix logic for displaying hide email in send options (#11561) 2024-10-15 20:48:51 +02:00
Alec Rippberger
ab459fc602 Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-10-15 13:14:09 -05:00
Alec Rippberger
3354527a5a Merge branch 'auth/pm-8111/browser-refresh-login-component' of https://github.com/bitwarden/clients into auth/pm-8111/browser-refresh-login-component 2024-10-15 12:35:41 -05:00
Cesar Gonzalez
32d12b3d6a [PM-7980] Inline autofill menu is not shown inside dialog html tag (#11474)
* [PM-7980] Fix inline menu not showing inside dialog html tag

* [PM-7980] Fix inline menu not showing inside dialog html tag

* [PM-7980] Fixing an issue where a dialog element could potentially not represent itself in the #top-layer
2024-10-15 11:34:14 -05:00
Alec Rippberger
1241ca1785 Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-10-15 11:22:24 -05:00
Nick Krantz
e5ca6fd460 wrap generate & copy buttons in a flex container, flex containers do not wrap by default (#11558) 2024-10-15 11:06:36 -05:00
Alec Rippberger
31f65ec463 Update Storybook with initialLoginEmail 2024-10-15 10:59:52 -05:00