[CalendarServer-changes] [8097] CalendarServer/trunk/twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 14 09:48:55 PDT 2011


Revision: 8097
          http://trac.macosforge.org/projects/calendarserver/changeset/8097
Author:   cdaboo at apple.com
Date:     2011-09-14 09:48:55 -0700 (Wed, 14 Sep 2011)
Log Message:
-----------
Documentation and typo fixes.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/__init__.py
    CalendarServer/trunk/twistedcaldav/carddavxml.py
    CalendarServer/trunk/twistedcaldav/mkcolxml.py

Modified: CalendarServer/trunk/twistedcaldav/__init__.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/__init__.py	2011-09-14 16:48:33 UTC (rev 8096)
+++ CalendarServer/trunk/twistedcaldav/__init__.py	2011-09-14 16:48:55 UTC (rev 8097)
@@ -16,9 +16,9 @@
 ##
 
 """
-WebDAV support for Twext.Web2.
+CalDAV support for Twext.Web2.
 
-See draft spec: http://ietf.webdav.org/caldav/draft-dusseault-caldav.txt
+See RFC 4791.
 """
 
 #

Modified: CalendarServer/trunk/twistedcaldav/carddavxml.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/carddavxml.py	2011-09-14 16:48:33 UTC (rev 8096)
+++ CalendarServer/trunk/twistedcaldav/carddavxml.py	2011-09-14 16:48:55 UTC (rev 8097)
@@ -59,7 +59,7 @@
 class AddressBookHomeSet (CardDAVElement):
     """
     The address book collections URLs for this principal.
-    (CardDAV, section 7.1.1)
+    (CardDAV, RFC 6352 section 7.1.1)
     """
     name = "addressbook-home-set"
     hidden = True
@@ -70,7 +70,7 @@
     """
     Provides a human-readable description of what this address book collection
     represents.
-    (CardDAV, section 62.1)
+    (CardDAV, RFC 6352 section 6.2.1)
     """
     name = "addressbook-description"
     hidden = True
@@ -79,7 +79,7 @@
 class SupportedAddressData (CardDAVElement):
     """
     Specifies restrictions on an address book collection.
-    (CardDAV, section 6.2.2)
+    (CardDAV, RFC 6352 section 6.2.2)
     """
     name = "supported-address-data"
     hidden = True
@@ -90,7 +90,7 @@
 class MaxResourceSize (CardDAVTextElement):
     """
     Specifies restrictions on an address book collection.
-    (CardDAV, section 6.2.3)
+    (CardDAV, RFC 6352 section 6.2.3)
     """
     name = "max-resource-size"
     hidden = True
@@ -99,14 +99,14 @@
 class AddressBook (CardDAVEmptyElement):
     """
     Denotes an address book collection.
-    (CardDAV, sections 5.2)
+    (CardDAV, RFC 6352 sections 5.2, 10.1)
     """
     name = "addressbook"
 
 class AddressBookQuery (CardDAVElement):
     """
     Defines a report for querying address book data.
-    (CardDAV, section 8.6)
+    (CardDAV, RFC 6352 section 10.3)
     """
     name = "addressbook-query"
 
@@ -159,7 +159,7 @@
     """
     Defines which parts of a address component object should be returned by a
     report.
-    (CardDAV, section 6.2.2)
+    (CardDAV, RFC 6352 section 6.2.2)
     """
     name = "address-data-type"
 
@@ -172,7 +172,7 @@
     """
     Defines which parts of a address component object should be returned by a
     report.
-    (CardDAV, section 10.4)
+    (CardDAV, RFC 6352 section 10.4)
     """
     name = "address-data"
 
@@ -302,14 +302,14 @@
 class AllProperties (CardDAVEmptyElement):
     """
     Specifies that all properties shall be returned.
-    (CardDAV, section 10.4.1)
+    (CardDAV, RFC 6352 section 10.4.1)
     """
     name = "allprop"
 
 class Property (CardDAVEmptyElement):
     """
     Defines a property to return in a response.
-    (CardDAV, section 10.4.2)
+    (CardDAV, RFC 6352 section 10.4.2)
     """
     name = "prop"
 
@@ -337,7 +337,7 @@
 class Filter (CardDAVElement):
     """
     Determines which matching components are returned.
-    (CardDAV, section 10.5)
+    (CardDAV, RFC 6352 section 10.5)
     """
     name = "filter"
 
@@ -347,7 +347,7 @@
 class PropertyFilter (CardDAVElement):
     """
     Limits a search to specific properties.
-    (CardDAV-access-09, section 10.5.1)
+    (CardDAV-access-09, RFC 6352 section 10.5.1)
     """
     name = "prop-filter"
 
@@ -364,7 +364,7 @@
 class ParameterFilter (CardDAVElement):
     """
     Limits a search to specific parameters.
-    (CardDAV, section 10.5.2)
+    (CardDAV, RFC 6352 section 10.5.2)
     """
     name = "param-filter"
 
@@ -395,14 +395,14 @@
 class IsNotDefined (CardDAVEmptyElement):
     """
     Specifies that the named vCard item does not exist.
-    (CardDAV, section 10.5.3)
+    (CardDAV, RFC 6352 section 10.5.3)
     """
     name = "is-not-defined"
 
 class TextMatch (CardDAVTextElement):
     """
     Specifies a substring match on a property or parameter value.
-    (CardDAV, section 10.5.4)
+    (CardDAV, RFC 6352 section 10.5.4)
     """
     name = "text-match"
 
@@ -425,7 +425,7 @@
 class AddressBookMultiGet (CardDAVElement):
     """
     CardDAV report used to retrieve specific vCard items via their URIs.
-    (CardDAV, section 10.6)
+    (CardDAV, RFC 6352 section 10.7)
     """
     name = "addressbook-multiget"
 

Modified: CalendarServer/trunk/twistedcaldav/mkcolxml.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/mkcolxml.py	2011-09-14 16:48:33 UTC (rev 8096)
+++ CalendarServer/trunk/twistedcaldav/mkcolxml.py	2011-09-14 16:48:55 UTC (rev 8097)
@@ -15,14 +15,14 @@
 ##
 
 """
-CalDAV XML Support.
+Extended MKCOL Support.
 
-This module provides XML utilities for use with CalDAV.
+This module provides XML utilities for use with Extended MKCOL.
 
 This API is considered private to static.py and is therefore subject to
 change.
 
-See draft spec: http://ietf.webdav.org/caldav/draft-dusseault-caldav.txt
+See RFC 5689.
 """
 
 from twext.web2.dav import davxml
@@ -38,7 +38,7 @@
 class MakeCollection (davxml.WebDAVElement):
     """
     Top-level element for request body in MKCOL.
-    (Extended-MKCOL, section 5.1)
+    (Extended-MKCOL, RFC 5689 section 5.1)
     """
     name = "mkcol"
 
@@ -49,7 +49,7 @@
 class MakeCollectionResponse (davxml.WebDAVElement):
     """
     Top-level element for response body in MKCOL.
-    (Extended-MKCOL, section 5.2)
+    (Extended-MKCOL, RFC 5689 section 5.2)
     """
     name = "mkcol-response"
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110914/948e66e1/attachment.html>


More information about the calendarserver-changes mailing list