Commit graph

906 commits

Author SHA1 Message Date
timvisee
6bec241cf2
Remove app constants, update Cargo.toml files 2018-04-18 22:59:47 +02:00
timvisee
ae7d424b0b
Simplify main CLI info message, improve colored highlighting 2018-04-18 22:52:27 +02:00
timvisee
69797a3119
Remove CLI help dots, update .gitignore, remove .rs file 2018-04-18 21:53:14 +02:00
timvisee
e88198053f
Use two CLI binary names, show proper upload password help 2018-04-18 00:40:40 +02:00
timvisee
1cc0d6345f
Change default Send host to the public Mozilla one 2018-04-17 23:29:05 +02:00
timvisee
8825e6e09c
Rename binary to ffs 2018-04-17 23:26:24 +02:00
timvisee
28d8fa6f1d
Simplify Send size constants 2018-04-17 19:34:33 +02:00
timvisee
4df9788dc1
Update Cargo.lock 2018-04-14 21:33:58 +02:00
timvisee
8e4feb379e
Properly parse host/share URLs centrally, with error reporting 2018-04-13 19:41:06 +02:00
timvisee
e458f6d2cd
Also consistently report response errors for nonce operations 2018-04-13 18:49:23 +02:00
timvisee
8b8ba395e1
Properly and consistently check server response status everywhere 2018-04-13 18:40:13 +02:00
timvisee
0d4a6fba14
Create roadmap based on ideas 2018-04-13 17:15:45 +02:00
timvisee
6c31a38203
Add GNU GPL v3 base and MIT API licenses 2018-04-12 23:46:52 +02:00
timvisee
5dbafa6dbd
Check and limit file upload sizes 2018-04-12 23:32:35 +02:00
timvisee
1099a80c79
Optimize empty password checking 2018-04-12 21:49:05 +02:00
timvisee
3cba92c494
Only reject empty passwords when uploading 2018-04-12 21:40:39 +02:00
timvisee
c377e2be51
Implement configurable error hints 2018-04-12 21:27:52 +02:00
timvisee
b8a03b89dd
Only allow empty passwords when forcing 2018-04-12 20:54:42 +02:00
timvisee
d3f1288824
Fetch metadata only once when downloading 2018-04-11 22:52:56 +02:00
timvisee
149e98a887
Greatly improve logic for selecting smart target file 2018-04-11 22:45:24 +02:00
timvisee
ff8c644194
Create interactive prompt yes/no method 2018-04-11 18:48:30 +02:00
timvisee
896c01b6ef
Create main matcher, implement no-interact logic 2018-04-11 16:46:14 +02:00
timvisee
7760f56d1d
Improve owner token constraints 2018-04-11 16:03:12 +02:00
timvisee
ab1e715601
Do not allow empty owner token input 2018-04-11 15:51:57 +02:00
timvisee
5a4b1958e1
Prompt for owner tokens, allow owner token flag 2018-04-11 15:42:14 +02:00
timvisee
804455e13d
Create utility for ensuring a password is set (with prompt) 2018-04-11 15:15:22 +02:00
timvisee
2ee0ae0194
Update Cargo.lock 2018-04-11 00:47:28 +02:00
timvisee
1dbb1ee40b
Properly report file exist (check) errors 2018-04-11 00:46:00 +02:00
timvisee
c79a2c2298
Prompt password for info, move file checking to metadata action 2018-04-11 00:36:19 +02:00
timvisee
35c376ab82
Nicely handle and prompt passwords for downloads 2018-04-11 00:14:40 +02:00
timvisee
2719bb4834
Create CLI exists command 2018-04-10 23:45:02 +02:00
timvisee
1f516d0dcb
Fix broken download link due to moved URL functions 2018-04-10 23:39:19 +02:00
timvisee
6e913428c2
Create file/API URL builder 2018-04-10 18:50:10 +02:00
timvisee
b47d2941d0
Fix the nonce header, as it's always the same, simplifying the logic 2018-04-10 18:22:26 +02:00
timvisee
718238b35e
Extract nonce parsing logic to a module 2018-04-10 18:17:52 +02:00
timvisee
7ced1f4278
Redo CLI command handling, make it modular with detached matchers 2018-04-04 01:23:50 +02:00
timvisee
e0e7d7d009
Add global -f, -y and -I flags, rename file flag to output for downloads 2018-04-03 19:02:53 +02:00
timvisee
92f6387422
Add CLI action to delete remote file 2018-04-02 23:50:05 +02:00
timvisee
385b4d3afa
Add file deletion API action 2018-04-02 23:30:37 +02:00
timvisee
3778e82855
Add password handling to CLI info command 2018-04-02 23:13:52 +02:00
timvisee
a7827197a7
Show metadata properties with info CLI command, check if file exists 2018-04-02 21:52:26 +02:00
timvisee
349e62ed1c
Add exists API action to check file ability and protection 2018-04-02 18:52:08 +02:00
timvisee
887e09ebd2
Simplify API download action, replace metadata logic with metadata action 2018-04-02 18:23:54 +02:00
timvisee
2e4803848b
Add API action to fetch remote file metadata 2018-04-02 18:12:42 +02:00
timvisee
6ccba568dd
Better report file info 2018-04-02 17:50:36 +02:00
timvisee
b930a842ef
Remove obsolete authentication signature in some API actions 2018-04-02 15:01:56 +02:00
timvisee
35ea5ecf16
Fix API info action due to wrong API url 2018-04-02 14:57:09 +02:00
timvisee
4b901626af
Add CLI info action [WIP, broken] 2018-04-02 14:40:26 +02:00
timvisee
f8e5dead9c
Add file info action to API 2018-04-02 14:05:11 +02:00
timvisee
14f24c9603
Rename dlimit/download property to download_limit for consistency 2018-04-02 14:03:58 +02:00