Commit Graph

167 Commits

Author SHA1 Message Date
josch
0e4a017170 update TODO list 2014-12-30 14:20:31 +01:00
josch
0fed0341fa update TODO list 2014-12-30 14:17:15 +01:00
josch
3fbb3b01ff on startup, check integrity of cached files and remove old cached files 2014-12-30 14:03:17 +01:00
josch
9913f2948c add install target 2014-12-30 14:03:17 +01:00
josch
e5bb2e12e8 do not build shared library (we do not want to maintain its ABI) 2014-12-30 14:03:17 +01:00
root
810d6d1245 fix for making getline available on old systems 2014-12-29 23:36:50 -06:00
root
98dba1c236 another strdup fix for old systems 2014-12-29 23:34:33 -06:00
root
5d7107ab06 fix up files in low-level commands for mfshell so that strdup is available on old systems 2014-12-29 23:32:19 -06:00
root
9310b1fa69 fix up files for mfshell so that strdup is available on old systems 2014-12-29 23:29:37 -06:00
josch
2c1b829295 add README.md, HACKING.md, TODO and COPYING 2014-12-30 05:41:29 +01:00
root
636d22504c user older option for setting timeout to support older systems 2014-12-29 22:08:10 -06:00
josch
90dc1c2927 protect every fuse call by mutexes to allow mounting without -s option 2014-12-29 22:47:52 +01:00
josch
02e2eec1d4 only call device/get_status every 60 seconds (hardcoded for now) 2014-12-29 22:10:41 +01:00
josch
3b8ecf3bac store cache in subdirectory of user ekey 2014-12-29 19:32:15 +01:00
josch
51b2ca1392 retrieve and store user's ekey when calling user/get_session_token 2014-12-29 15:11:53 +01:00
josch
80036b5bd9 move loop polling for upload completion into separate function 2014-12-29 13:57:53 +01:00
josch
07e545bd87 fuse/operations: explicitly cast pointer to uintptr_t to avoid problems on 32bit systems 2014-12-29 09:54:42 +01:00
josch
a0c534b803 adjust includes according to iwyu 3.5 2014-12-29 09:54:42 +01:00
josch
8c5bb77601 add compiler flags depending on compiler and version 2014-12-29 09:54:42 +01:00
josch
0bd253bf28 fix indentation 2014-12-29 09:54:42 +01:00
root
b83eb74551 set a 5 second connection timeout at the curl layer 2014-12-28 14:00:23 -06:00
root
ae52c4c647 fixed some reversed parameters introduced in the previous commit 2014-12-27 22:32:40 -06:00
root
53e85e0de1 added the framework for supporting new link types in the file-get-links API 2014-12-27 22:26:24 -06:00
root
59e7fe33f9 fix include for fcntl 2014-12-27 17:51:49 -06:00
root
e465d44bfe fix include for fcntl 2014-12-27 17:50:41 -06:00
root
d8670f99c5 enable anonymous unions (needed for GCC 3.X) 2014-12-27 17:49:17 -06:00
root
b50191bb0e fixed broken include for fcntl 2014-12-27 17:41:36 -06:00
root
e83ed07070 fix up files in the fuse directory for getline and strdup on old systems 2014-12-27 17:26:51 -06:00
root
70a6056d78 fixes for files in the apicalls directory for strdup on old systems 2014-12-27 17:24:04 -06:00
root
3e102bf5fb typo in the previous commit 2014-12-27 17:21:32 -06:00
root
2f218f9c99 fixup files in mfapi directory for strdup on old systems 2014-12-27 17:20:16 -06:00
root
a207c28172 fix up files in utils directory for strdup on old systems 2014-12-27 17:17:03 -06:00
root
ab617c2d51 fix up files in utils directory to support getline on old systems 2014-12-27 17:15:24 -06:00
root
ac0a758b67 removed -Werror because it doesn't work on GCC 3.X systems 2014-12-27 17:09:10 -06:00
josch
3829011324 lower requirement on libjansson from 2.6 to 2.5 2014-12-27 23:41:50 +01:00
root
e046d726f1 the file_get_links low-level API was returning -1 because the share link was not being returned. this was an artifact of the new API update. even though the direct_download_link was being returned, we were erroneously returning -1 2014-12-26 22:56:58 -06:00
root
cfd93bfa08 call get links and specify only direct_download link. that is all we should need (for now) 2014-12-26 22:46:49 -06:00
josch
9b50905084 3rdparty/cmake/FindJansson.cmake: fix typo 2014-12-27 04:17:42 +01:00
root
a59ff6f516 added specifier to control the API version that is called and set it to curent stable (which is version 1.2) 2014-12-26 20:28:23 -06:00
root
397063b026 added state 98 as a terminal state 2014-12-26 14:48:26 -06:00
josch
4b3ef3bf31 fix upload progress counter 2014-12-21 07:47:12 +01:00
josch
ddaf8ed86d fuse: make access a no-op 2014-12-20 23:38:19 +01:00
josch
b1b32d9ad8 folder/move: in contrast to the API docs it's folder_key_dst and not folderkey_dst 2014-12-19 19:07:08 +01:00
josch
40f09aebd6 fuse: add rename 2014-12-19 10:15:31 +01:00
josch
90b2bfa332 add new api calls: folder/move and folder/update 2014-12-19 10:15:22 +01:00
josch
30428ad027 add new api calls: file/move and file/update 2014-12-19 08:20:20 +01:00
josch
f788706680 mfconn_create_signed_get: add more verbosity to error conditions 2014-12-19 07:57:01 +01:00
josch
862bdcff80 add stubs for all fuse functions 2014-12-19 01:59:23 +01:00
josch
171fd815f2 allow to change local files
- fuse/filecache:
     * add filecache_upload_patch
     * allow opening files in modes other than RDONLY
 - fuse/hashtbl:
     * add folder_tree_upload_patch
 - fuse/operations:
     * allow opening files in modes other than RDONLY
     * add members to private context which allow tracking of
       not-yet-uploaded files and files opened for writing and
       files opened in read-only mode
 - mfapi/apicalls/upload_patch:
     * supply x-filename and x-filesize headers
 - mfapi/apicalls/upload_simple:
     * do not supply the x-filehash header as it is not used by the
       server
 - utils/hash:
     * hex characters must be lower case for the server
 - utils/strings:
     * clean up unused functions strdup_join, strdup_substr,
       string_chomp
 - utils/stringv:
     * complete rewrite with different string vector implementation
2014-12-18 20:29:47 +01:00
josch
5bd9e418c4 make everything work on freebsd 2014-12-09 15:30:13 +01:00