1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-13 15:03:26 +00:00
Commit Graph

1718 Commits

Author SHA1 Message Date
Victoria League
00d7b58389 Merge branch 'main' into ps/extension-refresh 2024-09-27 09:58:24 -04:00
✨ Audrey ✨
433ae13513 [PM-5611] username generator panel (#11201)
* add username and email engines to generators
* introduce username and email settings components
* introduce generator algorithm metadata
* inline generator policies
* wait until settings are available during generation
2024-09-27 09:02:59 -04:00
Jordan Aasen
f1ac1d44e3 [PM-12716] - add missing password generation function to send form password (#11273)
* add generatePassword function to send options

* add generatePassword function
2024-09-27 13:42:14 +02:00
Jordan Aasen
739c76a24f [PM-12704] - fix loading state for send list (#11264)
* fix loading state for send service

* fix test

* fix test and service
2024-09-27 13:38:50 +02:00
Jared Snider
eb7eb614f5 PM-11962 - InputPasswordComp - add weak password checking (#11252) 2024-09-26 18:00:03 -04:00
Victoria League
15b7716620 [CL-459] Fix chip behavior when opening menu while item is selected (#11227) 2024-09-26 11:52:10 -04:00
Victoria League
1336b395b1 Merge branch 'main' into ps/extension-refresh 2024-09-26 10:36:05 -04:00
Rui Tomé
430741a7e6 [PM-11334] Add managed status to sync data (#11150) 2024-09-26 11:21:46 +01:00
Jonas Hendrickx
d2e5af7fb5 [PM-11901] Refactoring self-hosting license file uploader (#11083) 2024-09-26 11:23:23 +02:00
Shane Melton
e0bca66f5e [PM-12622] Check that readOnly is falsy not only null (#11248) 2024-09-25 15:47:46 -07:00
Victoria League
add520aee5 [CL-455] Do not use responsive margin for sections in dialogs or extension (#11243) 2024-09-25 16:49:35 -04:00
Victoria League
aeaaca1e62 [CL-457] Center input text for select and multiselect (#11239) 2024-09-25 16:49:12 -04:00
Jordan Aasen
7f33954316 don't display free bitwarden families button (#11184) 2024-09-25 19:56:04 +02: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
Victoria League
a38419889e Merge branch 'main' into ps/extension-refresh 2024-09-25 09:38:25 -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
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
Victoria League
a8578f5d99 [CL-454] Improve color a11y for toast and banner interactive elements (#11200) 2024-09-24 12:30:33 -04:00
Victoria League
95de2feec3 [CL-446] Update hover state for unselected chip selects (#11172) 2024-09-24 12:27:27 -04:00
Victoria League
02eb6dc978 Merge branch 'main' into ps/extension-refresh 2024-09-24 12:02:22 -04: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
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
Victoria League
5ea83d2d49 [CL-275] Update link styles (#11174) 2024-09-23 15:31:48 -04:00
Merissa Weinstein
e971972946 CL-252/update toast (#10996) 2024-09-23 10:09:15 -04:00
Victoria League
a1170d9461 Merge branch 'main' into ps/extension-refresh 2024-09-23 10:07:07 -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
Nick Krantz
fa2659f421 remove tw-border-b-2 from being defined twice (#11181)
- it causes a shift when the field is focused on the extension
- In storybook the `tw-border-b-2` is removed from the classname for some reason, and thus the no shift
2024-09-20 16:05:32 -05:00
Victoria League
8bcce315c5 Merge branch 'main' into ps/extension-refresh 2024-09-20 14:35:29 -04:00
Justin Baur
972339be83 Remove Storage Reseed FF (#11156) 2024-09-20 11:46:00 -04:00
Vicki League
aa696df172 Merge branch 'main' into ps/extension-refresh 2024-09-20 10:03: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
Victoria League
c5980524ae Merge branch 'main' into ps/extension-refresh 2024-09-19 08:59:34 -04: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
Daniel James Smith
7f9c5cedaf Delete SendForm storybook stories (#11149)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-19 15:34:53 +03:00
Jordan Aasen
00f2317a82 [PM-11903] - add file send component (#11132)
* wip - send file details

* wip - file send

* send file details

* fix click on send list container

* remove popup code

* remove popup code

* finalize send file details

* address PR feedback. add base form to send form

* revert changes to send list items container

* revert changes to send list items container

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2024-09-18 14:36:53 -07:00