Commit Graph

827 Commits

Author SHA1 Message Date
Matt Gibson 62b5a05c40
Use cryptoservice to compare key to local keyhash (#331)
* Use cryptoservice to compare key to local keyhash

* Fix bugs

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-06-21 12:23:30 -05:00
Matt Gibson 12b36557bd
Fix reference after NodeCryptoFunctionService moved to jslib-node (#329) 2021-06-18 07:12:00 -05:00
Matt Gibson 17ab740914
Allow import to organization (#325)
* Allow import to organization vaults

* Use organization-aware Importer
2021-06-16 08:50:29 -05:00
Matt Gibson 5a377f8ef9
Implement `has` for storage services (#328)
* Implement `has` for storage services

* Update jslib
2021-06-15 13:41:17 -05:00
Matt Gibson d9f6f34a06
update jslib (#323) 2021-06-09 08:51:51 -05:00
Oscar Hinton 477066118e
Add jslib as a "real" dependency (#321)
* Split jslib

* Bump jslib

* Bump jslib, replace alias with tsconfig-paths-webpack-plugin
2021-06-07 19:25:55 +02:00
Joseph Flinn 3539d490d5
pinning commit hashes instead of versions to protect against supply chain attacks in github actions (#319) 2021-06-02 11:20:22 -07:00
Joseph Flinn 75236daeb8
constraining the releases to the rc branch (#318) 2021-06-01 13:50:53 -07:00
Thomas Rittson c42650f16b
bump jslib (#316) 2021-05-28 09:47:11 +10:00
Thomas Rittson a5a3baea9c
Use same export filename format as other clients (#312) 2021-05-28 06:47:39 +10:00
Oscar Hinton 942eb5cfa5
Bump NPM to v7 (#311)
* Bump NPM to v7

* Add NPM v7 to readme
2021-05-26 22:34:39 +02:00
Thomas Rittson 13d3109f2b
Add --cleanexit option (#309)
* add --cleanexit option

* bump jslib
2021-05-26 21:16:25 +10:00
Thomas Rittson 7a83b30490
update service deps and jslib (#308) 2021-05-26 07:42:59 +10:00
Daniel James Smith 2c735cc74d
Adjust node version in README.md (#306) 2021-05-17 15:10:34 -04:00
Oscar Hinton 1b22c91f35
Bump node to 14 (#296)
* Bump node to 14

* Change engine node to ~14. Fix linting
2021-05-14 14:30:26 +02:00
Matt Gibson 0cbcdd6948
Specify type of send from templateType (#304)
* Specify type of send from templateType

* Default to Text type send
2021-05-13 14:57:08 -05:00
Matt Gibson 1ed637e123
Replace cipher results with filtered results (#301) 2021-05-12 08:09:34 -05:00
Hannu Hartikainen 80f34d5de5
Add `bw get notes <id>` command (#255)
Rationale: the notes object is a freeform plain-text field that's
prominently displayed in Web Vault. It is also useful for the CLI users
as discussed before in issues #81 and #196. I have some use cases
planned myself.

I was rather surprised this wasn't supported already, but the
implementation is simple and cannot really break any existing
functionality so here it is.
2021-05-11 21:19:47 -05:00
Joseph Flinn b4fc4ca3a5
fixing release snap test (#300) 2021-05-11 13:18:27 -07:00
Sang 50ee3c0f07
fix: fullObject option for send create (#285) 2021-05-11 14:56:38 -05:00
Me 5edd0a2c76
Add maxAccessCount to send command (#298) 2021-05-11 14:55:04 -05:00
Matt Gibson 14ad6c06f2
update jslib (#299) 2021-05-10 12:07:48 -05:00
Matt Gibson 63f522026b
Get Attachment Download url from server (#295) 2021-04-29 09:49:04 -05:00
Oscar Hinton 9c55d78ffc
Update dependencies (#292)
* Update dependencies

* Remove types which are no longer needed

* Bump jslib

* Revert pkg to 4.5.1 since 5.0.0 does not compile on linux.

* Bump pkg-fetch in build pipeline
2021-04-23 21:04:11 +02:00
Vincent Salucci 679ad19561
[Version] Bump to 1.16.0 (#294) 2021-04-22 12:02:30 -05:00
Matt Gibson 019966f6d5
Specify api url in Send file download request (#291) 2021-04-22 07:45:06 -05:00
Matt Gibson 21ca15fb84
update jslib (#293)
* update jslib

* update jslib
2021-04-21 14:24:59 -05:00
Matt Gibson 754dfe9d80
Use Get command for final return value of edit (#290) 2021-04-20 14:55:04 -05:00
Matt Gibson 6d46dc4b87
If error is of unkown type, create and error response from it. (#289)
* If error is of unkown type, create and error response from it.

* Update src/commands/send/receive.command.ts

simplify error handling

Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>

Co-authored-by: Oscar Hinton <oscar@oscarhinton.com>
2021-04-15 08:28:31 -05:00
Matt Gibson 475efc4262
Update jslib (#288)
* Update jslib

* Convert NodeSecureStorage CipherArrayBuffer to string
2021-04-14 11:44:57 -05:00
Matt Gibson 8288bef567
Add required argument to output option (#287) 2021-04-14 11:09:47 -05:00
Kyle Spearrin 5ed32739df revert pkg update 2021-04-12 12:54:16 -04:00
Kyle Spearrin 8131d01c7a npm audit fix 2021-04-12 11:43:53 -04:00
Kyle Spearrin 10114c02aa update some libs 2021-04-12 11:42:35 -04:00
Snyk bot 10abf12ad6
fix: upgrade node-forge from 0.7.6 to 0.10.0 (#279)
Snyk has created this PR to upgrade node-forge from 0.7.6 to 0.10.0.

See this package in npm:
https://www.npmjs.com/package/node-forge

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/415cdf2b-8075-4802-96cc-3dede3285373?utm_source=github&utm_medium=upgrade-pr
2021-04-12 11:37:30 -04:00
Snyk bot 0fc2472fa6
fix: upgrade big-integer from 1.6.36 to 1.6.48 (#278)
Snyk has created this PR to upgrade big-integer from 1.6.36 to 1.6.48.

See this package in npm:
https://www.npmjs.com/package/big-integer

See this project in Snyk:
https://app.snyk.io/org/kspearrin/project/415cdf2b-8075-4802-96cc-3dede3285373?utm_source=github&utm_medium=upgrade-pr
2021-04-12 11:36:49 -04:00
Matt Gibson e41514db2f
Update jslib (#286)
* Update jslib

* Fix jslib update items
2021-04-12 10:13:00 -05:00
Matt Gibson 3ca6153270
Update jslib (#277) 2021-04-05 17:05:40 -05:00
Matt Gibson fab65e60dd
Update jslib (#276) 2021-04-05 15:19:59 -05:00
Joseph Flinn 779464ea9b
Fix snap test (#274)
* testing new fix

* adding this branch to the snap portion of the test

* adding in the build artifact for the linux executable

* removing the path since GitHub is being dumb...

* adding the path back in

* adding the full path

* overriding the config directory for the snap version test. It doesn't really make sense...
2021-04-02 10:25:15 -07:00
Thomas Rittson 7001d73686
Add hideEmail to sendResponse model and template (#273) 2021-04-02 06:42:14 +10:00
Matt Gibson dcbad9c0a6
Update jslib (#270) 2021-03-30 19:01:44 -05:00
Chad Scharf cdd4c9555e
Creating issue template (#269) 2021-03-30 18:17:26 -04:00
Daniel James Smith faef4ccfd8
Replaced build badge with one from Github Workflow (#264) 2021-03-30 16:38:02 -04:00
Kyle Spearrin 594d5a77f9
Update package.json
resolves #256
2021-03-30 10:04:01 -04:00
Matt Gibson 1419b81ddc
Add new fileUploadService dependency (#267)
* Add new fileUploadService dependency

* Update jslib
2021-03-29 09:47:39 -05:00
Matt Gibson 0d5a966734
Hotfix version bump (#259) 2021-03-17 08:48:04 -05:00
Matt Gibson 73f358a09d
Add api parsing special case for send.bitwarden.com (#258) 2021-03-16 14:19:51 -05:00
Joseph Flinn 576c020579
updating the cli deploy to pull from the release branch (rc). Really only needed on the npm deploy (#252) 2021-03-15 07:28:59 -07:00
libertylocked f181af4d76
Fix cannot find module sendAccessResponse (#253) 2021-03-12 13:57:29 -05:00