Commit Graph

  • 2f2ce91597 fix includes and indentation josch 2014-12-01 22:03:09 +01:00
  • e730107b8b tests/valgrind_fuse.sh: adjust configuration file location josch 2014-12-01 22:02:19 +01:00
  • 9c4195ebdd fuse: allow entering username and password via stdin josch 2014-12-01 21:59:59 +01:00
  • ffc933cf10 allow to start without a config file josch 2014-12-01 18:54:00 +01:00
  • 0abe0099be fail if hashtable cannot be loaded josch 2014-12-01 17:23:28 +01:00
  • febb29f75c Add support for updating local cache through patches josch 2014-12-01 16:30:32 +01:00
  • 5034d361ba store dircache in proper directory josch 2014-11-14 13:28:19 +01:00
  • d748f5e686 fuse/main.c: eliminate all global variables by using fuse private_data josch 2014-11-14 13:20:20 +01:00
  • d25439755c make sure that test fuse mount is unmounted even on error josch 2014-11-14 13:07:01 +01:00
  • c7cd1809fe look up parent again after having retrieved it josch 2014-11-14 09:48:41 +01:00
  • f9b0fa8551 instead of storing whether or not the local version is up to date, store the revision of the meta data and the revision of the data behind it josch 2014-11-12 19:42:21 +01:00
  • 511cda2c8f calculate and check hash of downloaded file josch 2014-11-05 13:40:25 +01:00
  • 254aaa6033 fix testsuite problems josch 2014-11-05 13:21:51 +01:00
  • f281b4233d add diff and patch functions for xdelta3 josch 2014-11-04 11:02:33 +01:00
  • 3d56e7b9c3 3rdparty/xdelta3-3.0.8: fix compiler warnings josch 2014-11-04 11:02:10 +01:00
  • 6b3ff6b7f5 tests/indent.sh: do not check 3rdparty directory josch 2014-11-03 20:35:39 +01:00
  • 070c7fdc3e add 3rdparty/xdelta3-3.0.8 josch 2014-11-03 20:35:23 +01:00
  • 720d5da086 reorganize configuration and cache location handling josch 2014-11-03 20:33:48 +01:00
  • 1e4a217157 fix a typo that prevented the wrong directory being updated josch 2014-10-28 09:41:15 +01:00
  • 3db5ce5c42 implement preliminary support to read files josch 2014-10-27 14:17:03 +01:00
  • 21465f8943 create config directory in HOME and read config from there josch 2014-10-26 14:11:22 +01:00
  • b6026aa350 valgrind_fuse: only wait 10 seconds for fuse to be mounted josch 2014-10-26 14:10:49 +01:00
  • 524fdf5824 add valgrind test for mediafire-fuse and fix memleaks josch 2014-10-25 11:39:26 +02:00
  • fe17cb517f check whether a connection exists before executing certain commands josch 2014-10-25 11:34:34 +02:00
  • 5e24f47c10 add more curl error output josch 2014-10-25 11:33:55 +02:00
  • fbad17827e fuse: allow to parse config file josch 2014-10-20 10:31:22 +02:00
  • 5a673abd1b fix valgrind problems josch 2014-10-19 08:58:56 +02:00
  • f23250aaef Allow to work with only partially filled tree josch 2014-10-19 08:43:57 +02:00
  • 8f728cf106 remove unused variables josch 2014-10-02 08:21:45 +02:00
  • 5fa32f8878 build with std=c99 josch 2014-10-02 08:20:08 +02:00
  • 5bcd7c38e7 we don't need the recurse argument if we fetch the content if the folder did not exist before josch 2014-09-29 17:03:15 +02:00
  • b0410cc1ac make synchronization with remote more robust josch 2014-09-29 16:48:26 +02:00
  • d65f60ec81 rely on some properties of fuse to avoid checks and sanitizing josch 2014-09-29 10:53:34 +02:00
  • fc520c6f5b Implement mkdir and rmdir josch 2014-09-28 09:37:24 +02:00
  • 43c0b09f70 hashtbl: do not expose h_entry at all josch 2014-09-28 07:39:13 +02:00
  • 690091721a Call folder/get_contents for updated folders in device/get_changes josch 2014-09-27 23:04:45 +02:00
  • 53981a2229 allow persistent storage and loading of the remote tree josch 2014-09-27 20:18:02 +02:00
  • b6f35763fa Optimize device/get_changes updates josch 2014-09-27 13:53:44 +02:00
  • da914e67b1 connect getattr and readdir to hashtbl josch 2014-09-26 16:08:30 +02:00
  • b4045f19ce Add hashtable implementation to maintain a local copy of the remote josch 2014-09-25 13:05:17 +02:00
  • 8ac6e70609 Don't let api_device_getchanges print but let it fill datastructures josch 2014-09-25 21:51:42 +02:00
  • ebc70ee4c4 fix includes josch 2014-09-25 19:43:38 +02:00
  • dcce69e66d limit line length to 79 characters josch 2014-09-25 19:38:48 +02:00
  • 32fcb30572 fix indentation josch 2014-09-25 19:34:03 +02:00
  • fd13d973ba fix memory leak in list command josch 2014-09-25 19:32:28 +02:00
  • 0fab559a86 Don't let api_folder_get_content print but let it fill datastructures josch 2014-09-25 19:27:49 +02:00
  • 44ba88a69d make valgrind return non-zero exit on failure josch 2014-09-25 19:25:57 +02:00
  • 975e75cc6f mfshell: add changes command, mfapi: add device/get_changes josch 2014-09-25 13:04:40 +02:00
  • 2e28ae16e2 remove some useless includes josch 2014-09-24 21:28:22 +02:00
  • dacb6937f1 remove unused variable josch 2014-09-24 21:22:04 +02:00
  • c763863d27 remove epoch josch 2014-09-24 21:20:21 +02:00
  • 095a05ec3c check strftime return value josch 2014-09-24 21:16:41 +02:00
  • a63ee3f84e mfapi/folder.c: remove unnecessary struct members josch 2014-09-24 21:11:50 +02:00
  • 063db92a97 temporary workaround for ubuntu: link with --no-as-needed josch 2014-09-24 21:07:07 +02:00
  • 29a343267d mfshell: add the status command and the device/get_status api call josch 2014-09-24 18:33:04 +02:00
  • 6ca27f0a6a fix indent test and indentation josch 2014-09-24 11:28:35 +02:00
  • 0561a922c5 mfshell: add new folder command josch 2014-09-24 10:48:54 +02:00
  • 18db8742dd remove "myfiles" as a moniker for the root. Use NULL or empty string instead josch 2014-09-24 09:34:56 +02:00
  • 00ff91c15a fuse: add more options and establish connection on startup josch 2014-09-23 20:53:29 +02:00
  • 6e546fa3f3 some stderr output on error josch 2014-09-23 20:52:30 +02:00
  • 7e4717c18f mfconn_create: abort early on faulty input josch 2014-09-23 19:30:50 +02:00
  • ab728c93da make App ID and API Key configurable via commandline josch 2014-09-23 19:18:23 +02:00
  • 036954df35 allow to pass no api_key when constructing the signature josch 2014-09-23 18:53:16 +02:00
  • 60e0824f68 mfapi/apicalls/user_session.c: don't use hardcoded application_id josch 2014-09-23 18:24:09 +02:00
  • 8e1fd0e41d add skeleton for fuse module josch 2014-09-23 15:12:19 +02:00
  • f85072e465 refactor option and config handling josch 2014-09-23 13:51:32 +02:00
  • cf410aa820 utils/http.h: fix whitespace typo josch 2014-09-23 13:31:47 +02:00
  • eb9dde4457 add .gitignore to not accidentally add .mediafire-tools.conf josch 2014-09-23 11:39:26 +02:00
  • e14d91ca1d mfshell: add configuration file parsing josch 2014-09-23 11:38:10 +02:00
  • 8f726ab5e5 allow to pass username and password by commandline arguments josch 2014-09-23 09:26:28 +02:00
  • 08c067a352 add const qualifiers to some variables josch 2014-09-21 15:59:52 +02:00
  • 675679acf7 fix segmentation fault when quitting without logging in josch 2014-09-21 15:04:46 +02:00
  • 164de0782f allow in-tree builds (rename mfshell executable) josch 2014-09-21 08:13:26 +02:00
  • 042a1cdf09 Add valgrind tests and fix memleaks josch 2014-09-21 00:03:20 +02:00
  • 122db2ed82 tests/iwyu.py: print diff if descrepancy is found josch 2014-09-20 14:39:24 +02:00
  • e10ed72a48 tests/indent.sh: use find because dash cannot expand ** josch 2014-09-20 14:38:26 +02:00
  • e45d0e883d add rmdir shell command and folder_delete api call josch 2014-09-20 14:37:24 +02:00
  • 097a855751 use gnu indent to enforce coding style and adapt source josch 2014-09-20 10:59:54 +02:00
  • d8e00119b4 add test with iwyu and fix all headers accordingly josch 2014-09-20 09:40:59 +02:00
  • 4b2563d800 remove the _t postfix from type names because POSIX reserves types ending in _t josch 2014-09-19 23:13:29 +02:00
  • e0ee1e5f8f fix clang warnings josch 2014-09-19 21:14:30 +02:00
  • b322f68ad2 build with -Wall -Wextra -Werror and fix errors josch 2014-09-19 09:21:28 +02:00
  • ef3b2aa844 Refactor code into utils, mfapi and mfshell josch 2014-09-18 09:11:00 +02:00
  • 2d6a79062a fix segfault when line only contains newline josch 2014-09-17 21:33:19 +02:00
  • ebedf596db Replace cfile.c with connection.c josch 2014-09-17 11:20:23 +02:00
  • fe42b6e668 use wordexp instead of stringv_split for argument parsing josch 2014-09-17 08:31:08 +02:00
  • 540b603b41 Add commandline argument parser josch 2014-09-17 00:12:05 +02:00
  • b25e4ad7d8 add function to execute raw commands via argc and argv josch 2014-09-17 00:11:09 +02:00
  • c57ccd6df1 allow username and password as arguments to auth command josch 2014-09-17 00:09:31 +02:00
  • 08b808f893 Refactor commandline handling josch 2014-09-16 12:40:52 +02:00
  • e8f3164374 remove cacert.pem josch 2014-09-16 09:30:40 +02:00
  • 48ce3f7e95 compile with cmake josch 2014-09-16 08:04:06 +02:00
  • 9b36c98544 add license header to all files and LICENSE file with GPL-2 josch 2014-09-15 20:22:02 +02:00
  • ad1fea5a78 initial commit - import mediafire-shell sources josch 2014-09-15 20:00:05 +02:00