[CalendarServer-changes] [2158] CalendarServer/branches/release/CalendarServer-1.2-dev
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 18 14:40:46 PST 2008
Revision: 2158
http://trac.macosforge.org/projects/calendarserver/changeset/2158
Author: wsanchez at apple.com
Date: 2008-02-18 14:40:46 -0800 (Mon, 18 Feb 2008)
Log Message:
-----------
Undo r2154
Modified Paths:
--------------
CalendarServer/branches/release/CalendarServer-1.2-dev/conf/caldavd-test.plist
CalendarServer/branches/release/CalendarServer-1.2-dev/lib-patches/Twisted/twisted.web2.dav.test.test_prop.patch
CalendarServer/branches/release/CalendarServer-1.2-dev/twistedcaldav/method/__init__.py
Modified: CalendarServer/branches/release/CalendarServer-1.2-dev/conf/caldavd-test.plist
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.2-dev/conf/caldavd-test.plist 2008-02-18 22:04:41 UTC (rev 2157)
+++ CalendarServer/branches/release/CalendarServer-1.2-dev/conf/caldavd-test.plist 2008-02-18 22:40:46 UTC (rev 2158)
@@ -330,11 +330,7 @@
<key>EnableNotifications</key>
<true/>
- <!-- Private Events -->
- <key>EnablePrivateEvents</key>
- <true/>
-
<!--
Twisted
-->
Modified: CalendarServer/branches/release/CalendarServer-1.2-dev/lib-patches/Twisted/twisted.web2.dav.test.test_prop.patch
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.2-dev/lib-patches/Twisted/twisted.web2.dav.test.test_prop.patch 2008-02-18 22:04:41 UTC (rev 2157)
+++ CalendarServer/branches/release/CalendarServer-1.2-dev/lib-patches/Twisted/twisted.web2.dav.test.test_prop.patch 2008-02-18 22:40:46 UTC (rev 2158)
@@ -11,7 +11,7 @@
import random
-@@ -37,8 +39,13 @@
+@@ -37,8 +39,14 @@
from twisted.web2.dav.test.util import serialize
import twisted.web2.dav.test.util
@@ -22,48 +22,8 @@
+ (dav_namespace, "quota-used-bytes" ),
+)
++live_properties = [lookupElement(qname)() for qname in DAVResource.liveProperties if (qname[0] == dav_namespace) and qname not in dynamicLiveProperties]
+
#
# See whether dead properties are available
#
-@@ -49,6 +56,10 @@
- """
- PROPFIND, PROPPATCH requests
- """
-+
-+ def liveProperties(self):
-+ return [lookupElement(qname)() for qname in self.resource_class.liveProperties if (qname[0] == dav_namespace) and qname not in dynamicLiveProperties]
-+
- def test_PROPFIND_basic(self):
- """
- PROPFIND request
-@@ -85,7 +96,7 @@
- self.fail("PROPFIND failed (status %s) to locate live properties: %s"
- % (status.code, properties))
-
-- properties_to_find = [p.qname() for p in live_properties]
-+ properties_to_find = [p.qname() for p in self.liveProperties()]
-
- for property in properties:
- qname = property.qname()
-@@ -102,7 +113,7 @@
- else:
- self.fail("No response for URI /")
-
-- query = davxml.PropertyFind(davxml.PropertyContainer(*live_properties))
-+ query = davxml.PropertyFind(davxml.PropertyContainer(*self.liveProperties()))
-
- request = SimpleRequest(self.site, "PROPFIND", "/")
-
-@@ -146,9 +157,9 @@
- % (status.code, properties))
-
- if which.name == "allprop":
-- properties_to_find = [p.qname() for p in live_properties if not p.hidden]
-+ properties_to_find = [p.qname() for p in self.liveProperties() if not p.hidden]
- else:
-- properties_to_find = [p.qname() for p in live_properties]
-+ properties_to_find = [p.qname() for p in self.liveProperties()]
-
- for property in properties:
- qname = property.qname()
Modified: CalendarServer/branches/release/CalendarServer-1.2-dev/twistedcaldav/method/__init__.py
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.2-dev/twistedcaldav/method/__init__.py 2008-02-18 22:04:41 UTC (rev 2157)
+++ CalendarServer/branches/release/CalendarServer-1.2-dev/twistedcaldav/method/__init__.py 2008-02-18 22:40:46 UTC (rev 2158)
@@ -26,7 +26,6 @@
__all__ = [
"copymove",
"delete",
- "get",
"mkcalendar",
"mkcol",
"put",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080218/972b909f/attachment.html
More information about the calendarserver-changes
mailing list