1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00
Commit Graph

11655 Commits

Author SHA1 Message Date
Thomas Rittson
5d34ee432e Update jslib (#479) 2022-02-11 00:31:13 -05:00
Thomas Rittson
f54a614d6b Update jslib (#1318) 2022-02-11 00:30:53 -05:00
Thomas Rittson
a2d241263b Update jslib (#1466) 2022-02-11 00:30:37 -05:00
Addison Beck
061f1c5d79 Merge pull request #2343 from bitwarden/update-jslib
Update jslib
2022-02-11 00:30:02 -05:00
Thomas Rittson
490e51180a Update jslib 2022-02-11 15:24:24 +10:00
Kyle Spearrin
cda649fa21 Cache state service account blob from disk reads (#668)
* store account state in mem cache

* use const
2022-02-11 00:20:50 -05:00
Thomas Rittson
95b5d68566 Update jslib (#1317) 2022-02-11 15:02:04 +10:00
Thomas Rittson
4cccd9709e Update jslib (#2342) 2022-02-11 15:00:36 +10:00
Thomas Rittson
06497fdee7 Update jslib (#478) 2022-02-11 15:00:24 +10:00
Thomas Rittson
5987d3deda Update jslib (#1465) 2022-02-11 14:58:33 +10:00
Addison Beck
b7d9a532cb [bug] Store everBeenUnlocked in memory (#667) 2022-02-10 23:46:42 -05:00
Thomas Rittson
0c4ace2d88 Update jslib (#2340) 2022-02-11 14:37:45 +10:00
Thomas Rittson
080a3c655e Update jslib (#1464) 2022-02-11 14:30:07 +10:00
Thomas Rittson
bf53785930 Update jslib (#477) 2022-02-11 14:29:51 +10:00
Thomas Rittson
3ffb658db6 Update jslib (#1316) 2022-02-11 14:29:47 +10:00
Thomas Rittson
f04bf3f27e Run prettier on manifest.json (#2341) 2022-02-11 14:16:30 +10:00
Joseph Flinn
8ca83c351e Merge pull request #2339 from bitwarden/patch/version-bump-prettier
Add prettier to the version bump workflow
2022-02-10 20:06:49 -08:00
Joseph Flinn
b3496eddb8 Switching to only running prettier on the manifest json file 2022-02-10 20:05:32 -08:00
Joseph Flinn
a5347636ef adding prettier to the version bump workflow 2022-02-10 19:56:15 -08:00
Thomas Rittson
5fad7c666f Add StateVersion.Three to fix premium migration (#666)
* Add StateVersion.Three to fix premium migration
2022-02-11 13:40:13 +10:00
Justin Baur
dac48242b7 Update jslib (#1462) 2022-02-10 22:16:44 -05:00
Justin Baur
52f77c0277 Fix new device login (#664)
* Store appId in localStorage

* Save to local as well
2022-02-10 21:22:18 -05:00
Robyn MacCallum
e4d9ab52a0 update jslib (#1460)
* update jslib

* Remove call to tokenService.clear() from logout
2022-02-10 19:51:36 -05:00
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