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

1720 Commits

Author SHA1 Message Date
Alec Rippberger
58d6770d20 Add unauthUiRefreshRedirect utility function. 2024-09-27 12:46:17 -05:00
Alec Rippberger
30af195b9d Remove comment re. passing email to registration. 2024-09-27 12:19:05 -05:00
Alec Rippberger
bb67f560f3 Implement email population on all clients add add safeProviders. 2024-09-27 12:17:32 -05:00
Alec Rippberger
bf8312da1c Populate email on registration start form. 2024-09-27 10:48:27 -05:00
Alec Rippberger
4ead4efeb1 Set feature flag to false. 2024-09-26 11:38:12 -05:00
Alec Rippberger
e607aa713d Rename login.component to login-v1.component for browser. 2024-09-26 10:48:56 -05:00
Alec Rippberger
a97dc7494f Remove debug code. 2024-09-26 10:40:16 -05:00
Alec Rippberger
60d1177361 Comment out debug code. 2024-09-26 10:39:44 -05:00
Alec Rippberger
035e62e72b Rename login.component to login-v1.component except browser. 2024-09-26 10:38:54 -05:00
Alec Rippberger
2e6e5a5c08 Revert "Rename login.component to login-v1.component"
This reverts commit 588a7af906.
2024-09-26 10:16:13 -05:00
Alec Rippberger
588a7af906 Rename login.component to login-v1.component 2024-09-26 09:46:24 -05:00
Alec Rippberger
309576f8c5 Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-09-25 22:07:51 -05:00
Alec Rippberger
a1b921691a Break up LoginComponent into client-specific services. 2024-09-25 22:07:37 -05:00
Shane Melton
e0bca66f5e [PM-12622] Check that readOnly is falsy not only null (#11248) 2024-09-25 15:47:46 -07:00
Alec Rippberger
7f14851147 Consolidate login templates. 2024-09-25 16:49:27 -05:00
Alec Rippberger
1206017b57 Fix client navigation after login. 2024-09-25 16:47:17 -05:00
Alec Rippberger
7767545a50 Remove unnecessary navigation. 2024-09-25 16:20:13 -05:00
Alec Rippberger
3187a3300e Consolidate clearing loginEmailService values and routing 2024-09-25 15:44:50 -05:00
Jordan Aasen
7f33954316 don't display free bitwarden families button (#11184) 2024-09-25 19:56:04 +02:00
Alec Rippberger
e0eff02a42 Remove back button todo. 2024-09-25 11:29:28 -05:00
Alec Rippberger
742900a663 PM-11390: [Defect] View Login - Clicking Password History opens Edit Item window behind View Login window (#11119)
* Add password dialog component.

* Properly direct to browser password history screen.

* Add padding to history items.

* Update test to correct password history route.

* Remove unneeded provider.

* Use relative path for SharedModule.
2024-09-25 10:45:13 -04:00
Jordan Aasen
cd9045483b [PM-12561] - add data attrs for send form (#11209)
* add data attrs for send form

* Add data-testid for toggle view password

* Revert "Add data-testid for toggle view password"

This reverts commit bd6fcc8c1b.

* move dataid to component

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-25 14:03:42 +02:00
Jordan Aasen
d587be1831 [PM-12403] - Implement Remove Send policy on Add/edit screen (#11178)
* disable edit send if policy requires

* remove unused var

* don't display free bitwarden families button

* Revert "don't display free bitwarden families button"

This reverts commit 832564d705.

* use config instead of policy service

* Revert "don't display free bitwarden families button"

This reverts commit 832564d705.

* remove unnecessary code

* Use short when transforming deletionDate instead of fixed format

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-25 11:07:01 +00:00
Alec Rippberger
22eb2aac97 Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-09-24 21:58:22 -05:00
Alec Rippberger
74767b02b5 Use factory function to provide LoginEmailService. 2024-09-24 21:45:22 -05:00
Alec Rippberger
d9f930d7cb Prefill email field when "create account" is clicked. 2024-09-24 16:35:43 -05:00
Todd Martin
85b97d9304 Remove authenticator-token feature flag (#11182) 2024-09-24 17:02:39 -04:00
Todd Martin
bdcf920e62 Remove references to device-trust-logging feature flag (#11183) 2024-09-24 16:47:10 -04:00
Alec Rippberger
9bb84094ae Fix comment typo. 2024-09-24 12:32:56 -05:00
Jonathan Prusik
e88e231d48 [PM-11588] Bugfix - parse user input value for combined expiry date when creating/adding a card cipher (#11103)
* simplify logic and fix some pattern-matching bugs

* add first pass at parsing combined expiry year and month from user input

* clean up code

* fix broken three-digit parsing case

* fix case where splitCombinedDateValues returns empty strings when the input is only a delimiter

* fix incorrect expectation of falsy negative integers

* clean up code

* split out logic from parseYearMonthExpiry

* move utils from vault to autofill
2024-09-24 10:36:44 -04:00
Jordan Aasen
8507097fe7 fix send password input (#11208) 2024-09-24 11:45:08 +02:00
Bernd Schoolmann
d92b2cbea2 [PM-11477] Remove deprecated cryptoservice functions (#10854)
* Remove deprecated cryptoservice functions

* Use getUserkeyWithLegacySupport to get userkey

* Fix tests

* Fix tests

* Fix tests

* Remove unused cryptoservice instances

* Fix build

* Remove unused apiService in constructor

* Fix encryption

* Ensure passed in key is used if present

* Fix sends and folders

* Fix tests

* Remove logged key

* Fix import for account restricted keys
2024-09-24 11:28:33 +02:00
Jordan Aasen
6d9223fac7 [PM-12505] - add delete send button to footer (#11187)
* add delete send button to footer

* add basic error handling

* update copy. user bitAction

* use arrow function. remove border class
2024-09-24 09:26:25 +02:00
Jordan Aasen
aa91a8d5ca fix send form defects (#11212) 2024-09-24 09:12:27 +02:00
Alec Rippberger
c37f726f7d Prevent email address validation on blur. 2024-09-23 22:53:58 -05:00
Alec Rippberger
54f0c0a46a Add vault icon to anon layout. 2024-09-23 18:49:53 -05:00
SmithThe4th
0db179e974 [PM-739] Using a space at the beginning of otpauth:// generate a wrong OTP (#11204)
* Trimmed tariling whitespace from totp field

* Trimmed tariling whitespace from totp field

* Fix failing test
2024-09-23 16:45:53 -04:00
✨ Audrey ✨
cf48db5ed1 [PM-11418] generator policy constraints (#11014)
* add constraint support to UserStateSubject
* add dynamic constraints
* implement password policy constraints
* replace policy evaluator with constraints in credential generation service
* add cascade between minNumber and minSpecial

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2024-09-23 11:07:47 +02:00
Justin Baur
972339be83 Remove Storage Reseed FF (#11156) 2024-09-20 11:46:00 -04:00
Shane Melton
36a9228523 [PM-11391] Replace button tag with div for TOTP timer (#11116) 2024-09-20 06:56:21 -07:00
Victoria League
1262623fac [CL-451] Add option for full width chip select (#11135) 2024-09-20 09:52:12 -04:00
Nick Krantz
c13131acd1 remove border styles, allow for component library to style the icon button (#11154) 2024-09-20 08:45:44 -05:00
Jordan Aasen
992964fc08 disable hide email when in policy in send options (#11161) 2024-09-19 22:15:11 +02:00
Jordan Aasen
01f668e648 add send link copy (#11160) 2024-09-19 21:59:25 +02:00
Jordan Aasen
c4d66a1383 [PM-11904] - send options form (#11142)
* send options form

* remove commented code

* fix margin. update i18 key

* remove unecessary input

* remove unnecessary typing. DRY up messages
2024-09-19 20:53:25 +02:00
Victoria League
eec84d893d [CL-439] Improve keyboard and visual a11y for chip select (#11112) 2024-09-19 13:49:00 -04:00
Shane Melton
4327fa21f6 [PM-11343] Browser Refresh - View dialog permissions in AC (#11092)
* [PM-11343] Add param to conditionally disable the edit button

* [PM-11343] Cleanup router navigation and move query param handling to callers of the View dialog

* [PM-11343] Fix failing test

* [PM-11343] Fix missing router after merge

* [PM-11343] Add null checks in case the dialog result is undefined (due to closing via the ESC key)

* [PM-11343] Add support to provide a list of collections to the cipher view component

* [PM-11343] Add collections as an optional view cipher dialog parameter

* [PM-11343] Update the org vault to provide collections when opening the View cipher dialog

* [PM-11343] Fix import

* [PM-11343] Use [replaceUrl] for cipher items to avoid needing double back button
2024-09-19 10:43:28 -07:00
Jared Snider
e1e772b0a2 PM-12365 - AnonLayoutWrapperComp - When you use the AnonLayoutWrapperDataService to set data in the AnonLayoutWrapperComponent, I’m seeing an ExpressionChangedAfterItHasBeenCheckedError shown in the console quite often. We should update the wrapper component to fire change detection if the AnonLayoutWrapperDataService receives new information. (#11136) 2024-09-19 13:39:16 -04:00
Nick Krantz
01e530d02b [PM-11691] Remove Nord and Solarized Dark from extension (#11013)
* remove nord and solarized dark from AppearanceV2 component
- This component already behind the extension refresh feature flag

* update the users theme to system when nord or solarized dark is selected

* For desktop, still allow all theme types by overriding the default theme service.

* change theme on the fly rather than updating local state.

- When the feature flag is removed then a migration will have to take place
2024-09-19 10:55:40 -05:00
Anders Åberg
354079725f PM-7673: Reduce syncs when signing in with passkeys (#10817)
* Reduce syncs when signing in with passkeys

* PM-7673: Reduce syncs when creating a passkey (#10824)

* Reduce to syncs when creating a passkey

* Mocked rxjs stream
2024-09-19 08:45:45 -04:00