Commit Graph

12069 Commits

Author SHA1 Message Date
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
addison 9cea47aaf1 [bug] Clean state service on logout 2022-02-07 15:09:43 -05:00
Thomas Rittson 1b28a4b954
Update client for authService refactor (#1387)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-02-07 20:24:49 +01:00
Addison Beck 322568b40e
[chore] Update jslib (#467) 2022-02-07 12:08:24 -05:00
Addison Beck 143a262743
[chore] Update jslib (#1296) 2022-02-07 12:08:15 -05:00
Addison Beck 6320498fb3
[chore] Update jslib (#1447) 2022-02-07 12:04:51 -05:00
Addison Beck f9851285d5
Merge pull request #2317 from bitwarden/Bug/AccountSwitching/QABugBonanza
[bug] Fix several regression bugs
2022-02-07 11:59:54 -05:00
addison ff62c8072e [chore] Update jslib 2022-02-07 11:44:31 -05:00
addison 9c7f399a76 [bug] Don't force an active user to init activity recording functions 2022-02-07 11:44:16 -05:00
addison 6da6e46900 [bug] await the vault timeout dropdown change event 2022-02-07 11:44:16 -05:00
addison 693e1e76b5 [bug] Point autofill at the correct storage key 2022-02-07 11:44:16 -05:00
Addison Beck 6c08b40847
[bug] Make activity a top level storage key (#656)
* [bug] Make activity a top level storage key

* [bug] use correct index for migration

* [bug] use correct index for migration part 2
2022-02-07 11:36:53 -05:00
Addison Beck 0760b53296
[bug] Default the state version check function to 1 (#657) 2022-02-07 11:08:07 -05:00
Matt Gibson 7afb748791
Feature/password protected export (#612)
* Add password protected export

* Run prettier

* Test password protected export service

* Create type for known import type strings

* Test import service changes

* Test bitwarden password importer

* Run prettier

* Remove unnecessary class properties

* Run prettier

* Tslint fixes

* Add KdfType to password protected export

* Linter fixes

* run prettier
2022-02-07 09:33:10 -06:00