Commit Graph

714 Commits

Author SHA1 Message Date
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
Matt Gibson 976be0fe67
Use send.bitwarden.com (#251)
* Use send.bitwarden.com

still need compatibiltiy with /#/send/id/key, but adding on
compability with #id/key

* Fix create links pointing to vault with wrong hash

* Fix Url
2021-03-11 10:39:31 -06:00
Thomas Rittson b80c93012b
Minor release version bump to 1.15.0 (#249)
* Minor release version bump to 1.15.0

* version bump in package-lock

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
2021-03-10 12:11:59 -05:00
Matt Gibson 1e1677695c
Set time ms rather than hours (#250) 2021-03-10 09:51:50 -06:00
Matt Gibson 80f6ae675f
Update jslib (#248) 2021-03-09 11:33:37 -06:00
Joseph Flinn 0a5f370fc2
adding artifact uploads for the rc branch (#245) 2021-03-04 09:51:45 -08:00
Matt Gibson 6cb75e508a
update jslib (#244) 2021-03-02 13:30:02 -06:00
Matt Gibson fcd0c529ca
Direct download for send (#243)
* Remove Get file capability

This needs to be removed because the SendFileResponse no longer contains
a url to download the file from. Instead, a GetDownloadLink method
must be used. That method increments access count, which is not
desirable for the owner of the Send. The cleanest approach is to remove
the capability, which also matches Web client's behavior

* jslib updates

* Use GetDownloadData method to receive download Url

* Update jslib
2021-03-02 10:05:20 -06:00
Matt Gibson e77e1c94e8
Simplify send templates (#237)
* Simplify Send templates

* Fix internal template reference

* No trailing whitespace
2021-02-26 12:47:11 -06:00
Daniel James Smith 2c11e5d6a9
Updated year to current in copyright (#235)
We all would like to forget 2020 for obvious reasons...
2021-02-25 08:53:51 -05:00
Matt Gibson 0a34bdb8cf
Limit export read to current user (#230) 2021-02-10 10:47:59 -06:00
Matt Gibson 5a8de9be49
Match linter rules (#229) 2021-02-08 14:11:58 -06:00
Matt Gibson 3b91a2c72b
Ban single paren arrow functions (#226)
* Fix glob processing in npm. Ban single param parens

* Match typescript linter rules
2021-02-03 22:51:59 -06:00
Joseph Flinn 4ae25c5db5
Fix deploy workflow (#228)
* fixing the snap package name and adding an npm install to the npm release

* fixing the manual deploy parser
2021-02-03 10:42:11 -08:00