Commit graph

111 commits

Author SHA1 Message Date
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
Evgeny Ezhov
eeaf66a278 Update Travis CI config for SonarQube 2020-04-05 17:15:34 -07:00
Martin
af64110364 Fix request calling to use session's auth. 2020-04-05 11:43:51 -07:00
Evgeny Ezhov
3aab20b02a Bump version to 3.14.1 before publish 2020-02-23 17:43:12 -08: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
eced3b5fe5 Bump version to 3.14 and prepare to release 2020-01-31 21:02:43 -08:00
Evgeny Ezhov
fe4e56caad Cancel support Python earlie 3.5 2020-01-31 21:00:10 -08:00
Evgeny Ezhov
8c7ee2e372 Fix issues and tests 2020-01-31 21:00:10 -08:00
Evgeny Ezhov
85b10d53c9 Update release notes 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
3d4751cdd0 Support Python 3.8 2020-01-26 19:50:01 -08:00
Evgeny Ezhov
c380dc56c7 Update readme release notes 2020-01-26 19:05:33 -08:00
Evgeny Ezhov
f3e7d44276 Support multiple clients simultaneously
Fixed #34
2020-01-26 19:00:25 -08:00
Evgeny Ezhov
fc14ed2be1 Update dependencies 2020-01-20 18:12:24 -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
95bea2182c Remove release date 2019-12-17 13:57:29 +03:00
Evgeny Ezhov
7db1cfd274 Bump version to 0.14 2019-12-17 13:52:58 +03:00
Evgeny Ezhov
5e2a9468c1 Increase test coverage 2019-12-17 13:49:10 +03:00
Evgeny Ezhov
5aad617fbf Update tests and fix issues 2019-12-02 11:52:04 +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
1859e43daf Add manual for using API 2019-11-28 14:20:29 +03:00
Evgeny Ezhov
120a6adfab Added Coverage in SonarQube 2019-11-28 00:43:38 +03:00
Evgeny Ezhov
a3a8e31059 Update readme and setup 2019-11-27 22:57:42 +03:00
Evgeny Ezhov
c3a15dd145 Added SonarQube analysis 2019-11-27 22:28:32 +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
c90ee856fd Update Readme 2019-11-27 15:53:56 +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
6415617852 Tests for push and pull methods 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
ba2453800d Readme update 2019-11-27 15:00:52 +03:00
Evgeny Ezhov
64a3b66efb Add webdav container 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
Evgeny Ezhov
6118801098
Merge pull request #12 from delrey1/master
Updated to use sessions
2019-11-26 13:26:16 +03:00
Evgeny Ezhov
fdea5d1b70
Merge branch 'develop' into master 2019-10-13 17:56:46 +03:00
Evgeny Ezhov
7e409f1f1c Update git ignore 2019-10-13 17:54:45 +03:00
Evgeny Ezhov
c606ae3875
Merge branch 'develop' into master 2019-10-13 17:51:19 +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