Commit graph

20 commits

Author SHA1 Message Date
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
201c840e88 Import beautification 2014-06-19 00:07:54 +02:00
Markus Unterwaditzer
5028d09f61 Add read_only parameter
Just skip any updates when the storage is read-only, write to status
anyway. The change will get reverted in the next sync.

Fix #54
2014-06-12 14:24:00 +02:00
Markus Unterwaditzer
c1eb55c241 Copyright and contributor stuff
Fix #60
2014-05-22 12:50:43 +02:00
Markus Unterwaditzer
ef1f4fd875 Remove assertion of order. 2014-05-14 16:23:39 +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
d906aa3df6 Fix #42 2014-05-01 22:03:35 +02:00
Markus Unterwaditzer
cef68b5d09 Flake8 2014-04-16 00:45:13 +02:00
Markus Unterwaditzer
c18359466f More tests for conflict resolution 2014-04-11 22:51:11 +02:00
Markus Unterwaditzer
be2f0851f3 Add perftests for sync 2014-04-11 22:25:57 +02:00
Markus Unterwaditzer
745afbe5a3 Also test case where everything is *really* synced. 2014-04-07 19:45:13 +02:00
Markus Unterwaditzer
7f01b22642 Unify terminology obj => item 2014-04-06 00:21:28 +02:00
Markus Unterwaditzer
d14dfcd5f8 More copyright headers
[ci skip]
2014-04-01 21:09:40 +02:00
Markus Unterwaditzer
3df104a1f0 Fix useless test 2014-03-16 11:50:14 +01:00
Markus Unterwaditzer
cd31e66798 Flake 8 2014-03-16 11:47:01 +01:00
Markus Unterwaditzer
b3a720be75 Switch sync tests to function-based 2014-03-16 10:47:28 +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
Renamed from vdirsyncer/tests/test_sync.py (Browse further)