Commit Graph

44 Commits

Author SHA1 Message Date
Oscar Hinton 521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Addison Beck 0b306ca1a7
[Account Switching] [Feature] Add the ability to maintain state for up to 5 accounts at once (#1079)
* [refactor] Remove references to deprecated services

* [feature] Implement account switching

* [bug] Fix state handling for authentication dependent system menu items

* [bug] Enable the account switcher to fucntion properly when switching to a locked accounts

* [feature] Enable locking any account from the menu

* [bug] Ensure the avatar instance used in the account switcher updates on account change

* [style] Fix lint complaints

* [bug] Ensure the logout command callback can handle any user in state

* [style] Fix lint complaints

* rollup

* [style] Fix lint complaints

* [bug] Don't clean up state until everything else is done on logout

* [bug] Navigate to vault on a succesful account switch

* [bug] Init the state service on start

* [feature] Limit account switching to 5 account maximum

* [bug] Resolve app lock state with 5 logged out accounts

* [chore] Update account refrences to match recent jslib restructuring

* [bug] Add missing awaits

* [bug] Update app menu on logout

* [bug] Hide the switcher if there are no authed accounts

* [bug] Move authenticationStatus display information out of jslib

* [bug] Remove unused active style from scss

* [refactor] Rewrite the menu bar

* [style] Fix lint complaints

* [bug] Clean state of loggout out user after redirect

* [bug] Redirect on logout if not explicity provided a userId that isn't active

* [bug] Relocated several settings items to persistant storage

* [bug] Correct account switcher styles on all themes

* [chore] Include state migration service in services

* [bug] Swap to next account on logout

* [bug] Correct DI service

* [bug] fix loginGuard deps in services.module

* [chore] update jslib

* [bug] Remove badly merged scss

* [chore] update jslib

* [review] Code review cleanup

* [review] Code review cleanup

Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-12-15 17:32:00 -05:00
Oscar Hinton 04cfdb246d
BEEEP: Refactor services DI (#1175) 2021-12-06 12:03:02 +01:00
Thomas Rittson b6db41c26c
Update jslib (#1176)
* Update jslib

* Update component constructors

* Update jslib
2021-11-29 10:21:48 +10:00
Oscar Hinton 6f69486c36
Remove empty catch blocks and remove allow-empty-catch tslint rule (#1117) 2021-10-21 11:10:36 +02:00
Vincent Salucci df382a3611
[Reset Password v1] Refactor ForcePasswordReset flow (#1067)
* [Reset Password v1] Refactor ForcePasswordReset flow

* Update jslib
2021-09-24 08:33:57 -05:00
Oscar Hinton 2ba8925b81
Add password show/hide to reprompt (#959) 2021-08-27 15:30:44 +02:00
Vincent Salucci d82378a7a0
[Reset Password v1] Update Temp Password (#1015) 2021-08-11 15:49:44 -04:00
Matt Gibson c863d68057
Feature/use hcaptcha if bot (#1000)
* Add captcha to login component

* Add catpcha to login page

* Update content width if captcha is visible

* extend submit to handle widening if captcha is required

* Improve login styling

* Add Captcha to registration page

* Remove padding from captcha div

The padding was messing up image selection of captcha items

* Update jslib

* PR review

* update jslib
2021-07-23 13:48:10 -05:00
Thomas Rittson 3aa171a664
[macOS] Don't enable secure input when app is not in focus (#970)
* Don't engage macOS secure input if not focused

* Refactor to use focusInputOnPageLoad

* Fix style and linting

* Refactor to remove focusOnPageLoad

* Update jslib
2021-07-05 08:06:24 +10:00
Oscar Hinton 296340a5be
Add jslib as a "real" dependency (#941)
* Add jslib as a "real" dependency

* Move more packages to jslib

* Remove some unesessary dev dependencies.

* Add back missing preinstall

* Revert jslib bump

* Fix jslib containing wrong types/node.

* Bump jslib

* Remove unessesary alias

* Remove dummy module
2021-06-07 19:26:36 +02:00
Matt Gibson e76e56d824 Match linter rules 2021-02-03 12:21:22 -06:00
Chad Scharf 97e982bf01 onDestroy needed for broadcast subscriptions 2020-11-04 14:00:44 -05:00
Chad Scharf fe031ac6b8 remove trailing whitespace for lint errors 2020-11-04 12:19:56 -05:00
Chad Scharf c001a00f82 Hide hidden fields on hide/minimize 2020-11-04 12:09:21 -05:00
Chad Scharf 4a18a4eb93 cont. removing broadcast srv jslib refs 2020-11-02 17:11:56 -05:00
Chad Scharf d8d1ee3022 Handle main window hide 2020-10-29 16:35:09 -04:00
Vincent Salucci bbd50b2459
[jslib] Update (5d874d0 -> 6ab444a) (#524)
* update jslib (5d874d0 -> 6ab444a)

* update depedency chain

* Removed weird double imports
2020-08-21 17:15:02 -05:00
Kyle Spearrin 0ba2589461
merge sso feature branch (#523)
* Update jslib (101c568 -> 14b01f2) (#506)

* Update jslib (14b01f2 -> 1513b25) (#510)

* [jslib] Update (1513b25 -> 7c3a9d6) (#516)

* update jslib (1513b25 -> 7c3a9d6)

* Updated call to constructor super

* [SSO] Added SSO flows & functionality (#513)

* update jslib

* bump version

* Added sso button (wip)

* Added sso & change password // Added modules/routes // Added strings for localization

* Added password strength comp // reverted login route

* Updated sso component to send client id // added routing for sso // added crypto function to services module provider list

* Added deep linking

* First round of UI updates // Added sso browser launching // Added missing strings

* Updated UI and added missing strings

* Removed extra change password style

* Let constructor for WindowMain handle default width/height

* Prepared for jslib update

* Update jslib (1513b25 -> 7c3a9d6)

* Update login super

* Added params for launchSsoBrowser function

* Update jslib (7c3a9d6 -> 4203937)

* Added missing strings, removed unnecessary class param

* Upgrade TypeScript (#517)

* Updated password score // Update styles

* Removed password-strength component files

* Cleaned up module class // Fixed UL/LI formatting issues

* Use exisiting loading string // removed new string

* Update jslib (4203937 -> 9957125)

* Updated class to perform new submit actions

* Upgrade Angular (#520)

* di resolution for CryptoFunctionServiceAbstraction

* Update jslib (9957125 -> 5d874d0) (#521)

* Updated change password flow to match web

* Updated callout style

Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
Co-authored-by: Oscar Hinton <hinton.oscar@gmail.com>

Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Oscar Hinton <hinton.oscar@gmail.com>
2020-08-21 09:50:36 -04:00
Oscar Hinton 7499d7de25
Upgrade Angular (#520) 2020-08-18 16:13:15 -04:00
Kyle Spearrin e063c8b09d purge state on lock/logout 2019-07-02 08:18:42 -04:00
Kyle Spearrin 1c5233c7dd aria hide page content when modal shown 2019-04-02 09:15:58 -04:00
Kyle Spearrin 2ca8ac573b move toaster and analytics to platform utils 2018-10-03 09:42:11 -04:00
Kyle Spearrin 9e3520d3b5 onSuccessfulLogin typo 2018-07-13 10:45:15 -04:00
Kyle Spearrin c3bddf9e31 remember email on login 2018-07-13 09:29:05 -04:00
Kyle Spearrin b87f648eeb move sync to post login action 2018-04-25 12:08:21 -04:00
Kyle Spearrin 54f534529a move modal to jslib 2018-04-24 23:23:10 -04:00
Kyle Spearrin e27b2a7a53 convert to ngtools/webpack for aot compilation 2018-04-06 12:25:22 -04:00
Kyle Spearrin 0303b18e2e share login component with jslib 2018-04-04 09:19:39 -04:00
Kyle Spearrin 40e135a297 toggle password visibility on login/register 2018-02-24 13:45:41 -05:00
Kyle Spearrin 2030100631 sync after login 2018-02-08 10:48:50 -05:00
Kyle Spearrin 58e39c0c81 lint fixes 2018-02-08 10:37:54 -05:00
Kyle Spearrin 269cacec45 login environment settings 2018-02-02 12:31:21 -05:00
Kyle Spearrin fd15c09406 2fa support 2018-02-01 22:59:04 -05:00
Kyle Spearrin 0328977c14 stub out 2fa component 2018-01-31 22:54:13 -05:00
Kyle Spearrin ae955e6650 register page 2018-01-31 14:19:21 -05:00
Kyle Spearrin 619d3fd075 api form directive 2018-01-31 00:10:14 -05:00
Kyle Spearrin b50bf9d5cc added validation to login form 2018-01-30 23:34:45 -05:00
Kyle Spearrin 257eddf126 more login page work 2018-01-30 17:52:56 -05:00
Kyle Spearrin 2ab23c2c9e i18n service and helpers 2018-01-24 14:59:03 -05:00
Kyle Spearrin f2923d9c81 lint fixes 2018-01-24 09:26:59 -05:00
Kyle Spearrin 881b581fe3 print folder, collections, and ciphers to vault 2018-01-23 16:58:32 -05:00
Kyle Spearrin 0a803958e9 service implementations 2018-01-22 23:37:36 -05:00
Kyle Spearrin 824c5e5ff9 routing to login page 2018-01-16 15:58:17 -05:00