From c39ac102e8b581aedfe18e04fcb4cb5fc5a374a9 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Wed, 29 Dec 2010 16:47:07 +0100 Subject: [PATCH 1/3] Remove a done/rejected TODO --- radicale/xmlutils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index ddf0a7f..25f72e5 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -27,8 +27,6 @@ in them for XML requests (all but PUT). """ -# TODO: Manage depth and calendars/collections - import xml.etree.ElementTree as ET from radicale import client, config, ical From 9d508efcd4f6900bdf952c92f309fa09c67256dd Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Wed, 29 Dec 2010 18:58:54 +0100 Subject: [PATCH 2/3] Update NEWS and TODO files --- NEWS | 9 +++++++++ TODO | 13 ++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index ea78e6d..fa927ff 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,15 @@ NEWS ------ +0.5 - *Not released yet* +======================== + +* Calendar depth +* MacOS and Windows support +* HEAD requests management +* htpasswd user from calendar path + + 0.4 - Hot Days Back =================== diff --git a/TODO b/TODO index e9f57b3..f394b8a 100644 --- a/TODO +++ b/TODO @@ -9,9 +9,16 @@ 0.5 === -* Calendar collections -* Group calendars -* [IN PROGRESS] Windows and MacOS tested support +* iCal and iPhone support + + +0.6 +=== + +* [IN PROGRESS] Group calendars +* [IN PROGRESS] LDAP and databases auth support +* CalDAV rights +* Read-only access for foreign users 1.0 From dcabf4249e755276526f643336599df77f194db8 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Wed, 29 Dec 2010 19:10:56 +0100 Subject: [PATCH 3/3] Adding the calendar-home-set property management --- radicale/xmlutils.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index 25f72e5..35071a3 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -151,6 +151,12 @@ def propfind(path, xml_request, calendar, depth, request): element.text = "%s://%s%s" % ( request.server.PROTOCOL, request.headers["Host"], request.path) + elif tag == _tag("C", "calendar-home-set"): + tag = ET.Element(_tag("D", "href")) + tag.text = "%s://%s%s" % ( + request.server.PROTOCOL, request.headers["Host"], + request.path) + element.append(tag) prop.append(element)