Commit Graph

83 Commits (5bc503279a139f0cfe6d7f1a4e052a3cdd1909b7)

Author SHA1 Message Date
Vitaliy Filippov 5bc503279a Remove JSON-C json wrappers, use YAJL for everything 2015-05-16 00:37:02 +03:00
Nestal Wan 62dc542341 refactored old GDoc API into v1 namespace. using v2 namespace for new Google Drive API 2013-04-29 23:47:33 +08:00
Nestal Wan 443a85d558 removing redundant header parameter in Feed 2013-04-29 23:47:32 +08:00
Nestal Wan 804fe923f2 refactored the config file part from #109 2012-07-30 16:52:59 +08:00
justin 034891a610 issue 86 allow sync folder to be specified, move Config class and add basic unit test 2012-07-29 18:17:41 +01:00
Nestal Wan d831b8d59f support creating revisions with --new-rev (#87) 2012-07-27 00:45:53 +08:00
Nestal Wan fd81cc1fe4 added --log-xml for debugging (#80) 2012-07-27 00:17:44 +08:00
Nestal Wan 28e8012ca5 added AuthAgent, a wrapper around http agent 2012-07-20 00:39:36 +08:00
Nestal Wan 7cc4984932 use mmap for checksum 2012-07-17 01:59:00 +08:00
Nestal Wan 593c335a5e improved logging for HTTP responses 2012-07-16 23:23:08 +08:00
Nestal Wan 80f3fbf370 refactored the logs to debug sync problems 2012-07-12 00:36:58 +08: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
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 c5a5221f4b disable an unimportant assertion and replace it with a warning 2012-06-20 22:46:17 +08:00
Nestal Wan 48391bb16f added more log for dry-run (#65) 2012-06-17 16:33:38 +08:00
Nestal Wan 277274f026 fixed handling on changes feed. 2012-06-15 00:55:00 +08:00
Nestal Wan b0c0353fdb seems like the changes handling is still not perfect 2012-06-11 00:52:04 +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 271dd95b24 escape the document header. fix HTTP 400 when uploading 2012-06-07 18:26:57 +08:00
Nestal Wan 856914c4dc added catch exception for auth code 2012-06-06 23:21:04 +08:00
Nestal Wan b6aafd7ccd fix MD5 and remote XML dump 2012-06-05 23:29:37 +08:00
Nestal Wan cbf40e9b90 fixed uninitialized change stamp 2012-06-05 22:52:14 +08:00
Nestal Wan 935ac608ff handling change feed. some good news about trashed documents 2012-06-05 22:52:14 +08:00
Nestal Wan 5cba612084 adding the Feed class 2012-06-04 01:07:14 +08:00
Nestal Wan 8466095e7b adding change stamp 2012-06-03 23:58:28 +08:00
Nestal Wan 379dddc532 fully configurable log 2012-06-03 18:31:02 +08:00
Nestal Wan 53f9c39941 disable debug log during authenication 2012-06-03 17:31:16 +08:00
Nestal Wan c17ba4e880 added the http::Header class. should add it long ago. 2012-06-03 16:42:51 +08:00
Matchman Green 59d0761d68 minor refactoring 2012-05-31 23:48:30 +08:00
Matchman Green 6db0b4a7aa refactored the creation of resources 2012-05-31 23:37:47 +08:00
Matchman Green 7830136518 fixed the log messages and some state update 2012-05-31 19:22:18 +08:00
Matchman Green 8b1b388713 not tracking the status of all files/dir in .grive_state 2012-05-30 01:30:06 +08:00
Matchman Green 07553e51fa ignore file and folders with '/' 2012-05-28 00:36:02 +08:00
Matchman Green bb6124c02c can now create new folders 2012-05-28 00:24:37 +08:00
Matchman Green 729ec106f8 no need to check MD5 or mtime for folders 2012-05-27 22:49:49 +08:00
Matchman Green 61c01019f7 added more test cases and some minor refactoring 2012-05-25 01:24:59 +08:00
Matchman Green 50f1d813e2 set the mode of .grive to 0600 for security.
Thanks Huin for the reminder.
2012-05-24 19:06:03 +08:00
Matchman Green a0570d507c Revert "Add OS notification support (libnotify)"
This reverts commit 428afa6538.
2012-05-24 18:57:37 +08:00
daniele 428afa6538 Add OS notification support (libnotify) 2012-05-24 18:10:30 +08:00
Matchman Green 99f6e4cc58 improved logging and fixed exception on MD5 calculation 2012-05-20 23:16:59 +08:00
Matchman Green 90bf78e716 minor clean up 2012-05-20 19:28:44 +08:00
Matchman Green dfbe859531 load and save from .grive_state and build the resource tree 2012-05-20 17:12:01 +08:00
Matchman Green 6453de2cf6 start using state for synchronization 2012-05-20 15:01:53 +08:00
Matchman Green b1589bb181 clean up sync code 2012-05-20 15:01:53 +08:00
Matchman Green 7f2fa95d9a improved checking on files 2012-05-20 15:01:53 +08:00
Matchman Green 13aa9a455b merge the list of the files and folders in the same list 2012-05-20 15:01:53 +08:00