Commit graph

876 commits

Author SHA1 Message Date
timvisee
ae3bf27d0e
Print the path in file usage errors 2018-03-28 00:25:28 +02:00
timvisee
8ae79c3e4f
Nicely print CLI errors with their causes 2018-03-27 23:31:25 +02:00
timvisee
a4b7736019
Properly forward message based errors when quitting program 2018-03-27 21:19:28 +02:00
Tim Visée
2668dbf305
Update the progress bar 5 times a second 2018-03-27 10:29:59 +02:00
Tim Visée
559c1a482f
Merge pull request #2 from timvisee/error-handling
Start working on improved error handling with failure crate
2018-03-27 01:56:43 +02:00
timvisee
bb508ac743
Lowercase API error messages 2018-03-27 01:51:32 +02:00
timvisee
4ddfbeb4b6
Nicely report API failure errors in CLI client (WIP) 2018-03-27 01:50:02 +02:00
timvisee
5ae016192c
Add explicit error handling for expired files 2018-03-27 01:27:44 +02:00
timvisee
160809efa2
Normalize error names in download action 2018-03-27 01:15:20 +02:00
timvisee
71f0b7c451
Fully implement error handling with failure in download action 2018-03-27 01:06:14 +02:00
Tim Visée
b5d472d683
Merge pull request #1 from timvisee/ci
Use basic CI builds and tests with Travis CI
2018-03-26 21:11:49 +02:00
timvisee
cdd907338b
Also build without default features on CI 2018-03-26 21:11:09 +02:00
timvisee
c23fe34c33
Split CI commands, enable verbose mode 2018-03-26 21:05:42 +02:00
timvisee
0a79fa7c7c
Install dependencies on CI 2018-03-26 20:58:57 +02:00
timvisee
94229560bf
Add Travis CI configuration 2018-03-26 20:51:14 +02:00
timvisee
1e047339cf
Partially implement error handling in download action 2018-03-25 01:26:36 +01:00
timvisee
5bda8dd39d
Update Cargo.lock, change version number and about info 2018-03-25 00:17:20 +01:00
timvisee
bf13230570
Update Cargo.lock 2018-03-23 14:21:32 +01:00
timvisee
268da48d9c
Extract methods in API download logic 2018-03-23 01:17:59 +01:00
timvisee
d382a015c5
Implement progress bar both for upload and download 2018-03-21 00:08:53 +01:00
timvisee
2d1c669cef
Fix writing large encrypted files, remove slow truncates 2018-03-20 23:23:39 +01:00
timvisee
a7da14ec2c
Generalize base64 decode method, allow all formats for single method 2018-03-20 22:46:36 +01:00
timvisee
4957c98f6d
Fix data decrypt error, and seldom nonce decode problem 2018-03-20 22:36:56 +01:00
timvisee
9eb9462c40
Implement file download and decrypt logic 2018-03-20 22:04:49 +01:00
timvisee
7e22c07d72
Extract signing crypto to module 2018-03-20 18:35:26 +01:00
timvisee
f63b86f0ec
Properly compute metadata crypto signature with signer 2018-03-20 18:19:49 +01:00
Tim Visée
5b1724ef9e
Create upload command, implement download data decryption logic 2018-03-20 13:52:59 +01:00
Tim Visée
dd41dfbacc
Use serde JSON crate globally in API 2018-03-20 13:25:58 +01:00
Tim Visée
8101bb3d19
Allow key set derivation from download URL, start on download logic 2018-03-20 11:56:22 +01:00
Tim Visée
e7e0d8c1ff
Use dynamic vector as secret type 2018-03-20 11:43:15 +01:00
timvisee
3f3f12aa70
Start working on structs for download functionallity 2018-03-20 01:11:16 +01:00
timvisee
b57e85a8ec
Complete upload progress bar implementation, simplify with arc/mutex 2018-03-19 21:52:20 +01:00
timvisee
030454cc10
Start implementing an upload progress bar (WIP) 2018-03-19 21:19:15 +01:00
timvisee
c646cf7938
Make clipboard support an optional compilation feature 2018-03-19 15:33:20 +01:00
timvisee
523cbc3a19
Add clipboard suppor:t, make URL open feature toggleable 2018-03-19 15:18:04 +01:00
timvisee
a4aa1b93e5
Abstract URL opening in utility, use Url instances 2018-03-19 14:55:37 +01:00
timvisee
c2611049df
Extract upload action to it's own module 2018-03-19 14:54:15 +01:00
timvisee
951bcbe5d8
Mark workspace root directory in members 2018-03-19 14:11:45 +01:00
timvisee
061e6e0658
Implement upload logic from API, use pathbuf 2018-03-09 00:37:02 +01:00
timvisee
a66b9dd67f
Polish API upload action 2018-03-09 00:25:34 +01:00
timvisee
c32a55c82f
Organize API modules 2018-03-08 23:11:21 +01: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