Alec Rippberger
9a6b1a9d39
Add test for RegisterFormComponent.
2024-09-25 08:55:46 -05: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
Shane Melton
e6c3de9f47
[PM-12609] Use shareReplay for allCiphers$ observable ( #11229 )
2024-09-24 14:30:06 -07:00
Todd Martin
85b97d9304
Remove authenticator-token feature flag ( #11182 )
2024-09-24 17:02:39 -04:00
SmithThe4th
3646214a0f
Made allCiphers$ depend on the refresh subject$ ( #11225 )
2024-09-24 14:13:27 -04:00
cyprain-okeke
e3c75b3c1b
Resolve the payment display ( #11219 )
2024-09-24 18:07:29 +01: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
Alex Morask
c8084cc4e3
Fixed free organization upgrade after stripe sources deprecation ( #11205 )
2024-09-24 09:26:39 -04: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
bw-ghapp[bot]
e691e2dadb
Bumped client version(s) ( #11211 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-23 22:48:23 +00:00
Shane Melton
4b9935b28c
[PM-12528] AC Fix Collection Refresh ( #11207 )
...
* [PM-12528] Ensure collections refresh when the refresh$ subject emits
* [PM-12528] Cleanup all collections observable
2024-09-23 15:01:48 -07:00
cyprain-okeke
08f0dadc2f
Resolve the bug on change payment method ( #11202 )
2024-09-23 19:23:53 +01:00
Jared McCannon
2b462b6fd6
Validate domain has been verified ( #11125 )
...
- Added client-side validation that the domain has been verified.
2024-09-23 10:33:44 -05:00
github-actions[bot]
1b8fcda90d
Autosync the updated translations ( #11197 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-23 09:47:05 +00: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
Robyn MacCallum
cf1f7cc61d
[SM-1302] Initial config page ( #10196 )
...
* Initial config page
* Remove project actions
* Add copy projectId method to the project page
* Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/config/config.component.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
* Update bitwarden_license/bit-web/src/app/secrets-manager/shared/projects-list.component.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
* Update apps/web/src/locales/en/messages.json
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
* Fix method and string naming
* Ensure config component load logic happens after params observed
* Remove projectId emitted event
* Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/config/config.component.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
* Adjust load function
* Fix config translation
* Remove unnecceary async from copy functions
* Add project ID translation key
* Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/config/config.component.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
* Simplify load function
* Simplify variable definition
* Add all machine account projects to the config page
* Update bitwarden_license/bit-web/src/app/secrets-manager/service-accounts/config/config.component.ts
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
* Remove unused variable
* Remove revision date in config project list
---------
Co-authored-by: Maciej Zieniuk <167752252+mzieniukbw@users.noreply.github.com>
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2024-09-20 12:54:03 -04:00
Jordan Aasen
ea025b9026
add padding to new organization input ( #11090 )
2024-09-20 08:49:27 -07:00
Nick Krantz
0516ca00dc
update trial initiation text to only represent the product ( #11171 )
...
Co-authored-by: Alec Rippberger <alec@livefront.com>
2024-09-20 09:48:44 -05:00
Cesar Gonzalez
c276d5dfa5
[PM-281] A11y visual distinction required for page links ( #9878 )
...
* [PM-281] Visual distinction required for login page links
* add bitLink to report links
* add bitLink to billing history
* [PM-281] Adding more references to bitLink and incorporating changes to aria labels for a variety of buttons
* Added editItemWithName to announce links within reports even better
---------
Co-authored-by: Vicki League <vleague@bitwarden.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-20 09:04:48 -05:00
cyprain-okeke
8f05581ba0
[AC-3052] [Defect] Payment method section is blank when upgrading Teams SM trial initiated org paid with Bank Account ( #11158 )
...
* Fix the payment method issue
* Resolve the navigation after upgrade
2024-09-20 14:58:53 +01:00
Jason Ng
ece6f8aae2
AC-2617 update vault header to have loading text on slow connection( #11121 )
2024-09-20 09:44:05 -04:00
github-actions[bot]
5f25bd93cd
Autosync the updated translations ( #11166 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-20 11:26:04 +00:00
Alec Rippberger
ca1dce4625
Add missing translation keys. ( #11159 )
2024-09-19 14:48:14 -05: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
SmithThe4th
7ae427e713
Revert "[PM-11200] Move delete item permission to Can Manage ( #10890 )" ( #11155 )
...
* Revert "[PM-11200] Move delete item permission to Can Manage (#10890 )"
This reverts commit 8921230b4f
.
* Removed provider access
2024-09-19 13:27:08 -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
Ike
afff91e0f3
added duofederal.com to valid urls ( #11137 )
2024-09-19 11:32:42 -04:00
Oscar Hinton
e5bb2e58a6
[PM-12004] Fix ~60 compile warnings in webpack for web ( #11004 )
2024-09-19 15:00:07 +02:00
Oscar Hinton
6ffd85c42c
[PM-11342] Fix 404 missing styles ( #11147 )
...
Fix 404 page lacking styles on nested pages.
2024-09-19 14:56:47 +02:00
Alec Rippberger
2b85392b0f
PM-11338: [Defect] Clicking outside of View {Item} dialog should close the dialog properly ( #11035 )
...
* Handle undefined result.
* Updated enum values for consistency.
2024-09-18 16:02:47 -05:00
Alec Rippberger
6c1d74a4ce
[PM-11395] [Defect] View Login - TOTP premium badge does nothing when clicked ( #10857 )
...
* Add MessagingService to LoginCredentialView component.
* Add comments.
* Add WIP PremiumUpgradeService
* Simplify web PremiumUpgradeServices into one service.
* Relocate service files.
* Add browser version of PremiumUpgradePromptService.
* Cleanup debug comments.
* Run prettier.
* rework promptForPremium to take organization id and add test.
* Add test for browser
* Rework imports to fix linter errors.
* Add Shane's reworked WebVaultPremiumUpgradePromptService.
2024-09-18 16:00:54 -05:00
cyprain-okeke
1940256fe2
Resolve the discount issue ( #11128 )
2024-09-18 18:55:31 +01:00
Alec Rippberger
931f86c948
[PM- 9666] Implement edit item view individual vault ( #10553 )
...
* Add initial vault cipher form for cipher edit.
* Add ability to add new cipher by type
* Add ability to save and clone cipher,
* Update canEditAllCiphers to take 1 argument.
* Add attachments button to add/edit dialog.
* Add semi-working attachment dialog.
* Add working attachment functionality.
* Remove debugging code.
* Add tests for new attachments dialog component.
* Add AddEditComponentV2 tests.
* Remove AddEditComponentV2 delete functionality.
* Remove unnecessary else statement.
* Launch password generation in new dialog when extension refresh enabled.
* Add tests for PasswordGeneratorComponent.
* Adjust password and attachments dialog sizes.
* run lint:fix
* Remove unnecessary form from button.
* Add missing provider in test.
* Remove password generation events.
* Add WebVaultGeneratorDialogComponent and WebCipherFormGenerationService
* Move and rename CipherFormQueryParams
* Use WebCipherFormGenerationService to launch password / user generation modals.
* Add WebVaultGeneratorDialogComponent tests.
* Remove unnecessary functionality and corresponding tests.
* Fix failing tests.
* Remove unused properties from AddEditComponentV2
* Pass CipherFormConfig to dialog.
* Clean up unused attachment dialog functionality.
* Update AddEdit cancel functionality to prevent navigating user.
* Make attachment dialog open a static method.
* Add addCipherV2 method and clean up tests.
* Remove changes to QueryParams.
* Add tests for WebCipherFormGenerationService
* Remove unused onCipherSaved method.
* Remove cipherSaved event.
* Remove unused password generator component
* Refactor to simplify editCipherId for extensionRefresh flag.
* Add additional comments to AddEditComponentV2.
* Simplify open vault generator dialog comment.
* Remove unused organizationService
* Remove unnecessary typecasting.
* Remove extensionRefreshEnabled and related.
* Remove slideIn animation
* Remove unused AddEditComponentV2 properties.
* Add back generic typing.
* Condesnse properties into single form config.
* Remove onDestroy and related code.
* Run prettier
* fix injection warning
* Handle cipher save.
* Redirect to vault on delete and make actions consistent.
* Update comment.
2024-09-18 12:48:47 -05:00
Daniel James Smith
a674f698a2
[PM-12067] Add sorting to exposed passwords report ( #11029 )
...
* Add sorting to exposed passwords report
- Create new type to represent a row within the report
- Add types and remove usage of any
- Include the exposed number of times within the data passed to the datasource/table instead of looking it up via the `exposedPasswordMap`
- Enable sorting via bitSortable
- Set default sort to order by exposed number of times in descending order
* Show headers and sort also within AC version of exposed-passwords report but hide the Owner column
---------
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-09-18 18:53:04 +02:00
cyprain-okeke
727fbb6731
Ac 3030 discount is not included in the pricing breakdown when annual plan ( #11126 )
...
* Resolve the discount issues
* Resolve the payment cvv alignment
* Resolve the wrong message for secrets manager
* Remove unused commented code
* resolve the display message bug on sm flow
2024-09-18 16:22:04 +01:00
bw-ghapp[bot]
18ef74930c
Bumped client version(s) ( #11118 )
...
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-09-18 00:39:01 +00:00
Alec Rippberger
80a9836cb2
Navigate to fault after cipher deleted. ( #11042 )
2024-09-17 14:00:21 -05:00
Jason Ng
d0516f24e8
[AC-2627] Empty Collection New Item Btn Permissions ( #11089 )
...
* only show new item btn in empty collection for can edit perm
2024-09-17 14:28:39 -04:00
Nick Krantz
d68853a4a2
[PM-11131] Screen Reader Announcements for Copy ( #11091 )
...
* add copy specific aria-labels for login ciphers
* add copy specific aria-labels for card ciphers
* add copy translations for identity to web translations
2024-09-17 13:23:15 -05:00
Rui Tomé
c05b6eb116
[PM-11667] Remove all code related to the outdated custom permissions 'Edit/Delete Assigned Collections' ( #10904 )
...
* [PM-11667] Remove all code related to the outdated custom permissions 'Edit/Delete Assigned Collections'
* Revert change made to data model in state migration
2024-09-17 14:22:17 +01:00
Bernd Schoolmann
15610906d2
[PM-7608] Account Security Settings V2 ( #10441 )
...
* Implement account security settings v2
* Increase await dialog delay to 500 msec
* Update messages
* Replace platformservice with biometricsservice
* Cleanup
* Cleanup
* Fix account security component according to feedback
* Re-add old message
* Re-add old error message
* Fix minimum timeout message
* Fix screen-reader on custom timeout
* Remove debugging configurations
* Fix incorrectly changed message
* Remove custom vault timeout text
* Restore vaultTimeoutPolicyInEffect i18n message in web
* Change text to use vaultTimeoutPolicyInEffect1
* Fix tests
2024-09-16 17:40:08 +02:00
Alex Morask
096a2563bb
Piped submit text to i18n ( #11078 )
2024-09-16 10:23:10 -04:00
Nick Krantz
c64477034a
set extensionRefreshEnabled
to be undefined so the "new" button isn't shown until the feature flag is resolved ( #11038 )
2024-09-16 08:33:23 -05:00
cyprain-okeke
f816e80314
[AC-3023] Resolve the capitalization here ( #11019 )
...
* Resolve the capitalization here
* Resolve the returned issue on A11y
* Fix the storage bug
2024-09-16 10:14:46 +01:00
rr-bw
0bb18eb36c
rename LoginService to LoginComponentService to avoid confusion with the LoginStrategyService
2024-09-14 13:27:13 -07:00
rr-bw
d88606a6fd
setup launchSsoBrowserWindow() for Desktop
2024-09-14 12:59:51 -07:00
rr-bw
da18b42f80
add launchSsoBrowserWindow() to default service
2024-09-14 12:05:39 -07:00
rr-bw
66072f66e8
cleanup & comments
2024-09-14 10:59:43 -07:00