Commit graph

266 commits

Author SHA1 Message Date
Markus Unterwaditzer
76c7f034a7 Catch IdentConflict
Fix #170
2015-01-24 16:35:03 +01:00
Markus Unterwaditzer
5ce0d97f91 Remove copyright headers 2015-01-21 13:02:30 +01:00
Markus Unterwaditzer
ce2cea130c Make status_path relative to config file 2015-01-12 20:16:10 +01:00
Markus Unterwaditzer
8ab9c429cc Rewrite safe_write 2015-01-12 00:32:49 +01:00
Markus Unterwaditzer
cda763fcc5 Set verify=False if verify_fingerprint is given 2015-01-10 23:31:55 +01:00
Markus Unterwaditzer
ebedca1e85 add testcase 2015-01-10 23:01:34 +01:00
Markus Unterwaditzer
12098bcc9d Add testcase for moved hrefs. 2015-01-10 22:06:56 +01:00
Markus Unterwaditzer
a55d1f2d03 Re-enable baikal tests 2015-01-04 13:43:53 +01:00
Markus Unterwaditzer
ccc3dee28b Handle UID conflicts during sync 2015-01-03 16:30:23 +01:00
Markus Unterwaditzer
6f95870a48 Remove old config value style 2015-01-01 23:28:54 +01:00
Markus Unterwaditzer
fab29b4ecb Test collection creation explicitly 2015-01-01 22:01:24 +01:00
Markus Unterwaditzer
8e694a2a2f Don't test collection creation indirectly 2015-01-01 22:01:24 +01:00
Markus Unterwaditzer
e76fd29aec Unify collection creation 2015-01-01 22:01:23 +01:00
Markus Unterwaditzer
584e1d9d12 Add new testcase
see #144
2015-01-01 19:13:13 +01:00
Markus Unterwaditzer
b548c27384 Remove unnecessary imports 2015-01-01 13:17:04 +01:00
Markus Unterwaditzer
e21a197006 The original testcase already takes care of this. 2015-01-01 13:05:39 +01:00
Markus Unterwaditzer
bf81c769f8 Remove superfluous testcase. 2014-12-31 01:42:52 +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
40b64139fd Add item_types test 2014-12-28 00:40:35 +01:00
Markus Unterwaditzer
9b442ebcf3 Enforce read-only attribute 2014-12-27 11:28:31 +01:00
Markus Unterwaditzer
e450baf0f8 finally silence flake8 2014-12-26 10:04:51 +01:00
Markus Unterwaditzer
37cd8aa88d Ignore error (not warning) 2014-12-26 01:23:38 +01:00
Markus Unterwaditzer
cdb25d61ec Move config parsing into cli module 2014-12-26 00:58:41 +01:00
Markus Unterwaditzer
6ef330aac5 Stricter config validation 2014-12-26 00:50:15 +01:00
Markus Unterwaditzer
f2d34f4784 Create cli.tasks 2014-12-25 23:59:02 +01:00
Markus Unterwaditzer
c2ec4cd3a3 Testsuite refactoring 2014-12-21 13:58:47 +01:00
Markus Unterwaditzer
548b397dbb Fix a refactoring bug 2014-12-20 13:50:01 +01:00
Markus Unterwaditzer
14699d3195 Fix test 2014-12-20 02:30:54 +01:00
Markus Unterwaditzer
cfe252d458 Make .cli a subpackage 2014-12-20 01:59:59 +01:00
Markus Unterwaditzer
3101572440 Add note regarding radicale bug
https://github.com/Kozea/Radicale/pull/236
2014-12-17 16:54:10 +01:00
Markus Unterwaditzer
90c9f227f3 Rename passwordeval to password_command
Fix #139
2014-12-17 14:58:26 +01:00
Markus Unterwaditzer
8266145443 Remove storage defaults from pair section
This feature didn't seem to be documented anyway.
2014-12-16 18:15:51 +01:00
Markus Unterwaditzer
2e2349c46d Add discover command 2014-12-16 17:20:02 +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
6b199474a6 Factor out deprecated config parsing 2014-12-15 21:12:54 +01:00
Markus Unterwaditzer
d9e4a5b767 Validate section names more strictly
This avoids any problems with status files
2014-12-15 20:52:32 +01:00
Markus Unterwaditzer
ddc47c2272 --force-delete is now a flag
Conflicts:
	tests/test_cli.py
	vdirsyncer/cli.py
2014-12-15 20:46:34 +01:00
Markus Unterwaditzer
a1f2d14c05 Refactor parse_config to use fileobject 2014-12-15 20:37:23 +01:00
Markus Unterwaditzer
e40ba55bd3 Build fixes 2014-12-11 21:51:03 +01:00
Markus Unterwaditzer
d91512d07e Even more fixes to config parsing 2014-12-11 20:12:59 +01:00
Markus Unterwaditzer
291edd7be0 Merge branch 'encodings'
Conflicts:
	vdirsyncer/storage/dav.py
2014-12-08 20:13:41 +01:00
Markus Unterwaditzer
61bf23588d Refactor! 2014-12-08 16:32:23 +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
741045c1be Rewrite DAV storages' encoding behavior
This is more explicit than the old behavior. See
https://github.com/Kozea/Radicale/issues/128 for the discussion that led
to this.
2014-12-07 15:11:42 +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