Commit graph

517 commits

Author SHA1 Message Date
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
3abebde87f Fix logging in test suite 2014-07-05 01:07:23 +02:00
Markus Unterwaditzer
9c076f7278 Remove duplicate dot. 2014-07-03 11:42:49 +02:00
Markus Unterwaditzer
f5f505f557 Elaborate on caldav item queries with Radicale 2014-07-02 20:00:20 +02:00
Markus Unterwaditzer
0b6e3adf0e Some docstring fixes 2014-07-02 18:37:57 +02:00
Markus Unterwaditzer
be10f8ce58 Exception cleanup 2014-07-02 16:28:26 +02:00
Markus Unterwaditzer
b9bf6f2e9e Another style fix 2014-07-01 18:32:49 +02:00
Markus Unterwaditzer
e4ae04aaa1 Some minor optimizations
In the case of singlefile this doesn't help much as the whole
implementation is algorithmically flawed. It's not like i care enough to
make the code even more complicated though.
2014-06-29 19:03:49 +02:00
Markus Unterwaditzer
6a63dcec81 Fix bug for --verbosity setting 2014-06-25 15:29:13 +02:00
Markus Unterwaditzer
78addbf4c7 Fix broken reference. 2014-06-25 15:22:30 +02:00
Markus Unterwaditzer
8f5f7eea76 Style fixes 2014-06-22 00:48:57 +02:00
Markus Unterwaditzer
96aae16c32 Fix typo induced bug in split_collection 2014-06-22 00:21:29 +02:00
Markus Unterwaditzer
2cc375aee6 Merge branch 'click'
Fix #80
2014-06-19 18:16:23 +02:00
Markus Unterwaditzer
2fb58d6bcd Fix bug in keyring fetching code
Leading to infinite loop when the password is simply not there.

Also fixed some import styling again
2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
289ac2cfac More tests 2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
28b649dec9 Don't use click's newline echoing
click.echo does two write calls, which get flushed immediately. Using
this in multiprocessing might make output overlap. Using a single
write-call apparently resolves that issue, although i don't know why.

A proper solution would be to use locks, but e.g. multiprocessing's
logger doesn't seem have nearly as much flexibility as others. For now
it seems to be bugfree enough.
2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
a6e2f23bbc Catch exceptions with decorator
This allows us to validate the exact output in the tests
2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
65a845c7ca Add one more test 2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
a300c8c222 Only add stdout handler when running as cli 2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
3cc9081f1c More beautiful output 2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
e9722ee63d Add test for simple usage 2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
8b889e9ecd Port CLI to Click.
After a while i finally gave in and ported the whole command line
interface of vdirsyncer to Click. While it might seem like a huge
dependency, i hope we can eliminate some helper functions in the
process, and maybe are more motivated to write a more beautiful and
intuitive interface due to all the niceties Click provides.
2014-06-19 18:14:50 +02:00
Markus Unterwaditzer
d98c4b37ba Cheap shots for test coverage 2014-06-19 18:13:45 +02:00
Markus Unterwaditzer
201c840e88 Import beautification 2014-06-19 00:07:54 +02:00
Markus Unterwaditzer
4bfc466d9f Fix tangled logic 2014-06-18 16:49:33 +02:00
Markus Unterwaditzer
7ad89d439b Factor out prefetching 2014-06-18 16:48:35 +02:00
Markus Unterwaditzer
80f8301f71 Unify action API 2014-06-18 16:48:35 +02:00
Markus Unterwaditzer
82af0fad2e Fix bug in handling item_types 2014-06-15 20:30:54 +02:00
Markus Unterwaditzer
81b4c9eb65 Exitcode 1 on any errors. 2014-06-15 20:29:41 +02:00
Markus Unterwaditzer
cd5be9fa75 Merge pull request #31 from untitaker/caldav_speedup
Make CaldavStorage.list faster
2014-06-15 12:46:51 +02:00
Markus Unterwaditzer
77a8cf8ff7 Fix logic 2014-06-15 12:07:22 +02:00
Markus Unterwaditzer
ea259f2785 Add important note. 2014-06-15 11:55:23 +02:00
Markus Unterwaditzer
fadff19752 Make CaldavStorage.list faster 2014-06-15 11:15:13 +02:00
Markus Unterwaditzer
b5f42457bd Style fixes 2014-06-14 22:02:16 +02:00
Markus Unterwaditzer
42d69b1dbd Fix faulty logic again 2014-06-14 21:49:04 +02:00
Markus Unterwaditzer
5f27d25b3c Some internal documentation improvements. 2014-06-14 21:31:25 +02:00
Markus Unterwaditzer
7eedb170a2 Merge pull request #79 from untitaker/multi-vcalendar
split_collection: Allow multiple wrappers
2014-06-14 15:12:44 +02:00
Markus Unterwaditzer
d3abff9ff7 Some minor optimizations and stricter validation. 2014-06-14 13:30:18 +02:00
Markus Unterwaditzer
11adeaff86 split_collection: Allow multiple wrappers
Fix #78
2014-06-14 13:23:22 +02:00
Markus Unterwaditzer
783d2b56b3 Add some docs for read-only storage support 2014-06-13 19:35:24 +02:00
Markus Unterwaditzer
2d348da2f0 Fix release date in changelog 2014-06-12 15:54:19 +02:00
Markus Unterwaditzer
7a84562e30 Version 0.2.0 2014-06-12 15:53:13 +02:00
Markus Unterwaditzer
5788544839 Merge pull request #77 from untitaker/readonly
Add read_only parameter
2014-06-12 15:46:57 +02:00
Markus Unterwaditzer
fc9ca4177f Add a test for HttpStorage.read_only 2014-06-12 15:14:36 +02:00
Markus Unterwaditzer
c574e746dd Split string only once 2014-06-12 14:40:25 +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
967540fe62 Merge pull request #75 from untitaker/multiline_uids
Multiline uids

Fix #74
2014-06-12 13:27:30 +02:00
Markus Unterwaditzer
67d14cd59a Style fix 2014-06-12 13:24:01 +02:00
Markus Unterwaditzer
e25e4dc0cb Fix bug 2014-06-12 12:51:20 +02:00
Markus Unterwaditzer
13ecb42e60 Fix import 2014-06-11 23:10:15 +02:00