[CalendarServer-changes] [3338] CalendarServer/trunk/twistedcaldav
source_changes at macosforge.org
source_changes at macosforge.org
Thu Nov 6 16:14:36 PST 2008
Revision: 3338
http://trac.macosforge.org/projects/calendarserver/changeset/3338
Author: wsanchez at apple.com
Date: 2008-11-06 16:14:36 -0800 (Thu, 06 Nov 2008)
Log Message:
-----------
Add calendarserver-principal-property-search to DAV header
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/customxml.py
CalendarServer/trunk/twistedcaldav/resource.py
Modified: CalendarServer/trunk/twistedcaldav/customxml.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/customxml.py 2008-11-06 23:59:24 UTC (rev 3337)
+++ CalendarServer/trunk/twistedcaldav/customxml.py 2008-11-07 00:14:36 UTC (rev 3338)
@@ -49,6 +49,10 @@
"calendarserver-private-comments",
)
+calendarserver_principal_property_search = (
+ "calendarserver-principal-property-search",
+)
+
class TwistedCalendarAccessProperty (davxml.WebDAVTextElement):
"""
Contains the calendar access level (private events) for the resource.
Modified: CalendarServer/trunk/twistedcaldav/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/resource.py 2008-11-06 23:59:24 UTC (rev 3337)
+++ CalendarServer/trunk/twistedcaldav/resource.py 2008-11-07 00:14:36 UTC (rev 3338)
@@ -80,6 +80,7 @@
extra_compliance += customxml.calendarserver_private_events_compliance
if config.Scheduling["CalDAV"].get("EnablePrivateComments", True):
extra_compliance += customxml.calendarserver_private_comments_compliance
+ extra_compliance += customxml.calendarserver_principal_property_search
return tuple(super(CalDAVComplianceMixIn, self).davComplianceClasses()) + extra_compliance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081106/30c1371c/attachment.html>
More information about the calendarserver-changes
mailing list