Commit Graph

663 Commits

Author SHA1 Message Date
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
Joseph Flinn 368cb89da0 fixing tag version 2021-01-28 16:27:16 +00:00
Joseph Flinn c76a7e9437 adding missing outputs 2021-01-28 16:10:41 +00:00
Joseph Flinn e83299f1f3 fixing asset fetch input 2021-01-28 15:53:54 +00:00
Joseph Flinn b0075ffbb7 changing asset fetch task and updating dependencies 2021-01-28 15:44:27 +00:00
Joseph Flinn 21714b6878 adding mime types back in 2021-01-28 15:23:37 +00:00
Joseph Flinn 99dfb48f8e adding in the other job dependency 2021-01-28 15:22:16 +00:00
Joseph Flinn 840b076ab6 fixing the other things from the build 2021-01-28 00:11:08 +00:00
Joseph Flinn 52611dd8a7 copying over snap build to release 2021-01-28 00:09:02 +00:00
Joseph Flinn 8ca398d696 fixing the need 2021-01-28 00:03:20 +00:00
Joseph Flinn 9ab72bb308 removing the file name from the download 2021-01-27 23:50:11 +00:00
Joseph Flinn e508988f4d let's see what's inside 2021-01-27 23:41:05 +00:00
Joseph Flinn a0a60b3a77 fixing ls command 2021-01-27 23:34:08 +00:00
Joseph Flinn 1d3300d8c3 trying something else 2021-01-27 23:26:21 +00:00
Joseph Flinn ea4687177e fixing path in snapcraft.yaml 2021-01-27 23:09:03 +00:00
Joseph Flinn e7aa94dd76 downloading the cli into dist/snap 2021-01-27 23:01:20 +00:00
Joseph Flinn b953db7eba committing the missed file 2021-01-27 22:49:15 +00:00
Joseph Flinn dbf2eb9606 switching to local zip versus one that has already been released 2021-01-27 22:48:50 +00:00
Joseph Flinn b70dea7acf making sure that dist/snap exists 2021-01-27 22:19:59 +00:00
Joseph Flinn 8248efb2ba fixing path 2021-01-27 22:15:08 +00:00
Joseph Flinn bd528ebecf
Merge pull request #2 from joseph-flinn/migrate-appveyor-to-actions
Migrate appveyor to actions
2021-01-27 11:50:51 -08:00