1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-24 16:49:26 +01:00
Commit Graph

821 Commits

Author SHA1 Message Date
Thomas Rittson
bf53785930
Update jslib (#477) 2022-02-11 14:29:51 +10:00
Joseph Flinn
81afc009e6
Add Husky to release pipeline (#475) 2022-02-10 14:03:09 -08: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
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
2ae2fdfd14
bump jslib (#471) 2022-02-09 17:47:00 -05:00
Matt Gibson
e515ec2625
Return response success from create attachmnt (#469) 2022-02-09 10:58:53 -06:00
Oscar Hinton
6b056d4f80
Client & Version headers (#468) 2022-02-08 15:29:22 +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
d938dc82df
Make husky pre-commit hook executable (#466) 2022-02-08 08:30:38 +10:00
Addison Beck
322568b40e
[chore] Update jslib (#467) 2022-02-07 12:08:24 -05:00
Matt Gibson
c3f9e1053b
Add deleted date to items (#465) 2022-02-04 16:50:59 -06:00
Daniel James Smith
c2ae1bd565
Pull jslib for https://github.com/bitwarden/jslib/pull/654 (#464) 2022-02-03 23:40:15 +01:00
Addison Beck
af9b8b94f8
Update jslib (#462) 2022-02-03 14:08:45 -05:00
Addison Beck
3718f35efd
[chore] Update jslib (#459) 2022-01-31 18:00:19 -05:00
Matt Gibson
68548d8db9
Add bot to enforce hold PRs aren't merged (#456)
* Add bot to enforce hold PRs aren't merged

* Use commit hash rather than tag
2022-01-31 12:44:29 -06:00
Addison Beck
5731e1e316
[chore] Update jslib (#457) 2022-01-28 10:09:24 -05:00
Matt Gibson
210e0502ca
Feature/put serve behind feature flag (#455)
* Add build-time feature flag capabilities

* Toggle `bw serve` command with `serve` flag

* Run linter and prettier
2022-01-28 08:29:04 -06:00
Matt Gibson
1b409653a2
Fix/bitwarden serve (#454)
* Handle null passedOptions

* Require authentication to use `bs serve`
2022-01-26 10:28:56 -06:00
Matt Gibson
21e8db9636
Create testing framework for CLI (#453)
* Create testing framework for CLI

- Need to add tsconfig for specs to convert module format and add spec
dir to output
- Use jasmine-ts to test

expected dev cycle would be to have two watchers, one for jslib
and one for CLI tests. We could add jslib tests to this jasmine config,
but it feels wrong to test a submodule

* Run prettier

* Add tests to build pipeline

* Include required package

* Add placeholder test

* Run prettier

* Add nodemon and fix watch
2022-01-21 10:28:36 -06:00
Thomas Rittson
8b650666c5
Fix migration to Key Connector (#452)
* Move Key Connector check to subclass

* Move authService.logout call to main program

* Move Key Connector migration check to unlock command

* Use get/setConvertAccountRequired flag

* Move Key Connector convert to own command, set usesKeyConnector after conversion

* Remove KC conversion check from syncCommand, fix callback

* Make class service private

* Fix naming convention

* Update jslib and deps
2022-01-21 06:03:37 +10:00
Kyle Spearrin
922cd1dc54
serve command (#451) 2022-01-19 10:45:14 -05:00
Thomas Rittson
84a0bfb07c
Update jslib (#449) 2022-01-19 07:05:48 +10:00
Vince Grassia
b6c8307437
Update Version Bump action to latest (#445) 2022-01-14 12:38:38 -05:00
Matt Gibson
3b1ccb409e
Fix/lowdb no cache (#443)
* Add jslib prettier commit to client ignore hashes

* Remove lowdb caching

* Fix state service remove being set to null

* Await in-memory key retrieval

* Fix key loading and unlock requests.

* Linter fixes

* linter fixes

* linter fixes
2022-01-13 11:03:19 -06:00
Thomas Rittson
b962af303a
Fix always logging out instead of lock (#444) 2022-01-13 17:35:48 +10:00
Ivan Kovnatsky
da640794c4
Add git credential helper example (#388) 2022-01-12 04:54:33 -08:00
Daniel James Smith
f26bfb5859
Add ts files to prettier (#433)
* Add ts files to prettier

* Add all filestypes to prettier and ignore via .prettierignore

* Add --ignore-unknown to prettier
2022-01-07 19:14:02 +01:00
Robyn MacCallum
c874d0d1a7
update jslib (#434) 2022-01-06 13:41:18 -05:00
Daniel James Smith
59ff1a829e
Update year in copyright (#432) 2022-01-05 19:44:04 +01:00
Matt Gibson
a3ec45da7f
Update engines in lock file (#431) 2021-12-29 13:31:49 -06:00
Matt Gibson
7bc485b08d
Update webpack (#430)
* Update webpack

* also install dev dependencies in CI

* Add rimraf

* fix added whitespace

* Clarify node warnings and NPM compatibility
2021-12-29 12:05:33 -06:00
Addison Beck
179f1dfe5d
[refactor(Account Switching)] Implement StateService (#424) 2021-12-28 15:38:51 -05:00
Micaiah Martin
eb122532bd
Added logic for redeployments (#428) 2021-12-20 13:19:31 -07:00
Oscar Hinton
afbf6529c1
Add .git-blame-ignore-revs (#427) 2021-12-20 18:15:11 +01:00
Oscar Hinton
910b4a24e6
Apply Prettier (#426) 2021-12-20 18:04:00 +01:00
Oscar Hinton
ec53a16c00
Add Prettier configuration (#425) 2021-12-20 17:44:12 +01:00
Daniel James Smith
18073696d0
Bump node to v16 (#422)
* Pull in jslib

* Bump engines required to node 16 and npm 8

* Bump @types/node to 16

* Modify build.yml to build with node 16 and npm 8

* Update requirements in README.md

* Update 'setup-node' action version

* Update 'pkg' to 5.5.1

* Removed installation of npm8
npm8 is included in node v16

* Pull jslib

* Change engines to only warn on node < 16

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2021-12-13 17:18:20 +01:00
github-actions[bot]
3e4aa8e476
Bumped version to 1.20.0 (#421)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-08 09:48:33 -05:00
Oscar Hinton
d0e4abf297
Run npm lint in CI (#416) 2021-12-03 20:34:59 +00:00
Micaiah Martin
7444b701e8
Added version bump workflow (#419) 2021-11-30 18:23:08 -07:00
Matt Gibson
4345a093b7
Fix cli user agent (#415)
* Fix cli user agent

* update jslib
2021-11-23 15:13:29 -06:00
Thomas Rittson
62a3ea5699
[Key Connector] QA fixes (#410)
* Fix locked vault message if using key connector

* Add OTP verification on export

* Finish support for OTP on export

* Delete unneeded subclass

* update deps

* Update jslib
2021-11-16 19:42:30 +10:00
Thomas Rittson
0814f3aed6
Update jslib (#411) 2021-11-12 09:33:20 +10:00
Thomas Rittson
85f4f1e727
[Key Connector] Add support for key connector (#406)
Co-authored-by: Hinton <oscar@oscarhinton.com>
2021-11-09 19:00:16 +01:00
Vince Grassia
720bd004a1
Change release workflow to only allow releases from rc or hotfix branches (#408) 2021-11-05 12:01:46 -04:00
Thomas Rittson
acbc5c443b
Update jslib (#407) 2021-11-04 07:41:16 +10:00
Vince Grassia
ee6990364f
Fix Release workflow (#403)
* Change extract directory to 'build'
2021-10-28 11:34:45 -04:00
Matt Gibson
739dbffd2b
Update jslib (#398)
* Update jslib

* Add new service dependency

* update jslib
2021-10-28 10:17:42 -05:00
Joseph Flinn
9d12d49072
Version Bump 1.19.1 (#400) 2021-10-27 15:47:42 -07:00