Jan Schulz
d996989c29
Add user systemd units
...
The units can be used to automatically sync a folder in the users home dir
* every 3 minutes
* on local file changes (requires inotify-tools).
To enable the units for `~/google-drive/`:
```
systemctl --user enable grive-timer@google-drive.timer
systemctl --user start grive-timer@google-drive.timer
systemctl --user enable grive-changes@google-drive.service
systemctl --user start grive-changes@google-drive.service
```
The units can be enabled multiple times
2017-04-27 23:18:54 +02:00
Vitaliy Filippov
4b6cf69cbb
Fix #139
2017-03-22 18:28:48 +03:00
Vitaliy Filippov
63bb138b2d
Fix #120 , fix #125 , fix #134 - Add .griveignore
2017-03-19 20:00:44 +03:00
Vitaliy Filippov
a0aff5b146
Fix #136 - Skip links, sockets, fifos and etc
2017-03-19 12:48:01 +03:00
Vitaliy Filippov
e8a8801c75
Merge pull request #137 from JanST123/old_curl
...
also compile with cURL Version less than 7.32.0
2017-03-19 13:07:54 +04:00
Jan
974733ff46
also compile with cURL Version less than 7.32.0
2017-03-10 13:33:40 +01:00
Vitaliy Filippov
7bbb01c301
Fix #108 :))
2016-10-04 12:25:24 +03:00
Vitaliy Filippov
04b86d1c87
:D:D:D fix #106
2016-10-01 15:24:13 +03:00
Vitaliy Filippov
08e29070c2
Fix possible uninit m_pb, print \33[K (clreol) in the end for less glitches in xfce4-terminal and \r for better window resize
2016-10-01 02:09:33 +03:00
Vitaliy Filippov
e3f948496d
Fix #105
2016-10-01 01:49:30 +03:00
Vitaliy Filippov
68e0e5afe5
Get progressbar::last back, do not print multiple 100% lines ( fixes #104 )
2016-09-30 12:33:11 +03:00
Vitaliy Filippov
67b5b05e17
Fix auth segfault, remove 1/1000 progressbar interval ( fixes #103 )
2016-09-30 01:14:58 +03:00
Blackrabbit
f27e3724de
Implement progressbar (by @svartkanin adjusted by @vitalif)
2016-09-29 00:56:15 +03:00
Vitaliy Filippov
11a3d788d0
Fix libgrive/test build after removing doclist api ( fixes #102 )
2016-09-28 10:16:57 +03:00
Vitaliy Filippov
dd77c99872
Check MD5 only when it is needed ( fixes #101 )
...
This makes grive check md5 sums only when:
1) a local rename is supposed (when there are a new file and a deleted file of the same size)
2) local ctime is changed, but file size isn't
2016-09-28 01:27:28 +03:00
Vitaliy Filippov
59d02a65cb
Remove outdated Doclist API implementation
2016-09-28 01:01:50 +03:00
Vitaliy Filippov
d35c849468
add std=c++0x for older gcc ( fixes #96 )
2016-09-02 13:47:14 +03:00
Vitaliy Filippov
199a050099
Change deprecated auto_ptr to unique_ptr
2016-09-01 16:19:14 +03:00
Vitaliy Filippov
195e5091c7
Add debian package note to readme
2016-08-29 13:29:19 +03:00
Vitaliy Filippov
a756414e71
Skip unreadable files during sync, remove extra stat calls ( fix #63 )
2016-07-31 22:05:18 +03:00
Vitaliy Filippov
e91a2b598b
Name it working copy, not just root ( fixes #86 )
2016-07-27 17:21:35 +03:00
Vitaliy Filippov
457d849745
Update package files
2016-07-13 21:13:52 +03:00
Vitaliy Filippov
fbf8f1663f
Initialize mMaxUpload/mMaxDownload to 0 ( fix #81 )
2016-07-06 12:04:15 +03:00
Vitaliy Filippov
2727160257
Note that ignore regexp and subdir are not persistent anymore (sorry :))
2016-06-30 13:18:25 +03:00
Vitaliy Filippov
76827a760c
Allow libstdc++-6-dev
2016-06-30 13:16:46 +03:00
Vitaliy Filippov
46dfa1abfa
Add boost_INCLUDE_DIRS ( fix #77 )
2016-05-21 12:45:43 +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