Commit Graph

127 Commits

Author SHA1 Message Date
Guillaume Ayoub
af10a2f1c4 Fix URLs in report requests 2011-06-16 07:54:55 +02:00
Guillaume Ayoub
de0643e741 Fix propfind paths 2011-06-16 07:50:21 +02:00
Guillaume Ayoub
b8bcf65785 Restore the Lightning + anonymous calendars support 2011-06-08 07:43:40 +02:00
Guillaume Ayoub
080e4984aa Don't use isinstance(root, ET.Element) as ET.Element is a function in Python 2.6 2011-06-05 12:47:45 +02:00
Guillaume Ayoub
e9935ae1a6 Use % instead of format for consistency (and Python 2.6 support) 2011-06-05 12:34:50 +02:00
Guillaume Ayoub
fadd5dd675 Minor documentation and typo fixes caused by my insane love for PEP-3101 and pylint 2011-06-02 20:15:07 +02:00
Lukasz Langa
f7868afed1 iCal bootstrapping using a default URL works 2011-06-01 22:33:18 +02:00
Lukasz Langa
1e6a4e7fb4 timezone is a part of the VCALENDAR file 2011-06-01 17:46:46 +02:00
Lukasz Langa
31edc1b03d explicit component content-types for iCal 2011-06-01 16:22:36 +02:00
Lukasz Langa
5b9180c295 The owner field should be an URL. Fixes delays in iCal. 2011-06-01 15:30:47 +02:00
Lukasz Langa
e05e94a129 preliminary iCal/iPhone support introduced 2011-06-01 12:43:49 +02:00
Lukasz Langa
911cd48efe proppatch actually writes properties. 2011-05-24 17:33:57 +02:00
Lukasz Langa
85e283830a MKCALENDAR now actually creates the calendar. 2011-05-24 16:12:35 +02:00
Lukasz Langa
b230601ee2 elementtree in Python 2.x would rather receive encoded strings. 2011-05-24 15:09:37 +02:00
Guillaume Ayoub
7c0e9686a8 Minor typo fix 2011-05-15 19:53:40 +02:00
Guillaume Ayoub
e7ba2ab78b Register XML namespaces cleanly with Python 2.7+ and 3.2+
The old code was relying on a largely used but private variable.
Moreover, it was bugged with the empty string for "D", adding ":"
instead of nothing at the beginning of tag names with Python 2.6,
3.0 and 3.1, breaking at least the Lightning support.

This new code still relies on the private variable for old
Python versions, but uses the good-way™ for actual and future
versions. No default namespace is used for old versions, but
that's not that bad.
2011-05-13 22:03:50 +02:00
Guillaume Ayoub
4f3b574e35 Minor typo fixes 2011-05-13 10:13:56 +02:00
Lukasz Langa
ae0851be35 treat the DAV namespace as default (XML output is nicer) 2011-05-11 16:24:55 +02:00
Lukasz Langa
663fda4ecb add the Apple iCal namespace to registry 2011-05-11 16:24:20 +02:00
Lukasz Langa
afcfb11fde Revert "Remove useless calls to _tag"
This reverts commit 3b17ed2969.
2011-05-11 15:05:23 +02:00
Guillaume Ayoub
8f2335093d Always return pretty XML 2011-05-11 11:20:39 +02:00
Guillaume Ayoub
3b17ed2969 Remove useless calls to _tag 2011-05-11 08:39:32 +02:00
Guillaume Ayoub
ac83dadc9c Typo fix 2011-05-11 08:13:33 +02:00
Guillaume Ayoub
6121bc882a Disable a useless pylint warning 2011-05-11 06:37:30 +02:00
Guillaume Ayoub
aacfa8ff46 Various minor typo fixes 2011-05-11 06:19:05 +02:00
Lukasz Langa
485e375139 Minor py3k compatibility changes: iteritems() doesn't exist on Python 3.x, logged text must be Unicode. 2011-05-10 19:16:03 +02:00
Lukasz Langa
0d8fa5db6b More deprecation fixes
xmlutils.py:116: DeprecationWarning: This method will be removed in future
                 versions.  Use 'list(elem)' or iteration over elem instead.
