Commit graph

52 commits

Author SHA1 Message Date
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
0cb40d177c
Add API action to change parameters, downgrade deserialize on owned data 2018-04-01 22:40:20 +02:00
timvisee
b62ba8b8fc
Create owned data structure for improved authentication on generic data 2018-04-01 22:05:14 +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
c3e82650f9
Expose base64 crypto config types 2018-03-29 01:07:32 +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
70944f071d
Fix password action for new API [WIP, dirty] 2018-03-28 22:36:24 +02:00
timvisee
16133ce667
Add password change user action 2018-03-28 21:42:20 +02:00
timvisee
f04a6bfc26
Add API action to change file password 2018-03-28 20:55:36 +02:00
timvisee
917a1d2095
Implement deriving authentication keys with a password 2018-03-28 19:35:47 +02:00
timvisee
b77017a269
Rename signature module to sig 2018-03-28 19:11:34 +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
8ea1b5971c
Improve file mime guessing 2018-03-28 14:12:33 +02:00
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
bb508ac743
Lowercase API error messages 2018-03-27 01:51:32 +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
timvisee
1e047339cf
Partially implement error handling in download action 2018-03-25 01:26:36 +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
a4aa1b93e5
Abstract URL opening in utility, use Url instances 2018-03-19 14:55:37 +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