Merge branch 'master' of git://gitorious.org/radicale/radicale

This commit is contained in:
System User 2011-01-03 15:29:53 +01:00
commit 9d012fb76f
3 changed files with 25 additions and 5 deletions

9
NEWS
View File

@ -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
===================

13
TODO
View File

@ -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

View File

@ -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
@ -153,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)