Markus Unterwaditzer
7ce0fb958f
Split recurring events properly
...
Previously we moved each VEVENT into its own Item, now we group by UID,
if one exists.
2016-03-20 14:16:52 +01:00
Markus Unterwaditzer
b726364b93
Replace all instances of untitaker with pimutils
2016-03-15 15:36:40 +01:00
Markus Unterwaditzer
0d0902cc48
Test OS X
2016-03-12 21:34:45 +01:00
Markus Unterwaditzer
0cba8eb816
Remove outdated reference to https://github.com/owncloud/core/issues/18409
2016-03-09 16:00:06 +01:00
Markus Unterwaditzer
baa82846c0
Remove ownCloud skip for multiget crash
...
Ref https://github.com/owncloudarchive/calendar/issues/935
2016-03-09 15:53:47 +01:00
Markus Unterwaditzer
1f190e69ff
Remove ownCloud skip for metadata glitch
...
Ref https://github.com/owncloud/core/issues/18409
2016-03-09 15:52:42 +01:00
Markus Unterwaditzer
4ff0680092
Merge pull request #366 from untitaker/remove-baikal-xfail
...
Remove old Baikal xfails
2016-03-09 12:59:13 +01:00
Markus Unterwaditzer
66bd52244d
Remove old Baikal xfails
...
Ref #160
Ref https://github.com/fruux/sabre-dav/issues/422
2016-03-08 21:27:45 +01:00
Markus Unterwaditzer
23ea0e203f
Refactor metadata None values
...
This fixes #358 again, in a different way.
2016-03-06 21:13:50 +01:00
Markus Unterwaditzer
7d60c05b2b
filesystem: missing metadata is handled correctly
2016-02-26 16:39:37 +01:00
Markus Unterwaditzer
5f682cadb9
Make server config management generic
2015-09-24 17:01:23 +02:00
Markus Unterwaditzer
b5e36ec3b2
Skip DAV tests on ownCloud for now
2015-09-20 02:14:30 +02:00
Markus Unterwaditzer
029f5e3eee
Just skip meta tests for ownCloud for now
2015-09-17 11:41:24 +02:00
Markus Unterwaditzer
1c24abd4db
Extend testsuite for DAV metadata
2015-09-16 22:50:54 +02:00
Markus Unterwaditzer
93480c059f
Move hack for ownCloud bug into _normalize_href
...
Also refine the testsuite a bit to catch such problems.
2015-07-26 09:29:54 +02:00
Markus Unterwaditzer
73e2ccf46a
Create always safe hrefs
...
The set of safe characters was inspired by the set of safe characters in
URLs.
Fixes #229
2015-07-12 23:42:49 +02:00
Markus Unterwaditzer
d35cb1bc50
Tests for metasync
2015-07-07 16:32:47 +02:00
Markus Unterwaditzer
a007828f87
Simple metadata interface
2015-07-07 16:20:04 +02:00
Markus Unterwaditzer
2866bbde5f
Support unicode collections
...
- DAV: Avoid re-coding if possible
- Filesystem: Convert to native strings because that's what `os.path`
utilities expect.
2015-06-13 18:15:21 +02:00
Markus Unterwaditzer
4cfca383d9
Small refactor
2015-05-19 13:29:49 +02:00
Markus Unterwaditzer
25f209c3ca
Create collections explicitly
2015-03-08 15:21:36 +01:00
Markus Unterwaditzer
5ce0d97f91
Remove copyright headers
2015-01-21 13:02:30 +01:00
Markus Unterwaditzer
a55d1f2d03
Re-enable baikal tests
2015-01-04 13:43:53 +01:00
Markus Unterwaditzer
584e1d9d12
Add new testcase
...
see #144
2015-01-01 19:13:13 +01:00
Markus Unterwaditzer
e5d27d771d
Style fixes
2014-12-30 18:13:55 +01:00
Markus Unterwaditzer
e933f6db44
Ensure updated items have the same UID (if any)
...
FastMail insists on this.
2014-12-30 18:07:27 +01:00
Markus Unterwaditzer
ce30ed7b8a
Rewrite collections test
2014-12-30 13:23:45 +01:00
Markus Unterwaditzer
06a701bc10
Handle collections correctly
...
Fix #132
Passing the collections parameter used to mean that the storage should
append its value to the URL or path. This was a leaky abstraction for
the reasons explained in #132 .
The new behavior removes this meaning from this parameter. Vdirsyncer
now maintains a cache of discovered collections.
2014-12-15 21:57:56 +01:00
Markus Unterwaditzer
1e8e931464
Clarify internal docstring
2014-12-15 21:18:37 +01:00
Markus Unterwaditzer
3b6a2f3664
Clean up set comparison
2014-12-08 11:27:04 +01:00
Markus Unterwaditzer
ca5a9cd8f9
Stricten collection discovery test
2014-12-07 16:49:52 +01:00
Markus Unterwaditzer
07de8a0cc4
Add another test re s.has
2014-12-06 16:40:39 +01:00
Markus Unterwaditzer
772f745832
get_multi now ignores duplicate input
2014-12-06 14:08:10 +01:00
Markus Unterwaditzer
566a988f32
Remove indirection for get_storage_args fixture
2014-12-01 00:11:23 +01:00
Markus Unterwaditzer
c234bce656
"A from B" => "B/A"
2014-12-01 00:11:05 +01:00
Markus Unterwaditzer
ca30542801
Test against more item types
2014-11-04 21:16:37 +01: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
c750561fb8
Use more fixtures
2014-07-06 23:22:02 +02:00
Markus Unterwaditzer
7bbc8b87da
Some smaller changes to testsuite
2014-07-06 20:28:48 +02:00
Markus Unterwaditzer
201c840e88
Import beautification
2014-06-19 00:07:54 +02:00
Markus Unterwaditzer
179d9bc393
Move 3k compat stuff to own module
2014-06-11 19:37:39 +02:00
Markus Unterwaditzer
62340814fa
Fix bug in repr of davstorage
2014-06-08 00:28:39 +02:00
Markus Unterwaditzer
c1eb55c241
Copyright and contributor stuff
...
Fix #60
2014-05-22 12:50:43 +02:00
Markus Unterwaditzer
d824882551
Add another testcase
2014-05-18 21:42:46 +02:00
Markus Unterwaditzer
7e8fa89985
First version of SingleFileStorage
2014-05-18 21:42:46 +02:00
Markus Unterwaditzer
5fd866b41b
Fix severe bug in davstorage
...
where (href, etag) instead of etag would be returned.
Thanks for @slavkoja for finding it.
2014-05-18 13:39:33 +02:00
Markus Unterwaditzer
a33e34bc60
Flake8
2014-05-14 15:47:41 +02:00
Markus Unterwaditzer
b87abfa4c0
Syncronization without UIDs!
2014-05-14 15:08:31 +02:00
Markus Unterwaditzer
cb29c2567f
Allow uploading of items without UID
2014-05-14 14:48:50 +02:00