Commit graph

217 commits

Author SHA1 Message Date
skilion bbbfeb68f3 fix condition in applyDifferences loop 2016-12-25 20:19:54 +01:00
skilion 6913c87d5c schema upgrade 2016-12-25 19:23:33 +01:00
skilion c9016845c3 removed time comparison hack 2016-12-25 17:40:43 +01:00
skilion ad4e910e55 check if the token is valid on init 2016-12-25 17:40:43 +01:00
skilion 82b2b63c75 added functions to get and set the db version 2016-12-25 17:40:43 +01:00
skilion 9ad9394b98 better handle the case when cTag is null 2016-12-25 17:40:43 +01:00
skilion e33f566ecf bug fix 2016-12-14 19:53:25 +01:00
skilion 3d5ce3d13a Merge pull request #127 from hgdsraj/master
fix typo
2016-12-14 15:30:27 +01:00
skilion 7257c4c9bf do not throw on expired status token 2016-12-14 15:17:20 +01:00
skilion 947136cf62 show onedrive error response 2016-12-13 18:04:16 +01:00
hgdsraj 56af579699 require => requires 2016-12-04 12:54:43 -08:00
lanhin 7c112304b5 Bug fixed: 1. Replace mkdirRecurse with mkdir to deal nested directory;2. Before download an item, check if its dirName exists, if not, build it. 2016-11-23 23:10:37 +08:00
skilion 022ba09e41 added multiGlobMatch() 2016-09-18 11:50:10 +02:00
skilion f5fc13cbad getValue() with default return value 2016-09-18 11:37:41 +02:00
skilion eb8d0fe039 Merge pull request #91 from JunpeiAnzai/avoid_broken_symlink
Avoid syncing broken symbolic links
2016-08-31 22:03:52 +02:00
Jumpei Anzai 9209a649d7 avoid syncing broken symlink 2016-08-22 17:29:43 +09:00
skilion c91decaa16 added logout cmd line option 2016-08-05 00:12:58 +02:00
skilion 738536736a Refactoring
- unified configs
- logging module
- new cmd line option to change the config dir
2016-08-04 23:43:10 +02:00
skilion 7d700e1a4c ask for the response uri one time only 2016-06-30 12:51:44 +02:00
skilion 18b279a339 restored AVOverride 2016-06-29 21:41:44 +02:00
skilion feb97d373d added separate target for unit tests 2016-06-28 14:22:26 +02:00
skilion 09af80d843 create sync_dir if it doesn't exists 2016-06-28 14:21:48 +02:00
skilion bfb24193db added commands to install dependencies on Ubuntu 2016-06-28 14:21:07 +02:00
skilion 0efc2fe382 use view.delta instead of view.changes
removed dependency on client_secret
2016-06-27 19:23:14 +02:00
skilion a927f74626 Merge pull request #66 from pyed/patch-1
delete an obsolete backtick
2016-05-29 11:23:17 +02:00
pyed ebc40ff2b8 delete an obsolete backtick 2016-05-29 03:35:56 +03:00
skilion 9ac799516a Merge pull request #44 from JonathonMA/fix/avoverride
Ignore antivirus errors when downloading files
2016-04-01 21:41:18 +02:00
Jonathon M. Abbott 8b68adf8dd Ignore antivirus errors when downloading files
- closes #31
2016-04-01 22:45:42 +10:00
skilion 880af3ec03 changed redirect_url to redirect_uri 2016-03-07 14:34:35 +01:00
skilion 89452985ec workaround for segfault in std.net.curl.Curl.shutdown() on exit 2016-03-07 14:04:08 +01:00
skilion 9a9137ea16 removed old curl patch fix 2016-03-07 14:04:08 +01:00
skilion 57c5e35126 Merge pull request #38 from jlcs-es/patch-1
Fix install in case no /usr/local/* exists
2016-03-07 13:57:10 +01:00
Giuseppe Luigi 05de30a408 Fix install in case no /usr/local/* exists
When installed the *onedrive.conf* file content was copied to the **file** /usr/local/etc, instead of creating the **missing** directory etc/ and then copying inside the file *onedrive.conf*.
2016-03-04 21:48:45 +01:00
skilion 5ed7dfcf3c Merge pull request #27 from astanin/fix-missing-ctag
fix #24: crash on sync if cTag is missing
2016-02-11 22:41:29 +01:00
skilion 0d5524f3e1 Merge pull request #30 from astanin/user-friendly-max-inotify-watches
fix #29: a user-friendly message how to set fs.inotify.max_user_watches
2016-02-04 18:44:40 +01:00
Sergey Astanin ab2923df4d fix #29: add a user-friendly message how to change fs.inotify.max_user_watches 2016-02-04 15:36:25 +01:00
Sergey Astanin b824f87e7e fix #24: crash on sync if cTag is missing
According to https://dev.onedrive.com/resources/item.htm
cTag property is not returned if the Item is a folder.
2016-02-03 15:29:30 +01:00
skilion 7e3d36750a instruction on how to run the service 2015-12-29 20:01:03 +01:00
skilion c2b0b7f733 intercept curl exceptions 2015-12-29 19:38:15 +01:00
skilion ea970890a2 capability to run as service 2015-11-29 21:12:44 +01:00
skilion 3f40728779 redirect stdout to stderr 2015-10-18 10:12:10 +02:00
skilion af395996d0 simplified the config section 2015-10-13 18:18:03 +02:00
skilion ae39f63237 merged INSTALL.md with README.md 2015-10-13 17:32:51 +02:00
skilion 288d1feac1 avoid full inotify restart in the monitor loop 2015-10-10 22:18:33 +02:00
skilion 32009e2747 responses are encoded in UTF-8 2015-10-04 17:33:48 +02:00
skilion 789bdf8390 ignore 404 errors on delete 2015-10-04 16:27:02 +02:00
skilion e7d493807d reimplemented std.net.curl basic methods in order to intercept http status codes 2015-10-04 16:24:45 +02:00
skilion 9da9b7240d better way to check if a JSONValue has a member 2015-10-03 10:45:43 +02:00
skilion 2acd00209f rename the local item if it is unsynced and there is a new version of it 2015-09-30 15:53:49 +02:00
skilion 9a50174c08 missing parameters were making uploads fail 2015-09-30 15:14:39 +02:00