Commit graph

258 commits

Author SHA1 Message Date
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
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
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
7a84562e30 Version 0.2.0 2014-06-12 15:53:13 +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
e25e4dc0cb Fix bug 2014-06-12 12:51:20 +02:00
Markus Unterwaditzer
13ecb42e60 Fix import 2014-06-11 23:10:15 +02:00
Markus Unterwaditzer
25d30991c6 Move cached_property to general utils. 2014-06-11 23:10:15 +02:00
Markus Unterwaditzer
cec742b9e3 Correctly handle multiline UIDs
See #74
2014-06-11 23:10:15 +02:00
Markus Unterwaditzer
764a10ca0a Create Item.parsed property 2014-06-11 23:10:14 +02:00
Markus Unterwaditzer
5b9758e669 Use cached properties in Item 2014-06-11 23:10:14 +02:00
Markus Unterwaditzer
41848b2432 Move Item to utils 2014-06-11 23:10:14 +02:00
Markus Unterwaditzer
7d26f7f8fd Fix keyring for Python 3 2014-06-11 23:09:25 +02:00
Markus Unterwaditzer
179d9bc393 Move 3k compat stuff to own module 2014-06-11 19:37:39 +02:00
Markus Unterwaditzer
4921d25e18 Add warning to HTTP storage
re #54
2014-06-11 19:25:09 +02:00
Markus Unterwaditzer
a030d4ef4c Style fixes 2014-06-08 00:55:52 +02:00
Markus Unterwaditzer
62340814fa Fix bug in repr of davstorage 2014-06-08 00:28:39 +02:00
Markus Unterwaditzer
5321fc84c8 Merge pull request #72 from untitaker/vdir_spec
Add vdir spec to vdirsyncer docs
2014-06-04 22:32:20 +02:00
Markus Unterwaditzer
85bbcc718f Add vdir spec to vdirsyncer docs 2014-06-04 21:39:32 +02:00
Markus Unterwaditzer
9087b62647 Preserve order of parameters and properties
Since version 3.7, icalendar supports the preserving of the order of
the ICS file's parameters and properties. We can use this to avoid
unnecessary changes for .ics files managed with singlefilestorage.
2014-06-03 17:38:12 +02:00
Markus Unterwaditzer
2c3cf303db Some spellchecking 2014-05-31 19:40:06 +02:00
Markus Unterwaditzer
9f966fb4a1 Add versionadded tag to singlefile 2014-05-31 19:39:59 +02:00
Markus Unterwaditzer
ab0da10e56 Simplify code 2014-05-30 17:17:10 +02:00
Markus Unterwaditzer
d5435ed534 Add comment 2014-05-30 17:15:50 +02:00
Markus Unterwaditzer
96d55c523c Fix semicolon bug
Fix #70

Also remove multiple parameters from vcard template. Android JB for
example converts this:

    Email: lol@lol (work)
    Email: lol@lol (home)

to this:

    EMAIL;TYPE=WORK:lol@lol

which is exactly what icalendar (our parser) does too. ownCloud on the
other hand converts this:

    EMAIL;TYPE=HOME,WORK:lol@lol

to this:

    EMAIL;TYPE=HOME;TYPE=WORK:lol@lol

So at this point it does not really matter anymore whether our behavior
is RFC-conform or not.
2014-05-30 17:11:47 +02:00
Markus Unterwaditzer
f59c8d1fdf Add testcase for #70 2014-05-30 16:53:22 +02:00
Markus Unterwaditzer
c54836b1cf Style fix 2014-05-29 18:41:33 +02:00
Markus Unterwaditzer
fd3f6e4532 Some improvements to join_collection
Which induces a behavior change in singlefilestorage, as now
join_collection wouldn't write a wrapper if no items are given
2014-05-29 18:11:29 +02:00
Markus Unterwaditzer
e14dc5c377 Include leif
Fix #58

Notable changes:

- Fix encoding handling, see
  http://lxml.de/FAQ.html#why-can-t-lxml-parse-my-xml-from-unicode-strings

- Add helper class for session exchange, so that the discovery classes
  use the same machinery for networking
2014-05-28 23:59:51 +02:00
Markus Unterwaditzer
55ad24db3d Add storage_name parameter on storages 2014-05-27 18:37:37 +02:00
Markus Unterwaditzer
cefaf4923a Autodiscovery
Fix #11
2014-05-27 17:42:55 +02:00
Markus Unterwaditzer
d46795bdb7 Simplify error handling 2014-05-26 23:02:24 +02:00
Markus Unterwaditzer
c010b90cc3 Add param docs for singlefile 2014-05-26 20:47:53 +02:00
Markus Unterwaditzer
5a89f9c66b Fix #66 2014-05-25 17:51:59 +02:00
Markus Unterwaditzer
1f85b4db6f Fix #63 2014-05-23 15:14:38 +02:00
Markus Unterwaditzer
c1eb55c241 Copyright and contributor stuff
Fix #60
2014-05-22 12:50:43 +02:00
Markus Unterwaditzer
d357917d2f Fix #64 2014-05-22 12:34:01 +02:00
Markus Unterwaditzer
fb87731dc9 Trim whitespace 2014-05-21 19:08:12 +02:00
Markus Unterwaditzer
cae0abe8c1 Formatting fixes 2014-05-21 19:01:45 +02:00