Commit Graph

2895 Commits

Author SHA1 Message Date
Bernd Schoolmann 1184c504d1
[PM-6296] Fix biometrics error prompt when biometrics are temporarily unavailable in browser extension (#9851)
* Add availability check to biometrics

* Move isbiometricunlockavailable logic to parent component

* Fix availability detection on desktop

* FIx response parsing on browser

* Suppress pending biometric message while checking for availability

* Refactor biometrics functions out of platformutilsservice

* Remove unused constructor

* Remove unused abstract function definitions

* Rename abstract services

* Add documentation

* Rename service abstraction, add comments

* Add comments

* Refactor browser biometrics into background/foreground and remove callbacks

* Remove unused logs

* Remove unused logs
2024-08-02 12:31:11 +02:00
Bernd Schoolmann a9ba7d8d25
Deduplicate background storage service in browser mv2 (#10241) 2024-08-02 12:03:54 +02:00
github-actions[bot] b6aadaa255
Autosync the updated translations (#10370)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-08-02 06:45:25 +00:00
github-actions[bot] ce86fc0232
Autosync the updated translations (#10369)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-08-02 06:43:32 +00:00
github-actions[bot] c84009c8d7
Autosync the updated translations (#10368)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-08-02 06:41:04 +00:00
Bernd Schoolmann c6229abd12
[PM-5963] Fix tde offboarding vault corruption (#9480)
* Fix tde offboarding

* Add tde offboarding password request

* Add event for tde offboarding

* Update libs/auth/src/common/models/domain/user-decryption-options.ts

Co-authored-by: Jake Fink <jfink@bitwarden.com>

* Update libs/common/src/services/api.service.ts

Co-authored-by: Jake Fink <jfink@bitwarden.com>

* Make tde offboarding take priority

* Update tde offboarding message

* Fix unit tests

* Fix unit tests

* Fix typo

* Fix unit tests

---------

Co-authored-by: Jake Fink <jfink@bitwarden.com>
2024-08-01 19:48:09 -04:00
Nick Krantz 82d6b26b18
[PM-9839] Extension - Safari - Disable Account Switching (#10364)
* only show account switching when enableAccountSwitching is true

* update the title of the account switcher component

* only show "Lock All" when more than one account is present

* implement account switching restrictions on non-extension refresh page
2024-08-01 16:11:52 -05:00
Bitwarden DevOps 95e813f238
Bumped client version(s) (#10362) 2024-08-01 18:58:25 +00:00
Alec Rippberger a90df15dc0
[PM-8794] Update "auto-fill" to "autofill" (#10156)
* Update i18n message strings from "auto-fill" to "autofill".

* Update tests, warnings and stories "auto-fill" to "autofill".

* Remove unnecessary new line removal.
2024-08-01 12:39:52 -05:00
Shane Melton 0d76835cd8
[PM-9190] Edit Login - Autofill Options (#10274)
* [PM-8524] Update appA11yTitle to keep attributes in sync after first render

* [PM-8524] Introduce UriOptionComponent

* [PM-9190] Introduce AutofillOptionsComponent

* [PM-9190] Add AutofillOptions to LoginDetailsSection

* [PM-9190] Add autofill options component unit tests

* [PM-9190] Add UriOptionComponent unit tests

* [PM-9190] Add missing translations

* [PM-9190] Add autofill on page load field

* [PM-9190] Ensure updatedCipherView is completely separate from originalCipherView

* [CL-348] Do not override items if there are no OptionComponents available

* [PM-9190] Mock AutoFillOptions component in Login Details tests

* [PM-9190] Cleanup storybook and missing web translations

* [PM-9190] Ensure storybook decryptCipher returns a separate object
2024-08-01 08:35:04 -07:00
Jonathan Prusik 0738495dee
[PM-10134] Add text to default URI match detection select (#10346)
* add text to default URI match detection select

* add separate entry for recommended option variant
2024-08-01 10:22:39 -04:00
cyprain-okeke 5dbdb33ac5
Resolve the camelCase comments (#10340) 2024-08-01 14:24:15 +01:00
Cesar Gonzalez 77d6ac88e7
[PM-10416] Address field is used to populate state field when adding identity cipher from inline menu (#10348) 2024-08-01 08:18:20 -05:00
Bernd Schoolmann afca4c760a
[PM-8225] Implement periodic biometric readiness check in lock component (#9976)
* Remove old biometrics masterkey logic

* Move shared ipc keys to main process

* Allow browser extension unlock while desktop is locked

* Dynamicall detect biometrics on desktop lock screen
2024-07-31 16:25:50 -04:00
Bernd Schoolmann 3de85c75cb
Allow browser extension unlock while desktop is locked (#9945) 2024-07-31 16:16:04 -04:00
Cesar Gonzalez 86acca3bec
[PM-10079] Add keyboard shortcut to autofill identity and credit cards (#10254)
* [BEEEP] Autofill Identity and Card Ciphers From Keyboard Shortcut

* [PM-10079] Add keyboard shortcut to autofill identity and credit card ciphers

* [PM-10079] Fixing jest tests

* [PM-10079] Added an enum for the autofill commands, and adjusted how we filter out cipher types before sorting them by last used when calling for ID and card ciphers

* [PM-10079] Updating copywriting for the autofill settings revolving around keyboard shortcuts

* [PM-10079] Setting a method within CipherService as private
2024-07-31 12:52:04 -05:00
Cesar Gonzalez 85c8ff04a1
[PM-10138] Inline menu not properly validating as the top-most element within mutation observer (#10292)
* [PM-10138] Inline menu not properly validating as the top-most element within mutation observer

* [PM-10138] Identity inline menu appearing for invalid field types

* [PM-10138] Identity inline menu appearing for invalid field types

* [PM-10138] Fixing an issue present with references to card and identity ciphers

* [PM-10138] Fixing issues with initialization of the inline menu

* [PM-10138] Fixing issues with initialization of the inline menu

* [PM-10138] Removing inclusion of file protocol when injecting scripts
2024-07-31 12:51:41 -05:00
Jonathan Prusik ea362a9ed9
section headers should use heading 6 styling (#10345) 2024-07-31 12:35:47 -04:00
Jonathan Prusik c9f4cffc75
remove margin from last field in each card of autofill settings (#10344) 2024-07-31 12:35:17 -04:00
Cesar Gonzalez 0c84f44806
[PM-10124] Browser refresh update for autofill settings component returning invalid data type (#10289) 2024-07-31 09:59:14 -05:00
Rui Tomé 766c2f4b9c
[PM-8290] Refresh vault after saving item collections (#10053) 2024-07-31 15:27:20 +01:00
Bernd Schoolmann 537fa67b09
[PM-9465] Move shared ipc keys to main process (#9944)
* Remove old biometrics masterkey logic

* Move shared ipc keys to main process

* Update apps/desktop/src/platform/services/ephemeral-value-storage.main.service.ts

Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>

* Extract ephemeral store functions to it's own object

---------

Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2024-07-31 10:03:13 -04:00
Bitwarden DevOps 17e0dff342
Bumped client version(s) (#10335) 2024-07-30 21:40:34 +00:00
Jared Snider d915bd8c86
Auth/PM-10069 - Unauthenticated UI Extension Refresh Swap Utility (#10327)
* PM-3515 - Lock component - remove isUnlocked check on lock comp load b/c lock guard should cover all cases with its existing logic for all clients.

* PM-9685 - Add new feature flag

* PM-10069 - ExtensionRefreshRouteUtils - Add unauthExtensionRefreshSwap helper

* Restore lock component
2024-07-30 14:41:10 -04:00
Nick Krantz 84ee01caee
[PM-7103] Identity View (#10240)
* make headings of v2 view component lowercase

* initial add of view identity sections

* adding identification fields

* add contact information section

* add copy ability to all identity fields

* add visibility toggle for passport and ssn

* add testids for all identity fields

* add test-ids to visibility toggles

* refactor visibility methods to be called in `ngOnInit` rather than on each render

* replace `disabled` with `readonly`
2024-07-30 10:55:09 -05:00
SmithThe4th 81212deaad
[PM-7306] Onboarding users to new UI (#10267)
* Added translation keys

* created simple dialog

(cherry picked from commit c12257cf51ca5e0d773a160afb6860a8f5df66b7)

* added announcement svg

(cherry picked from commit 635103120b500103b93dc1a8cbefc34dd396445b)

* removed announcement svg, moved svg to component, refactored component

(cherry picked from commit 50db6aa40fd90d92afeeb60e919f98f268bd69b5)

* renamed state definition

(cherry picked from commit 4c3618c46ee5ffab7050fbc9f6d779ee59c0c26b)

* created vault ui onboarding service

(cherry picked from commit 19ba3c42656d4f891ba3635da06f3ff7656b6028)

* added vault ui dialog to vault component

(cherry picked from commit 56527c8e5eda7df2f222ceebdeba168e2f1ae278)

* moved updating the state to vault component

* updated the link and fixed minor issues

* moved onboarding logic from component to service and fixed review comments
2024-07-30 11:45:26 -04:00
Shane Melton 973aba1bf4
[PM-8379] Fix Vault Popup Items service loading (#10324)
* [PM-8379] Avoid fetching decrypted ciphers if no sync has completed

* [PM-8379] Do not emit ciphers loading when applying filters
2024-07-30 08:14:17 -07:00
Bitwarden DevOps 83d03daafb
Bumped client version(s) (#10328) 2024-07-30 15:10:28 +00:00
cyprain-okeke 6896ef2392
[AC-2708] Upgrading from a password manager only subscription (#10320)
* Add changes for the upgrade dialog

* Resolve the  free org to any org type besides Families

* Resolve the pr comments on navigation

* resolve family plan upgrade from free
2024-07-30 16:01:28 +01:00
Nick Krantz 8f437dc773
[PM-1655] Trial Registration Layout (#9091)
* add messaging for finish sign up component

* Add product enum for finish sign up components

* Allow confirmation details component to display secret manager confirmation

* add FinishSignUp component

- Started as exact copy of trial initiation component
- Consolidated with secrets manager trial components

* Integration finish sign up component into routing

- Use anon layout component
- Add resolver to pass the accurate title to the layout

* migrate to product tier type

* use existing ProductType enum

* migrate to accept org service

* fix query param parsing for free trial text

* migrate finish sign up to complete trial naming

* migrate fully to productTier

* fix import of free trial resolver

* increase max width of anon layout

* add auth-input component

* refactor component makeup

* export the users password if needed to auto login the user

* handle login situations where a stepper isn't used

* fix type check

* allow max width of anon layout to be configurable

* remove account created toast

* update productTier query param in text resolver

* set maxWidth for secrets manager trial route

* parse product query param as an int

* properly show registration error

* update routes to be from the root rather than relative

* install updated prettier and apply fixes

* fix missing password in test

---------

Co-authored-by: Conner Turnbull <133619638+cturnbull-bitwarden@users.noreply.github.com>
2024-07-30 08:11:40 -04:00
Oscar Hinton 339768947b
[PM-8771] Migrate the 404 page to Tailwind (#10116)
Redesign our 404 page and update to use Tailwind components.
2024-07-30 12:25:24 +02:00
Alec Rippberger 3b54bbd168
[PM-7902] Create V2 Note Component View (#10150)
* Rename <additional-information> component to <additional-options>

The Figma designs show and update to the Additional Information section. The heading changed to "Additional options". It probably makes sense to update the component name to match.

* Make view note header "note" lowercase.

* Add new translation messages for view header.

* Revert "Add new translation messages for view header."

This reverts commit 4e8877fe71.

* Make cipher headers lowercase via toLowerCase function

* Remove unused import.

* run npm ci && npm run prettier

* add back missing import
2024-07-29 16:24:35 -05:00
Alec Rippberger 6b8f60792e
Count and display invalid fields in toast. (#10249) 2024-07-29 15:33:29 -05:00
Jason Ng 3b668deaac
[PM-9631] MP reprompt view items (#10291)
* MP reprompt check will run before viewing item
2024-07-29 16:08:35 -04:00
Jared Snider ea72552599
Auth/PM-7077 - Browser Extension - UI Refresh - Account Switcher Component (#10268)
* PM-7077 - (1) Convert app-header to standalone (2) Convert account-switcher to standalone (3) Start wiring up extension refresh feature flag and fixing deps.

* PM-7077 WIP

* PM-7077 - Mostly get account switcher and account component converted to CL components.

* PM-7077 - Apply semibold classes to section headers to match storybook

* PM-7077 - AccountSwitcher - (1) Fix margin per design call (2) Add missing lockAll call

* PM-7077 - Remove test code.
2024-07-29 12:57:54 -04:00
Shane Melton ad01a529e8
[PM-9959] [PM-9962] Browser Refresh - Passkey Fixes (#10299)
* [PM-9959] Expose Fido2SessionData interface

* [PM-9959] Ensure cipherType is passed during passkey creation

* [PM-9959] Add beforeSubmit hook to cipherForm

* [PM-9959] Add support for Fido2 credential creation in add-edit-v2

* [PM-9959] Ensure cipherType defaults to CipherType.Login if none is available

* [PM-9959] Add support for name and username to be passed in as query params for initial form values

* [PM-9962] Hide remove passkey button when cipher has "except passwords" permissions
2024-07-29 08:13:56 -07:00
Shane Melton 00f6920a86
[PM-8379] Implement loading state in vault v2 (#10302) 2024-07-29 08:10:12 -07:00
Justin Baur c91f9146da
[PM-9978] Add State Logging Options (#10251)
* Add `DebugOptions` to Definitions

* Respect Debug Options

* Configure DI
2024-07-29 13:21:21 +00:00
github-actions[bot] beb5a65cda
Autosync the updated translations (#10314)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-07-29 12:33:00 +00:00
github-actions[bot] 73429a2150
Autosync the updated translations (#10312)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-07-29 12:28:50 +00:00
github-actions[bot] 885464d819
Autosync the updated translations (#10313)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-07-29 12:27:15 +00:00
Jake Fink a437868727
move initialization of UV service dep (#10290) 2024-07-26 14:23:20 -04:00
Nick Krantz 7594ebead2
[PM-9953][PM-9963] Collections Reprompt and Org assignment (#10194)
* prompt for master password for assigning-collections

* only pass collections that are within the cipher's org

* remove type=button on anchor element
2024-07-26 12:46:06 -05:00
github-actions[bot] f96a66ebd9
Autosync the updated translations (#10280)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-07-26 13:48:01 +00:00
github-actions[bot] 2fa69e337a
Autosync the updated translations (#10281)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-07-26 10:41:50 +00:00
github-actions[bot] 518310e0f1
Autosync the updated translations (#10282)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-07-26 10:39:23 +00:00
Bitwarden DevOps d215bff574
Bumped client version(s) (#10283) 2024-07-26 00:56:09 +00:00
Alex Urbina c938c21cf2
BRE-183 Manual version downgrade desktop version (#10279) 2024-07-25 18:14:14 -06:00
Thomas Rittson c5c8c45bab
[AC-2924] Remove GroupsComponentRefactor flag (#10259)
* Remove feature flag and old component
2024-07-26 07:46:11 +10:00
Bernd Schoolmann ad26f0890a
[PM-4348] Migrate AuthGuards to functions (#9595)
* Migrate auth guards

* Fix remaining auth guard migration

* Fix unauth guard usage

* Add unit tests for auth guard and unauth guard

* Remove unused angular DI code

* Move auth related logic out fo sm guard

* Add tests

* Add more tests for unauth guard

* Fix incorrect merge
2024-07-25 17:00:29 -04:00