Commit Graph

  • 055dc9ce13 Guard _XOPEN_SOURCE definitions, and cast strptime to (char *) explicitly. openbsd-strptime Aaron Hamilton 2015-01-22 01:32:38 +00:00
  • 33bf28cb0b Guard find_package and include_directories for FUSE on OpenBSD, because it ships by default. openbsd-fuse-include Aaron Hamilton 2015-01-22 01:20:04 +00:00
  • 6b17698276 Merge pull request #1 from xorgy/default-source-instead-of-bsd-source master TragicWarrior 2015-01-21 17:52:16 -06:00
  • cf22aa9ff5 Use _DEFAULT_SOURCE instead of _BSD_SOURCE, since _BSD_SOURCE is deprecated. default-source-instead-of-bsd-source Aaron Hamilton 2015-01-21 23:43:45 +00:00
  • 8773541f35 temporarily revert to 400 folder items per call until a more permanet fix can be made root 2015-01-21 09:59:23 -06:00
  • 0ae7b89547 TESTING: add more items josch 2015-01-20 19:59:56 +01:00
  • e7996e3dc5 updated TESTING with new case root 2015-01-19 12:05:19 -06:00
  • 331d6cfcdc added a TESTING file which others can provide a historical record of what has worked (and should still continue to work) root 2015-01-19 12:00:05 -06:00
  • 950467c43b removed instant upload from TODO as it is now implemented root 2015-01-19 11:28:08 -06:00
  • c87bbec03c fuse: when the hashtable fails to load, start a new one instead of failing josch 2015-01-19 17:18:10 +01:00
  • 9c77fe415e mfapi/file.c mfapi/folder.c mfapi/patch.c: add error messages josch 2015-01-18 09:56:47 +01:00
  • ce87652383 tests/valgrind_fuse.sh: add more notes josch 2015-01-18 09:42:09 +01:00
  • 7893d7ddb5 restrict the file and folder name length to MFAPI_MAX_LEN_NAME and not 40 josch 2015-01-18 09:39:11 +01:00
  • e7671a6473 use correct error ENOSYS when function is not implemented josch 2015-01-18 08:59:14 +01:00
  • f0a55615ae urlencode all filenames, foldernames, username and password josch 2015-01-16 08:49:23 +01:00
  • 3bff628066 add support for instant uploads josch 2015-01-12 14:43:23 +01:00
  • 55cbb1c200 updated TODO regarding statvfs root 2015-01-05 15:07:59 -06:00
  • 2462e834a5 updated the TODO list with new items and made it 80-column friendly root 2015-01-03 12:44:36 -06:00
  • e8d16e6c54 fetch 1000 folders and 1000 files per call instead of 100 root 2015-01-03 12:11:25 -06:00
  • 6e675c24de update TODO list josch 2015-01-03 07:39:16 +01:00
  • 49dcbae10a fix typo in TODO josch 2015-01-03 07:37:16 +01:00
  • 147eeb021e update TODO list josch 2015-01-03 07:32:02 +01:00
  • 76bfa6352b add required packages for FreeBSD josch 2014-12-30 20:43:19 +01:00
  • d1a778ffe5 fix some indentation josch 2014-12-30 19:12:49 +01:00
  • a1f39e8d4f fixed an include josch 2014-12-30 19:10:43 +01:00
  • c09a663471 create ~/.config and ~/.cache should they not exist josch 2014-12-30 19:09:20 +01:00
  • c6dba45cb9 add instructions to build with debug symbols josch 2014-12-30 15:13:08 +01:00
  • 0e4a017170 update TODO list josch 2014-12-30 14:20:31 +01:00
  • 0fed0341fa update TODO list josch 2014-12-30 14:17:15 +01:00
  • 3fbb3b01ff on startup, check integrity of cached files and remove old cached files josch 2014-12-30 14:01:48 +01:00
  • 9913f2948c add install target josch 2014-12-30 06:50:37 +01:00
  • e5bb2e12e8 do not build shared library (we do not want to maintain its ABI) josch 2014-12-30 06:45:04 +01:00
  • 810d6d1245 fix for making getline available on old systems root 2014-12-29 23:36:50 -06:00
  • 98dba1c236 another strdup fix for old systems root 2014-12-29 23:34:33 -06:00
  • 5d7107ab06 fix up files in low-level commands for mfshell so that strdup is available on old systems root 2014-12-29 23:32:19 -06:00
  • 9310b1fa69 fix up files for mfshell so that strdup is available on old systems root 2014-12-29 23:29:37 -06:00
  • 2c1b829295 add README.md, HACKING.md, TODO and COPYING josch 2014-12-30 05:40:22 +01:00
  • 636d22504c user older option for setting timeout to support older systems root 2014-12-29 22:08:10 -06:00
  • 90dc1c2927 protect every fuse call by mutexes to allow mounting without -s option josch 2014-12-29 22:47:52 +01:00
  • 02e2eec1d4 only call device/get_status every 60 seconds (hardcoded for now) josch 2014-12-29 22:10:41 +01:00
  • 3b8ecf3bac store cache in subdirectory of user ekey josch 2014-12-29 19:32:15 +01:00
  • 51b2ca1392 retrieve and store user's ekey when calling user/get_session_token josch 2014-12-29 15:11:53 +01:00
  • 80036b5bd9 move loop polling for upload completion into separate function josch 2014-12-29 13:57:53 +01:00
  • 07e545bd87 fuse/operations: explicitly cast pointer to uintptr_t to avoid problems on 32bit systems josch 2014-12-28 09:11:26 +01:00
  • a0c534b803 adjust includes according to iwyu 3.5 josch 2014-12-29 09:49:48 +01:00
  • 8c5bb77601 add compiler flags depending on compiler and version josch 2014-12-28 09:42:10 +01:00
  • 0bd253bf28 fix indentation josch 2014-12-28 09:40:52 +01:00
  • b83eb74551 set a 5 second connection timeout at the curl layer root 2014-12-28 14:00:23 -06:00
  • ae52c4c647 fixed some reversed parameters introduced in the previous commit root 2014-12-27 22:32:40 -06:00
  • 53e85e0de1 added the framework for supporting new link types in the file-get-links API root 2014-12-27 22:26:24 -06:00
  • 59e7fe33f9 fix include for fcntl root 2014-12-27 17:51:49 -06:00
  • e465d44bfe fix include for fcntl root 2014-12-27 17:50:41 -06:00
  • d8670f99c5 enable anonymous unions (needed for GCC 3.X) root 2014-12-27 17:49:17 -06:00
  • b50191bb0e fixed broken include for fcntl root 2014-12-27 17:41:36 -06:00
  • e83ed07070 fix up files in the fuse directory for getline and strdup on old systems root 2014-12-27 17:26:51 -06:00
  • 70a6056d78 fixes for files in the apicalls directory for strdup on old systems root 2014-12-27 17:24:04 -06:00
  • 3e102bf5fb typo in the previous commit root 2014-12-27 17:21:32 -06:00
  • 2f218f9c99 fixup files in mfapi directory for strdup on old systems root 2014-12-27 17:20:16 -06:00
  • a207c28172 fix up files in utils directory for strdup on old systems root 2014-12-27 17:17:03 -06:00
  • ab617c2d51 fix up files in utils directory to support getline on old systems root 2014-12-27 17:15:24 -06:00
  • ac0a758b67 removed -Werror because it doesn't work on GCC 3.X systems root 2014-12-27 17:09:10 -06:00
  • 3829011324 lower requirement on libjansson from 2.6 to 2.5 josch 2014-12-27 23:41:50 +01:00
  • 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 root 2014-12-26 22:56:58 -06:00
  • cfd93bfa08 call get links and specify only direct_download link. that is all we should need (for now) root 2014-12-26 22:46:49 -06:00
  • 9b50905084 3rdparty/cmake/FindJansson.cmake: fix typo josch 2014-12-27 04:17:42 +01:00
  • a59ff6f516 added specifier to control the API version that is called and set it to curent stable (which is version 1.2) root 2014-12-26 20:28:23 -06:00
  • 397063b026 added state 98 as a terminal state root 2014-12-26 14:48:26 -06:00
  • 4b3ef3bf31 fix upload progress counter josch 2014-12-21 07:47:12 +01:00
  • ddaf8ed86d fuse: make access a no-op josch 2014-12-20 23:38:19 +01:00
  • b1b32d9ad8 folder/move: in contrast to the API docs it's folder_key_dst and not folderkey_dst josch 2014-12-19 19:07:08 +01:00
  • 40f09aebd6 fuse: add rename josch 2014-12-19 10:15:31 +01:00
  • 90b2bfa332 add new api calls: folder/move and folder/update josch 2014-12-19 08:57:11 +01:00
  • 30428ad027 add new api calls: file/move and file/update josch 2014-12-19 08:20:20 +01:00
  • f788706680 mfconn_create_signed_get: add more verbosity to error conditions josch 2014-12-19 07:57:01 +01:00
  • 862bdcff80 add stubs for all fuse functions josch 2014-12-19 01:52:59 +01:00
  • 171fd815f2 allow to change local files josch 2014-12-08 14:12:17 +01:00
  • 5bd9e418c4 make everything work on freebsd josch 2014-12-09 09:07:47 +01:00
  • c8a0f2a942 add upload/patch josch 2014-12-07 15:38:50 +01:00
  • a95a0f5c48 fill headers outside of http_post_file josch 2014-12-07 15:03:38 +01:00
  • a5e5092c13 fix includes josch 2014-12-06 11:04:11 +01:00
  • 8468a39c0a if apicall failed - retry josch 2014-12-06 11:04:04 +01:00
  • dd3291a9c4 fix some error checking josch 2014-12-05 14:40:04 +01:00
  • c04151f2e1 remove json_object_by_path josch 2014-12-05 14:27:31 +01:00
  • 8300fcd4c8 file/get_info: fix wrong response check josch 2014-12-05 14:05:51 +01:00
  • 73123d87e9 move mfconn_update_secret_key into the apicalls josch 2014-12-05 14:02:33 +01:00
  • 7e26de7e2a the error code is a json integer josch 2014-12-05 13:49:00 +01:00
  • fa609e465d add some stub for mitm testing josch 2014-12-05 13:48:47 +01:00
  • f5b09193f9 http: properly reset all values of curl connection josch 2014-12-05 13:09:56 +01:00
  • 972b47f449 file/get_info: change accidental ssl usage josch 2014-12-05 13:06:03 +01:00
  • 313964bb01 extend test case for fuse josch 2014-12-05 13:05:33 +01:00
  • 2ce7ae3fae rename mfapi/apicalls/user_session.c -> mfapi/apicalls/user_get_session_token.c josch 2014-12-05 11:38:57 +01:00
  • 1007caec7a check and return mediafire response code for every api call josch 2014-12-05 11:37:51 +01:00
  • 816d79438f Allow to skip the device/get_status call when calling folder_tree_update josch 2014-12-04 16:21:39 +01:00
  • 71f6396a9a Allow to create new files (but changing them is not allowed yet) josch 2014-12-04 16:07:12 +01:00
  • f1bf926145 Allow file upload josch 2014-12-04 10:34:54 +01:00
  • 1e15dcc16b fuse: add unlink to remove files josch 2014-12-02 11:04:25 +01:00
  • 83eb1d9dcc add file/delete apicall and rm command to shell josch 2014-12-02 10:18:12 +01:00
  • 48d803911f CMakeLists.txt: break long lines josch 2014-12-02 07:36:00 +01:00
  • 04dd1bcc71 now that we got rid of global variables, we can split the operations into their own file josch 2014-12-02 07:34:07 +01:00
  • 58e8e89771 move file integrity checks from fuse/filecache to utils/hash josch 2014-12-02 07:10:07 +01:00