Commit Graph

733 Commits

Author SHA1 Message Date
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
Joseph Flinn 1f6d095ab1 fixing the versions 2021-01-28 20:49:46 +00:00
Joseph Flinn cc16245115 adding published release type 2021-01-28 20:22:36 +00:00
Joseph Flinn 75e9deacf6 changing release type from prereleased 2021-01-28 20:19:44 +00:00
Joseph Flinn d6da00757b version bump for release/deploy testing 2021-01-28 20:06:04 +00:00
Joseph Flinn c1be8d9009 switching other fetch release assset to xotl's 2021-01-28 19:45:55 +00:00
Joseph Flinn 6e6b6c8b59 trying the folder location again 2021-01-28 19:35:39 +00:00
Joseph Flinn 11b9f25871 updating Move-Item 2021-01-28 19:29:08 +00:00
Joseph Flinn e549fa389d debugging dist 2021-01-28 19:22:34 +00:00
Joseph Flinn a833b98419 switching back to manually creating the directory and moving the asset 2021-01-28 19:10:37 +00:00
Joseph Flinn 9d10dcd633 trying without the ./ 2021-01-28 19:08:06 +00:00
Joseph Flinn e35af6ea42 switching the build version var check 2021-01-28 19:03:23 +00:00
Joseph Flinn 1a2e033671 adding path to download to 2021-01-28 18:59:07 +00:00
Joseph Flinn 975f79697c fixing choco package name 2021-01-28 18:51:53 +00:00
Joseph Flinn c5b2cb17c8 trying different github action. adding manual workflow trigger for quicker testing 2021-01-28 18:46:23 +00:00
Joseph Flinn 19bea422d0 switching from environment to env 2021-01-28 18:04:16 +00:00
Joseph Flinn 879ecd1075 fixing the env vars 2021-01-28 17:46:23 +00:00
Joseph Flinn 36f57aea51 fixing the deploy 2021-01-28 17:44:06 +00:00
Joseph Flinn 180752fd83 adding in missing mime types 2021-01-28 17:15:45 +00:00
Joseph Flinn 44e134b6de removing the 'move asset' task. no longer needed 2021-01-28 16:54:29 +00:00
Joseph Flinn 58621fd265 switching back to the artifact download task since the release won't be published yet 2021-01-28 16:42:01 +00:00