1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 02:33:46 +00:00
Commit Graph

27 Commits

Author SHA1 Message Date
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
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
Thomas Rittson
7001d73686 Add hideEmail to sendResponse model and template (#273) 2021-04-02 06:42:14 +10: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
Matt Gibson
1e1677695c Set time ms rather than hours (#250) 2021-03-10 09:51:50 -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
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
Kyle Spearrin
e781de9f34 list org-members command 2019-10-07 09:58:19 -04:00
Kyle Spearrin
77d24f6b8a get org collection 2019-09-25 17:11:48 -04:00
Kyle Spearrin
d2ef504b40 org collection create and get template 2019-09-25 16:08:59 -04:00
Kyle Spearrin
0747744fbb small fixes 2019-04-19 17:41:15 -04:00
Kyle Spearrin
a3ba833f0d move shared CLI items to jslib 2019-03-15 22:34:59 -04:00
Kyle Spearrin
33deb4cda6 move export models to jslib 2018-12-17 10:30:06 -05:00
Kyle Spearrin
e0b9d84ad5 edit item collections 2018-10-23 17:31:59 -04:00
Kyle Spearrin
f47f100c0b add password history and updated dates to responses 2018-07-30 11:33:50 -04:00
Kyle Spearrin
9233d78c2f update command 2018-05-22 14:49:20 -04:00
Kyle Spearrin
2e8d0aaf53 list and get organizations 2018-05-18 15:26:59 -04:00
Kyle Spearrin
c0422ec77f restructure attachment commands 2018-05-17 15:55:44 -04:00
Kyle Spearrin
df024379c8 get items attachment command 2018-05-17 13:28:22 -04:00
Kyle Spearrin
33effb1a4d message response 2018-05-15 22:47:52 -04:00
Kyle Spearrin
8e23842399 pretty print json 2018-05-15 12:44:10 -04:00
Kyle Spearrin
07cc64c0b8 refactor req/res models 2018-05-15 12:18:47 -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