1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-17 02:34:47 +02:00
Commit Graph

853 Commits

Author SHA1 Message Date
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
Joseph Flinn
8250a99524
fixing the cli release workflow (#399) 2021-10-27 13:10:18 -07:00
Joseph Flinn
3e05935262
Version Bump 1.19.0 (#397) 2021-10-27 08:42:04 -07:00
Thomas Rittson
deea0f827a
Add PR template (#396) 2021-10-27 18:59:31 +10:00
Joseph Flinn
6bea3ccc30
Updating release branch constraint (#392)
* Updating release branch constraint and CI pipeline code constraint

* removing the master branch release ci code execution

* updating some verbiage
2021-10-22 08:41:23 -07:00
Oscar Hinton
fe0f4120ba
Remove empty catch blocks and remove allow-empty-catch tslint rule (#393) 2021-10-20 22:41:33 +02:00
Vince Grassia
58e632250a
Add notify constraint (#390) 2021-10-15 13:07:10 -04:00
Vince Grassia
e9bd76b194
Add Slack alerts for Build workflow failures (#389) 2021-10-14 10:38:43 -04:00
Vincent Salucci
325e9ded0d
[Reset Password] Refactor to use new auth result (#380)
* [Reset Password] Refactor to use new auth result

* Update jslib

* Update class to fix build
2021-10-12 16:51:14 -05:00
Oscar Hinton
0803bc2f7b
Bump jslib (#386) 2021-10-11 19:40:57 +02:00
Vince Grassia
bf496ac7cd
Update workflows to new model (#379)
* Update GitHub Actions workflows to new model
2021-10-05 16:20:18 -04:00
Matt Gibson
12ead16167
Use split collections permisions (#382) 2021-10-05 11:13:03 -05:00
Luckymee
6ffc295be9
Implemented capitalize, and includeNumber (#369)
* Implemented capitalize, and includeNumber - generate passphrase.

Co-authored-by: davidrenzella <david.renzella@gmail.com>

* Capitalize shorthand flag

* Update package.json

* Remove accidental space

Co-authored-by: davidrenzella <david.renzella@gmail.com>
Co-authored-by: govjmal <govjmal@gmail.com>
2021-09-29 11:09:32 -04:00
Joseph Flinn
07851bea53
Version bump to 1.18.1 (#376) 2021-09-22 08:39:04 -07:00
Oscar Hinton
fe38848cf7
Use explicit import paths (#372) 2021-09-21 19:42:36 +02:00
Joseph Flinn
2a5f521df2
Updating the version of snapcore/build-action to the latest to get rid of the error on empty server response (#373) 2021-09-21 07:23:06 -07:00
Oscar Hinton
8690f51e2f
Disable Private Vault Export Policy (#371) 2021-09-15 15:57:43 +02:00
Thomas Rittson
4933de688d
Update jslib (#370) 2021-09-10 07:51:10 +10:00
Vince Grassia
c4908315ff
Update workflows with linter suggestions (#366) 2021-09-02 16:04:02 -04:00