1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00
Commit Graph

1862 Commits

Author SHA1 Message Date
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
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
Nick Krantz
15e5a6d747 update heading level on password generator (#11556) 2024-10-15 17:16:00 +02:00
Jonathan Prusik
1c2cb4440b [PM-12345] Add cipher type settings for inline autofill menu (#11260)
* add inline menu identity and card visibility settings state to autofill settings service

* add inline menu identity and card visibility settings to autofill settings view component

* add inline menu identity and card visibility settings to legacy autofill settings view component

* do not show inline menu card and identity visibility settings if inline-menu-positioning-improvements feature flag is off

* show card and identity inline menus based on their visibility settings

* do not show identities in account creation username/email fields if user setting disallows it

* reload local tab settings for inline menu visibility when an inline visibility setting value changes

* take out tabSendMessageData call for inline menu visibility sub-settings

---------

Co-authored-by: Cesar Gonzalez <cesar.a.gonzalezcs@gmail.com>
2024-10-15 11:07:52 -04:00
Daniel James Smith
40ab96a7ce Show disabled Sends within Send list view (#11555)
With #10192 we introduced the new send-list-filters, and filtered out any disabled sends. These still need to be shown as the the other clients still support enabling/disabling Sends

This will be removed once all clients use the same shared components.

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-10-15 10:54:00 -04:00
Jordan Aasen
445477225c fix label width in password generator (#11515) 2024-10-14 15:24:23 +02:00
Jordan Aasen
1459c06d17 [PM-12724] - fix logic for showing new password (#11512)
* fix logic for showing new password

* fix logic
2024-10-14 15:22:22 +02:00
Jordan Aasen
fa41f29fc4 [CL-425] - add tools card component (#11375)
* add tools card component

* rename to tools-card

* whitelist readme

* fix tw classes in card component

* add RTL support.

* add documentation. revert changes to settings

* Revert vscode settings

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-10-11 23:00:45 +02:00
Victoria League
988c2b69e0 [CL-471] Update lock icon and others (#11508) 2024-10-11 16:12:49 -04:00
Jared Snider
7297d0fccd Auth/PM-13318 - AnonLayoutWrapperData Refactor to add full Translation support (#11513)
* PM-13318 - AnonLayoutWrapperData refactor to support all possible string scenarios (untranslated string, translated string, and translated string with placeholders)

* PM-13318 - Fix accidental check in

* PM-13318 - Revert the correct change.

* PM-13318 - Fix test failures
2024-10-11 16:02:47 -04:00
Shane Melton
9d163550fd [PM-6991] Improve reactivity of cipherViews$ observable in cipher service (#11141)
* [PM-6991] Remove self reference to cipherViews$

* [PM-6991] Update cipherViews$ observable to be reactive to encrypted ciphers and localData

* [PM-6991] Use the cipherViews$ observable in the Web vault

* [PM-6991] Update the vault filter service to use cipherViews$ observable

* [PM-6991] Add deprecation notice to getAllDecrypted

* [PM-6991] Ensure cipherViews$ emits an empty array whenever the decrypted cipher cache is cleared

* [PM-6991] Fix cipher service test

* [PM-6991] Use shareReplay instead of share

* [PM-6991] Remove ciphersExpectingUpdate and replace with a null filter instead for cipherViews$

* [PM-6991] Skip refreshing on null cipherViews$ to avoid flashing an empty vault after modifying ciphers
2024-10-10 14:54:23 -07:00
Alec Rippberger
72f07fef55 Remove Web/Desktop comment from html template 2024-10-10 16:07:39 -05:00
Alec Rippberger
3936ccd979 Ensure isLoginWithPasskeySupported is only returns true for web client. 2024-10-10 16:06:23 -05:00
Alec Rippberger
99ddbc9cd6 Removing register component changes. 2024-10-10 15:34:37 -05:00