Commit graph

65 commits

Author SHA1 Message Date
timvisee
614659f74b
Update ffsend-api dependency to version 0.2.0 2019-03-03 15:11:02 +01:00
timvisee
8a46cfd968
Report supported API versions in debug output 2019-02-28 00:12:28 +01:00
timvisee
00618fe9db
Fix compiler error when compiling with support for multiple Send versions 2019-02-28 00:08:39 +01:00
timvisee
2236801f64
Mark version specific API logic with compiler feature attributes 2019-02-28 00:07:43 +01:00
timvisee
ea41cbdbc6
Improve API argument parsing and help information 2019-02-27 23:30:00 +01:00
timvisee
af98e133dc
Report proper error for invalid API version argument 2019-02-27 23:23:02 +01:00
timvisee
3bb0dc28dc
Remove unused imports, add Send version features to debug output 2019-02-27 23:17:03 +01:00
timvisee
ca122cad66
Make API version selection possible, update for newer ffsend-api version 2019-02-27 19:42:14 +01:00
timvisee
f53f11a9f1
Add version subcommand to determine remote server API version 2019-02-26 15:28:13 +01:00
timvisee
802c96df3f
Update Cargo.lock, apply changes for ffsend-api send2 branch 2019-02-18 14:06:53 +01:00
timvisee
dd8a7fe645
Replace deprecated function for Send v2 2019-01-20 18:41:08 +01:00
timvisee
e40c334f38
Update dependencies 2019-01-12 23:35:53 +01:00
timvisee
3ceff500cf
Update to Rust edition 2018 2019-01-12 23:34:38 +01:00
timvisee
44cf283f97
Reformat using rustfmt 2018-11-21 22:53:47 +01:00
timvisee
c72e106de8
Update ffsend-api dependency, hide progress bars in quiet mode 2018-11-21 22:53:12 +01:00
timvisee
059a0d85c5
Simplify GitLab CI configuration, attempt to fix upload/download test 2018-11-21 22:44:22 +01:00
timvisee
5fbcb2cd02
Be properly quiet when calling binary with no arguments 2018-11-21 22:03:38 +01:00
timvisee
7bbd74002b
Mention quiet mode in debug output 2018-11-21 21:57:12 +01:00
timvisee
5ac3cd4b15
Implement quiet CLI flag, only report URLs for history with quiet 2018-11-21 21:55:19 +01:00
timvisee
3ea774e227
Only show owner token in history view in verbose mode 2018-11-21 21:43:26 +01:00
timvisee
a58b15af7b
Fix build errors in some feature configurations 2018-11-20 13:27:05 +01:00
timvisee
0768028089
Show timeout values in debug output 2018-11-20 13:05:59 +01:00
timvisee
f693ff42d3
Make timeout configurable 2018-11-20 12:42:27 +01:00
timvisee
a6fdde6d0f
Set explicit client timeouts, fix timeout for big transfers 2018-11-20 12:01:09 +01:00
timvisee
6c35585980
Update prettytable dependency 2018-10-28 18:21:53 +01:00
timvisee
44b22720c4
Update dependencies 2018-10-28 18:17:29 +01:00
timvisee
560b462f21
Reformat using rustfmt 2018-10-15 23:07:22 +02:00
timvisee
16d6a6a4ae
Reformat using rustfmt 2018-09-18 22:01:22 +02:00
timvisee
a50e4e2300
Update chbs dependency to v0.0.8 2018-09-04 23:50:38 +02:00
timvisee
cda587455b
Add feature to generate easily rememberable passphrase 2018-08-02 02:39:20 +02:00
Tim Visée
ca3e704d4e Static compilation in GitLab CI 2018-06-23 15:02:02 +00:00
timvisee
e0326b1716
Lowercase all errors properly 2018-06-05 16:15:02 +02:00
timvisee
8ed530a83a
Extract ffsend-api to separate repository, move client crate to root 2018-05-21 22:06:51 +02:00
timvisee
7a56dabd39
Extract CLI logic to a child project 2018-03-08 23:02:06 +01:00
timvisee
2df0f8d077
Extract API logic to separate project 2018-03-08 22:56:34 +01:00
timvisee
fdb5a5a8ac
Start implementing upload logic in an update module 2018-03-08 22:36:57 +01:00
timvisee
a4ccf395b9
Extract crypto keys to a key set module 2018-03-08 21:36:50 +01:00
timvisee
8ffea0410d
Add URL/host parsing and URL building, add quit with error message 2018-03-08 21:02:34 +01:00
timvisee
b527a7c43c
Add time property to file struct 2018-03-08 20:32:45 +01:00
timvisee
c92ab109f6
Extract response object, create uploaded file struct 2018-03-08 20:25:15 +01:00
timvisee
ae83064b36
Define some more upload command arguments 2018-03-08 19:26:11 +01:00
timvisee
fb7fd69400
Improve CLI argument handling for subcommand use 2018-03-08 19:10:24 +01:00
timvisee
a2e5df3c41
Extract CLI argument handling into a module 2018-03-08 17:55:44 +01:00
timvisee
57d2e79400
Extract application facts into module 2018-03-08 17:49:20 +01:00
timvisee
ed4da6c2a1
Extract HKDF key deriving logic to a module 2018-03-08 17:43:37 +01:00
Tim Visée
98f1e813c2
Extract metadata structs to module 2018-03-08 11:26:30 +01:00
Tim Visée
05d22c57bc
Extract base64 logic to module 2018-03-08 11:26:07 +01:00
timvisee
396cf97963
Extract encrypted file reader to module 2018-03-06 18:28:39 +01:00
timvisee
cce9a28dc3
Properly handle errors in the encrypted file reader 2018-03-06 18:24:03 +01:00
timvisee
5dfe94b7ea
Optimize (and fix) encrypted file reader for any data size
Break up reader in different functions.
Read correctly when the buffer is only one byte.
Read additional data produced when finalizing.
Always try to fill the given reading buffer.
Create an internal buffer to handle excess data.
Improve reading performance.
2018-03-06 18:18:03 +01:00