Commit Graph

831 Commits

Author SHA1 Message Date
Chad Scharf 8e65d3e8d2
We're Hiring (#491)
Added link to README.md for Bitwarden Careers page.
2022-02-22 14:04:17 +01:00
Micaiah Martin 66012936ad
Create initial workflow (#488) 2022-02-18 13:28:44 -06:00
Thomas Rittson eb5be3c72f
Exclude jslib from prettier hook (#486) 2022-02-17 10:37:25 +10:00
Matt Gibson 4b2c9fd78b
Lint to match other repos (#487) 2022-02-16 08:49:12 -06:00
Addison Beck a4c22b8d4e
[lib] Update jslib (#485) 2022-02-15 15:06:50 -05:00
github-actions[bot] a262da0452
Bump version to 1.21.1 (#484)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-14 12:26:34 -06:00
Thomas Rittson ff98f4ca6b
Fix error when using password generator not logged in (#481)
* Do not fetch password policy if not logged in

* Update deps
2022-02-14 09:29:44 -05:00
Addison Beck 7ed67b69a6
update jslib (#483) 2022-02-14 09:29:30 -05:00
Thomas Rittson 5d34ee432e
Update jslib (#479) 2022-02-11 00:31:13 -05:00
Thomas Rittson 06497fdee7
Update jslib (#478) 2022-02-11 15:00:24 +10:00
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