Commit graph

742 commits

Author SHA1 Message Date
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
b3964ee8bb Add @hobarrera to AUTHORS 2014-12-15 21:07:12 +01:00
Markus Unterwaditzer
3fbdeb51c0 Add docs about new restriction 2014-12-15 20:55:36 +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
cb44046a8a Make global variables immutable 2014-12-15 20:26:51 +01:00
Markus Unterwaditzer
6f959b3bd3 Factor out worker queue code from sync function 2014-12-15 20:16:36 +01:00
Markus Unterwaditzer
ddd8ab675e Merge pull request #152 from hobarrera/xdg-basedir
Support the XDG-Basedir specification
2014-12-15 19:58:33 +01:00
Hugo Osvaldo Barrera
41a92528ca Update doc as per latest feedback. 2014-12-15 15:55:54 -03:00
Markus Unterwaditzer
eb5587f4ca Fix racecondition in status creation 2014-12-15 19:16:33 +01:00
Hugo Osvaldo Barrera
ff72e34826 Document XDG-Basedir compatibility.
Document that it's possible to place the configuration file in and XDG-Basedir
compliant location.
2014-12-14 17:57:13 -03:00
Hugo Osvaldo Barrera
4c7042da56 Use XDG-Basedir as a fallback for configuration file location. 2014-12-14 17:45:48 -03:00
Markus Unterwaditzer
e40ba55bd3 Build fixes 2014-12-11 21:51:03 +01:00
Markus Unterwaditzer
632a60585c Enable radicale-multifilesystem in Travis
IIRC I disabled it because I thought it would be a waste of power. There
haven't been any recent developments in that regard, but nowadays I
don't think so anymore.
2014-12-11 20:43:35 +01:00
Markus Unterwaditzer
3f41930f7b Version 0.3.4 2014-12-11 20:13:04 +01:00
Markus Unterwaditzer
d91512d07e Even more fixes to config parsing 2014-12-11 20:12:59 +01:00
Markus Unterwaditzer
43ff90da9a Version 0.3.3 2014-12-11 19:04:28 +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
ee3f0ad300 Skip broken props in get_multi 2014-12-08 15:27:00 +01:00
Markus Unterwaditzer
25aff68b50 Remove DAV header check
iCloud doesn't return anything useful while working fine otherwise.
2014-12-08 15:12:24 +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
7f2ccd6b3a Style fixes 2014-12-07 15:01:01 +01:00
Markus Unterwaditzer
6fd5f0aaa9 Don't consume iterator twice 2014-12-07 14:52:41 +01:00
Markus Unterwaditzer
07de8a0cc4 Add another test re s.has 2014-12-06 16:40:39 +01:00
Markus Unterwaditzer
a0760ca171 Invalid hrefs technically don't exist 2014-12-06 16:30:40 +01:00
Markus Unterwaditzer
772f745832 get_multi now ignores duplicate input 2014-12-06 14:08:10 +01:00
Markus Unterwaditzer
d14fcbc59a Fix bug with DAV href generation 2014-12-06 12:12:56 +01:00
Markus Unterwaditzer
5ebc9eaecb Remove leftover assertion 2014-12-06 12:12:56 +01:00
Markus Unterwaditzer
24b492c610 Fix item_types parser 2014-12-06 10:21:12 +01:00
Markus Unterwaditzer
448dc9b6b7 Fix logging output 2014-12-06 10:09:56 +01:00
Markus Unterwaditzer
2331356333 Update CONTRIBUTING 2014-12-05 23:25:18 +01:00
Markus Unterwaditzer
2be78545fd Fix a bug in DAV discovery
Server might return relative URLs (iCloud does)
2014-12-05 15:39:20 +01:00
Markus Unterwaditzer
48d0631c3d Small restructuring 2014-12-03 19:33:07 +01:00
Markus Unterwaditzer
a1d453d46c Rewrite CONTRIBUTING 2014-12-03 19:12:09 +01:00
Markus Unterwaditzer
1efb00b5f7 Version 0.3.2 2014-12-03 17:32:24 +01:00
Markus Unterwaditzer
e5ee8fcd66 Merge pull request #142 from untitaker/json_config
New config format
2014-12-03 17:30:07 +01:00
Markus Unterwaditzer
08c07c4be4 New config format
See #141

Basically this tries to parse config values with JSON, if that fails,
the value is interpreted as string.

I'd greatly appreciate feedback on this and #141
2014-12-02 21:03:06 +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
07fbd9cb89 Remove unused variable 2014-11-30 20:24:44 +01:00
Markus Unterwaditzer
29f9a10766 Skip non-directories during filesystem discovery 2014-11-30 16:02:01 +01:00
Markus Unterwaditzer
11919ef30d Disable Radicale multifilesystem 2014-11-30 13:50:44 +01:00
Markus Unterwaditzer
a7878c9342 Add radicale multifilesystem to test matrix 2014-11-30 13:41:09 +01:00
Markus Unterwaditzer
a29c60c58d AFAIK requests comes with its own CA bundle now 2014-11-28 19:22:33 +01:00