Commit graph

99 commits

Author SHA1 Message Date
timvisee
738ae46054
Implement archive download extract feature 2018-05-17 21:09:52 +02:00
timvisee
dd65b51cb5
Fix nonce auth, dependency, incorrect wording and warnings previous commits 2018-05-17 16:44:47 +02:00
timvisee
358bc6816a
Implement archive feature use flag 2018-05-17 14:35:08 +02:00
timvisee
b62f3fd343
Apply clippy suggestions 2018-05-17 02:28:29 +02:00
timvisee
2755d6ed5c
Simplify file reading/writing with Rust 1.26 which is now stable 2018-05-10 22:08:32 +02:00
timvisee
7aa9ecbcdf
Also derive file secrets from history 2018-05-10 19:03:33 +02:00
timvisee
34aff28b10
Lowercase all error messages 2018-05-10 17:27:35 +02:00
timvisee
54bdb922b7
Better format file info, fetch file size with info 2018-05-10 15:38:53 +02:00
timvisee
85e6e3da40
Sort history list, put first expiring last 2018-05-10 15:00:16 +02:00
timvisee
77fb9c436d
Automatically derive owner tokens from history 2018-05-10 14:46:52 +02:00
timvisee
d71ac28458
Make remote file expiry time required, better implement uncertainty flag 2018-05-07 23:08:22 +02:00
timvisee
4b4060ab34
Add expiry time uncertainty flag, assign default expiry to unkown files 2018-05-07 22:51:55 +02:00
timvisee
a6186975b2
Render file expiry time and secret in history view 2018-05-07 22:20:45 +02:00
timvisee
b0c62153b7
Render history table 2018-04-30 13:07:31 +02:00
timvisee
c0dafe41e6
Update history file properties from info action response, add history files in exists action 2018-04-24 00:20:38 +02:00
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
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
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
6bec241cf2
Remove app constants, update Cargo.toml files 2018-04-18 22:59:47 +02:00
timvisee
1cc0d6345f
Change default Send host to the public Mozilla one 2018-04-17 23:29:05 +02:00
timvisee
28d8fa6f1d
Simplify Send size constants 2018-04-17 19:34:33 +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
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
d3f1288824
Fetch metadata only once when downloading 2018-04-11 22:52:56 +02:00
timvisee
5a4b1958e1
Prompt for owner tokens, allow owner token flag 2018-04-11 15:42:14 +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
1f516d0dcb
Fix broken download link due to moved URL functions 2018-04-10 23:39:19 +02:00
timvisee
6e913428c2
Create file/API URL builder 2018-04-10 18:50:10 +02:00
timvisee
b47d2941d0
Fix the nonce header, as it's always the same, simplifying the logic 2018-04-10 18:22:26 +02:00
timvisee
718238b35e
Extract nonce parsing logic to a module 2018-04-10 18:17:52 +02:00
timvisee
7ced1f4278
Redo CLI command handling, make it modular with detached matchers 2018-04-04 01:23:50 +02:00
timvisee
385b4d3afa
Add file deletion API action 2018-04-02 23:30:37 +02:00
timvisee
a7827197a7
Show metadata properties with info CLI command, check if file exists 2018-04-02 21:52:26 +02:00
timvisee
349e62ed1c
Add exists API action to check file ability and protection 2018-04-02 18:52:08 +02:00
timvisee
887e09ebd2
Simplify API download action, replace metadata logic with metadata action 2018-04-02 18:23:54 +02:00
timvisee
2e4803848b
Add API action to fetch remote file metadata 2018-04-02 18:12:42 +02:00
timvisee
b930a842ef
Remove obsolete authentication signature in some API actions 2018-04-02 15:01:56 +02:00
timvisee
35ea5ecf16
Fix API info action due to wrong API url 2018-04-02 14:57:09 +02:00
timvisee
4b901626af
Add CLI info action [WIP, broken] 2018-04-02 14:40:26 +02:00
timvisee
f8e5dead9c
Add file info action to API 2018-04-02 14:05:11 +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