1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00
Commit Graph

210 Commits

Author SHA1 Message Date
Alec Rippberger
a1b921691a Break up LoginComponent into client-specific services. 2024-09-25 22:07:37 -05: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
Alec Rippberger
e0eff02a42 Remove back button todo. 2024-09-25 11:29:28 -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
Alec Rippberger
9bb84094ae Fix comment typo. 2024-09-24 12:32:56 -05: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
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
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
Justin Baur
1ebef296b9 [PM-12024] Move Lock All To Happen in Background (#11047)
* Move Lock All To Happen in Background

- Make it done serially
- Have the promise only resolve once it's complete

* Unlock Active Account Last

* Add Tests

* Update Comment
2024-09-16 16:08:03 -04: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
rr-bw
6d1d02a264 rename loginService prop to loginComponentService 2024-09-14 13:52:08 -07:00
rr-bw
6bbbfcd145 add jsdocs to LoginComponentService 2024-09-14 13:47:10 -07: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
rr-bw
e076e94c08 move extension launchSsoBrowserWindow() to extension service 2024-09-13 17:21:15 -07:00
rr-bw
b7996183bf add launchSsoBrowser to extension template 2024-09-13 16:40:54 -07:00
rr-bw
4df7712c13 add todo comment regarding browser template 2024-09-13 15:56:24 -07:00
rr-bw
80fd8bd5b0 update captcha iframe on all clients 2024-09-13 15:17:31 -07:00
rr-bw
8fa5c55088 remove 'V2' from new component 2024-09-13 14:53:44 -07:00
rr-bw
c44634585f update icon stroke color 2024-09-13 13:42:57 -07:00
rr-bw
4012a6c594 ensure full sync happens on all clients before navigation 2024-09-13 10:54:13 -07:00
rr-bw
de4b1778c1 merge main, fix conflicts 2024-09-13 10:05:57 -07:00
rr-bw
96d116d643 [PM-8116] Auth Browser Refresh: Password Hint Component (#10492)
* setup component, services, and web HTML

* make Web and Browser functional

* make desktop functional

* update template to solidify common client HTML

* simplify template and class

* update browser routing

* move canActivate to correct location

* simplify post submit routing

* update routing to use unauthUiRefreshSwap()

* constrain AnonLayout title/subtitle width, reduce height on destkop to account for header

* reduce height on browser to account for header (otherwise have to scroll to see EnvSelector

* resolve email issue when clicking 'cancel' on extension popout

* update routing for web

* persist email to popout

* update web router and anon-layout min-h based on client

* change anchor link to button

* remove unnecessary formatting changes

* add new icon

* remove unnecessary call to loginEmailService
2024-09-13 09:16:25 -07:00
Jared Snider
bd3863c313 Auth/PM-11969 - Registration with Email Verification - Accept Emergency Access Invite Flow (#11018)
* PM-11969 - Registration with Email Verification - Accept Emergency Access Invite Fixed

* PM-11969 - Fix PR feedback

* PM-11969 - AcceptEmergencyComponent - remove prop
2024-09-12 20:14:37 -04:00
rr-bw
350459f04f Extension: setup MasterPasswordEntry state UI 2024-09-12 14:55:28 -07:00
rr-bw
e616218de5 Extension: setup EmailEntry state UI 2024-09-12 14:46:42 -07:00
rr-bw
9cb64b59ca remove 'showPassword' property b/c now handled by bitPasswordInputToggle 2024-09-12 14:04:44 -07:00
rr-bw
7a4b83afde desktop HTML template updates 2024-09-12 14:02:13 -07:00
rr-bw
bb5f88f8c7 remove static element ref 2024-09-12 13:29:11 -07:00
Jared Snider
b6cde7e3ef Auth/PM-11945 - Registration with Email Verification - Fix Org Sponsored Free Family Plan not working (#11012)
* PM-11945 - AcceptOrg - fix inaccurate comment.

* PM-11945 - Refactor new registration process to pass along orgSponsoredFreeFamilyPlanToken

* PM-11945 - RegistrationFinishComponent - wire up passing of orgSponsoredFreeFamilyPlanToken to submit method

* PM-11945 - Add todo
2024-09-12 15:24:35 -04:00
rr-bw
6ffaeae331 add dynamic anon-layout wrapper data 2024-09-12 11:39:43 -07:00
rr-bw
8696330245 change email validation to only run on submit (or when clicking continue button) 2024-09-12 11:04:15 -07:00
rr-bw
0cf965cdae web template modifications 2024-09-12 10:42:46 -07:00
rr-bw
677829f03a handle registerRoute$ in secondary content 2024-09-12 09:51:26 -07:00
rr-bw
c89eb92a63 handle oss-routing swap 2024-09-12 09:19:21 -07:00
rr-bw
f9dc91228b refactor to use a uiState enum for UI states 2024-09-11 16:47:43 -07:00
rr-bw
96f31ecf61 add descriptive comment to top of HTML file 2024-09-11 13:13:14 -07:00
Victoria League
a0a0a7ae13 [CL-395] Add and use art colors in svgs (#10990) 2024-09-11 14:54:07 -04:00
rr-bw
234191e809 fill out desktop template and submit() 2024-09-11 11:48:18 -07:00
rr-bw
b0f4ac1915 add clarifying comment regarding secondary content 2024-09-11 10:38:25 -07:00
rr-bw
e3219d2766 handle desktop ngOnDestroy() 2024-09-11 10:33:03 -07:00
rr-bw
167b246112 add continue() method 2024-09-11 10:30:09 -07:00