Commit Graph

803 Commits

Author SHA1 Message Date
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
Joseph Flinn 7dbcdbdd2e
fixing the snap package name and adding an npm install to the npm release (#227) 2021-02-03 10:12:18 -08:00
Ben Mezger (seds) 116d7a4062
Fix: don't check filename by index when listing attachments (#224)
* don't check filename by index

* Fix: Filter by exact matches
2021-02-03 12:06:39 -06:00
Matt Gibson 57f7cf607a
Add send to cli (#222)
* Add list all sends and filter by search term

* Add get send templates

* Add AccessUrl to send responses

* Add Send to Get command

* Add missing command options to login

These options are already coded to work in the command, but commander
did not know about the options.

* Upgrade Commander to 7.0.0

This is needed to enable the subcommand chaining required by Send.

This commit also adds get send and send receive functionality. get send
will be moved to send get along with send list and any other send commands.

* Use api url for send access url

* Move send commands to send subcommands

* Use webvault access url everywhere

Production instances all have api url located at `baseUrl/api`.
Receive command will parse the webvault url and alter it to an api url.

* Move create and receive commands to send directory

* Separate program concerns

program holds authentication/general program concerns
vault.program holds commands related to the vault
send.program holds commands related to Bitwarden Send

* Fix up imports and lint items

* Add edit command

* Use browser-hrtime

* Add send examples to help text

* Clean up receive help text

* correct help text

* Add delete command

* Code review Cleanup

* Scheme on send receive help text

* PR review items

Move buffer to array buffer to jslib
delete with server
some formatting fixes

* Add remove password command

This is the simplest way to enable removing passwords without
resorting to weird type parsing of piped in Send JSONs in edit

* Default hidden to false like web

* Do not allow password updates that aren't strings or are empty

* Delete appveyor.yml.flagged-for-delete

* Correctly order imports and include tslint rule

* fix npm globbing problem

https://stackoverflow.com/a/34594501
globs work differently in package.json. Encasing the globs in
single quotes expands them in shell rather than in npm

* Remove double slash in path

* Trigger github rebuild
2021-02-03 11:44:33 -06:00
Thomas Rittson b88091c41f
Merge pull request #223 from bitwarden/bump-https-proxy-agent
Bump https proxy agent
2021-02-02 06:16:44 +10:00
Thomas Rittson ded6d64a9d bump jslib version 2021-02-01 15:49:59 +10:00
Thomas Rittson cf0345020e Bump https-proxy-agent dep. to 5.0.0 2021-02-01 15:21:22 +10:00
Marcos Soutullo Rodriguez 6579c862f4 Bump https-proxy-agent dep. to 5.0.0 2021-02-01 15:19:21 +10:00
Joseph Flinn 3b27e82edb
Merge pull request #221 from joseph-flinn/master
Migrating from AppVeyor to GitHub Actions
2021-01-29 11:21:33 -08:00
Thomas Rittson 38ead1888c
Merge pull request #217 from bitwarden/bugfix-no-attachments-error
Add null check when getting attachment from item
2021-01-29 08:50:24 +10:00
Joseph Flinn cbae5a920d flagging appveyor for delete 2021-01-28 21:07:15 +00:00
Joseph Flinn d175590313 resetting testing code 2021-01-28 21:05:17 +00:00