1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-06 00:03:29 +00:00

Commit Graph

  • 792777d590 [bug] Remove default environementUrls value from state bug_account-switching_default-env-urls addison 2022-01-05 13:21:32 -05:00
  • 732f28d905 Fix failing tests feature/workspaces Hinton 2022-01-03 13:35:57 +01:00
  • 6a6df16e4f Add missing tests to electron Hinton 2022-01-03 13:12:30 +01:00
  • d74e20ea69 Merge branch 'master' of github.com:bitwarden/jslib into feature/workspaces Hinton 2022-01-03 12:51:00 +01:00
  • 751b318010 Merge commit '193434461dbd9c48fe5dcbad95693470aec422ac' into feature/workspaces Hinton 2022-01-03 12:50:03 +01:00
  • c3aaf33ce1 Apply prettier Hinton 2022-01-03 12:49:00 +01:00
  • d68d4b4bdc Merge commit '8b2dfc6cdcb8ff5b604364c2ea6d343473aee7cd' into feature/workspaces Hinton 2022-01-03 12:46:02 +01:00
  • df94c8022e Re-add detect browsers Hinton 2022-01-03 12:22:57 +01:00
  • 5f25674670 Fix paths Hinton 2022-01-03 12:04:50 +01:00
  • cc989e4071 Rename all occurances of fb to formBuilder (#595) Robyn MacCallum 2021-12-31 10:05:23 -05:00
  • e4cd0af2f9 [bug] Add several state value defaults (#593) Addison Beck 2021-12-31 09:14:43 -05:00
  • 5893f48435 [style] Ran prettier bug_account-switching_initAccount addison 2021-12-28 16:11:48 -05:00
  • 8b901ce1b7 [bug] Use Account constructor when calling addAccount addison 2021-12-28 16:08:46 -05:00
  • d68c1dafaf Remove usage/detection of NativeScript (#566) Daniel James Smith 2021-12-22 19:46:25 +01:00
  • 95e4470c50 Clear twoFactorService state when clearing state Thomas Rittson 2021-12-22 15:07:12 +10:00
  • ffd532aa90 Fix linting Thomas Rittson 2021-12-22 14:48:27 +10:00
  • 5bbb3d12bc Move delegates into misc folder Thomas Rittson 2021-12-22 14:43:09 +10:00
  • e20b4dc6de Delete unused variables Thomas Rittson 2021-12-22 14:34:18 +10:00
  • 14da10b71e Finish refactoring and simplifying tests Thomas Rittson 2021-12-22 14:31:26 +10:00
  • f62282e3ee Refactor tests to test each delegate Thomas Rittson 2021-12-22 14:12:29 +10:00
  • e252bec3b2 Update tests for delegates Thomas Rittson 2021-12-22 13:08:55 +10:00
  • 98b494debb Decompose authService into delegate services Thomas Rittson 2021-12-22 11:47:39 +10:00
  • 3d7b427b0e Use MP policies when registering a new user through SSO (#587) Jake Fink 2021-12-21 12:02:56 -05:00
  • 6327441168 Fix linting for real Thomas Rittson 2021-12-21 15:18:09 +10:00
  • a1a83b8ad4 Fix linting Thomas Rittson 2021-12-21 15:09:51 +10:00
  • 1183f95f58 Run Prettier Thomas Rittson 2021-12-21 14:54:50 +10:00
  • 05e60d8b74 Properly handle twoFactor Thomas Rittson 2021-12-21 14:13:24 +10:00
  • edc3cb7ee2 Improve layout and structure of tests Thomas Rittson 2021-12-21 13:47:43 +10:00
  • 4c74adb980 Use callback to customise save state logic Thomas Rittson 2021-12-21 12:08:28 +10:00
  • 57f88bf89c Update tests for new stateService interface Thomas Rittson 2021-12-21 11:56:38 +10:00
  • a5e876e3a9 Merge branch 'refactor/authService' of https://github.com/bitwarden/jslib into refactor/authService Thomas Rittson 2021-12-21 11:51:04 +10:00
  • 393e88a3f7 Fix getProviders implementation Thomas Rittson 2021-12-21 11:46:34 +10:00
  • 84e060e493 Update twoFactorService interface Thomas Rittson 2021-12-21 11:27:14 +10:00
  • df14a0ec0e Revert accidental change Thomas Rittson 2021-12-21 10:33:33 +10:00
  • 2640e95030 Merge branch 'master' into refactor/authService Thomas Rittson 2021-12-21 09:21:50 +10:00
  • 581e9ad83a Minor fixes when integrating with web client Thomas Rittson 2021-12-21 09:09:23 +10:00
  • 9e26336549 [feat(Account Switching)] Allow for extending application state (#584) Addison Beck 2021-12-20 08:48:47 -05:00
  • 377fab6ad3 Merge branch 'master' into refactor/authService Thomas Rittson 2021-12-20 15:25:58 +10:00
  • 35d894223d Update client code to use new interfaces Thomas Rittson 2021-12-20 15:24:12 +10:00
  • 970b658c1f Update naming of TwoFactor info Thomas Rittson 2021-12-20 15:20:22 +10:00
  • da2c73ff67 Simplify various syntax Thomas Rittson 2021-12-20 15:16:56 +10:00
  • 82cf44cd85 Fix async issue Thomas Rittson 2021-12-20 15:09:59 +10:00
  • 09df527ada Fix interface to note async Thomas Rittson 2021-12-20 15:08:01 +10:00
  • 1b19fa55f1 Improve naming conventions Thomas Rittson 2021-12-20 15:07:16 +10:00
  • c8eedc5dd6 Use null coalescing to minimize let statements Thomas Rittson 2021-12-20 14:54:10 +10:00
  • 71b148c0f8 Assign successCallbacks to named variables Thomas Rittson 2021-12-20 14:42:16 +10:00
  • 8a94756308 Move method-specific code into successCallback Thomas Rittson 2021-12-20 14:37:03 +10:00
  • 1f11b7cc3b Run Prettier Thomas Rittson 2021-12-20 14:20:58 +10:00
  • 54b4154c02 Make authResult.twoFactor a getter Thomas Rittson 2021-12-20 14:15:53 +10:00
  • e3c7a79f30 Use more precise type casting instead of any Thomas Rittson 2021-12-20 12:37:01 +10:00
  • c2f21e03a9 Add helper methods to authResult Thomas Rittson 2021-12-20 12:34:57 +10:00
  • 9c22bfd1e8 Move captchaToken to passwordTokenRequest subclass Thomas Rittson 2021-12-20 12:06:05 +10:00
  • 1b33dbff32 More descriptive arg names for processTokenResponse Thomas Rittson 2021-12-20 11:51:52 +10:00
  • 358ba67e82 Move api specific stateService calls to entry method Thomas Rittson 2021-12-20 11:41:46 +10:00
  • 28e98905a0 Move api KC logic into entry method Thomas Rittson 2021-12-20 11:31:09 +10:00
  • cfb2ac133a Move existing user KC logic into entry method Thomas Rittson 2021-12-20 11:29:51 +10:00
  • 49c2d7c5b2 Remove unneeded arg Thomas Rittson 2021-12-20 11:20:04 +10:00
  • 6e5b267432 Only convert to Key Connector if setCryptoKeys Thomas Rittson 2021-12-20 11:19:10 +10:00
  • 6227d3a1e9 Move keyConnector onboarding logic to entry method Thomas Rittson 2021-12-20 11:15:35 +10:00
  • c8eb559f06 Clean up unused services and imports Thomas Rittson 2021-12-20 11:05:39 +10:00
  • a318e267ec Extract completedLogIn logic and fix when it's called Thomas Rittson 2021-12-20 11:02:37 +10:00
  • c026265219 Move Key Connector logic into that service Thomas Rittson 2021-12-20 10:51:20 +10:00
  • 7e9330559b Remove unneeded args Thomas Rittson 2021-12-20 10:39:12 +10:00
  • 30d3a14524 Move LogIn specific logic to entry method Thomas Rittson 2021-12-20 10:35:47 +10:00
  • 2551da6592 Make LoginTwoFactor call entry methods Thomas Rittson 2021-12-20 10:32:58 +10:00
  • 8e633c3604 Fix tokenService calls Thomas Rittson 2021-12-20 09:37:32 +10:00
  • e05fd25198 Remove email from processTokenResponse args Thomas Rittson 2021-12-20 09:29:03 +10:00
  • be23d022de Fix tokenService interface definition Thomas Rittson 2021-12-20 09:28:28 +10:00
  • 208e88800b Lift tokenRequest and api call to request methods Thomas Rittson 2021-12-20 09:20:46 +10:00
  • bb04c5bf86 Update clients to use new authService interface Thomas Rittson 2021-12-20 08:01:31 +10:00
  • 0e10ee2c50 Add tests for 2FA Thomas Rittson 2021-12-20 07:48:09 +10:00
  • 59a5300458 move sso properties to globalstate (#583) Jake Fink 2021-12-17 11:24:38 -05:00
  • 8999793882 Deprecate LogIn...Complete methods Thomas Rittson 2021-12-17 20:32:09 +10:00
  • 33f5ac822d Tweak naming of twoFactorService interface Thomas Rittson 2021-12-17 20:13:01 +10:00
  • 8b7f20479e Refactor TokenRequest to take TwoFactorData Thomas Rittson 2021-12-17 18:59:49 +10:00
  • 4a83258065 Merge commit '193434461dbd9c48fe5dcbad95693470aec422ac' into refactor/authService Thomas Rittson 2021-12-17 06:10:45 +10:00
  • 1acfa54f00 Run prettier in feature branch Thomas Rittson 2021-12-17 06:09:55 +10:00
  • 44b0d51336 Merge commit '8b2dfc6cdcb8ff5b604364c2ea6d343473aee7cd' into refactor/authService Thomas Rittson 2021-12-17 06:05:28 +10:00
  • d687402220 update electron and node package-lock.json files Daniel James Smith 2021-12-16 20:25:52 +01:00
  • a8168d6ee7 Fix for issue #1287 in bitwarden/web (#569) Linus Aarnio 2021-12-16 18:46:33 +01:00
  • e9666458c4 Select an image to display for credit cards based on the brand. (#537) Linus Aarnio 2021-12-16 18:41:37 +01:00
  • 15cfc1d7f3 Fix name of jslib-angular package Daniel James Smith 2021-12-16 15:23:33 +01:00
  • aadc4f103b Remove reference to tldjs in jslib-angular Daniel James Smith 2021-12-16 15:22:23 +01:00
  • 39e36a101c Merge commit '193434461dbd9c48fe5dcbad95693470aec422ac' into improve-hostname-and-domain-retrieval Daniel James Smith 2021-12-16 15:15:26 +01:00
  • b73fbf75e3 Changes after npm run prettier Daniel James Smith 2021-12-16 15:13:39 +01:00
  • 3b15f451d6 Merge commit '8b2dfc6cdcb8ff5b604364c2ea6d343473aee7cd' into improve-hostname-and-domain-retrieval Daniel James Smith 2021-12-16 15:12:43 +01:00
  • 36b3aea758 Update README.md (#586) Daniel James Smith 2021-12-16 14:38:11 +01:00
  • cf1d82ac66 Add .git-blame-ignore-revs and prettier instructions (#585) Oscar Hinton 2021-12-16 14:10:11 +01:00
  • 193434461d Apply Prettier (#581) Oscar Hinton 2021-12-16 13:36:21 +01:00
  • 8b2dfc6cdc Add Prettier configuration (#574) Oscar Hinton 2021-12-16 12:45:01 +01:00
  • bd55e6ec81 Break tokenRequest into subclasses Thomas Rittson 2021-12-16 15:32:44 +10:00
  • 6cb2b91fee Make class properties private Thomas Rittson 2021-12-16 14:20:44 +10:00
  • e0f51ccbbc Simpler names for methods Thomas Rittson 2021-12-16 14:19:26 +10:00
  • dee5c4bef9 Extract 2FA methods to twoFactorService Thomas Rittson 2021-12-16 14:13:06 +10:00
  • 73eed7fbbc Refactor parameters on saveState Thomas Rittson 2021-12-16 12:00:07 +10:00
  • 1606d2a6cb Remove unnecessary null check for setBiometricLocked Thomas Rittson 2021-12-16 11:55:18 +10:00
  • 30ccb330c6 Extract isNewSsoUser to own method, invert logic Thomas Rittson 2021-12-16 11:52:27 +10:00
  • c43bd0e144 Extract createKeyPair to own method Thomas Rittson 2021-12-16 11:46:28 +10:00
  • 3eba2e67dd Extract convertNewUserToKeyConnector to own method Thomas Rittson 2021-12-16 11:43:16 +10:00
  • 9ff4a89d54 Extract saveState to own method Thomas Rittson 2021-12-16 11:37:02 +10:00