Commit graph

70 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
8e4feb379e
Properly parse host/share URLs centrally, with error reporting 2018-04-13 19:41:06 +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
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
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
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
6ccba568dd
Better report file info 2018-04-02 17:50:36 +02:00
timvisee
4b901626af
Add CLI info action [WIP, broken] 2018-04-02 14:40:26 +02:00
timvisee
14f24c9603
Rename dlimit/download property to download_limit for consistency 2018-04-02 14:03:58 +02:00
timvisee
3ba39751f2
Create parameter data builder 2018-04-02 01:41:47 +02:00
timvisee
928b3d9beb
Pass parameter data to upload action, not raw downloads count 2018-04-02 01:27:22 +02:00
timvisee
3fb9536777
Add download limit parameter to CLI upload command 2018-04-02 01:19:20 +02:00
timvisee
b66a997d1e
Add CLI parameters command, to change parameters of shared files 2018-04-02 01:07:54 +02:00
timvisee
8259106c17
Allow specifying an output file or directory when downloading [WIP] 2018-03-29 22:50:43 +02:00
timvisee
649190b17a
Add upload file rename support 2018-03-29 22:17:38 +02:00
timvisee
8748d79934
Merge Send file types, rename it to RemoteFile, improve error handling 2018-03-29 01:07:18 +02:00
timvisee
376743915d
Add password support to download action 2018-03-29 00:38:18 +02:00
timvisee
1c17ef0fcd
Add password support to upload action 2018-03-29 00:20:57 +02:00
timvisee
4462e1d0a6
Add owner token option to CLI password command 2018-03-28 23:56:23 +02:00
timvisee
b6b095978c
Use and send proper data in API password action 2018-03-28 23:45:41 +02:00
timvisee
16133ce667
Add password change user action 2018-03-28 21:42:20 +02:00
timvisee
ba7d6a6ad1
Automatically cast errors where possible 2018-03-28 19:00:55 +02:00
timvisee
b7d8e49458
Extract status code extention to module 2018-03-28 18:27:50 +02:00
timvisee
e84ba364dc
Handle URL opening and clipboard errors 2018-03-28 16:52:54 +02:00
timvisee
a40bcbb1e4
Implement failure based error handling for upload action 2018-03-28 16:14:44 +02:00
timvisee
b2e63b9efc
Add CLI error structs, improve routing and error reporting from API 2018-03-28 01:25:44 +02:00
timvisee
affa6e65d2
Add no-color compiler feature 2018-03-28 00:29:47 +02:00