Commit graph

77 commits

Author SHA1 Message Date
Markus Unterwaditzer
8db16454f8 More tests
I was bored
2014-03-13 16:22:50 +01:00
Markus Unterwaditzer
355c53a8db Merge branch 'dav_discovery'
Fix #11
2014-03-11 18:03:47 +01:00
Markus Unterwaditzer
9646fda248 First version of autodiscovery support in dav 2014-03-11 18:02:23 +01:00
Markus Unterwaditzer
318fc53ef6 Add line for debugging 2014-03-10 19:38:38 +01:00
Markus Unterwaditzer
0fd07ec9de Loosen up validation for vdirs
Otherwise we would have breakage for vdirs where the href is not uid +
fileext (which is the case with old watdo versions)
2014-03-10 18:29:40 +01:00
Markus Unterwaditzer
8c120d84ef More tests 2014-03-09 20:13:51 +01:00
Markus Unterwaditzer
cff730e02e More documentation 2014-03-09 17:33:17 +01:00
Markus Unterwaditzer
3a4a8e7c45 Evaluate abs path in a better way 2014-03-09 17:11:16 +01:00
Markus Unterwaditzer
03b6d11ac8 Deduplication 2014-03-09 17:08:07 +01:00
Markus Unterwaditzer
bcc3dc560e Flake 8 2014-03-09 03:40:24 +01:00
Markus Unterwaditzer
ef786c3586 Add basic discover tests 2014-03-09 03:35:32 +01:00
Markus Unterwaditzer
a711bf0428 Use mock for dav tests too 2014-03-09 02:11:23 +01:00
Markus Unterwaditzer
600cc64e46 Add more tests for HttpStorage 2014-03-09 02:02:22 +01:00
Markus Unterwaditzer
5e2c66ece1 Finish HttpStorage 2014-03-09 01:11:35 +01:00
Markus Unterwaditzer
98ed857712 Add HttpStorage
WIP for #9
2014-03-07 17:11:07 +01:00
Markus Unterwaditzer
24ab255f41 Fix a unicode bug 2014-03-07 01:04:33 +01:00
Markus Unterwaditzer
6ef94e512e Fix #2
Very inefficient but works 100%
2014-03-07 00:36:58 +01:00
Markus Unterwaditzer
6fea4d4201 Fix formatting bug in cli 2014-03-05 22:14:41 +01:00
Markus Unterwaditzer
9c265a8bc1 Rename _simplify_href to _normalize_href
Add one assert statement, fix docstring
2014-03-05 20:04:03 +01:00
Markus Unterwaditzer
a9c6082e4f Fix bug
http://bugs.python.org/issue13936
2014-03-05 18:36:07 +01:00
Markus Unterwaditzer
8b4539e9e5 Make verbose the default log setting 2014-03-05 16:19:12 +01:00
Markus Unterwaditzer
b8ef130a77 Fix #3 2014-03-05 15:44:10 +01:00
Markus Unterwaditzer
e7836be2ea Make storages accept optional collection parameter
This is in preparation for a solution to #3 (Improve config format)
2014-03-05 15:42:51 +01:00
Markus Unterwaditzer
c7a5a525ce Fix DavStorage._requests
A path of '' would cause the thing to request / of the server, which
might not even be a DAV server. This was already done in the testsuite.
2014-03-04 18:28:06 +01:00
Markus Unterwaditzer
273cc4d6fd Fixed a lot of tests 2014-03-04 17:27:09 +01:00
Markus Unterwaditzer
5c91f48f0e Move tests outside package
These tests will get so big we won't want to distribute them to users
2014-03-02 19:21:15 +01:00
Markus Unterwaditzer
651a976867 Flake8 2014-03-02 17:47:58 +01:00
Markus Unterwaditzer
b0a180babe "synchronize" is a hard word... 2014-03-02 11:48:09 +01:00
Markus Unterwaditzer
0be426e382 Remove __version__ variables
This comes from thoughtlessly copying the copyright header from
vdirsyncer/__init__.py
2014-03-02 03:23:24 +01:00
Markus Unterwaditzer
812d376c5d Add carddav storage
Fix #1

This currently breaks the tests, but i think it's radicale being a
bitch. We should test this against other servers.
2014-03-02 03:21:32 +01:00
Markus Unterwaditzer
83910f2301 Put code deduplication to the max 2014-03-01 23:02:38 +01:00
Markus Unterwaditzer
7fed1d4b88 Add one test for dav 2014-03-01 22:44:47 +01:00
Markus Unterwaditzer
5de541bab7 Fix up old identifier 2014-03-01 22:37:46 +01:00
Markus Unterwaditzer
5eb4cbb429 Fix a typo 2014-03-01 22:33:46 +01:00
Markus Unterwaditzer
9d679999ef Better handling of stub items 2014-03-01 22:21:05 +01:00
Markus Unterwaditzer
6f65607d15 Fix a flaky import 2014-03-01 21:50:52 +01:00
Markus Unterwaditzer
e60f0b1aaa Indent xml pieces
This breaks my indentation in vim otherwise.

I am fully that this indent creates different strings with extreme
amounts of whitespace, but this doesn't change any functionality, so i
don't care.
2014-03-01 21:47:37 +01:00
Markus Unterwaditzer
dce98d2fed Flake8 2014-03-01 21:42:21 +01:00
Markus Unterwaditzer
aa7d2f3eeb Restructuring of DAV storage
We will need this when writing CarddavStorage, assuming we can share
much code between them.
2014-03-01 21:36:01 +01:00
Markus Unterwaditzer
78065a4e1f Implement conflict resolution
Fix #4
2014-03-01 00:51:29 +01:00
Markus Unterwaditzer
6776c79743 Some code cleanup 2014-02-28 23:55:16 +01:00
Markus Unterwaditzer
f0d7e211d9 Solve the boolean problem in config files
once and for all
2014-02-28 21:50:58 +01:00
Markus Unterwaditzer
1e3b8055d8 Fix bug 2014-02-28 15:21:17 +01:00
Markus Unterwaditzer
84ee96c394 Better logging 2014-02-28 14:44:08 +01:00
Christian Geier
f6af9697a9 bugfix: odd error message if URL not WebDAV
If the queried URL is not speaking WebDAV, there is no 'DAV' response
header and a misleading (to the end user) exception is raised.

I've wanted to fix this for some time in khal.
2014-02-28 14:44:08 +01:00
Markus Unterwaditzer
55c33d749b Add example config 2014-02-28 14:44:08 +01:00
Markus Unterwaditzer
993ddc9737 Actually make start_date and end_date work
Some CLI improvements
2014-02-28 14:44:08 +01:00
Markus Unterwaditzer
46fa1d7c47 vdirsyncer can now be somewhat used 2014-02-28 14:44:08 +01:00
Markus Unterwaditzer
dc12b74805 CLI WIP 2014-02-28 14:44:08 +01:00
Markus Unterwaditzer
f94649950e Remove stupid print statements, more comments 2014-02-28 14:44:08 +01:00