488502b1dc
pull: Works around webdav3.exceptions.RemoteResourceNotFound triggered by duplicated path segments
2020-04-10 20:59:08 +02:00
e48d00a022
download_sync: Works around webdav3.exceptions.RemoteResourceNotFound triggered by duplicated path segments
2020-04-10 20:58:21 +02:00
Alex Jordan
a3c75b7155
Fixes ezhov-evgeny#43 - local certificate options ignored
...
If the webdav_cert_path and webdav_key_path options are set, they
should be passed to the call to requests in Client.execute_request
as the cert parameter.
2020-04-06 15:40:35 -07:00
Evgeny Ezhov
39afefffc5
Fixed #49 : Remove tailing slashes in web_hostname
2020-04-05 17:56:56 -07:00
Martin
af64110364
Fix request calling to use session's auth.
2020-04-05 11:43:51 -07:00
Evgeny Ezhov
0ac3c5e55f
Small refactoring
2020-02-19 16:49:52 -08:00
Daniel Loader
3c5ba516af
Add Oauth2 Bearer Token support
...
Basic implementation of authenticating with token instead of basic auth, as the auth=(login,password) flag on requests sends junk authentication as it overrides the bearer authentication header with a base64 encoded blank string.
2020-02-19 16:49:52 -08:00
Evgeny Ezhov
f64efedd96
Fixed issue #40 - error during coping and moving files with cyrillic names
2020-02-18 16:56:36 -08:00
Evgeny Ezhov
8c7ee2e372
Fix issues and tests
2020-01-31 21:00:10 -08:00
Ishak BELAHMAR
b3c753c126
Handle 2-way sync when files are modified
2020-01-31 21:00:10 -08:00
Evgeny Ezhov
f3e7d44276
Support multiple clients simultaneously
...
Fixed #34
2020-01-26 19:00:25 -08:00
Evgeny Ezhov
336db8ae19
Override methods for customizing communication with WebDAV servers.
...
Fix #31 and #30
2020-01-20 18:12:24 -08:00
Evgeny Ezhov
5e2a9468c1
Increase test coverage
2019-12-17 13:49:10 +03:00
Evgeny Ezhov
5f84bb1343
Fixed #24 an issue with checking resources on Yandex WebDAV
2019-12-02 11:52:04 +03:00
Evgeny Ezhov
0b9c61e7e7
Fixed SonarQube analysis issues
2019-11-28 14:50:39 +03:00
Evgeny Ezhov
fe3296f203
Support Python 2.7 in tests
2019-11-27 21:49:35 +03:00
Evgeny Ezhov
dc7d908462
Added an option to disable check in case WebDAV server is not support it
2019-11-27 16:18:50 +03:00
dzhuang
64bbd967bc
Disable client.check by default.
2019-11-27 16:18:50 +03:00
Evgeny Ezhov
13ba29604a
Style fixes
2019-11-27 15:52:31 +03:00
Tobias Küchel
8a919ac866
on pull() return a boolean, if something was changed on disk or not
2019-11-27 15:52:31 +03:00
Tobias Küchel
6b90e1d16c
remove a costy is_dir-check on obvious directories to speed up a pull
2019-11-27 15:52:31 +03:00
Evgeny Ezhov
5b1285392c
Changed HEAD to GET method for 'check' request due of not all servers support HEAD
2019-11-27 15:18:02 +03:00
Evgeny Ezhov
78a979715d
Adapt to use Apache WebDAV Container for CI
2019-11-27 15:00:52 +03:00
Evgeny Ezhov
c238c281dd
Merge branch 'master' into develop
2019-11-27 13:24:35 +03:00
Emil 'Skeen' Madsen
1fb79c36be
Stripping suburl from paths in extract_response_for_path ( #15 )
...
When accessing a server on a suburl, such as an Alfresco WebDav:
http://172.17.0.8:8080/alfresco/webdav
The file paths processed by extract_response_for_path, specifically href contains the suburl as a prefix, for instance:
/alfresco/webdav/Sites/ rather than just Sites/.
I am not sure if this is a specific problem with Alfresco WebDav, or a common issue.
Either way, the provided code fixes this issue by removing the suburl from paths, if it exists.
2019-11-26 14:05:33 +03:00
Jorge
75a4241201
[Jorge] Updated to add verify to workaround request
2019-10-13 17:44:44 +03:00
Jorge
0f0721554b
[Jorge] Updated to run a GET with proxy auth as overridden in subs request
2019-10-13 17:44:44 +03:00
Jorge
5a01cbf823
[Jorge] Switch to use python sessions rather than requests
2019-10-13 17:44:44 +03:00
Evgeny Ezhov
b663345e9d
Tests are fixed
2019-10-13 17:27:14 +03:00
Jesper Håkansson
991e645fdb
Added verify attribute to execute_request method
...
To be able to control whether to verify the server's TLS certificate
or not, the verify attribute has been added to the execute_request
method.
2019-06-21 13:31:01 +03:00
Jesper Håkansson
ea139d2ec7
Added depth_to_copy argument in copy method in client.py
...
Implemented support to control the depth http header for the copy
command.
2019-06-21 13:29:41 +03:00
Benjamin Böhmke
460160ed04
fixed download of large files
2019-03-27 17:43:31 +03:00
Zimmermann, Stefan
f63a7dc48e
Remove the upload filesize limit which is a remnant of using PyCurl
2019-01-31 11:34:05 +03:00
Ildar Gafurov
165ade9c3f
webdav3/client.py: Client.mkdir now accepts 201 HTTP-code
2018-05-08 23:07:13 +03:00
Ildar Gafurov
4f1d1ec869
webdav3/client.py: Client.list method fix
2018-05-07 22:45:16 +03:00
Ildar Gafurov
d1f17f6fb0
webdav3/client.py: WebDavXmlUtils.extract_response_for_path method now is able to parse an absolute links
2018-05-07 10:10:52 +03:00
Jan Losinski
772c6e561e
Fix wrong argument for resource creation.
...
Within the resource class its asumed that urn is a Urn instance and not
a str. Unwrapping the path here gives an exception at least in
write_to().
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-14 16:55:46 +01:00
Vitaliy Okulov
844ec3bf9c
Fix for path extraction or webdav client cant find path to sync
2018-02-20 20:11:01 +03:00
evgeny.ezhov
743f8b96bb
Added method for settings of WebDAV resource property values in batch.
...
Prepared for release 0.5
2017-12-03 09:45:37 +03:00
evgeny.ezhov
44ec8fcc66
Fixed problem when connection lost during request executing and nothing was happened, now it raises an exception.
2017-11-27 22:16:17 +03:00
evgeny.ezhov
378afe5890
Fixing and refactoring of is directory resource methods
2017-10-18 22:45:07 +03:00
evgeny.ezhov
c5a5fc7854
Fixing and refactoring of clean/info resource methods
2017-10-18 18:31:42 +03:00
evgeny.ezhov
825ae24a72
Fixing and refactoring of copy/move resource methods
2017-10-18 17:16:44 +03:00
evgeny.ezhov
735a649d57
Fixing and refactoring of set/get property methods
2017-10-17 09:21:29 +03:00
evgeny.ezhov
6c2aecd277
prepare to publish
2017-09-11 19:53:31 +03:00