prop_list = prop_element.getchildren()
2011-05-10 14:21:13 +02:00
Lukasz Langa
4230ec2fa9 Use pretty namespace prefixes in output. 2011-05-09 17:02:31 +02:00
Lukasz Langa
32b01d60fc in debug mode, prettify XML output for analysis 2011-05-09 16:51:58 +02:00
Lukasz Langa
4212f6dfe0 the replaced syntax is deprecated 2011-05-09 14:04:17 +02:00
Guillaume Ayoub
a2f1e173d6 Clean code and add comments using pylint 2011-05-01 20:36:39 +02:00
Rémi Hainaud
474113454b Add support for iCal (closes #252) 2011-04-28 18:36:33 +02:00
Guillaume Ayoub
c1da6872dd Add support for PROPPATCH requests 2011-04-28 18:04:34 +02:00
Guillaume Ayoub
39f7c7a96f Fix support of owner-less calendars 2011-04-25 20:12:37 +02:00
Guillaume Ayoub
d061c09344 Add support for VJOURNAL items (closes #435) 2011-04-25 19:38:03 +02:00
Guillaume Ayoub
af285e5db9 Revert changes in xmlutils 2011-04-25 13:33:48 +02:00
Guillaume Ayoub
43a1886546 Merge commit 'refs/merge-requests/8' of gitorious.org:radicale/radicale into merge-requests/8 2011-04-25 13:29:51 +02:00
Guillaume Ayoub
17f5c85f2d Add support for supported-report-set in propfind requests (related to #252) 2011-04-15 21:33:53 +02:00
Corentin Le Bail
938aa85aed Coninuing the merge 2011-04-10 19:19:59 +02:00
Corentin Le Bail
c34d5cd7cd Merge branch 'master' of git://gitorious.org/radicale/radicale 2011-04-10 19:17:51 +02:00
René 'Necoro' Neumann
72c57a042d Allow missing owner 2011-03-25 01:30:34 +01:00
System User
bb7f36fc59 Merge branch 'master' of git://gitorious.org/~clebail/radicale/ares-radicale
Conflicts:
	radicale/xmlutils.py
2011-02-17 10:42:02 +01:00
Corentin Le Bail
50919133ac Logging 2011-02-16 13:53:27 +01:00
System User
1f1d051656 Merge remote branch 'radicale/master' 2011-02-14 10:07:05 +01:00
Guillaume Ayoub
2e1b51e3c1 Softly ignore /user/ PROPFIND and REPORT requests (references #181) 2011-02-12 12:05:02 +01:00
Guillaume Ayoub
9874129bbb Add simple support for calendar-user-address-set (references #181) 2011-01-27 00:04:30 +01:00
Guillaume Ayoub
04938243a8 Update copyright year 2011-01-09 17:46:22 +01:00
Guillaume Ayoub
d11d4cc8c1 Pylint, remove fixed todos 2011-01-09 17:41:42 +01:00
Guillaume Ayoub
039e868e5f iPhone support, thank you Andrew 2011-01-07 15:25:05 +01:00
System User
9d012fb76f Merge branch 'master' of git://gitorious.org/radicale/radicale 2011-01-03 15:29:53 +01:00
Guillaume Ayoub
dcabf4249e Adding the calendar-home-set property management 2010-12-29 19:10:56 +01:00
Guillaume Ayoub
c39ac102e8 Remove a done/rejected TODO 2010-12-29 16:47:07 +01:00
System User
3a9226ca80 Merge branch 'master' of git://gitorious.org/radicale/radicale
Conflicts:

	radicale/xmlutils.py
2010-12-23 10:10:40 +01:00
System User
55d67e629d Logging 2010-12-23 10:06:37 +01:00
Guillaume Ayoub
091d89889d Fix get requests for whole calendar 2010-12-20 15:49:48 +01:00
Guillaume Ayoub
72f3af9ab9 Fix bug caused by commit:673da6a9 2010-12-17 17:19:39 +01:00
Guillaume Ayoub
673da6a90a Merge Nicolas Évrard changes - Content-type added on multi-status responses and depth handled in propfind 2010-11-30 11:57:37 +01:00
Guillaume Ayoub
076b6b60a4 Fix the PROPFIND request management (list events and todos) 2010-09-28 16:32:47 +02:00
Guillaume Ayoub
9b153d56cc Add support for supported-report-set PROPFIND tag 2010-09-14 05:06:46 +02:00
Guillaume Ayoub
71819cdb39 Support displayname and principal-URL tags in PROPFIND requests 2010-09-12 13:13:21 +02:00
Guillaume Ayoub
57eef3c5ab Ignore CTag and remove useless workaround for empty calendars. 2010-04-13 00:31:00 +02:00
Guillaume Ayoub
f479b4ba67 Check ETag before modifying or adding items. 2010-04-12 14:43:40 +02:00
Guillaume Ayoub
a45ca25df9 Set hreferences for calendar items, fixing the PUT and DELETE requests. 2010-04-11 22:46:57 +02:00
Guillaume Ayoub
9a9342a1bd Remove the useless ElementTree protected namespaces hack. 2010-04-10 16:26:22 +02:00
Guillaume Ayoub
e1a161edc9 Rename calendar into ical to avoid name collisions. 2010-02-11 01:41:24 +01:00
Guillaume Ayoub
9a07ec71d3 Merge ical/support/calendar modules. 2010-02-10 23:52:50 +01:00
Guillaume Ayoub
21a743fcde Code cleaned using Pylint, fixes various minor bugs too. 2010-02-10 18:57:21 +01:00
Guillaume Ayoub
06843adca1 Add docstrings and use @property when needed. 2010-01-19 20:31:21 +01:00
Guillaume Ayoub
f1c8497f3b Configuration cleanup. 2010-01-16 13:33:50 +01:00
Guillaume Ayoub
4ee09cf817 Python 3 support and minor fixes. 2010-01-15 16:04:03 +01:00
Guillaume Ayoub
4a0d3936e8 Update copyright and remove tab intentation indications. 2010-01-15 00:15:41 +01:00
Guillaume Ayoub
330283ef94 Remove empty collection in propfind resourcetype (Sunbird-1.0b2 ready). 2009-12-29 20:15:31 +01:00
Guillaume Ayoub
6545bc8273 Add getetag and getcontenttype support for propfind requests (Sunbird 1.0 ready). 2009-12-09 12:56:03 +01:00
(no author)
81f7201399 Huge code and copyright cleanup.
git-svn-id: http://svn.32rwr.info/radicale/trunk@9 74e4794c-479d-4a33-9dda-c6c359d70f12
2009-07-27 15:04:54 +00:00
(no author)
34d1d30998 Remove duplicates in REPORT request
git-svn-id: http://svn.32rwr.info/radicale/trunk@7 74e4794c-479d-4a33-9dda-c6c359d70f12
2009-07-13 21:15:30 +00:00
(no author)
e87d37703d Out-of-the-box simple configuration
git-svn-id: http://svn.32rwr.info/radicale/trunk@5 74e4794c-479d-4a33-9dda-c6c359d70f12
2008-12-30 19:26:03 +00:00
(no author)
b1591aea6f Files added
git-svn-id: http://svn.32rwr.info/radicale/trunk@2 74e4794c-479d-4a33-9dda-c6c359d70f12
2008-12-30 16:25:42 +00:00