Commit graph

87 commits

Author SHA1 Message Date
Markus Unterwaditzer
61bf23588d Refactor! 2014-12-08 16:32:23 +01:00
Markus Unterwaditzer
ca5a9cd8f9 Stricten collection discovery test 2014-12-07 16:49:52 +01:00
Markus Unterwaditzer
566a988f32 Remove indirection for get_storage_args fixture 2014-12-01 00:11:23 +01:00
Markus Unterwaditzer
a7878c9342 Add radicale multifilesystem to test matrix 2014-11-30 13:41:09 +01:00
Markus Unterwaditzer
069f5dfa89 Deal with Radicale 0.7
Fix #138
2014-11-26 14:19:46 +01:00
Markus Unterwaditzer
ca30542801 Test against more item types 2014-11-04 21:16:37 +01:00
Markus Unterwaditzer
63c990a320 Properly remove monkeypatching in radicale tests 2014-08-21 00:56:13 +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
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
574869f619 ownCloud 7 now does If-Match headers right 2014-07-23 14:21:10 +02:00
Markus Unterwaditzer
c750561fb8 Use more fixtures 2014-07-06 23:22:02 +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
201c840e88 Import beautification 2014-06-19 00:07:54 +02:00
Markus Unterwaditzer
77a8cf8ff7 Fix logic 2014-06-15 12:07:22 +02:00
Markus Unterwaditzer
fadff19752 Make CaldavStorage.list faster 2014-06-15 11:15:13 +02:00
Markus Unterwaditzer
c574e746dd Split string only once 2014-06-12 14:40:25 +02:00
Markus Unterwaditzer
d46795bdb7 Simplify error handling 2014-05-26 23:02:24 +02:00
Markus Unterwaditzer
c1eb55c241 Copyright and contributor stuff
Fix #60
2014-05-22 12:50:43 +02:00
Markus Unterwaditzer
c66a074f36 Add GuessAuth to authentication methods 2014-05-18 23:22:55 +02:00
Markus Unterwaditzer
5c6806ce97 Greatly simplify monkeypatching code for radicale 2014-05-18 19:35:08 +02:00
Markus Unterwaditzer
91de80cef0 Also test carddav about this 2014-05-18 10:13:52 +02:00
Markus Unterwaditzer
61ef8b3ee3 Use icalendar for parsing 2014-05-15 15:14:06 +02:00
Markus Unterwaditzer
aff7a93582 owncloud requires UIDs 2014-05-14 16:10:33 +02:00
Markus Unterwaditzer
b87abfa4c0 Syncronization without UIDs! 2014-05-14 15:08:31 +02:00
Markus Unterwaditzer
9616f0bbfe Move "obscure" exceptions into their own modules 2014-05-03 00:17:39 +02:00
Markus Unterwaditzer
bb579a8879 Fix some imports 2014-05-02 19:30:38 +02:00
Markus Unterwaditzer
a7ca0bea97 We don't actually need this? 2014-04-16 21:17:42 +02:00
Markus Unterwaditzer
e66b43c839 Be Python 3 compatible
Not that anybody actually uses Python 3, but this helps very much with
finding obscure bugs.
2014-04-16 15:28:01 +02:00
Markus Unterwaditzer
cef68b5d09 Flake8 2014-04-16 00:45:13 +02:00
Markus Unterwaditzer
9041cfc6a9 Fix edge cases in install scripts 2014-04-15 22:01:32 +02:00
Markus Unterwaditzer
6a9de56df2 Fix more tests 2014-04-14 14:45:25 +02:00
Markus Unterwaditzer
0176d643c5 Move radicale back into main repo 2014-04-13 14:26:04 +02:00
Markus Unterwaditzer
2156051056 More tests 2014-04-13 10:30:23 +02:00
Markus Unterwaditzer
720174a205 Remove debug print statement
Yes, shame on me.
2014-04-13 09:28:49 +02:00
Markus Unterwaditzer
b8faf6ffdb Simplify setup code for dav tests 2014-04-12 16:51:12 +02:00
Markus Unterwaditzer
9d9f193513 Move testserver-specific code into different repos 2014-04-12 16:23:32 +02:00
Markus Unterwaditzer
ccb4e42ce2 Polish up CaldavStorage.list 2014-04-12 14:17:37 +02:00
Markus Unterwaditzer
b6e3490980 Add test for timerange 2014-04-12 13:50:08 +02:00
Markus Unterwaditzer
65e6397806 Flake8 2014-04-11 15:49:15 +02:00
Markus Unterwaditzer
0aedeb472e Move allowed failures settings to travis 2014-04-05 12:47:28 +02:00
Markus Unterwaditzer
50314418ec Remove more dead code 2014-04-02 18:10:19 +02:00
Markus Unterwaditzer
a2ec63a0e0 Remove legacy/dead code 2014-04-02 18:02:08 +02:00
Markus Unterwaditzer
d14dfcd5f8 More copyright headers
[ci skip]
2014-04-01 21:09:40 +02:00
Markus Unterwaditzer
4e1371e561 Globally log requests 2014-03-29 17:52:57 +01:00
Markus Unterwaditzer
bd351242e6 Use requests transport adapters for mocking
We forgot to send auth headers...
2014-03-29 17:49:29 +01:00
Markus Unterwaditzer
d088098e20 Setup logging again 2014-03-29 12:45:49 +01:00
Markus Unterwaditzer
eae0cff48f Use py.test's tmpdir fixture 2014-03-28 21:40:14 +01:00
Markus Unterwaditzer
475671f437 Less files 2014-03-26 18:11:26 +01:00
Markus Unterwaditzer
bc512d454d Fix typo 2014-03-23 10:31:06 +01:00
Markus Unterwaditzer
9e8fdcd351 More testing 2014-03-23 10:14:38 +01:00