skilion
d9a5d1b3b9
fix regex for parsing authentication uri
2018-01-20 21:13:01 +01:00
Mikael Göransson
a1e326f9b4
invalid_grant, error 70000
...
when trying to redeem an code, this error always occured, no matter
which parts of the response uri/url that was used.
the old regexp for parsing the code contained 3 groups, where as the
actual code always was the last group, and the second group was either ?
or &, and the first group would've been everything up until "code=".
changed from a matching group to character class so there would only be
two matching groups, so calling popFront() would actually leave the
authorization code in the front.
2018-01-20 20:51:33 +01:00
skilion
867c8ed26c
improved regex
2018-01-19 18:56:14 +01:00
skilion
9f7d9249bc
restore prev redirect url
2018-01-02 16:32:16 +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
b7adc4d0cc
WIP on remote folders
2017-12-31 02:30:31 +01:00
skilion
35ce743b39
removed exception chaining
2017-12-28 15:03:15 +01:00
skilion
d9c9915bc3
update API to use full item addressing
2017-12-27 15:12:38 +01:00
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