Commit Graph

11682 Commits

Author SHA1 Message Date
github-actions[bot] 761f025b6b
Bumped version to 1.56.1 (#2333)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-10 18:14:56 -06:00
Matt Gibson f4bf8b2e1d
Chunk out jslib and large modules to separate caches (#2331)
* Chunk out jslib and large modules to separate caches

* It's sufficient to just extract maps from the source
2022-02-10 18:05:09 -06:00
Thomas Rittson aee8a2661e
Fix Copy Verification Code not showing after first log in (#1459)
* Move init logic to load()
2022-02-11 09:48:54 +10:00
Robyn MacCallum 99f70bea8d
Individually await saving of orgs and providers (#663) 2022-02-10 18:03:55 -05:00
Joseph Flinn 81afc009e6
Add Husky to release pipeline (#475) 2022-02-10 14:03:09 -08:00
github-actions[bot] 530f25c88a
Bump version to 1.31.1 (#1308)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-10 13:47:25 -07:00
Joseph Flinn f484ef37c5
Update secret manager for snap token (#474) 2022-02-10 11:34:51 -08:00
github-actions[bot] e8181e415b
Bump version to 1.21.0 (#473)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-10 12:29:40 -07:00
Robyn MacCallum ff6bb236c0
Update jslib (#1457) 2022-02-10 14:22:44 -05:00
Joseph Flinn 97d367dab8
Switching where we are pulling our snap token from (#1307) 2022-02-10 10:57:32 -08:00
Robyn MacCallum 47399bb583
Move providers to profile and save to disk (#662)
* Move providers to profile and save to disk

* Move providers back to AccountData
2022-02-10 13:55:36 -05:00
Micaiah Martin 0a545c88b2
Update release.yml (#1306) 2022-02-10 10:51:50 -07:00
Micaiah Martin b3daabc13f
Merge pull request #2327 from bitwarden/prettier-manifest 2022-02-10 09:49:21 -07:00
Micaiah Martin 22464b3465 Ran prettier on manifest.json 2022-02-10 09:45:42 -07:00
github-actions[bot] 0f6ee08dd5
Bump version to 1.31.0 (#1304)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-10 09:40:21 -07:00
Micaiah Martin d0fe29ee6a
Merge pull request #2326 from bitwarden/version_bump_1.56.0 2022-02-10 09:29:49 -07:00
github-actions[bot] a01f13dfce Bumped version to 1.56.0 2022-02-10 16:26:53 +00:00
Matt Gibson ee664059d2
Fix/lock lowdb file (#470)
* Lock data.json while running

* Await floating promises

* Increase retry frequency and attempt count for lock file

* tweak lock retry times
2022-02-10 10:24:41 -06:00
Addison Beck b227ae13f6
Remove unused import (#1298) 2022-02-09 21:34:01 -05:00
Daniel James Smith 95d92908f6
Fixing some regression issues (#2325)
* Pull jslib

* Extend vaultTimeoutServiceCallbacks to use userId

* Remove redundant call to tokenService.clear
2022-02-09 23:56:14 +01:00
Addison Beck 2ae2fdfd14
bump jslib (#471) 2022-02-09 17:47:00 -05:00
Addison Beck 79f6a33596
[bug] Remove redundant token clean call (#1303)
* [bug] Remove redundant token clean call

* bump jslib
2022-02-09 17:06:30 -05:00
Addison Beck b7bb16c18a
[bug] Toggle tokens appropriatly based on timeout action (#661) 2022-02-09 23:01:43 +01:00
Addison Beck 1e80c4335f
[bug] Resolve several regression issues (#1302)
* [bug] Ensure accounts logging out in the background doesn't impact active account ui

The main issue here: inactive accounts with a logout timeout actually log out the active account" is fixed by pulling in jslib.
These changes are for some asthetic issues I noticed, where inactive accounts logging out still fires a switchAccount event, which causes a loading spinner to appear and a sync that redraws the vault.

* Only load if the account being logged out is the active account:
* Replaced any calls to `stateService.activeAccount.getValue` with references to `this.activeUserId`, since we subscribe to that in the component now.
* Only send a "switchAccount" method if the active user before a clean and after a clean don't match

* [bug] Ensure default vault timeout is set to On Restart

We dont override the StateMigrationService instance that is injected in desktop, so it is not aware of desktop defaults.
This results in fresh accounts having a "Never" timeout action insteads of "On Restart"

* Use the correct StateMigrationService instance

* update jslib
2022-02-09 12:42:16 -05:00
Addison Beck c282ef8575
[bug] Fix logout timeout action for inactive accounts (#660)
* [bug] Fix logout timeout action for inactive accounts

* Pass userId in to the logout callback parameter to the vaultTimeoutService. The message handle in desktop already expects this.
* Set lastActive on account login, and null it on account deauthentication. This prevents an issue where newly logged in accounts immediatly time out due to inactivity.

* Add userId to locked callbacks

* Add userId to log out callback
2022-02-09 12:15:20 -05:00
Matt Gibson e515ec2625
Return response success from create attachmnt (#469) 2022-02-09 10:58:53 -06:00
Vincent Salucci c51b8523b7
[Help] Update links to new pattern (#1300)
* [Help] Update links to new pattern

* Update jslib
2022-02-08 18:02:17 -06:00
Vincent Salucci ebbf1d8b90
[Help] Update links to new pattern (#2324)
* [Help] Update links to new pattern

* Update jslib
2022-02-08 17:44:56 -06:00
Vincent Salucci f79b20294a
[Help] Update links to new pattern (#1454)
* [Help] Update links to new pattern

* Close help

* Update jslib
2022-02-08 17:44:47 -06:00
Vincent Salucci 8cb029947b
[Help] Update links to new pattern (#658)
* [Help] Updated urls to current pattern

* Rotate key update
2022-02-08 17:35:29 -06:00
github-actions[bot] 3a0c34b934
Bump version to 2.26.0 (#1452)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-08 15:54:35 -07:00
github-actions[bot] e09df347f4
Bump version to 1.26.0 (#1450)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-08 14:46:12 -07:00
Joseph Flinn bd2ed43498
Fixing safari ref logic (#1299) 2022-02-08 07:41:58 -08:00
Addison Beck ca7381af35
Merge pull request #2322 from bitwarden/Bug/AccountSwitching/LogoutRedirect
[bug] Dont block redirecting on logout
2022-02-08 10:10:01 -05:00
addison 55850e6cc6 [bug] Dont block redirecting on logout 2022-02-08 09:49:44 -05:00
Oscar Hinton 6b056d4f80
Client & Version headers (#468) 2022-02-08 15:29:22 +01:00
Oscar Hinton 243afc9da0
Client & Version headers (#1297) 2022-02-08 15:29:01 +01:00
Oscar Hinton e68ab0031d
Client & Version headers (#1434) 2022-02-08 13:22:31 +01:00
Oscar Hinton 0a44bf4dd9
Client and version headers (#2320) 2022-02-08 13:22:20 +01:00
Oscar Hinton 8130fce404
Add headers for client type and client version (#651) 2022-02-08 11:18:10 +01:00
Thomas Rittson 220afb98c6
Update client for authService refactor (#448)
* Update for encrypted export support (to pass build only)
2022-02-07 17:31:36 -06:00
Thomas Rittson 762e3f8198
Update client for authService refactor (#1239) 2022-02-08 09:26:53 +10:00
Thomas Rittson 7d43835ea2
Update client for authService refactor (#2302) 2022-02-08 09:06:37 +10:00
Thomas Rittson a6272d4092
Make husky pre-commit script executable (#2316) 2022-02-08 08:35:49 +10:00
Thomas Rittson 4e75a25492
Make husky pre-commit hook executable (#1295) 2022-02-08 08:33:25 +10:00
Thomas Rittson d938dc82df
Make husky pre-commit hook executable (#466) 2022-02-08 08:30:38 +10:00
Thomas Rittson 6b8508579f
Make husky pre-commit hook executable (#655) 2022-02-08 08:29:50 +10:00
Justin Baur 64416c9406
Send in error message (#1449) 2022-02-07 16:15:49 -05:00
Addison Beck 1d34339d02
Merge pull request #2318 from bitwarden/Bug/AccountSwitching/LogoutAction
[bug] Clean state service on logout
2022-02-07 15:23:44 -05:00
Matt Gibson 6779adb064
Handle password protected import export (#1448)
This updates requirements without implementing any way for the UI to
interact with the new feature
2022-02-07 14:15:22 -06:00