Commit Graph

190 Commits

Author SHA1 Message Date
Nicolas Bonfante dfc215b63f solving bug when trying to filter an Event on a DATETIME which have no timezone 2016-06-24 14:02:35 +02:00
Nicolas Bonfante 4872ea5d58 correcting bug in test vjournal 2016-06-15 18:09:09 +02:00
Cedric Boscher e4e1d81f9f debug on tests 2016-06-15 18:01:19 +02:00
Nicolas Bonfante 1613c4955f adding test for Vjournal filtering 2016-06-15 16:17:51 +02:00
Nicolas Bonfante 38845da762 solve bug in vjournal time filter 2016-06-15 15:48:35 +02:00
Cedric Boscher a5d5cc8b2c debug VTODO and first tests running 2016-06-15 15:45:27 +02:00
Cedric Boscher 2957b40473 clean code 2016-06-15 10:16:44 +02:00
Cedric Boscher 21ea648a44 Merge branch 'master' of github.com:Kozea/Radicale 2016-06-15 09:56:16 +02:00
Cedric Boscher 7de63f8335 VTODO first implementation 2016-06-15 09:56:05 +02:00
Nicolas Bonfante e1f3045f1f adding VJournal method 2016-06-15 09:55:30 +02:00
Guillaume Ayoub 40406359e5 Merge pull request #423 from Unrud/patch-17
Resolve naming conflict
2016-06-13 15:08:33 +02:00
Unrud 3e1e680bbc Use correct attribute name 2016-06-10 00:02:07 +02:00
Unrud 74d84e0c91 Resolve naming conflict 2016-06-09 23:52:05 +02:00
Guillaume Ayoub 248fc7e9e3 Implement time-range filters for events 2016-05-30 14:53:20 +02:00
Guillaume Ayoub fef9f0abc6 Support param-filter 2016-05-27 14:44:59 +02:00
Guillaume Ayoub 69ec2891fa Remove at_once 2016-05-25 14:05:05 +02:00
Guillaume Ayoub 68b72f55eb Merge pull request #398 from untitaker/unbound
Fix UnboundLocalError
2016-05-18 22:47:37 +02:00
Markus Unterwaditzer eea6ccb573 Fix UnboundLocalError 2016-05-18 22:43:56 +02:00
Guillaume Ayoub a8fda1aedf Cut long lines 2016-05-18 22:41:05 +02:00
Guillaume Ayoub 6769629314 Remove useless empty function 2016-05-18 20:22:36 +02:00
Guillaume Ayoub 45576d7474 Handle text-match filters
Related to #33.
2016-05-18 20:21:03 +02:00
Guillaume Ayoub a28df4dd4b Reorganize filters
Related to #33 and #372.
2016-05-06 17:53:02 +02:00
Guillaume Ayoub 2f97d7d1e1 Remove global state about configuration and logs
Many things have been changed to make this possible, probably leading to
many hidden bugs waiting to be found.

Related to #122.
2016-04-22 11:37:02 +09:00
Jasper Bryant-Greene 0670aa9fb4 Corrected calendar-timezone code in xmlutils.py 2016-04-21 10:40:36 +05:30
Guillaume Ayoub 6db946080e Cosmetics 2016-04-21 09:12:00 +09:00
Markus Unterwaditzer 7f2d1c00c4 Unbreak tag filters 2016-04-20 20:17:05 +02:00
Guillaume Ayoub ecf53c5e1e Merge branch 'master' of github.com:Kozea/radicale 2016-04-20 07:50:58 +09:00
Guillaume Ayoub 3a9bcc7555 Add etag property to items
Related to #380.
2016-04-20 07:49:03 +09:00
Markus Unterwaditzer 1b1ba421ff Fix double slash in REPORT responses
When doing REPORTs with absolute paths as hrefs, the response hrefs
contain a double slash at the beginning. This breaks URL parsers and
makes them assume they have a URL without protocol of the format
`//example.com/foo/bar/`.
2016-04-19 23:19:22 +02:00
Guillaume Ayoub bf8bd90bcb Fix removal of base_prefix in multiget requests 2016-04-19 10:44:02 +09:00
Guillaume Ayoub 65659fc909 Improve WebDAV compatibility
Add getlastmodified and getcontentlength properties, and fix nested
collections support. Fix #321.
2016-04-18 09:11:00 +09:00
Guillaume Ayoub 99544fcf80 Allow the creation of empty collections
Fix #201
2016-04-17 13:58:56 +09:00
Markus Unterwaditzer e8c1defe6a Update PROPPATCH to new storage API 2016-04-13 23:02:00 +02:00
Markus Unterwaditzer 472d016d1e Fix crash when fetching nonexistent href 2016-04-13 22:56:57 +02:00
Guillaume Ayoub e586569b31 Fix a lot of details 2016-04-12 18:21:18 +02:00
Guillaume Ayoub 406027f3c9 Change the Collection API
The new API used comes from vdirsyncer, as proposed by @untitaker in
issue #130.

The code has been tested and works with the (too simple) unit tests, and
with Lightning and DAVdroid. Many things are broken and a good part of
the code has not be ported to the new API yet. TODOs have been added
where the application is known to be broken.
2016-04-11 20:11:35 +02:00
Guillaume Ayoub 41e319a8b8 Merge ical and storage modules 2016-04-10 02:08:07 +02:00
Guillaume Ayoub 7a0e267f19 Better collection discovery 2016-04-09 15:11:47 +02:00
Guillaume Ayoub 44ba2c36a7 Merge branch 'master' of https://github.com/hadleyrich/Radicale 2016-04-08 15:05:56 +02:00
Guillaume Ayoub 434cb533e9 Remove Python 2 support 2016-03-31 19:57:40 +02:00
igogold aa04aa04b7 Fix privilege set for read only collection 2016-03-04 11:05:13 +05:00
Hadley Rich 54d71355d1 Change xmlutils propfind to return readonly calendars 2015-06-04 11:23:01 +12:00
Liam ba5d38d09b Fix typo 2015-05-15 13:47:44 +01:00
Guillaume Ayoub ced7e76ba0 Small style fixes 2015-05-01 10:31:25 +02:00
Guillaume Ayoub 675f9d1f87 Merge pull request #255 from jspricke/fix_FutureWarning
Fix FutureWarning, explicitly test prop_element for None
2015-05-01 10:22:38 +02:00
Markus Unterwaditzer 1126f318af Fully fix #258
If I do REPORT requests, the following line would raise a KeyError:

    items = [collection.items[name]]

Wrapping it with a try-except block obviously fixes that issue.

At least for REPORT requests, Radicale now also returns proper HTTP
status codes when items or just its properties couldn't be found.
2015-02-08 17:52:55 +01:00
Guillaume Ayoub 2c4b335fad Clean the ical API 2015-02-07 17:26:20 +01:00
Jochen Sprickerhof c43b473c4a Fix FutureWarning, explicitly test prop_element for None 2015-01-23 14:41:41 +01:00
Guillaume Ayoub abb1de883b Allow PUT requests to change the whole calendar (see #250) 2015-01-05 15:45:24 +01:00
Guillaume Ayoub f2fc02501c Merge pull request #226 from meyerd/master
Only iterate props in REPORT request if they are there
2014-12-14 16:50:22 +01:00