Addison Beck
d519c39761
Update jslib ( #222 )
2022-02-03 14:48:07 -05:00
Addison Beck
1be64836f4
[chore] Update jslib ( #217 )
2022-01-31 18:01:24 -05:00
Addison Beck
9e3d1caee4
[chore] Update jslib & state services to match ( #212 )
...
* [chore] Update jslib & state services to match
* [bug] Save userId when migrating state
This is used to check for authentication, so if not present on boot of the app authenticated users will still have to log in again
* [bug] Save added accounts with userId
Currently we are passing in an account object, resulting in a null key. We should be passing in a userId
* [bug] Ensure configs and settings are not cleared on logout
We need to persist directoryConfigruations on logout so that logging out and back in doesn't require folks to need to reconfig their settings
* Remove unneeded LoginSyncService
* Run prettier
* [style] Remove commented lines
Co-authored-by: Thomas Rittson <trittson@bitwarden.com >
2022-01-20 16:31:46 -05:00
Robyn MacCallum
771a182235
Bug/refresh token fixes ( #199 )
...
* Remove NodeApi class extension and use correct apiService in services module
* lint fixes
2021-12-30 15:31:19 -05:00
Addison Beck
d2ba7631b5
[refactor] Implement StateService ( #192 )
...
* [refactor(Account Switching)] Implement StateService
* [bug] Migration service updates
* [bug] Fix organizationId coming in as null
* [bug] Use correct storage location
* [bug] Fix secure storage issues
* [bug] Small fixes
* [bug] lint fixes
* [bug] Undo comment
* [bug] Make method names match super
* update jslib
* Add index signature to keys
* Run prettier
* Start dbus
* Start dbus a different way
* Update build.yml
* Add eval
* Init keyring as well
* Remove eval
* Add eval's back
* Remove unused import
* Remove unnecessary null checks
* Change userId to be entityId instead of clientId
* Remove config service
* lint fixes
* Add clientKeys to account
Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com >
2021-12-22 15:16:23 -05:00
Oscar Hinton
096196fcd5
Apply Prettier ( #194 )
2021-12-20 17:14:18 +01:00
Oscar Hinton
9bec2aa2f0
BEEEP: Refactor services DI ( #180 )
2021-12-06 12:03:12 +01:00
Daniel James Smith
660ee538ce
Update electron to 14.2.0 ( #174 )
...
* Pull in jslib and update electron to 14.2.0
* Fix build errors after pulling jslib
* Remove space from tslint ignore comment
2021-11-09 11:38:18 +01:00
Daniel James Smith
a96144d6dc
Remove empty catch blocks and remove allow-empty-catch tslint rule ( #170 )
...
* Remove empty catch blocks and remove allow-empty-catch tslint rule
* Update jslib to #513
* Fix build errors after update of jslib
* Add missing params to LoginCommand ctor
* Fix build errors due to missing dependencies
* Add changes to package.json and package-lock.json
* Fixed formatting in tslint.json
2021-11-08 12:47:26 +01:00
Oscar Hinton
baa441cb90
Use webfonts from jslib instead of downloading them using gulp ( #157 )
...
* Use webfonts from jslib instead of downloading them using gulp
* Bump jslib
2021-09-24 12:23:33 -04:00
Oscar Hinton
7cf3166169
Add support for helpers in environment service ( #139 )
...
* Add support for helpers in environment service
* Bump jslib
2021-07-23 17:15:35 -04:00
Matt Gibson
647b087fa7
Refresh token with api key ( #135 )
...
* Do not persist client creds on logout
* Override refreshing token flow with re-authentication flow
* Update jslib
* PR review comments
2021-06-22 15:13:08 -05:00
Oscar Hinton
6097bca063
Add jslib as a "real" dependency ( #127 )
...
* Split jslib
* Change hook to preinstall
* Install gyp (ci)
* Fix rebuild command
* Review comments
* Add tsconfig-paths-plugin to webpack.cli.
* Bump jslib
* Install old version of prebuild-install to bypass bug in pkg
2021-06-09 21:46:38 +02:00
Matt Gibson
56d05af07a
Use organization api key for auth ( #121 )
...
* Use api key for login
* Remove user login and organization setting
* Override Api authentication to expect organization keys
* Linter fixes
* Use public API
The organization api key is valid only in the public api scope
* Use organization api key in CLI utility
* Serialize storageService writes
* Prefer multiple awaits to .then chains
* Initial PR review
* Do not treat api key inputs as passwords
This conforms with how they are handled in CLI/web
* Update jslib
* PR feedback
2021-06-02 13:43:18 -05:00
Oscar Hinton
dabfe7907d
Remove last remnants of old analytics code ( #110 )
2021-04-14 23:42:51 +02:00
Oscar Hinton
2ead70e434
Bump jslib ( #108 )
2021-04-07 20:42:39 +02:00
Vincent Salucci
4bfd43bf4c
[jslib] Update (48144a7) ( #81 )
...
* update jslib (48144a7)
* Fixed breaking changes for previous jslib updates
2021-01-05 17:34:18 -06:00
Chad Scharf
6f8df7a690
Update jslib
2020-11-23 16:08:12 -05:00
Vincent Salucci
628689c990
Removed notorization shortcut // Cleaned up extra comma in the service module
2020-08-22 14:43:40 -05:00
Vincent Salucci
626892473f
Updated dependency chain // Updated UI // Added Policy Service // Added missing strings // Added callout styles
2020-08-22 12:47:50 -05:00
Kyle Spearrin
150164534f
sso login from bwdc desktop app ( #58 )
2020-08-05 11:09:06 -04:00
Kyle Spearrin
2b2d8a9fab
CLI support for SSO Login ( #57 )
...
* sso login support
* fix build and lint issues
* allow web vault URL to be set
2020-08-04 14:19:53 -04:00
Kyle Spearrin
e00fd648a6
move to electron-store
2019-03-11 22:45:27 -04:00
Kyle Spearrin
327de4d714
update jslib
2018-10-13 23:29:54 -04:00
Kyle Spearrin
076b320e70
dont await void methods
2018-10-04 12:05:47 -04:00
Kyle Spearrin
44180f95a5
convert toaster and analytics to platform utils
2018-10-03 10:15:00 -04:00
Kyle Spearrin
c115bf84f0
setUrlsFromStorage on init factory
2018-08-20 17:08:07 -04:00
Kyle Spearrin
2aa1fc1acb
replace electron store with lowdb
2018-05-31 09:09:05 -04:00
Kyle Spearrin
878476d195
make logout async
2018-05-15 23:48:20 -04:00
Kyle Spearrin
2ea71e1feb
parameter validation
2018-05-07 23:36:14 -04:00
Kyle Spearrin
1632af3e22
organization settings
2018-05-03 14:18:47 -04:00
Kyle Spearrin
fd3793d3d7
stop and start syncing
2018-05-03 12:27:30 -04:00
Kyle Spearrin
fef65c5209
set proper page title
2018-05-03 11:33:32 -04:00
Kyle Spearrin
95d98181fc
sync logic
2018-05-02 22:00:44 -04:00
Kyle Spearrin
5556a57685
gsuite directory query logic to make entries result
2018-04-28 00:13:04 -04:00
Kyle Spearrin
dea8e48895
wire up directory services to settings
2018-04-27 19:31:15 -04:00
Kyle Spearrin
2800c2f077
settings configuration
2018-04-27 17:16:54 -04:00
Kyle Spearrin
6d31d0a60e
node crypto service
2018-04-25 15:52:44 -04:00
Kyle Spearrin
b8d3c35e34
dont set crypto keys
2018-04-25 12:43:06 -04:00
Kyle Spearrin
48bde677bc
routing with guards
2018-04-25 12:30:27 -04:00