Commit Graph

252 Commits

Author SHA1 Message Date
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
rr-bw c597b92dee
setup desktopOnInit() 2024-09-11 10:24:04 -07:00
rr-bw 8c786622e3
minor refactor to use destructuring 2024-09-11 10:12:07 -07:00
rr-bw 0f62f07cf2
add clarifying comment to handleAuthResult() 2024-09-11 10:08:11 -07:00
rr-bw 04ca09145b
minor formatting for consistency 2024-09-10 17:00:06 -07:00
rr-bw e2434ff397
create a LoginSecondaryContentComponent for AnonLayout use 2024-09-10 16:26:54 -07:00
rr-bw b64552f183
refactor handlCaptchaRequired() 2024-09-10 15:15:56 -07:00
rr-bw ff53feeed5
add comment to revisit ngOnInit logic 2024-09-10 14:55:24 -07:00
rr-bw d76f4832e6
refactor webOnInit 2024-09-10 14:51:42 -07:00
rr-bw 08261842e0
refactor to handleAuthResult() method 2024-09-10 14:25:27 -07:00
rr-bw 9588148e48
remove toast error on invalid form for Browser/Desktop 2024-09-10 14:22:51 -07:00
rr-bw d098ee0cbc
refactor submit logic further to use if statements with returns instead of if...else if...else 2024-09-10 14:10:02 -07:00
rr-bw feb16c3fd2
refactor submit logic 2024-09-10 13:27:40 -07:00
rr-bw 7d8886e4dc
refactor captcha methods and add return types 2024-09-10 12:58:24 -07:00
rr-bw 40e2cb5747
refactor handleMigrateEncryptionKey() 2024-09-10 12:37:22 -07:00
rr-bw b997b6024e
rename 'response' to 'authResult' 2024-09-10 12:08:32 -07:00
rr-bw e8e5ec23f9
add template for desktop first UI state: email entry 2024-09-09 16:58:37 -07:00
rr-bw b564ff4ca5
Merge branch 'main' into auth/pm-8111/browser-refresh-login-component 2024-09-09 15:28:03 -07:00
rr-bw 4d1ab66453
setup desktop router 2024-09-09 15:15:57 -07:00
rr-bw 12967b0c17
h3 typography on small screens, h2 on medium-large screens (#10939) 2024-09-09 15:12:31 -07:00
rr-bw bdd6f9f6df
handle browser routing and basic browser template 2024-09-09 14:45:55 -07:00
Nick Krantz 4e7399ed98
[PM-9733] Custom Vault Timeout (#10515)
* handle timeout changes that are predefined string values

- Passing a string to `Math.max` will cause a NaN to be set.

* type form instance so TypeScript is more aware of the form values
2024-09-09 16:36:23 -05:00
rr-bw 81a623d998
handle browser ngOnInit 2024-09-09 13:19:02 -07:00
rr-bw 3c68fb0876
handle browser/desktop syncService 2024-09-09 13:05:46 -07:00
rr-bw 3636c72741
handle post-login routing on Browser/Desktop 2024-09-09 12:29:01 -07:00
rr-bw 00a29b3795
handle master password input focus 2024-09-09 09:54:31 -07:00
rr-bw 70d15fb4d2
update defaultOnInit() 2024-09-07 13:36:08 -07:00
rr-bw e8c4217bec
create a defaultOnInit() 2024-09-07 13:06:45 -07:00
rr-bw 4f893e0769
minor updates to comments for clarity 2024-09-07 13:03:15 -07:00
rr-bw e190ca48c7
incorporate loginEmailService changes 2024-09-07 12:53:48 -07:00
rr-bw d74561d374
merge main, fix conflicts 2024-09-05 16:53:32 -07:00
Thomas Rittson 8344623185
[PM-11450] Move organization-user domain to admin-console lib (#10785)
- move organization-user files from libs/common/src/admin-console into libs/admin-console/src/common
- add barrel files and update imports to use barrel files
- rename OrganizationUserService to OrganizationUserApiService
- rename OrganizationUserServiceImplementation to DefaultOrganizationUserApiService
2024-09-04 18:21:26 -04:00
Todd Martin 86fab07a37
Auth/PM-5099 Ensure consistent casing of email used for fingerprint generation in Auth Requests (#8571)
* Created method for handilng email-address-based fingerprint.

* Added test for new method.

* Added returns to annotation
2024-09-04 10:22:06 -04:00
rr-bw b27dc44298
[PM-11136] Convert LoginEmailService email property to state provider (#10624)
* convert email property to state provider

* update tests

* assign loginEmail to variable before passing in

* remove nav logic in ngOnInit
2024-09-03 09:40:11 -07:00
rr-bw 1ad35b0308
fix typo 2024-09-02 10:11:21 -07:00
rr-bw 48ffd0b5d6
handle submit routing (web) 2024-09-02 09:31:10 -07:00
rr-bw 19acf12900
add handleMigrateEncryptionKey to default and web service 2024-09-02 08:50:38 -07:00
rr-bw 983cee8af6
handle startAuthRequestLogin() 2024-08-31 14:17:09 -07:00
rr-bw 0cd840e6ae
handle captcha 2024-08-31 14:03:27 -07:00
rr-bw b339c01c20
remove position on browser (#10810) 2024-08-31 13:19:48 -07:00
rr-bw c5a267baad
[PM-11000] AnonLayout Icon/Logo theme refactor (#10549)
* update base anon-layout logo/icon

* update ExtensionAnonLayout logo/icon based on theme

* remove hard-coded fill

* remove solarizedDark class

---------

Co-authored-by: Bernd Schoolmann <mail@quexten.com>
2024-08-31 12:26:11 -07:00
rr-bw 621115a23d
add showPasswordless flag 2024-08-30 16:23:43 -07:00
rr-bw 2a58a69b08
handle registerRoute 2024-08-30 15:40:23 -07:00
rr-bw 9b28a0e01e
add validateEmail logic 2024-08-30 14:36:22 -07:00
rr-bw 669585a87f
merge main 2024-08-30 11:40:21 -07:00
Jared Snider 0a0cbde5b3
Auth/PM-11318 - Registration With Email Verification - Login After Registration (#10783)
* PM-11318 - Registration Finish - Log user in after registration

* PM-11318 - Adjust registration and login message to be one msg

* PM-11318 - RegistrationFinish - Adjust messaging based on product feedback.

* PM-11318 - RegistrationFinishComp - Tweak redirect and error logic.
2024-08-29 13:55:09 -04:00
rr-bw 97f9008b60
refactor getOrgPolicies call 2024-08-27 16:21:08 -07:00
Jordan Aasen 9041a4cd4c
[PM-6564] migrate auth toasts to CL toastService (#10665)
* migrate auth toasts to CL toastService

* fix component args

* fix component args

* fix specs

* fix toastService args
2024-08-27 10:33:58 -07:00
rr-bw 688a24bd52
fill out webOnInit 2024-08-27 09:31:17 -07:00
Matt Gibson 9459cda304
Pm-10953/add-user-context-to-sync-replaces (#10627)
* Require userId for setting masterKeyEncryptedUserKey

* Replace folders for specified user

* Require userId for collection replace

* Cipher Replace requires userId

* Require UserId to update equivalent domains

* Require userId for policy replace

* sync state updates between fake state for better testing

* Revert to public observable tests

Since they now sync, we can test single-user updates impacting active user observables

* Do not init fake states through sync

Do not sync initial null values, that might wipe out already existing data.

* Require userId for Send replace

* Include userId for organization replace

* Require userId for billing sync data

* Require user Id for key connector sync data

* Allow decode of token by userId

* Require userId for synced key connector updates

* Add userId to policy setting during organization invite accept

* Fix cli

* Handle null userId

---------

Co-authored-by: bnagawiecki <107435978+bnagawiecki@users.noreply.github.com>
2024-08-26 20:44:08 -04:00
Oscar Hinton 9152c3203f
[BEEEP] [PM-10117] Migrate index.html (#10286)
Migrate the index.html to use tailwind instead of bootstrap

* Extracted some more global styles to override the bootstrap styles for layout
  frontend. We should revisit this when we remove bootstrap.
* Removed Angular specific logo for anon pages. Now uses the same css class as
  loading page to prevent duplicated assets.
2024-08-26 18:15:09 +02:00
rr-bw d917426afa
implement web onInit 2024-08-23 10:27:11 -07:00
rr-bw d4213fba2e
setup web-login.service.ts 2024-08-22 14:03:07 -07:00
rr-bw 2b90cbb3e5
handle loading email settings 2024-08-21 14:54:07 -07:00
rr-bw af91d39c57
update pageTitle 2024-08-21 12:12:58 -07:00
rr-bw af9483d480
setup new LoginComponent files in libs/auth 2024-08-20 15:30:15 -07:00
Victoria League ed719f835a
[CL-389] Add end slot to non-text bit label content (#10457) 2024-08-20 11:55:11 -04:00
Will Martin 7571c766e0
[PM-10813] add eslint rule to restrict imports from `apps` in `libs` (#10481)
* restrict app imports in libs

* add eslint ignore comments
2024-08-14 11:24:29 -07:00
Jared Snider a13e99ebe9
Auth/PM-10601 - Tech Debt Cleanup - Refactor Lock Component and User Verification to use PinService (#10408)
* PM-10601 - PinSvc new unlock check first draft

* PM-10601 - PinSvc - add new method for determining if pin decryption is available.

* PM-10601 - Add more docs on PinSvc

* PM-10601 - Update Lock Comp & User Verification service + tests to use new isPinDecryptionAvailable method
2024-08-13 15:19:13 -04:00