Commit graph

48 commits

Author SHA1 Message Date
lanhin 8f5f54f6a1 Merge branch 'master' of github.com:skilion/onedrive 2017-06-22 22:25:04 +08:00
skilion 9e2123249a do not check token status during initialization 2017-06-15 13:02:04 +02:00
skilion c2815d6498 fix indentation 2017-05-29 01:14:22 +02:00
skilion 691862b18f implement the recommended way to enumerate changes 2017-05-28 20:54:57 +02:00
skilion 3d8daa086d added --print-token 2017-05-28 20:14:50 +02:00
lanhin 79139600ac Merge branch 'master' of github.com:skilion/onedrive
This may fix some up load problems.
2017-04-24 13:45:52 +08:00
skilion 0d69ed805d wip for OneDrive Biz 2017-03-21 18:11:32 +01:00
skilion 8b204d18b4 hardcode the client id 2017-03-12 10:30:31 +01:00
skilion ac555fd574 added missing scope 2017-03-11 14:52:33 +01:00
skilion 1260fcfcc1 fix addressing root by path 2017-03-11 13:34:07 +01:00
skilion 1beadf2577 switch to Microsoft Graph API 2017-03-11 11:44:53 +01:00
skilion 0afb6fa392 workaround for error 412 (Precondition Failed) on item delete 2016-12-28 23:47:29 +01:00
skilion 6a7c30e34f added missing checkAccessTokenExpired() in createByPath 2016-12-28 16:29:55 +01:00
skilion ad4e910e55 check if the token is valid on init 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 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
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 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 0efc2fe382 use view.delta instead of view.changes
removed dependency on client_secret
2016-06-27 19:23:14 +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 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 32009e2747 responses are encoded in UTF-8 2015-10-04 17:33:48 +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 9b80d99ad4 support for files bigger than 100 MB and resumable uploads 2015-09-28 13:25:25 +02:00
skilion 88b11433a7 removed space from auth url 2015-09-27 18:56:50 +02:00
skilion f7e4b2f1e3 fixed acces to json nested objects 2015-09-22 16:14:16 +02:00
skilion 1c21474301 more error handling 2015-09-22 11:52:28 +02:00
skilion 21993b36ee removed useless destructor 2015-09-22 10:56:14 +02:00
skilion 7ea7c0f9cd case insensitive patterns 2015-09-21 13:04:05 +02:00
skilion 4d230a394c finalizing 2015-09-17 00:16:23 +02:00
skilion f887b29061 sync root folder 2015-09-16 10:29:20 +02:00
skilion 2d4cf32be5 refactoring 2015-09-14 23:56:14 +02:00
skilion ff07f13cd6 command line options 2015-09-14 19:21:06 +02:00
skilion 20dbc9795c upload should fail if the file already exists 2015-09-07 13:28:15 +02:00
skilion f8e87a2d4f removed old code 2015-09-06 13:00:05 +02:00
skilion 84f6d59813 added createByPath 2015-09-06 11:06:13 +02:00
skilion 61c5ea7789 added deleteById 2015-09-06 10:23:32 +02:00
skilion a732845db3 renamed check to checkHttpCode 2015-09-06 10:07:18 +02:00
skilion 60a5b799f9 added updateById 2015-09-05 21:23:43 +02:00
skilion 8b7cf7a58d removed useless dup 2015-09-02 11:20:42 +02:00
skilion 8cddcf3b80 renew access token after expiration 2015-09-01 22:23:42 +02:00
skilion 00d53f648e first commit 2015-09-01 20:47:44 +02:00