Commit Graph

180 Commits (271e4d7ed88e8b51b5f37cf7325908abff0d6850)

Author SHA1 Message Date
justin 96227d38cf store modified time of file in m_mtime instead of passing value as param 2012-07-19 22:22:34 +01:00
Nestal Wan c6a1c47d40 added retry on HTTP 500 & 503 (#82) 2012-07-20 00:50:40 +08:00
Nestal Wan 28e8012ca5 added AuthAgent, a wrapper around http agent 2012-07-20 00:39:36 +08:00
Nestal Wan 57c431dd83 added logs for tracing last sync time 2012-07-19 23:48:01 +08:00
Jan Winkler 2f94168599 Set up an else-clause for IBERTY_LIBRARY and removed unnecessary BOOST-find
In ./CMakeLists.txt the added find_package( Boost ) was removed due to being unnecessary. In libgrive/CMakeLists.txt the IBERTY_LIBRARY is now set to an empty string of it was not found (otherwise the linker breaks during `cmake').
2012-07-19 17:19:40 +02:00
Jan Winkler 56de93c8c7 Commented out iberty_library stuff
The iberty_library could not be found anywhere in my repos or on my system. Compiles and runs fine without.
2012-07-19 16:51:03 +02:00
Nestal Wan 7cc4984932 use mmap for checksum 2012-07-17 01:59:00 +08:00
Nestal Wan ce245576b5 use StdioFile for uploading (#88) 2012-07-17 01:58:16 +08:00
Nestal Wan 75c67dad8d added class & functions for memory mapped files 2012-07-17 01:08:34 +08:00
Nestal Wan 94383e0030 ignoring files with missing MD5 checksum in remote feeds 2012-07-16 23:37:50 +08:00
Nestal Wan 593c335a5e improved logging for HTTP responses 2012-07-16 23:23:08 +08:00
Nestal Wan 394982da4e added _FILE_OFFSET_BITS=64 (#88) 2012-07-16 22:30:30 +08:00
justin e28fe96260 fix deleted local file downloaded again 2012-07-15 17:33:33 +01:00
Nestal Wan 80f3fbf370 refactored the logs to debug sync problems 2012-07-12 00:36:58 +08:00
Nestal Wan 278037b07b fixed incorrect name in pdf files 2012-07-12 00:30:19 +08:00
Ben L 06bf4fe58d Fix empty filenames for Google Docs 2012-07-03 13:42:16 -05:00
Nestal Wan daa1fe9ca3 refactored a bit for the fix in #76 2012-06-27 23:18:12 +08:00
Georges Dubus 34be2e7a87 Fixed a bug where grive crashed on the first run.
It gived a negative start index to get the changes feed, which is
illegal. The error returned by the server triggered a crash.

Fixes #76.
2012-06-27 14:17:13 +02:00
Nestal Wan 460a4fd8f2 save the changestamp after sync (#68) 2012-06-26 00:13:18 +08:00
georg wiltschek 6ecbd8d0ea depending on libboost 1.40 seems no worse than on 1.42 but makes compiling much easier on ubuntu 10.04 :-) 2012-06-25 09:59:22 +02:00
Nestal Wan 1d1365ea1a refactored code in Update() to DetectChanges() 2012-06-23 18:23:43 +08:00
Erik Hardesty 62238c5ba6 Move update logic out of Grive constructor
This is to make it easier to repeatedly sync the
directory when used in a daemon-like setting without
reinstantiating the class
2012-06-21 18:47:01 -05:00
Nestal Wan 6850785667 added zlib for SUSE (#63) 2012-06-21 23:39:53 +08:00
Nestal Wan c5a5221f4b disable an unimportant assertion and replace it with a warning 2012-06-20 22:46:17 +08:00
Nestal Wan a799e7a611 fixed boost fs v2 compile error found by pavel.savara 2012-06-20 22:02:42 +08:00
Nestal Wan 55c0f4e6d5 mark folder and its children as created/deleted recursively (#61) 2012-06-18 23:44:28 +08:00
Nestal Wan 023c208d85 fixed assertion on dry-runs 2012-06-18 23:17:28 +08:00
Nestal Wan dfe89b19b9 don't install the headers when "make install" (#67) 2012-06-18 22:39:43 +08:00
Nestal Wan e388d0bf34 added mock agents for unit tests 2012-06-17 16:34:57 +08:00
Nestal Wan 48391bb16f added more log for dry-run (#65) 2012-06-17 16:33:38 +08:00
Nestal Wan 55ac367255 escape the directory names when uploading (#66) 2012-06-17 15:58:27 +08:00
Nestal Wan 277274f026 fixed handling on changes feed. 2012-06-15 00:55:00 +08:00
Nestal Wan ea4fda5b54 fix recursively add folder (#59) 2012-06-14 01:42:41 +08:00
Nestal Wan 5740d7b77f cherry-picked commits from petrj (#60) 2012-06-12 23:53:32 +08:00
Nestal Wan 72052edf37 removed signal handler 2012-06-12 01:24:27 +08:00
Nestal Wan a79edc9c2b merged compile fixes from LemonBoy #58 2012-06-11 23:37:15 +08:00
LemonBoy 6157dc57f3 Fix some compilation issues. 2012-06-10 19:50:26 +02:00
Nestal Wan b0c0353fdb seems like the changes handling is still not perfect 2012-06-11 00:52:04 +08:00
Nestal Wan 8d822e3582 now sync'ing folder is the same as sync'ing files 2012-06-11 00:40:56 +08:00
Nestal Wan 991d8e444f recursively sync the resources 2012-06-10 23:38:27 +08:00
Nestal Wan 7be193c35b added unit test case 2012-06-10 23:11:32 +08:00
Nestal Wan f0ce00ca7b improved support for changes feed 2012-06-10 21:13:47 +08:00
Nestal Wan 55572c7fc4 refactored. Resource does not contain Entry 2012-06-10 21:13:46 +08:00
Nestal Wan a863939b05 "fixed" UT 2012-06-10 21:13:46 +08:00
Nestal Wan 5f61be489b check for broken link when iterating directory (#55) 2012-06-10 21:12:32 +08:00
Nestal Wan 89e07bb257 removed OpenSSL in Download.cc 2012-06-10 15:36:37 +08:00
Nestal Wan 6aaf84aae5 added grive version and build time in log file 2012-06-09 14:43:04 +08:00
Nestal Wan e259478fb3 removed redundant function 2012-06-09 14:23:39 +08:00
Nestal Wan facdf88058 log uploading of files 2012-06-09 11:02:18 +08:00
Nestal Wan 271dd95b24 escape the document header. fix HTTP 400 when uploading 2012-06-07 18:26:57 +08:00