Commit Graph

20 Commits

Author SHA1 Message Date
Matt Gibson 12ead16167
Use split collections permisions (#382) 2021-10-05 11:13:03 -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
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
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
addison c895ad0380 Implemented Custom role and permissions 2020-12-22 13:59:07 -05:00
Chad Scharf 5dd9963618 [Soft Delete] soft-delete by default 2020-04-14 14:32:43 -04:00
Chad Scharf 49f1fac3ed Added --trash to delete cmd, added restore cmd 2020-04-14 13:04:19 -04:00
Kyle Spearrin e781de9f34 list org-members command 2019-10-07 09:58:19 -04:00
Kyle Spearrin 1de6c2884b org collection list command 2019-10-01 11:29:25 -04:00
Kyle Spearrin a3ba833f0d move shared CLI items to jslib 2019-03-15 22:34:59 -04:00
Kyle Spearrin be1e03c49f parens on ORs 2018-10-14 00:09:53 -04:00
Kyle Spearrin 73c597f649 add `list items --url <url>` command. resolves #32 2018-10-13 22:27:33 -04:00
Kyle Spearrin 314cef78fd implement search service 2018-08-13 14:38:04 -04:00
Kyle Spearrin 0aa0d89396 notnull 2018-05-21 09:14:58 -04:00
Kyle Spearrin 2e8d0aaf53 list and get organizations 2018-05-18 15:26:59 -04:00
Kyle Spearrin df7ccaea9d move search functions to utils helper 2018-05-16 11:17:40 -04:00
Kyle Spearrin c82ded58eb added search and filter options for list command 2018-05-16 10:56:46 -04:00
Kyle Spearrin 85770b7cbb get templates 2018-05-14 16:25:14 -04:00
Kyle Spearrin 4f3f84539d cli response objects 2018-05-14 14:54:19 -04:00
Kyle Spearrin 3dd38cbe12 list and get commands 2018-05-14 13:37:52 -04:00