瀏覽代碼

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

System User 15 年之前
父節點
當前提交
9d012fb76f
共有 3 個文件被更改,包括 25 次插入5 次删除
  1. 9 0
      NEWS
  2. 10 3
      TODO
  3. 6 2
      radicale/xmlutils.py

+ 9 - 0
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
 ===================
 

+ 10 - 3
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

+ 6 - 2
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
@@ -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)