Commit graph

275 commits

Author SHA1 Message Date
timvisee
adad6ef23e
Merge files in history, add/remove to/from history in all actions 2018-04-23 21:25:14 +02:00
timvisee
cb2d5f7844
Check for expired files everywehere, propogate their errors 2018-04-23 14:03:42 +02:00
timvisee
7526bdb5a3
Create history tool, for easier static history management 2018-04-22 17:03:10 +02:00
timvisee
fa96930645
Update file history in more CLI actions 2018-04-22 16:38:55 +02:00
timvisee
e7d3064ad7
Use Rust stable compatible tuple reference in filter 2018-04-22 16:30:31 +02:00
timvisee
943f309e98
Better remove history files (for example, after expiry) 2018-04-22 16:20:36 +02:00
timvisee
b984999120
Garbage collect expired history files 2018-04-22 16:10:39 +02:00
timvisee
05517f64d3
Add remote file expiry time property 2018-04-22 15:52:56 +02:00
timvisee
6b0e46839b
Rename ffsend-cli crate to ffsend 2018-04-19 13:52:00 +02:00
timvisee
26eeeeb160
Update Cargo.lock 2018-04-19 13:42:55 +02:00
timvisee
8f60c9e426
Create required history dirs, remove history file if emtpy, update roadmap 2018-04-19 13:42:31 +02:00
timvisee
3f6c4a558b
Use proper history file path, allow customizing it with CLI flag 2018-04-19 13:21:46 +02:00
timvisee
0326148b9c
Test more compiler feature combinations in CI 2018-04-19 12:31:24 +02:00
timvisee
dbc8c16128
Use Rust stable compatible file reading/writing (temporarily) 2018-04-19 12:30:59 +02:00
timvisee
8167470784
Improve history management, implement error handling, remove history file 2018-04-19 12:14:08 +02:00
timvisee
6da2e5ca2a
Start working on automatic file history 2018-04-19 00:52:59 +02:00
timvisee
ca616f6167
Implement Serialize and Deserialize for RemoteFile 2018-04-18 23:32:08 +02:00
timvisee
f1f0b20f5d
Disable clap colors if no-color feature is used 2018-04-18 23:09:19 +02:00
timvisee
19657fbfaa
Revert the use of two binary names 2018-04-18 23:00:39 +02:00
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