Commit graph

221 commits

Author SHA1 Message Date
skilion 03f746a650 Grammar fix 2018-01-19 17:56:36 +01:00
skilion c7e09304a6 fix for https://github.com/skilion/onedrive/issues/269 2018-01-06 21:59:05 +01:00
skilion abad626b3d ensures that the parentId of the root is null 2018-01-06 19:27:27 +01:00
skilion bb3121e10d fix for https://github.com/skilion/onedrive/issues/269 2018-01-06 17:50:36 +01:00
skilion 9f7d9249bc restore prev redirect url 2018-01-02 16:32:16 +01:00
skilion 96c364c5fc removed tmp instruction 2018-01-02 15:06:20 +01:00
skilion d7f6674f60 removed redundant key parentDriveId 2018-01-02 15:05:32 +01:00
skilion 4ebc4a8544 handle move and delete of remote folders in monitor mode 2018-01-02 13:41:56 +01:00
skilion 9bedec0d7c handle moving items between drives 2018-01-01 18:38:08 +01:00
skilion c54d1927e9 do not throw in makeItem 2018-01-01 16:20:28 +01:00
skilion 764975e224 download only option 2017-12-31 17:11:17 +01:00
skilion 80cfdf62cf handle the case of deleting a remote folder locally 2017-12-31 16:56:56 +01:00
skilion fba3ed999e handle large uploads with parent id 2017-12-31 16:11:02 +01:00
skilion c8d5e03be8 upload files new with parent id 2017-12-31 13:47:18 +01:00
skilion 6907daa5e8 create dir with parent id 2017-12-31 13:18:11 +01:00
skilion 95c952fe62 handle deleting remote folders 2017-12-31 12:44:41 +01:00
skilion b7adc4d0cc WIP on remote folders 2017-12-31 02:30:31 +01:00
skilion b250214577 fix path handling of direct children of the root 2017-12-29 16:51:08 +01:00
skilion dd3e1b2861 fix wrong parameters in call 2017-12-29 12:24:26 +01:00
skilion 48559c592d fix handling root of remote item 2017-12-28 19:58:31 +01:00
skilion 90ab54cfc6 restore foreign keys and indices 2017-12-28 19:57:51 +01:00
skilion 8e91f57cb3 fix select children 2017-12-28 15:42:33 +01:00
skilion e3f011b724 write logs on stdout instead of stderr 2017-12-28 15:21:41 +01:00
skilion 35ce743b39 removed exception chaining 2017-12-28 15:03:15 +01:00
skilion 789ec85e0c partial remote items support 2017-12-27 15:13:28 +01:00
skilion d9c9915bc3 update API to use full item addressing 2017-12-27 15:12:38 +01:00
skilion 22db459ac4 fixed bug where remotely deleted and recreated directories would make the application crash 2017-08-01 19:20:02 +02:00
skilion 9765b27902 new parameter syncdir 2017-08-01 19:11:50 +02:00
skilion 7fae9c1bef versioning 2017-07-14 11:40:57 +02:00
skilion 849dd36276 check if the item is in the db before executing operations on it 2017-07-02 15:38:21 +02:00
lanhin 8f5f54f6a1 Merge branch 'master' of github.com:skilion/onedrive 2017-06-22 22:25:04 +08:00
skilion a61abc4e15 fix issue #202 2017-06-20 22:01:57 +02:00
skilion 1581c6989a fix error in QuickXorHash implementation 2017-06-16 11:40:07 +02:00
skilion 974be0884b fixed bug where an item is incorrectly assumed to be a file 2017-06-15 15:17:47 +02:00
skilion 126f2719b8 hack for onedrive biz 2017-06-15 14:19:23 +02:00
skilion 3529a4f78b make makeItem() more resiliant 2017-06-15 13:45:14 +02:00
skilion 9e2123249a do not check token status during initialization 2017-06-15 13:02:04 +02:00
skilion b703a824c7 compute path before performing selective sync 2017-06-15 12:59:33 +02:00
skilion 65bb14ad37 WIP for remote items support 2017-06-14 22:49:00 +02:00
skilion 7de0d97e6e fix error message 2017-06-14 22:30:29 +02:00
skilion 35f81b2115 itemdb support for remote items 2017-06-14 15:50:02 +02:00
skilion 74c931cdba added test for NULL values 2017-06-14 15:48:15 +02:00
skilion c5a9b8b480 fix bug where remote items are wrongly identified as deleted 2017-06-12 17:54:33 +02:00
skilion 4f542800a7 fix bug when using personalized config dir 2017-06-12 17:54:33 +02:00
skilion c2815d6498 fix indentation 2017-05-29 01:14:22 +02:00
skilion ad5441ccdc fix indentation 2017-05-29 00:23:55 +02:00
skilion b5cbaa13cc cleaned comments 2017-05-28 23:15:03 +02:00
skilion 8b6c99b0d9 notify deletion in verbose mode 2017-05-28 23:14:37 +02:00
skilion 305242d8a1 fix typo 2017-05-28 23:01:58 +02:00
skilion 809ccde562 workaround for old OneDrive files 2017-05-28 22:45:09 +02:00
skilion 8360d6508d align message 2017-05-28 22:17:21 +02:00
skilion 44fc36fd8d support for SHA1 and QuickXor hash algorithms 2017-05-28 22:13:19 +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
skilion 80c60beef9 added newline at the end 2017-05-28 19:55:00 +02:00
skilion 7fec22bef1 fix variable type in for loop 2017-05-28 19:51:02 +02:00
skilion 9030a107b7 fix third person in comments 2017-05-28 19:49:55 +02:00
skilion f19b86e4c7 QuickXor utility function 2017-05-28 19:37:51 +02:00
skilion a2298be257 QuickXor implementation 2017-05-28 19:28:10 +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 97a9d53914 refactored selective sync code
fixed bug in selective sync
2017-03-24 22:31:56 +01:00
skilion 0d69ed805d wip for OneDrive Biz 2017-03-21 18:11:32 +01:00
skilion 1c7b726994 fix different time resolution when comparing 2017-03-21 18:11:32 +01:00
skilion 88d2a94078 added selective sync to monitor.d 2017-03-14 17:20:18 +01:00
skilion 79ed0a7883 fix different time resolution when comparing 2017-03-12 17:17:38 +01:00
skilion 2c1c168fab fix root dir skipped when searching for new files 2017-03-12 16:35:47 +01:00
skilion 9dd944286f new feature selective sync
removed system wide config file
hardcoded sane default config
updated README
2017-03-12 16:11:51 +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 957b034805 exit early if the item is to be deleted 2017-03-11 14:21:00 +01:00
skilion 1260fcfcc1 fix addressing root by path 2017-03-11 13:34:07 +01:00
skilion a3b25c45f5 catch CurlTimeoutException 2017-03-11 12:07:21 +01:00
skilion 1beadf2577 switch to Microsoft Graph API 2017-03-11 11:44:53 +01:00
skilion 203062fc6b added missing item fields in saveItem() 2016-12-29 00:36:42 +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 3a10f0f4b5 fixed bug that allowed files marked for deletion to be keeped 2016-12-25 23:34:35 +01:00
skilion ff58a86b7f use libcurl to check connection 2016-12-25 23:34:35 +01:00
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 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 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
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 09af80d843 create sync_dir if it doesn't exists 2016-06-28 14:21:48 +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