Commit Graph

63 Commits

Author SHA1 Message Date
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