Commit Graph

415 Commits (issue-71)

Author SHA1 Message Date
Vitaliy Filippov 23f966d567 Add debug for #71 2016-05-16 12:29:58 +03:00
Vitaliy Filippov 1bd86307c6 Allow 5 params in Log, fix typo 2016-05-16 12:29:29 +03:00
Vitaliy Filippov 44d3ddf928 Implement upload/download speed limit (fix #60) 2016-05-15 23:05:49 +03:00
Vitaliy Filippov 5327016d36 Make ignore regexp non-persistent (fix #58) 2016-05-11 15:56:59 +03:00
Vitaliy Filippov 62e26118f2 Fix #62 - sub-subdirectory sync with -s 2016-05-10 23:10:45 +03:00
Vitaliy Filippov 40e33cb524 Implement upload-only and no-remote-new modes (fix #69) 2016-05-10 00:26:10 +03:00
Vitaliy Filippov cfb8ff08b3 Move to 0.5.1-dev 2016-01-14 23:51:31 +03:00
Vitaliy Filippov ae06eccb38 Release 0.5 2016-01-14 23:51:31 +03:00
Vitaliy Filippov 98416354f7 Remove "me in readers" condition (fix #37) 2016-01-11 18:15:29 +03:00
Vitaliy Filippov 86acd18978 Fix ResourceTest 2016-01-06 12:55:46 +03:00
Vitaliy Filippov 4a4e22026b Fix json Val type check 2016-01-06 02:21:33 +03:00
Vitaliy Filippov b6c0013052 Fix subdir/subsubdir/newfile bug
New files put in sub-subdirs of drive root were also trashed locally instead of begin uploaded to the server
2016-01-06 01:48:30 +03:00
Vitaliy Filippov 60acb75967 Fix local index updating for items already in sync 2016-01-06 01:44:22 +03:00
Vitaliy Filippov c76cdecad2 Note fixed revision support in readme 2016-01-05 20:27:52 +03:00
Vitaliy Filippov 0112330c1d Do not die and do not update local state of file on sync exceptions. Should fix #47 2016-01-05 20:14:35 +03:00
Vitaliy Filippov d606a360be Merge pull request #54 from Artox/pr
std::vector::erase is expensive; use std::list:erase instead
2016-01-03 19:24:39 +03:00
Vitaliy Filippov 9d8c77d0bd Update manpage 2016-01-03 18:24:34 +03:00
Vitaliy Filippov 3b9aa4f2aa Add new_rev switch support to drive v2 api client 2016-01-03 18:24:34 +03:00
Vitaliy Filippov ca4a0b6b80 Index allows us to not turn -f on when changing ignore regexp 2016-01-03 17:40:23 +03:00
Josua Mayer b49a89ad34 std::vector::erase is expensive; use std::list:erase instead
erasing from a vector at random is very expensive. std::list however is made for that purpose!
2016-01-03 14:24:55 +01:00
Vitaliy Filippov c647c5f89f Update debian package version 2016-01-03 12:51:38 +03:00
Vitaliy Filippov 00311e8365 Implement automatic rename detection 2016-01-03 12:43:22 +03:00
Vitaliy Filippov 23fa985bdb Do not track last_sync at all, clear srv_time's with -f option 2016-01-03 02:01:02 +03:00
Vitaliy Filippov 8f640ebdad Check local index instead of last_sync time, totally disable separate folder and changes sync passes 2016-01-03 02:01:02 +03:00
Vitaliy Filippov af05c7c626 Use stored server times to check for server-side modifications
(broken because deleted/new detection logic relies on last_sync/last_change)
2016-01-03 02:01:02 +03:00
Vitaliy Filippov 4edff0a816 Cache file checksums and modification times in local index (in JSON in .grive_state) 2016-01-03 02:01:01 +03:00
Vitaliy Filippov 5381919e5b Enable warnings and fix them 2016-01-03 02:01:01 +03:00
Vitaliy Filippov d2a6105603 Release 0.4.2 2016-01-03 02:01:01 +03:00
Vitaliy Filippov 5fb3c187fe Oops this was a fail. ignore option was ignored if it was previously empty in grive_state. Fixes #50 2015-12-28 02:00:47 +03:00
Vitaliy Filippov ff9d7bcd14 Warn, but not die, on filesystem exceptions during sync. Fixes #44 2015-12-13 01:53:35 +03:00
Vitaliy Filippov c0fadcffe3 State that -s and --ignore are remembered for next runs of Grive in --help 2015-12-12 17:22:17 +03:00
Vitaliy Filippov 9c43ad9cc9 Internally convert -s option to ignore regexp. Fixes #49, should fix #42. 2015-12-12 17:19:07 +03:00
Vitaliy Filippov 7e6e153a3a Use regex_search() instead of regex_match(), turn on -f implicitly when changing ignore regexp (should fix #43) 2015-12-12 17:19:00 +03:00
Vitaliy Filippov 85b35b4fca Fix RelPath() for --ignore option to work correctly 2015-12-12 16:44:02 +03:00
Vitaliy Filippov cc13b8b343 Fix finding libbfd on newer Debian 2015-12-09 01:41:04 +03:00
Vitaliy Filippov 41bf5ba845 "Fix" file size at the moment of adding it to ConcatStream (fixes #39) 2015-11-11 13:08:08 +03:00
Vitaliy Filippov afbd9d7234 Merge pull request #40 from theopolis/check_downloadurl
Check for missing downloadUrl
2015-11-11 12:30:28 +03:00
Vitaliy Filippov 94e24d8d55 Add required package lists into README 2015-11-11 12:31:36 +03:00
Vitaliy Filippov 450ff5857e Add move/rename to README 2015-11-10 12:58:55 +03:00
Dylan Wulf 3b608329b9 Added ability to move and rename files/directories 2015-11-10 12:54:49 +03:00
Teddy Reed 9156785334 Check for missing downloadUrl 2015-11-09 20:27:55 -08:00
Vitaliy Filippov 44cb91f94e State that YAJL 2.x is required 2015-10-11 18:59:25 +03:00
Vitaliy Filippov f0b6bcf8b4 Add Debian packaging scripts
Based on work by Alin Andrei (https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8)
2015-10-11 15:32:00 +03:00
Vitaliy Filippov 81b1a4f05c Fix non-virtual destructor and missing return value (fixes "illegal instruction" under FreeBSD) 2015-10-10 21:43:54 +00:00
Vitaliy Filippov df99954382 Change m_str.replace back to insert + remove StringStream limit 2015-10-10 13:01:05 +03:00
Vitaliy Filippov 887da88c14 Simplify http::Agent methods and use multipart upload
Should speed-up uploads by updating metadata and contents at the same time.
Also should fix most 412 errors because of the update atomicity.
2015-10-10 00:54:05 +03:00
Vitaliy Filippov 679fa0eec6 Use title instead of originalFilename - fixes #32 2015-10-08 14:23:59 +03:00
Vitaliy Filippov 1cca10272d Track both server-side and local sync times - fixes #6 2015-10-08 13:30:50 +03:00
Vitaliy Filippov d9300c953e Fix .trash and .grive_state in drive location when used with -p option
Previously .trash and .grive_state were incorrectly placed in the current
working directory instead of synced root directory (-p).
2015-10-08 01:41:35 +03:00
Vitaliy Filippov f288c559c6 Oops. I was thinking auto_ptr is smart_ptr O_o. Sorry. Also fix #33 2015-10-07 01:57:28 +03:00