[CalendarServer-changes] [11756] CalendarServer/trunk/twistedcaldav
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 25 03:16:21 PDT 2013
Revision: 11756
http://trac.calendarserver.org//changeset/11756
Author: cdaboo at apple.com
Date: 2013-09-25 03:16:21 -0700 (Wed, 25 Sep 2013)
Log Message:
-----------
Properly advertise support for timezones-by-reference if option is enabled.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/caldavxml.py
CalendarServer/trunk/twistedcaldav/stdconfig.py
Modified: CalendarServer/trunk/twistedcaldav/caldavxml.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/caldavxml.py 2013-09-25 08:08:46 UTC (rev 11755)
+++ CalendarServer/trunk/twistedcaldav/caldavxml.py 2013-09-25 10:16:21 UTC (rev 11756)
@@ -65,7 +65,11 @@
"calendar-query-extended",
)
+caldav_timezones_by_reference_compliance = (
+ "calendar-no-timezone",
+)
+
class CalDAVElement (WebDAVElement):
"""
CalDAV XML element.
Modified: CalendarServer/trunk/twistedcaldav/stdconfig.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/stdconfig.py 2013-09-25 08:08:46 UTC (rev 11755)
+++ CalendarServer/trunk/twistedcaldav/stdconfig.py 2013-09-25 10:16:21 UTC (rev 11756)
@@ -1546,6 +1546,8 @@
compliance += caldavxml.caldav_managed_attachments_compliance
if configDict.Scheduling.Options.TimestampAttendeePartStatChanges:
compliance += customxml.calendarserver_partstat_changes_compliance
+ if configDict.EnableTimezonesByReference:
+ compliance += caldavxml.caldav_timezones_by_reference_compliance
else:
compliance = ()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130925/fb7588aa/attachment.html>
More information about the calendarserver-changes
mailing list