Commit graph

720 commits

Author SHA1 Message Date
Markus Unterwaditzer
72d20e26d6 Remove unnecessary enumeration 2014-05-15 16:27:18 +02:00
Markus Unterwaditzer
d3752baf60 Don't overwrite builtin 2014-05-15 16:26:51 +02:00
Markus Unterwaditzer
f33b667b24 Merge pull request #53 from untitaker/kill_parser
Kill custom vobject parser
2014-05-15 15:30:37 +02:00
Markus Unterwaditzer
46f7a0cb05 Flake8 2014-05-15 15:18:25 +02:00
Markus Unterwaditzer
61ef8b3ee3 Use icalendar for parsing 2014-05-15 15:14:06 +02:00
Markus Unterwaditzer
069641dfab Start depending on icalendar 2014-05-15 13:34:11 +02:00
Markus Unterwaditzer
7e917c6ec5 Revert the reversion.
I forgot that the version of flake8 which doesn't break hasn't been
released yet.
2014-05-14 16:40:49 +02:00
Markus Unterwaditzer
272a39040d Version 0.1.5
- Introduced changelogs.

  - Many bugfixes.

  - Many doc fixes.

  - vdirsyncer now doesn't necessarily need UIDs anymore for syncronization.

  - vdirsyncer now aborts if one collection got completely emptied between two
    syncronizations. See #42.
2014-05-14 16:39:33 +02:00
Markus Unterwaditzer
ef1f4fd875 Remove assertion of order. 2014-05-14 16:23:39 +02:00
Markus Unterwaditzer
fc5cbe11fe Revert "Jeez flake8, you're so picky"
This reverts commit e9c681aa41.
2014-05-14 16:19:00 +02:00
Markus Unterwaditzer
aff7a93582 owncloud requires UIDs 2014-05-14 16:10:33 +02:00
Markus Unterwaditzer
a33e34bc60 Flake8 2014-05-14 15:47:41 +02:00
Markus Unterwaditzer
98a9748392 Ident is now a property of Item 2014-05-14 15:40:06 +02:00
Markus Unterwaditzer
b87abfa4c0 Syncronization without UIDs! 2014-05-14 15:08:31 +02:00
Markus Unterwaditzer
cb29c2567f Allow uploading of items without UID 2014-05-14 14:48:50 +02:00
Markus Unterwaditzer
0f26517661 Don't assign empty UID 2014-05-14 14:23:20 +02:00
Markus Unterwaditzer
0f3ba10650 Remove UID checking from item 2014-05-14 14:12:59 +02:00
Markus Unterwaditzer
c89242e512 Fix VOBJECT parsing again
Apparently stuff like

    BEGIN:VEVENT
    UID
        :hahaha

is a thing.
2014-05-13 20:19:50 +02:00
Markus Unterwaditzer
0cd41290cc Merge pull request #52 from untitaker/special_href
Fix #49
2014-05-13 19:55:36 +02:00
Markus Unterwaditzer
b5df8a4514 Possible fix for #49
- Radicale incorrectly unquotes URLs
  - Older versions of radicale are so buggy they fail to look up items
    with url quotes in them.
  - ownCloud/SabreDAV follows the rebustness principle such that it
    takes anything, but returns properly encoded URLs.

Conclusion: Send broken, unquoted URLs, because both sides seem to be
happy with them. As wrong as it might seem, it works.
2014-05-13 19:32:59 +02:00
Markus Unterwaditzer
89063c5096 Add test case for #49 2014-05-13 19:26:55 +02:00
Markus Unterwaditzer
d3cff80beb Fix #51 2014-05-13 19:25:16 +02:00
Markus Unterwaditzer
49224c703f Small refactoring in sync 2014-05-13 18:54:16 +02:00
Markus Unterwaditzer
2656ac7a92 Small refactoring for http storage 2014-05-12 20:16:17 +02:00
Markus Unterwaditzer
f565cd43a9 Possible fix for #50 2014-05-12 20:08:38 +02:00
Markus Unterwaditzer
6bf52092a2 Style fixes 2014-05-03 22:39:51 +02:00
Markus Unterwaditzer
d781ac1101 Kill it with fire. 2014-05-03 21:52:05 +02:00
Markus Unterwaditzer
e7fdc87d70 Add Python 3.4 2014-05-03 19:56:43 +02:00
Markus Unterwaditzer
ff063d6d4c Catch all exceptions.
The idea is that a storage's __init__ may raise *anything* if the values
are incorrect. We already do very explicit checks whether the user
specified the wrong parameters, and show the exception if that's not the
case.
2014-05-03 00:18:55 +02:00
Markus Unterwaditzer
9616f0bbfe Move "obscure" exceptions into their own modules 2014-05-03 00:17:39 +02:00
Markus Unterwaditzer
233e8524ab Convert some logging calls to exception raises 2014-05-03 00:11:55 +02:00
Markus Unterwaditzer
798bcf384c Move status name generation in own func 2014-05-03 00:06:04 +02:00
Markus Unterwaditzer
0c8eba1cd3 Saner variable names 2014-05-02 23:57:39 +02:00
Markus Unterwaditzer
94eb60f352 PAIR/COLLECTION instead of PAIR_COLLECTION
...for statuses.

Also, various CLI usability improvements.
2014-05-02 23:49:29 +02:00
Markus Unterwaditzer
63a2960c87 Add one more testcase 2014-05-02 23:49:03 +02:00
Markus Unterwaditzer
e8572cf858 See #47 2014-05-02 21:23:22 +02:00
Markus Unterwaditzer
a4687d371e Improve error message for config file. 2014-05-02 21:11:22 +02:00
Markus Unterwaditzer
e9c681aa41 Jeez flake8, you're so picky
This is an option from flake8-import-order, and flake8 chooses to choke
on it instead of ignoring it.
2014-05-02 19:45:23 +02:00
Markus Unterwaditzer
bb579a8879 Fix some imports 2014-05-02 19:30:38 +02:00
Markus Unterwaditzer
38e89cea55 Add config for flake8-import-order
https://github.com/public/flake8-import-order
2014-05-02 19:30:38 +02:00
Markus Unterwaditzer
110f5ca772 Remove unused constant 2014-05-02 19:30:38 +02:00
Markus Unterwaditzer
087312adb5 Stricter validation of items 2014-05-02 19:30:37 +02:00
Markus Unterwaditzer
d2f7d9a227 Some doc fixes for exceptions 2014-05-02 19:30:37 +02:00
Markus Unterwaditzer
0a1db301ad Add comment about multiline-strings 2014-05-02 19:30:37 +02:00
Markus Unterwaditzer
9a30d2fd24 Merge pull request #46 from mondonc/master
Avoid error when status_path dir doesn't exist
2014-05-02 17:00:59 +02:00
Clément Mondon
b6d3b9908b Avoid error when status_path dir doesn't exist 2014-05-02 16:33:10 +02:00
Markus Unterwaditzer
3e7bb377cc Add error message when general section is missing
Fix #43
Fix #45
2014-05-02 13:16:20 +02:00
Markus Unterwaditzer
b832d7423f Merge pull request #44 from nachtschattengewaechs/master
Don't suggest that `name = value # A comment` is a valid definition.
2014-05-02 12:29:29 +02:00
Julian Mehne
17248012e4 Add some information about the verify parameter. 2014-05-02 12:13:06 +02:00
Julian Mehne
40e67cb633 Don't suggest that name = value # A comment is a valid definition. 2014-05-02 12:03:00 +02:00