1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-14 01:01:31 +01:00
Commit Graph

2137 Commits

Author SHA1 Message Date
Jared Snider
306b08ea09
PM-8113 - 2FA Options Comp rewritten to match figma 2025-01-29 18:58:49 -05:00
Jared Snider
dfacaff005
PM-8113 - TwoFactorOptionsComponent - remove icon disable logic and unused imports 2025-01-29 17:45:38 -05:00
Jared Snider
01314f1aa1
PM-8113 - TwoFactorOptionsComponent - deprecate recovery code functionality 2025-01-29 17:44:46 -05:00
Jared Snider
e2e5a92ef0
PM-8113 - Adjust translations based on meeting with Design 2025-01-29 17:06:48 -05:00
Jared Snider
e368f1afa3
PM-8113 - Mark old two-factor-options component as v1. 2025-01-29 13:28:06 -05:00
Jared Snider
7d8686122b
PM-8113 - TwoFactorAuthComp - remove icon from launch duo button per figma 2025-01-29 11:35:26 -05:00
Jared Snider
d579acb3aa
PM-8113 - (1) Add Yubico logo icon (2) Rename Yubikey icon to security key icon 2025-01-29 11:26:31 -05:00
Jared Snider
5a36c8b298
PM-8113 - 2FA Auth Comp - Duo icon works 2025-01-29 11:11:46 -05:00
Jared Snider
2ec3439df1
PM-8113 - TwoFactorAuthDuoComponent Html - remove text that was moved to page subtitle. 2025-01-29 11:01:02 -05:00
Jared Snider
cbcc2fa8f0
PM-8113 - Add todo 2025-01-28 23:33:41 -05:00
Jared Snider
f7f2fa6037
PM-8113 - TwoFactorAuthComp - more work on getting page title / icons working 2025-01-28 23:14:38 -05:00
Jared Snider
196ff0a616
PM-8113 - TwoFactorAuthComp - progress on adding 2fa provider page icons and subtitles 2025-01-28 18:21:27 -05:00
Jared Snider
1ff50d22ba
PM-8113 - TwoFactorAuthComp - fix comp tests 2025-01-28 18:04:51 -05:00
Jared Snider
01cae160f0
PM-8113 - TwoFactorAuthComponent - use2faRecoveryCode - build out method per discussion with design 2025-01-28 17:56:05 -05:00
Jared Snider
1066c1cb42
PM-8113 - 2fa Email Comp - add style changes per discussion with design 2025-01-28 17:53:36 -05:00
Jared Snider
5df561c1a3
PM-8113 - TwoFactorOptionsComponent - add todos 2025-01-28 14:53:54 -05:00
Jared Snider
af9d132cae
PM-8113 - 2FA Auth Comp - Progress on implementing design changes 2025-01-28 14:53:27 -05:00
Jared Snider
115514da27
PM-8113 - Update icons to use proper classes 2025-01-28 13:40:24 -05:00
Jared Snider
6b7f98eb71
PM-8113 - Update icons with proper svg with scaling via viewbox 2025-01-28 13:35:47 -05:00
Jared Snider
3732e02e09
PM-8113 - TwoFactorEmailComp - work on converting to new design 2025-01-27 19:10:48 -05:00
Jared Snider
ab38b3bd89
PM-8113 - TwoFactorAuthComponent - add setAnonLayoutDataByTwoFactorProviderType and handle email case as POC 2025-01-27 19:07:37 -05:00
Jared Snider
94f151779b
PM-8113 - Add 2fa icons (icons need tweaking still) 2025-01-27 18:52:50 -05:00
Jared Snider
08a13c021c
PM-8113 - Revert changes to login strategies to avoid scope creep for the sake of typescript strictness. 2025-01-25 12:08:36 -05:00
Jared Snider
7b5a751f07
PM-8113 - TwoFactorAuthComponent Tests - fix tests by removing mock of removed method. 2025-01-24 16:50:13 -05:00
Jared Snider
e6e3cf623a
PM-8113 - Clean up used service method + TODO as I've confirmed it works for other flows. 2025-01-24 16:32:32 -05:00
Jared Snider
8506449f9d
PM-8113 - TwoFactorAuth - Clean up unused stuff and get tests passing 2025-01-24 16:18:38 -05:00
Jared Snider
314c1a2666
PM-8113 - 2FA - Duo & Email comps - strict typescript adherence. 2025-01-24 16:05:15 -05:00
Jared Snider
b583b52cc4
Merge remote-tracking branch 'origin/main' into auth/pm-8113/2fa-comps-ui-refresh 2025-01-24 13:49:24 -05:00
Alex Morask
f630ee5f4e
[PM-11730] Remove feature flag: AC-2476-deprecate-stripe-sources-api (#13032)
* Remove FF from trial-billing-step.component

* Remove FF from user-subscription.component

* Remove FF from individual-billing-routing.module

* Remove FF from organization-billing.service

* Remove FF from organization-subscription-cloud.component

* Remove FF from organization-billing-routing.mdoule

* Remove FF from organization-plans.component

* Remove FF from change-plan-dialog.component

* Remove FF

* Remove legacy payment.component

* Rename V2: adjust-payment-dialog.component

* Rename V2: adjust-storage-dialog.component

* Rename V2: payment-label.component

* Rename V2: payment.component

* Rename V2: premium.component

* Patrick's feedback
2025-01-24 13:38:44 -05:00
Jared Snider
315e1338d5
PM-17466 - RegistrationFinishComp - Add call to loginSuccessHandlerService after successful login (#13059) 2025-01-24 13:25:51 -05:00
Jared Snider
6acaa6c711
Auth/PM-17197 - UnauthGuard Trusted Devices Lock State Refactor (#12938)
* PM-17197 - Refactor DeviceTrustService to deprecate active user state as I need to call with a user id per latest best practice

* PM-17197 - Refactor Unauth Guard to be aware of TDE lock state + use active user best practice.
2025-01-24 13:20:42 -05:00
Shane Melton
b1744c4e0a
[PM-17541] Fix folder service key definition (#13060)
* [PM-17541] Switch folder key definition back to "folders" and add migration script for users that have switched to the incorrect key

* [PM-17541] Fix import path

* [PM-17541] Fix implicit any in spec file
2025-01-24 10:12:52 -08:00
Brandon Treston
b23a41ac86
[PM-17465] refactor PolicyService.getAll$ to make userId not optional (#13031)
* refactor PolicyService.getAll$ to make userId not optional

* add fix to browser

* fix test to read from mock singleUserState

* remove nested pipes, cleanup
2025-01-24 09:58:38 -05:00
Jordan Aasen
dbb1639e72
[PM-17213] - allow changing of item owner from personal to org (#13034)
* allow changing of item owner from personal to org

* avoid unecessary api calls when updating item parent

* move comment up a line

* add localData to cipher instance
2025-01-23 15:43:42 -08:00
Jared Snider
d28abe46fc
PM-8113 - Fix build after merge conflict issue 2025-01-23 18:37:02 -05:00
Jared Snider
1b72325aa6
PM-8113 - TwoFactorAuth - update to latest authN session timeout logic 2025-01-23 18:19:43 -05:00
Jared Snider
37ac40098c
Merge remote-tracking branch 'origin/main' into auth/pm-8113/2fa-comps-ui-refresh + merge conflict fixes 2025-01-23 18:14:37 -05:00
Jared Snider
2091245471
PM-8113 - TwoFactorAuth - remove loading as submitting. 2025-01-23 17:53:25 -05:00
Jared Snider
e626233121
PM-8113 - TwoFactorAuth - build submitting loading logic 2025-01-23 17:49:23 -05:00
Jared Snider
09f4a468c9
PM-8113 - TwoFactorAuth + Webauthn - Refactor logic 2025-01-23 17:23:52 -05:00
Matt Gibson
f9f30f8ec4
[PM-17479] Load-sdk-once (#12764)
* create service to load sdk on application init

* Eagerly load CLI SDK

* Remove wasm logging to api

* Fix imports

* Eagerly load Desktop renderer SDK

Note: If the main process ever requires an SDK, we'll need to load it there, too.
In that event, it's probably a good idea to move to IPC for all SDK functions to avoid
loading the SDK for every window.

* init wasm module from sdk load service

* Use default client factory

* Fix type imports

* Resolve jest module import errors

A CLI sdk load service that async imports our wasm binary doesn't seem to be needed to run, but jest isn't dealing with the ESM import properly.

* Fix linting

* remove example code
2025-01-23 14:34:22 -05:00
Alec Rippberger
aa1c0ca0ee
feat(auth): [PM-8221] implement device verification for unknown devices
Add device verification flow that requires users to enter an OTP when logging in from an unrecognized device. This includes:

- New device verification route and guard
- Email OTP verification component
- Authentication timeout handling

PM-8221
2025-01-23 12:57:48 -06:00
Maciej Zieniuk
abb18881b6
[PM-14445] TS strict for Key Management KDF (#13007)
* PM-14445: TS strict for Key Management KDF

* state deserializer can return null
2025-01-23 10:45:33 +01:00
Jared Snider
a35ab8f2d2
PM-8113 - Remove more incorrect i18nPipes 2025-01-22 17:18:13 -05:00
Jared Snider
66ac280ba8
PM-8113 - Per main changes, remove deprecated I18nPipe from 2fa comps that use it. 2025-01-22 16:49:16 -05:00
Jared Snider
1c9f3e7bee
Merge remote-tracking branch 'origin/main' into auth/pm-8113/2fa-comps-ui-refresh + merge conflict resolutions 2025-01-22 16:26:00 -05:00
Brandon Treston
a949f793ed
[PM-15506] Implement vNextOrganizationService (#12839)
* [PM-15506] Wire up vNextOrganizationService for libs/common and libs/angular (#12683)

* Wire up vNextOrganizationService in PolicyService

* Wire vNextOrganizationService in SyncService

* wire vNextOrganizationService for EventCollectionService

* wire vNextOrganizationService for KeyConnectorService

* wire up vNextOrganizationService for CipherAuthorizationService

* Wire up vNextOrganizationService in PolicyService

* Wire vNextOrganizationService in SyncService

* wire vNextOrganizationService for EventCollectionService

* wire vNextOrganizationService for KeyConnectorService

* wire up vNextOrganizationService for CipherAuthorizationService

* wire vNextOrganizationService for share.component

* wire vNextOrganizationService for collections.component

* wire vNextOrganizationServcie for add-account-credit-dialog

* wire vNextOrganizationService for vault-filter.service

* fix browser errors for vNextOrganizationService implementation in libs

* fix desktop errors for vNextOrganizationService implementation for libs

* fix linter errors

* fix CLI errors on vNextOrganizationServcie implementations for libs

* [PM-15506] Wire up vNextOrganizationService for web client (#12810)

PR to a feature branch, no need to review until this goes to main.

* implement vNextOrganization service for browser client (#12844)

PR to feature branch, no need for review yet.

* wire vNextOrganizationService for licence and some web router guards

* wire vNextOrganizationService in tests

* remove vNext notation for OrganizationService and related

* Merge branch 'main' into ac/pm-15506-vNextOrganizationService

* fix tsstrict error

* fix test, fix ts strict error
2025-01-22 15:20:25 -05:00
Nick Krantz
5c32e5020d
[PM-9111] Extension: persist add/edit form (#12236)
* remove todo

* Retrieve cache cipher for add-edit form

* user prefilled cipher for add-edit form

* add listener for clearing view cache

* clear local cache when clearing global state

* track initial value of cache for down stream logic that should only occur on non-cached values

* add feature flag for edit form persistence

* add tests for cipher form cache service

* fix optional initialValues

* add services to cipher form storybook

* fix strict types

* rename variables to be platform agnostic

* use deconstructed collectionIds variable to avoid them be overwritten

* use the originalCipherView for initial values

* add comment about signal equality

* prevent events from being emitted when adding uris to the existing form

- This stops other values from being overwrote in the initialization process

* add check for cached cipher when adding initial uris
2025-01-22 11:49:07 -05:00
Nick Krantz
e26670c029
[PM-14422] Vault Carousel (#12791)
* collect tailwind styles from the `libs/vault/*`

- Some unique styles were not showing in storybook

* initial add of carousel component

* initial add of carousel stories

* move carousel button to a standalone component for organization

* add key manager for carousel buttons

* add tab panel role to slide component

* make carousel slide focusable when it does not contain focusable elements

* add aria live to carousel slides

* add labels for carousel slide buttons

* emit slide change event

* move icons to carousel-icons folder

* add barrel file for carousel

* move protected properties

* remove underscore

* allow differing heights of carousel slides

* update interactive styles for the carousel icons

* allow for focus styled on carousel buttons

* fix tests

* fix imports

* add method to render each slide and get the height of the tallest slide

- This avoids consumers having to pass in a height.
- The height of the tallest slide is needed because it will stop the carousel from jumping around as the user scrolls.

* add comment to content property

* remove rem calculation
2025-01-22 08:45:35 -06:00
Thomas Rittson
25987bc2fe
Group AC Team feature flags (#13002) 2025-01-22 14:04:37 +00:00