Commit graph

562 commits

Author SHA1 Message Date
Thomas Weißschuh
cd72de610a add tls_fingerprint support to the http backend 2014-08-18 19:18:30 +00:00
Thomas Weißschuh
af06e24f45 enable tls_fingerprint for the dav backend 2014-08-18 19:18:30 +00:00
Thomas Weißschuh
56d566e55a add a tls_prefix parameter to utils.request
This assumes that a backend only ever connects to a single domain, because we
set the fingerprint on the whole session
2014-08-18 19:17:55 +00:00
Thomas Weißschuh
d5e8be4979 [tests] directly monkeypatch requests Session
need for later changes
2014-08-18 19:11:07 +00:00
Markus Unterwaditzer
cef25b58da Version 0.2.4 2014-08-18 12:45:50 +02:00
Markus Unterwaditzer
4af6da43ef Include metadata and doc files in distribution
Fix #98
Fix #97
2014-08-18 12:35:32 +02:00
Markus Unterwaditzer
8ea3b82c50 Add assertion for CLI output 2014-08-18 01:03:34 +02:00
Markus Unterwaditzer
1fff7efff5 Use name from config for representing storages 2014-08-18 00:53:05 +02:00
Markus Unterwaditzer
2fd4aaead3 Add tests for prepare_auth 2014-08-15 18:29:11 +02:00
Markus Unterwaditzer
8414d654d3 Rename CONTRIBUTORS to AUTHORS
Easy to confuse when skimming through the tree.

But the real reason (for me) is that the tab-completion is not very
useful when two files start with the same prefix.
2014-08-14 19:56:35 +02:00
Markus Unterwaditzer
d9c2b7ba35 Don't emit collections twice 2014-08-13 17:19:25 +02:00
Markus Unterwaditzer
a741b5d639 I hope this helps more servers than just Radicale 2014-08-13 13:44:52 +02:00
Markus Unterwaditzer
5051e8949a Code deduplication 2014-08-13 00:46:15 +02:00
Markus Unterwaditzer
9f26c6450c Version 0.2.3 2014-08-11 16:42:31 +02:00
Markus Unterwaditzer
39472b9db4 Update CONTRIBUTING.rst 2014-08-07 18:37:32 +02:00
Markus Unterwaditzer
2e2082fb55 Make _create_bogus_item a fixture.
Also rename the "storage" fixture to "get_storage".
2014-08-06 22:03:30 +02:00
Markus Unterwaditzer
6841b25264 Add --version flag, fix #92 2014-08-06 17:47:58 +02:00
Markus Unterwaditzer
05d2beb3dc Merge pull request #93 from untitaker/href_quoting
Fix all known URL-quoting related problems
2014-08-06 17:25:37 +02:00
Markus Unterwaditzer
eb1431e5db Fix all known URL-quoting problems
- Fix #49 -- The old fix caused problems with other servers. The new
  behavior only decodes ``@`` characters.

- ``@`` is now not used when generating a new href, as some servers seem
  to have problems with it (http://sabre.io/dav/character-encoding/).
  This behavior is configurable via the ``unsafe_href_chars`` parameters
  for DAV storages, and is disabled in the testsuite for Radicale and
  ownCloud.

- Decoding of hrefs is also done twice for CarddavStorage.list because
  of owncloud/contacts#581. Vdirsyncer has behaved like that before, but
  not intentionally.

- Storages now don't share their ``_get_href`` methods anymore.
2014-08-06 16:43:23 +02:00
Markus Unterwaditzer
73a540261c Version 0.2.2 2014-08-04 18:49:18 +02:00
Markus Unterwaditzer
59dd78dfd9 Don't check for href prefix anymore
This doesn't really serve any security purposes at all.

Fix #91
Fix #87
2014-08-04 18:34:11 +02:00
Markus Unterwaditzer
667c10ef00 Fix autodiscovery for radicale
See https://github.com/Kozea/Radicale/pull/95#issuecomment-50314561
2014-08-04 11:48:27 +02:00
Markus Unterwaditzer
574869f619 ownCloud 7 now does If-Match headers right 2014-07-23 14:21:10 +02:00
Markus Unterwaditzer
62a817fef3 Hardcode mkdir mode 2014-07-23 12:25:06 +02:00
Markus Unterwaditzer
722665747e Actually use mode 2014-07-23 12:24:33 +02:00
Markus Unterwaditzer
f4f39207fa Some refactoring 2014-07-23 12:21:27 +02:00
Markus Unterwaditzer
838e816a65 Don't influence user's homedir 2014-07-23 12:21:03 +02:00
Markus Unterwaditzer
d263a399f3 Improve docstrings and comments 2014-07-23 10:21:45 +02:00
Markus Unterwaditzer
666ffe6afc Slight rewording of tutorial 2014-07-19 00:12:46 +02:00
Markus Unterwaditzer
3c2597054a Fix build script to be same as wheel docs 2014-07-18 00:58:57 +02:00
Markus Unterwaditzer
5a3b3d8bc1 Use better wheel hosting 2014-07-16 22:44:39 +02:00
Markus Unterwaditzer
eb9253af94 Merge pull request #90 from untitaker/vcard_groups
Add tests for vcard groups
2014-07-14 18:03:16 +02:00
Markus Unterwaditzer
0f44645e78 Formatting and string type fixes 2014-07-14 15:32:59 +02:00
Markus Unterwaditzer
e2fa26a711 Add another test related to vcards vs icalendar 2014-07-14 15:15:50 +02:00
Markus Unterwaditzer
dea468fcaa Xfail vcard group test 2014-07-13 19:28:14 +02:00
Markus Unterwaditzer
97ad7eb27a Fix import order 2014-07-13 19:11:59 +02:00
Markus Unterwaditzer
c8f97b43ec Add testcase for #89 2014-07-13 19:11:06 +02:00
Markus Unterwaditzer
a79d1ddb52 Indent multiline string. 2014-07-13 18:35:08 +02:00
Markus Unterwaditzer
c750561fb8 Use more fixtures 2014-07-06 23:22:02 +02:00
Markus Unterwaditzer
29ba12cf19 Only warn on duplicate hrefs in DAV
Fix #88
2014-07-06 20:58:47 +02:00
Markus Unterwaditzer
97a428f3c8 Add new testcase 2014-07-06 20:43:59 +02:00
Markus Unterwaditzer
7bbc8b87da Some smaller changes to testsuite 2014-07-06 20:28:48 +02:00
Markus Unterwaditzer
fde7efd52e Move changelog to root of repo 2014-07-06 12:14:12 +02:00
Markus Unterwaditzer
25bc02ad6b Add missing changelog entry 2014-07-06 11:41:53 +02:00
Markus Unterwaditzer
01059d4cd2 Version 0.2.1 2014-07-05 15:40:24 +02:00
Markus Unterwaditzer
0dfcefbfd3 Use PROPFIND for carddav queries because of Zimbra
Fix #83
Fix #84
2014-07-05 14:09:30 +02:00
Markus Unterwaditzer
3abebde87f Fix logging in test suite 2014-07-05 01:07:23 +02:00
Markus Unterwaditzer
9c076f7278 Remove duplicate dot. 2014-07-03 11:42:49 +02:00
Markus Unterwaditzer
f5f505f557 Elaborate on caldav item queries with Radicale 2014-07-02 20:00:20 +02:00
Markus Unterwaditzer
0b6e3adf0e Some docstring fixes 2014-07-02 18:37:57 +02:00