mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
New & variously improved regression tests.
This commit is contained in:
parent
84a7ea1150
commit
d1f0a1cc76
@ -7,7 +7,7 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1599<
|
||||
bind_id: >1601<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/user2/<
|
||||
|
||||
@ -9,7 +9,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<error xmlns="DAV:">
|
||||
<can-overwrite/>A resource already exists at the destination.
|
||||
</error>
|
||||
bind_id: >1599<
|
||||
bind_id: >1601<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/user2/<
|
||||
|
||||
@ -58,6 +58,24 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>user4 addresses</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/63</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user4</segment>
|
||||
</parent>
|
||||
</parent-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/nz_holidays/</href>
|
||||
<propstat>
|
||||
@ -100,7 +118,7 @@
|
||||
<prop>
|
||||
<displayname>User 4 Outbox</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1597</href>
|
||||
<href>/caldav.php/.resources/1599</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -7,14 +7,14 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1599<
|
||||
bind_id: >1601<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
parent_container: >/user4/<
|
||||
ticket_id_length: >8<
|
||||
|
||||
bind_id: >1600<
|
||||
bind_id: >1602<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/user1/<
|
||||
|
||||
@ -7,21 +7,21 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1599<
|
||||
bind_id: >1601<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1600<
|
||||
bind_id: >1602<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1606<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/base/user1/<
|
||||
|
||||
@ -7,28 +7,28 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1599<
|
||||
bind_id: >1601<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1600<
|
||||
bind_id: >1602<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1606<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1605<
|
||||
bind_id: >1607<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
|
||||
@ -9,28 +9,28 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<error xmlns="DAV:">
|
||||
<can-overwrite/>A resource already exists at the destination.
|
||||
</error>
|
||||
bind_id: >1599<
|
||||
bind_id: >1601<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1600<
|
||||
bind_id: >1602<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1606<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1605<
|
||||
bind_id: >1607<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<prop>
|
||||
<displayname>A normal collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1602</href>
|
||||
<href>/caldav.php/.resources/1604</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -90,7 +90,7 @@
|
||||
<prop>
|
||||
<displayname>A sub collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1603</href>
|
||||
<href>/caldav.php/.resources/1605</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<prop>
|
||||
<displayname>A normal collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1602</href>
|
||||
<href>/caldav.php/.resources/1604</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -7,7 +7,7 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1599<
|
||||
bind_id: >1601<
|
||||
bind_owner: >1005<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
@ -19,7 +19,7 @@ target_collection: >11<
|
||||
target_resource_i: >NULL<
|
||||
ticket_owner: >1003<
|
||||
|
||||
bind_id: >1600<
|
||||
bind_id: >1602<
|
||||
bind_owner: >1005<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
@ -31,7 +31,7 @@ target_collection: >10<
|
||||
target_resource_i: >NULL<
|
||||
ticket_owner: >1002<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1606<
|
||||
bind_owner: >1005<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
@ -43,7 +43,7 @@ target_collection: >10<
|
||||
target_resource_i: >NULL<
|
||||
ticket_owner: >1002<
|
||||
|
||||
bind_id: >1605<
|
||||
bind_id: >1607<
|
||||
bind_owner: >1005<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
@ -55,7 +55,7 @@ target_collection: >11<
|
||||
target_resource_i: >NULL<
|
||||
ticket_owner: >1003<
|
||||
|
||||
bind_id: >1626<
|
||||
bind_id: >1628<
|
||||
bind_owner: >1<
|
||||
bound_source_id: >12<
|
||||
dav_displayname: >user3 home<
|
||||
|
||||
@ -6,14 +6,14 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1606<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/base/user1/<
|
||||
dav_owner_id: >1005<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1605<
|
||||
bind_id: >1607<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
|
||||
@ -2,7 +2,7 @@ HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Content-Length: 21618
|
||||
Content-Length: 21698
|
||||
Etag: "ae93907cb03bc025b8e733eb61f3a09e"
|
||||
Content-Type: text/calendar; charset="utf-8"
|
||||
|
||||
@ -108,13 +108,9 @@ END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
UID:20061101T073000Z-10468-1000-1-7@ubu
|
||||
DTSTAMP:20061101T073000Z
|
||||
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:20061
|
||||
101T100000
|
||||
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:2006110
|
||||
1T110000
|
||||
SUMMARY:A Meeting
|
||||
X-EVOLUTION-CALDAV-HREF:http://user1@mycaldav/caldav.php/user1/home/2006
|
||||
1101T073004Z.ics
|
||||
DTSTART;TZID=Pacific/Auckland:20061101T100000
|
||||
DTEND;TZID=Pacific/Auckland:20061101T110000
|
||||
SUMMARY:A Changed Meeting
|
||||
BEGIN:VALARM
|
||||
X-EVOLUTION-ALARM-UID:20061101T073000Z-10480-1000-1-5@ubu
|
||||
ACTION:DISPLAY
|
||||
@ -313,6 +309,16 @@ DTSTAMP:20091006T225808Z
|
||||
SEQUENCE:1
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
CREATED:20111004T153507Z
|
||||
UID:0544-gzip-PUT
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:In Central Europe, 2pm, Oct 5th for 1 hour
|
||||
DTSTART;TZID=Somewhere_in_Central_Europe:20111005T140000
|
||||
DTEND;TZID=Somewhere_in_Central_Europe:20111005T150000
|
||||
DTSTAMP:20111004T153507Z
|
||||
SEQUENCE:1
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DESCRIPTION:Have a party. All the best parties are monthly!
|
||||
UID:DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74
|
||||
DTSTAMP:20081024T220925Z
|
||||
@ -618,24 +624,6 @@ TZOFFSETTO:+1200
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
TZNAME:NZST
|
||||
DTSTART:19700315T030000
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+1200
|
||||
TZOFFSETTO:+1300
|
||||
TZNAME:NZDT
|
||||
DTSTART:19701004T020000
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/mozilla.org/20050126_1/Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
@ -706,4 +694,22 @@ TZNAME:GMT+01:00
|
||||
TZOFFSETTO:+0100
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Somewhere_in_Central_Europe
|
||||
X-MICROSOFT-CDO-TZID:4
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+0100
|
||||
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
|
||||
DTSTART:19810329T020000
|
||||
TZNAME:GMT+02:00
|
||||
TZOFFSETTO:+0200
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+0200
|
||||
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
||||
DTSTART:19961027T030000
|
||||
TZNAME:GMT+01:00
|
||||
TZOFFSETTO:+0100
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
END:VCALENDAR
|
||||
|
||||
@ -7,36 +7,36 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1599<
|
||||
bind_id: >1601<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1600<
|
||||
bind_id: >1602<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1606<
|
||||
bound_source_id: >10<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1605<
|
||||
bind_id: >1607<
|
||||
bound_source_id: >11<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1627<
|
||||
bound_source_id: >1602<
|
||||
bind_id: >1629<
|
||||
bound_source_id: >1604<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/boundbase/<
|
||||
length: >NULL<
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<prop>
|
||||
<displayname>A normal collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1602</href>
|
||||
<href>/caldav.php/.resources/1604</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -90,7 +90,7 @@
|
||||
<prop>
|
||||
<displayname>A sub collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1603</href>
|
||||
<href>/caldav.php/.resources/1605</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -112,7 +112,7 @@
|
||||
<prop>
|
||||
<displayname>newcalendar</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1616</href>
|
||||
<href>/caldav.php/.resources/1618</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<prop>
|
||||
<displayname>A normal collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1602</href>
|
||||
<href>/caldav.php/.resources/1604</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -99,7 +99,7 @@
|
||||
<prop>
|
||||
<displayname>A sub collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1603</href>
|
||||
<href>/caldav.php/.resources/1605</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -125,7 +125,7 @@
|
||||
<prop>
|
||||
<displayname>newcalendar</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1616</href>
|
||||
<href>/caldav.php/.resources/1618</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
setval
|
||||
--------
|
||||
1598
|
||||
1600
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
11
|
||||
12
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
|
||||
@ -2,7 +2,7 @@ HTTP/1.1 403 Forbidden
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Content-Length: 91
|
||||
Content-Length: 92
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
PUT on a collection is only allowed for text/calendar content against a calendar collection
|
||||
PUT on a collection is only allowed for text/vcard content against an addressbook collection
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
HTTP/1.1 301 Moved Permanently
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Location: /caldav.php/
|
||||
Location: http://mycaldav/caldav.php/
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
HTTP/1.1 301 Moved Permanently
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Location: /caldav.php/
|
||||
Location: http://mycaldav/caldav.php/
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
33
testing/tests/carddav/2025-PROPFIND.result
Normal file
33
testing/tests/carddav/2025-PROPFIND.result
Normal file
@ -0,0 +1,33 @@
|
||||
HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "c407a846b30b1e658173c72fab664629"
|
||||
Content-Length: 636
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:A="http://apache.org/dav/props/" xmlns:C="urn:ietf:params:xml:ns:carddav">
|
||||
<response>
|
||||
<href>/caldav.php/user3/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getlastmodified>Sun, 15 Mar 1998 12:00:00 GMT</getlastmodified>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C:addressbook/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getcontentlength/>
|
||||
<A:executable/>
|
||||
<checked-in/>
|
||||
<checked-out/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
</multistatus>
|
||||
25
testing/tests/carddav/2025-PROPFIND.test
Normal file
25
testing/tests/carddav/2025-PROPFIND.test
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# PROPFIND on addressbook resource
|
||||
#
|
||||
TYPE=PROPFIND
|
||||
URL=http://regression.host/caldav.php/user3/addresses/
|
||||
HEADER=User-Agent: cadaver/0.23.3 neon/0.29.6
|
||||
HEADER=Content-Type: application/xml
|
||||
HEADER=Depth: 1
|
||||
HEAD
|
||||
|
||||
AUTH=user3:user3
|
||||
|
||||
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<propfind xmlns="DAV:"><prop>
|
||||
<getcontentlength xmlns="DAV:"/>
|
||||
<getlastmodified xmlns="DAV:"/>
|
||||
<executable xmlns="http://apache.org/dav/props/"/>
|
||||
<resourcetype xmlns="DAV:"/>
|
||||
<checked-in xmlns="DAV:"/>
|
||||
<checked-out xmlns="DAV:"/>
|
||||
</prop></propfind>
|
||||
ENDDATA
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
setval
|
||||
--------
|
||||
1627
|
||||
1629
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
11
|
||||
12
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "f7655907e64525c7ecaa409f800e8f8b"
|
||||
Content-Length: 1805
|
||||
ETag: "6224e345c323da0dfc00689c21171119"
|
||||
Content-Length: 2254
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="urn:ietf:params:xml:ns:carddav" xmlns:C2="http://calendarserver.org/ns/">
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
@ -46,6 +46,25 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:addressbook/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getcontentlength/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/calendar-proxy-read/</href>
|
||||
<propstat>
|
||||
@ -53,7 +72,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-read/>
|
||||
<C2:calendar-proxy-read/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
@ -72,7 +91,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-write/>
|
||||
<C2:calendar-proxy-write/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "297a698b8d8c51217f0de910462dc6d8"
|
||||
Content-Length: 2206
|
||||
ETag: "966d4f7d769690fca393be5ba814e8a2"
|
||||
Content-Length: 2655
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="urn:ietf:params:xml:ns:carddav" xmlns:C2="http://calendarserver.org/ns/">
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
@ -46,6 +46,25 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:addressbook/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getcontentlength/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
@ -72,7 +91,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-read/>
|
||||
<C2:calendar-proxy-read/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
@ -91,7 +110,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-write/>
|
||||
<C2:calendar-proxy-write/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
|
||||
@ -6,4 +6,46 @@ HEADER=If-None-Match: *
|
||||
HEADER=User-Agent: Evolution/1.8.1
|
||||
HEADER=Content-Type: text/calendar
|
||||
HEAD
|
||||
DATA=20061101T073004Z.ics
|
||||
|
||||
BEGINDATA
|
||||
BEGIN:VCALENDAR
|
||||
CALSCALE:GREGORIAN
|
||||
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID:20061101T073000Z-10468-1000-1-7@ubu
|
||||
DTSTAMP:20061101T073000Z
|
||||
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T100000
|
||||
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T110000
|
||||
SUMMARY:A Meeting
|
||||
X-EVOLUTION-CALDAV-HREF:http:
|
||||
//user1@mycaldav/caldav.php/user1/home/20061101T073004Z.ics
|
||||
BEGIN:VALARM
|
||||
X-EVOLUTION-ALARM-UID:20061101T073000Z-10480-1000-1-5@ubu
|
||||
ACTION:DISPLAY
|
||||
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
|
||||
DESCRIPTION:A Meeting
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
TZNAME:NZST
|
||||
DTSTART:19700315T030000
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+1200
|
||||
TZOFFSETTO:+1300
|
||||
TZNAME:NZDT
|
||||
DTSTART:19701004T020000
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
END:VCALENDAR
|
||||
ENDDATA
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "929672a83aec9ab7d7b4a85c61814772"
|
||||
Content-Length: 2161
|
||||
ETag: "fd17acf5fe9ad6e6612323ef680b3d10"
|
||||
Content-Length: 2601
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="urn:ietf:params:xml:ns:carddav" xmlns:C2="http://calendarserver.org/ns/">
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
@ -46,6 +46,25 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:addressbook/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
@ -72,7 +91,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-read/>
|
||||
<C2:calendar-proxy-read/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
@ -91,7 +110,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<getcontenttype>httpd/unix-directory</getcontenttype>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-write/>
|
||||
<C2:calendar-proxy-write/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
|
||||
29
testing/tests/regression-suite/0403-Cadaver-LOCK-1.result
Normal file
29
testing/tests/regression-suite/0403-Cadaver-LOCK-1.result
Normal file
@ -0,0 +1,29 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Lock-Token: <opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>
|
||||
Content-Length: 412
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<prop xmlns="DAV:">
|
||||
<lockdiscovery>
|
||||
<activelock>
|
||||
<locktype>
|
||||
<write/>
|
||||
</locktype>
|
||||
<lockscope>
|
||||
<exclusive/>
|
||||
</lockscope>
|
||||
<depth>0</depth>
|
||||
<owner>
|
||||
<href/>
|
||||
</owner>
|
||||
<timeout>Second-30</timeout>
|
||||
<locktoken>
|
||||
<href>opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</href>
|
||||
</locktoken>
|
||||
</activelock>
|
||||
</lockdiscovery>
|
||||
</prop>
|
||||
15
testing/tests/regression-suite/0403-Cadaver-LOCK-1.test
Normal file
15
testing/tests/regression-suite/0403-Cadaver-LOCK-1.test
Normal file
@ -0,0 +1,15 @@
|
||||
#
|
||||
# Basic testing with Cadaver DAV client
|
||||
#
|
||||
TYPE=LOCK
|
||||
URL=http://mycaldav/caldav.php/user1/home/20061101T073004Z.ics
|
||||
HEADER=User-Agent: cadaver/0.23.3 neon/0.29.6
|
||||
HEADER=Depth: 0
|
||||
HEADER=Content-Type: application/xml
|
||||
HEAD
|
||||
|
||||
BEGINDATA
|
||||
<lockinfo xmlns='DAV:'>
|
||||
<lockscope><exclusive/></lockscope>
|
||||
<locktype><write/></locktype></lockinfo>
|
||||
ENDDATA
|
||||
@ -1,3 +1,17 @@
|
||||
#
|
||||
# Doing a PUT with cadaver
|
||||
#
|
||||
TYPE=PUT
|
||||
URL=http://regression.host/caldav.php/user1/home/20061101T073004Z.ics
|
||||
|
||||
GETSQL=locktoken
|
||||
SELECT opaquelocktoken FROM locks WHERE dav_name = '/user1/home/20061101T073004Z.ics'
|
||||
ENDSQL
|
||||
|
||||
HEADER=User-Agent: cadaver/0.22.3 neon/0.25.5
|
||||
HEADER=If: <http://dev.davical.org:1080/caldav.php/user1/home/20061101T073004Z.ics> (<opaquelocktoken:##locktoken##>)
|
||||
|
||||
BEGINDATA
|
||||
BEGIN:VCALENDAR
|
||||
CALSCALE:GREGORIAN
|
||||
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
|
||||
@ -5,13 +19,9 @@ VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID:20061101T073000Z-10468-1000-1-7@ubu
|
||||
DTSTAMP:20061101T073000Z
|
||||
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T100000
|
||||
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T110000
|
||||
SUMMARY:A Meeting
|
||||
X-EVOLUTION-CALDAV-HREF:http:
|
||||
//user1@mycaldav/caldav.php/user1/home/20061101T073004Z.ics
|
||||
DTSTART;TZID=Pacific/Auckland:20061101T100000
|
||||
DTEND;TZID=Pacific/Auckland:20061101T110000
|
||||
SUMMARY:A Changed Meeting
|
||||
BEGIN:VALARM
|
||||
X-EVOLUTION-ALARM-UID:20061101T073000Z-10480-1000-1-5@ubu
|
||||
ACTION:DISPLAY
|
||||
@ -20,8 +30,7 @@ DESCRIPTION:A Meeting
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
@ -38,3 +47,4 @@ RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
END:VCALENDAR
|
||||
ENDDATA
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "3d57f5e85f8e7d0fe3398eeace49ce1a"
|
||||
Content-Length: 3181
|
||||
ETag: "e3f59c55883b61b4390fd7ffbe74644b"
|
||||
Content-Length: 3649
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/" xmlns:C1="http://calendarserver.org/ns/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/" xmlns:C1="urn:ietf:params:xml:ns:carddav" xmlns:C2="http://calendarserver.org/ns/">
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
@ -48,6 +48,26 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>user1 addresses</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:addressbook/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:calendar-description/>
|
||||
<A:calendar-color/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
@ -115,7 +135,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<displayname>/user1/calendar-proxy-read/</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-read/>
|
||||
<C2:calendar-proxy-read/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
@ -135,7 +155,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<displayname>/user1/calendar-proxy-write/</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-write/>
|
||||
<C2:calendar-proxy-write/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
|
||||
@ -2,7 +2,7 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "c30ae7a73f7f3c95895032994b51554d"
|
||||
ETag: "e76f1252cff440810b604e3903cc364b"
|
||||
Content-Length: 675
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
@ -13,7 +13,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>user1 home</displayname>
|
||||
<C:getctag>"c4b202f2177d8839c95d715f26cf62da"</C:getctag>
|
||||
<C:getctag>"86d97f6156e59bbf1b1514e804a6cc1c"</C:getctag>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar/>
|
||||
|
||||
@ -2,7 +2,7 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "c0dc924dbe52600ea776c98136f289b0"
|
||||
ETag: "198df454dbf27f8311378759dfeaee14"
|
||||
Content-Length: 4155
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
@ -40,7 +40,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
<getetag>"bcc402382688cb3e8e57379c757dbcb0"</getetag>
|
||||
<resourcetype/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "b11fc11a4033759ef4a7694f058b95cc"
|
||||
Content-Length: 3932
|
||||
ETag: "8ae10873cb1929fd0e66571128cf01ea"
|
||||
Content-Length: 4594
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/" xmlns:C2="urn:ietf:params:xml:ns:carddav">
|
||||
<response>
|
||||
<href>/caldav.php/user2/</href>
|
||||
<propstat>
|
||||
@ -58,6 +58,31 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user2/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"7e58d63b60197ceb55a1c487989a3720"</C:getctag>
|
||||
<displayname>user2 addresses</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C2:addressbook/>
|
||||
</resourcetype>
|
||||
<C1:calendar-free-busy-set>
|
||||
<href>/caldav.php/user2/home/</href>
|
||||
</C1:calendar-free-busy-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C1:calendar-description/>
|
||||
<A:calendar-color/>
|
||||
<A:calendar-order/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user2/.in/</href>
|
||||
<propstat>
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "3ff13339128a73ed5d25308b678c3bc5"
|
||||
Content-Length: 4847
|
||||
ETag: "45a0a8b922545d0793e9b0b9d10726fe"
|
||||
Content-Length: 6054
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav">
|
||||
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav" xmlns:C2="urn:ietf:params:xml:ns:carddav">
|
||||
<response>
|
||||
<href>/caldav.php/manager1/</href>
|
||||
<propstat>
|
||||
@ -82,6 +82,43 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/manager1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"c240642ddef994358c96da82c0361a58"</C:getctag>
|
||||
<displayname>manager1 addresses</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C2:addressbook/>
|
||||
</resourcetype>
|
||||
<group-membership>
|
||||
<href>/caldav.php/assistant1/</href>
|
||||
<href>/caldav.php/teamclient1/</href>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<href>/caldav.php/user1/calendar-proxy-read/</href>
|
||||
<href>/caldav.php/assistant1/calendar-proxy-read/</href>
|
||||
<href>/caldav.php/resource1/calendar-proxy-read/</href>
|
||||
<href>/caldav.php/resource2/calendar-proxy-read/</href>
|
||||
</group-membership>
|
||||
<C:calendar-proxy-read-for>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<href>/caldav.php/assistant1/</href>
|
||||
<href>/caldav.php/resource1/</href>
|
||||
<href>/caldav.php/resource2/</href>
|
||||
</C:calendar-proxy-read-for>
|
||||
<C:calendar-proxy-write-for/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C1:calendar-description/>
|
||||
<group-member-set/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/manager1/calendar-proxy-read/</href>
|
||||
<propstat>
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "e7cd1ee6cd4eb1e0e2aaa1d2b5a0bfb1"
|
||||
Content-Length: 15648
|
||||
ETag: "9e402a9adb641a6ce4891a105f7963bd"
|
||||
Content-Length: 17404
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/" xmlns:C2="urn:ietf:params:xml:ns:carddav">
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
@ -161,6 +161,78 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"24c9e15e52afc47c225b757e7bee1f9d"</C:getctag>
|
||||
<displayname>user1 addresses</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C2:addressbook/>
|
||||
</resourcetype>
|
||||
<C1:calendar-free-busy-set>
|
||||
<href>/caldav.php/user1/home/</href>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<href>/caldav.php/user1/6E20BB7C-EFD9-4F0F-9BDC-5335E04D47E0/</href>
|
||||
</C1:calendar-free-busy-set>
|
||||
<C1:schedule-default-calendar-URL>
|
||||
<href>/user1/home/</href>
|
||||
</C1:schedule-default-calendar-URL>
|
||||
<current-user-privilege-set>
|
||||
<privilege>
|
||||
<all/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<unlock/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read-acl/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read-current-user-privilege-set/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-acl/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-properties/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-content/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<bind/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<unbind/>
|
||||
</privilege>
|
||||
</current-user-privilege-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:xmpp-server/>
|
||||
<C:xmpp-uri/>
|
||||
<C1:calendar-description/>
|
||||
<A:calendar-color/>
|
||||
<A:calendar-order/>
|
||||
<C1:supported-calendar-component-set/>
|
||||
<C1:schedule-calendar-transp/>
|
||||
<quota-available-bytes/>
|
||||
<quota-used-bytes/>
|
||||
<C1:calendar-timezone/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
|
||||
@ -2,7 +2,7 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "6466df744e5f263784fd0e85915683b6"
|
||||
ETag: "c932a7b77636c45a6395fb906c9ff80c"
|
||||
Content-Length: 4421
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
@ -40,7 +40,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
<getetag>"bcc402382688cb3e8e57379c757dbcb0"</getetag>
|
||||
<resourcetype/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
|
||||
BIN
testing/tests/regression-suite/0544-gzip-PUT.data
Normal file
BIN
testing/tests/regression-suite/0544-gzip-PUT.data
Normal file
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
HTTP/1.1 201 Created
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "6ddd18264a9d40c1c9d37a005eeb7e4f"
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
14
testing/tests/regression-suite/0544-iCLoud-PUT-encoded.test
Normal file
14
testing/tests/regression-suite/0544-iCLoud-PUT-encoded.test
Normal file
@ -0,0 +1,14 @@
|
||||
#
|
||||
# Testing with a process similar to iCal4
|
||||
#
|
||||
TYPE=PUT
|
||||
URL=http://regression.host/caldav.php/user1/home/0544-gzip-PUT.ics
|
||||
HEAD
|
||||
|
||||
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
|
||||
HEADER=Content-Type: text/calendar
|
||||
HEADER=Content-Encoding: gzip
|
||||
|
||||
#
|
||||
#
|
||||
DATA=0544-gzip-PUT
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "ffa85945cfea407705b4af67ba7f4259"
|
||||
Content-Length: 11513
|
||||
ETag: "2bac61d8cc65cae86757a7dd00eef4e2"
|
||||
Content-Length: 12754
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/" xmlns:A="http://apple.com/ns/ical/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/" xmlns:A="http://apple.com/ns/ical/" xmlns:C2="urn:ietf:params:xml:ns:carddav">
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
@ -70,7 +70,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>user1 home</displayname>
|
||||
<C1:getctag>"86a1e7300c8b748329ad3617974ad08a"</C1:getctag>
|
||||
<C1:getctag>"a707eb83606863b8f1f30274b6b1a5b8"</C1:getctag>
|
||||
<A:calendar-color>#0252D4FF</A:calendar-color>
|
||||
<C:supported-calendar-component-set>
|
||||
<C:comp name="VEVENT"/>
|
||||
@ -131,6 +131,63 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>user1 addresses</displayname>
|
||||
<C1:getctag>"24c9e15e52afc47c225b757e7bee1f9d"</C1:getctag>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C2:addressbook/>
|
||||
</resourcetype>
|
||||
<current-user-privilege-set>
|
||||
<privilege>
|
||||
<all/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<unlock/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read-acl/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read-current-user-privilege-set/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-acl/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-properties/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-content/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<bind/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<unbind/>
|
||||
</privilege>
|
||||
</current-user-privilege-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:calendar-description/>
|
||||
<A:calendar-color/>
|
||||
<C:supported-calendar-component-set/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "ffa85945cfea407705b4af67ba7f4259"
|
||||
Content-Length: 11513
|
||||
ETag: "2bac61d8cc65cae86757a7dd00eef4e2"
|
||||
Content-Length: 12754
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/" xmlns:A="http://apple.com/ns/ical/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/" xmlns:A="http://apple.com/ns/ical/" xmlns:C2="urn:ietf:params:xml:ns:carddav">
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
@ -70,7 +70,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>user1 home</displayname>
|
||||
<C1:getctag>"86a1e7300c8b748329ad3617974ad08a"</C1:getctag>
|
||||
<C1:getctag>"a707eb83606863b8f1f30274b6b1a5b8"</C1:getctag>
|
||||
<A:calendar-color>#0252D4FF</A:calendar-color>
|
||||
<C:supported-calendar-component-set>
|
||||
<C:comp name="VEVENT"/>
|
||||
@ -131,6 +131,63 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>user1 addresses</displayname>
|
||||
<C1:getctag>"24c9e15e52afc47c225b757e7bee1f9d"</C1:getctag>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C2:addressbook/>
|
||||
</resourcetype>
|
||||
<current-user-privilege-set>
|
||||
<privilege>
|
||||
<all/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<unlock/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read-acl/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<read-current-user-privilege-set/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-acl/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-properties/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<write-content/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<bind/>
|
||||
</privilege>
|
||||
<privilege>
|
||||
<unbind/>
|
||||
</privilege>
|
||||
</current-user-privilege-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:calendar-description/>
|
||||
<A:calendar-color/>
|
||||
<C:supported-calendar-component-set/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
|
||||
@ -2,8 +2,8 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "571aa22469ee7442c32ba35664da10de"
|
||||
Content-Length: 880
|
||||
ETag: "9c90079c6ad9a199bbf4a3b36eb92246"
|
||||
Content-Length: 1123
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -38,4 +38,14 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0544-gzip-PUT.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"6ddd18264a9d40c1c9d37a005eeb7e4f"</getetag>
|
||||
<resourcetype/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
</multistatus>
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "d98f282a5121894cde0b43b6ecf143df"
|
||||
Content-Length: 4285
|
||||
ETag: "4b62114cda76b7d0b7e18ee55488af71"
|
||||
Content-Length: 4741
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="http://calendarserver.org/ns/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="urn:ietf:params:xml:ns:carddav" xmlns:C2="http://calendarserver.org/ns/">
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
@ -47,6 +47,25 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>user1 addresses</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:addressbook/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:supported-calendar-component-set/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
@ -146,7 +165,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<displayname>/user1/calendar-proxy-read/</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-read/>
|
||||
<C2:calendar-proxy-read/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
@ -165,7 +184,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<displayname>/user1/calendar-proxy-write/</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C1:calendar-proxy-write/>
|
||||
<C2:calendar-proxy-write/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
|
||||
@ -2,8 +2,8 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "4455c8df8e5a0572ba52dccb00843cfe"
|
||||
Content-Length: 4030
|
||||
ETag: "f3c2aff3ffaca5f51dea5f2aa5eb194a"
|
||||
Content-Length: 4253
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -21,7 +21,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
<getetag>"bcc402382688cb3e8e57379c757dbcb0"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
@ -152,5 +152,14 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0544-gzip-PUT.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"6ddd18264a9d40c1c9d37a005eeb7e4f"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<sync-token>data:,2</sync-token>
|
||||
</multistatus>
|
||||
|
||||
@ -2,12 +2,21 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "a4ec15e128c8e06e81c57af754448f81"
|
||||
Content-Length: 3786
|
||||
ETag: "5b017196880ac06e0b2b5579ba6e5153"
|
||||
Content-Length: 4009
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:">
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0544-gzip-PUT.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"6ddd18264a9d40c1c9d37a005eeb7e4f"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0575d895-a006-4ed8-9be6-0d1b6b6b1f96.ics</href>
|
||||
<propstat>
|
||||
@ -30,7 +39,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
<getetag>"bcc402382688cb3e8e57379c757dbcb0"</getetag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
|
||||
@ -2,8 +2,8 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "12c556718c27de34471b0b9f333610fc"
|
||||
Content-Length: 15922
|
||||
ETag: "98b7c2157174c7fe61cb19bd4807456c"
|
||||
Content-Length: 17006
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -404,6 +404,50 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0544-gzip-PUT.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:calendar-home-set>
|
||||
<href>/caldav.php/user1/</href>
|
||||
</C:calendar-home-set>
|
||||
<C:calendar-user-address-set>
|
||||
<href>mailto:user1@example.net</href>
|
||||
<href>/caldav.php/user1/</href>
|
||||
</C:calendar-user-address-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<A:dropbox-home-URL/>
|
||||
<A:notifications-URL/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:calendar-home-set>
|
||||
<href>/caldav.php/user1/</href>
|
||||
</C:calendar-home-set>
|
||||
<C:calendar-user-address-set>
|
||||
<href>mailto:user1@example.net</href>
|
||||
<href>/caldav.php/user1/</href>
|
||||
</C:calendar-user-address-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<A:dropbox-home-URL/>
|
||||
<A:notifications-URL/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
|
||||
@ -2,8 +2,8 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "2c82262a1c8f2caf0dccf46188970a65"
|
||||
Content-Length: 5036
|
||||
ETag: "cb882ded16756e36bbd614591982f2e7"
|
||||
Content-Length: 5572
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -52,6 +52,28 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:calendar-home-set>
|
||||
<href>/caldav.php/user1/</href>
|
||||
</C:calendar-home-set>
|
||||
<C:calendar-user-address-set>
|
||||
<href>mailto:user1@example.net</href>
|
||||
<href>/caldav.php/user1/</href>
|
||||
</C:calendar-user-address-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<A:dropbox-home-URL/>
|
||||
<A:notifications-URL/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
|
||||
@ -3,7 +3,7 @@ Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Lock-Token: <opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>
|
||||
Content-Length: 460
|
||||
Content-Length: 456
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -20,7 +20,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<owner>
|
||||
<href>http://andrew.mcmillan.net.nz/node/5/</href>
|
||||
</owner>
|
||||
<timeout>Second-8640000</timeout>
|
||||
<timeout>Second-300</timeout>
|
||||
<locktoken>
|
||||
<href>opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</href>
|
||||
</locktoken>
|
||||
|
||||
@ -2,7 +2,7 @@ HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Content-Length: 460
|
||||
Content-Length: 456
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -19,7 +19,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<owner>
|
||||
<href>http://andrew.mcmillan.net.nz/node/5/</href>
|
||||
</owner>
|
||||
<timeout>Second-8640000</timeout>
|
||||
<timeout>Second-300</timeout>
|
||||
<locktoken>
|
||||
<href>opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</href>
|
||||
</locktoken>
|
||||
|
||||
@ -3,7 +3,7 @@ Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Lock-Token: <opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>
|
||||
Content-Length: 460
|
||||
Content-Length: 456
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -20,7 +20,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<owner>
|
||||
<href>http://andrew.mcmillan.net.nz/node/5/</href>
|
||||
</owner>
|
||||
<timeout>Second-8640000</timeout>
|
||||
<timeout>Second-300</timeout>
|
||||
<locktoken>
|
||||
<href>opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</href>
|
||||
</locktoken>
|
||||
|
||||
@ -2,7 +2,7 @@ HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Content-Length: 460
|
||||
Content-Length: 456
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -19,7 +19,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<owner>
|
||||
<href>http://andrew.mcmillan.net.nz/node/5/</href>
|
||||
</owner>
|
||||
<timeout>Second-8640000</timeout>
|
||||
<timeout>Second-300</timeout>
|
||||
<locktoken>
|
||||
<href>opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</href>
|
||||
</locktoken>
|
||||
|
||||
@ -78,11 +78,11 @@
|
||||
<propstat>
|
||||
<prop>
|
||||
<creationdate>20061031T183000Z</creationdate>
|
||||
<displayname>A Meeting</displayname>
|
||||
<displayname>A Changed Meeting</displayname>
|
||||
<getcontentlanguage/>
|
||||
<getcontentlength>1059</getcontentlength>
|
||||
<getcontentlength>829</getcontentlength>
|
||||
<getcontenttype>text/calendar</getcontenttype>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
<getetag>"bcc402382688cb3e8e57379c757dbcb0"</getetag>
|
||||
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
||||
<resourcetype/>
|
||||
<supportedlock>
|
||||
@ -598,6 +598,41 @@
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0544-gzip-PUT.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<creationdate>20111004T023507Z</creationdate>
|
||||
<displayname>In Central Europe, 2pm, Oct 5th for 1 hour</displayname>
|
||||
<getcontentlanguage/>
|
||||
<getcontentlength>761</getcontentlength>
|
||||
<getcontenttype>text/calendar</getcontenttype>
|
||||
<getetag>"6ddd18264a9d40c1c9d37a005eeb7e4f"</getetag>
|
||||
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
||||
<resourcetype/>
|
||||
<supportedlock>
|
||||
<lockentry>
|
||||
<lockscope>
|
||||
<exclusive/>
|
||||
</lockscope>
|
||||
<locktype>
|
||||
<write/>
|
||||
</locktype>
|
||||
</lockentry>
|
||||
</supportedlock>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<lockdiscovery/>
|
||||
<source/>
|
||||
<checked-in/>
|
||||
<checked-out/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics</href>
|
||||
<propstat>
|
||||
|
||||
@ -3,7 +3,7 @@ Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Lock-Token: <opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>
|
||||
Content-Length: 460
|
||||
Content-Length: 456
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -20,7 +20,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<owner>
|
||||
<href>http://andrew.mcmillan.net.nz/node/5/</href>
|
||||
</owner>
|
||||
<timeout>Second-8640000</timeout>
|
||||
<timeout>Second-300</timeout>
|
||||
<locktoken>
|
||||
<href>opaquelocktoken:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</href>
|
||||
</locktoken>
|
||||
|
||||
@ -36,19 +36,19 @@ Content-Type: text/xml; charset="utf-8"
|
||||
</response>
|
||||
</multistatus>
|
||||
|
||||
changed_last_60se: >1<
|
||||
changed_recently: >1<
|
||||
dav_displayname: >user1 home<
|
||||
is_calendar: >1<
|
||||
resourcetypes: ><DAV::collection/><urn:ietf:params:xml:ns:caldav:calendar/><
|
||||
|
||||
changed_by: >10<
|
||||
changed_last_30se: >1<
|
||||
changed_recently: >1<
|
||||
dav_name: >/user1/home/<
|
||||
property_name: >http://apple.com/ns/ical/:calendar-color<
|
||||
property_value: >#0252D4FF<
|
||||
|
||||
changed_by: >10<
|
||||
changed_last_30se: >1<
|
||||
changed_recently: >1<
|
||||
dav_name: >/user1/home/<
|
||||
property_name: >http://apple.com/ns/ical/:calendar-order<
|
||||
property_value: >1<
|
||||
|
||||
@ -30,13 +30,13 @@ ENDDATA
|
||||
|
||||
QUERY
|
||||
SELECT dav_displayname, is_calendar, resourcetypes,
|
||||
modified > (current_timestamp - '60 seconds'::interval) AS changed_last_60secs
|
||||
modified > (current_timestamp - '120 seconds'::interval) AS changed_recently
|
||||
FROM collection WHERE dav_name = '/user1/home/' ORDER BY collection_id
|
||||
ENDQUERY
|
||||
|
||||
QUERY
|
||||
SELECT dav_name, property_name, property_value, changed_by,
|
||||
changed_on > (current_timestamp - '60 seconds'::interval) AS changed_last_30secs
|
||||
changed_on > (current_timestamp - '120 seconds'::interval) AS changed_recently
|
||||
FROM property
|
||||
WHERE dav_name = '/user1/home/'
|
||||
ORDER BY dav_name, property_name
|
||||
|
||||
@ -2,8 +2,8 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "26a689e219dfe12c47d9bdf005cee099"
|
||||
Content-Length: 1447
|
||||
ETag: "680074e03fc52481b3dfabaa48d555a7"
|
||||
Content-Length: 1217
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -12,7 +12,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
<getetag>"bcc402382688cb3e8e57379c757dbcb0"</getetag>
|
||||
<C:calendar-data>BEGIN:VCALENDAR
|
||||
CALSCALE:GREGORIAN
|
||||
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
|
||||
@ -20,13 +20,9 @@ VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID:20061101T073000Z-10468-1000-1-7@ubu
|
||||
DTSTAMP:20061101T073000Z
|
||||
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T100000
|
||||
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T110000
|
||||
SUMMARY:A Meeting
|
||||
X-EVOLUTION-CALDAV-HREF:http:
|
||||
//user1@mycaldav/caldav.php/user1/home/20061101T073004Z.ics
|
||||
DTSTART;TZID=Pacific/Auckland:20061101T100000
|
||||
DTEND;TZID=Pacific/Auckland:20061101T110000
|
||||
SUMMARY:A Changed Meeting
|
||||
BEGIN:VALARM
|
||||
X-EVOLUTION-ALARM-UID:20061101T073000Z-10480-1000-1-5@ubu
|
||||
ACTION:DISPLAY
|
||||
@ -35,8 +31,7 @@ DESCRIPTION:A Meeting
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
|
||||
@ -2,8 +2,8 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "8a4795998583adf6b23d24f4a9e73448"
|
||||
Content-Length: 5019
|
||||
ETag: "474324273ec7b8c0d7e8b090e7ddcb42"
|
||||
Content-Length: 4789
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -55,7 +55,7 @@ END:VCALENDAR
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
<getetag>"bcc402382688cb3e8e57379c757dbcb0"</getetag>
|
||||
<C:calendar-data>BEGIN:VCALENDAR
|
||||
CALSCALE:GREGORIAN
|
||||
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
|
||||
@ -63,13 +63,9 @@ VERSION:2.0
|
||||
BEGIN:VEVENT
|
||||
UID:20061101T073000Z-10468-1000-1-7@ubu
|
||||
DTSTAMP:20061101T073000Z
|
||||
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T100000
|
||||
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T110000
|
||||
SUMMARY:A Meeting
|
||||
X-EVOLUTION-CALDAV-HREF:http:
|
||||
//user1@mycaldav/caldav.php/user1/home/20061101T073004Z.ics
|
||||
DTSTART;TZID=Pacific/Auckland:20061101T100000
|
||||
DTEND;TZID=Pacific/Auckland:20061101T110000
|
||||
SUMMARY:A Changed Meeting
|
||||
BEGIN:VALARM
|
||||
X-EVOLUTION-ALARM-UID:20061101T073000Z-10480-1000-1-5@ubu
|
||||
ACTION:DISPLAY
|
||||
@ -78,8 +74,7 @@ DESCRIPTION:A Meeting
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
|
||||
@ -2,7 +2,7 @@ HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Content-Length: 10383
|
||||
Content-Length: 10461
|
||||
Etag: "855cbfab1940e342d7986c207bf3f973"
|
||||
Content-Type: text/calendar; charset="utf-8"
|
||||
|
||||
@ -23,13 +23,9 @@ END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
UID:20061101T073000Z-10468-1000-1-7@ubu
|
||||
DTSTAMP:20061101T073000Z
|
||||
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:20061
|
||||
101T100000
|
||||
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:2006110
|
||||
1T110000
|
||||
SUMMARY:A Meeting
|
||||
X-EVOLUTION-CALDAV-HREF:http://user1@mycaldav/caldav.php/user1/home/2006
|
||||
1101T073004Z.ics
|
||||
DTSTART;TZID=Pacific/Auckland:20061101T100000
|
||||
DTEND;TZID=Pacific/Auckland:20061101T110000
|
||||
SUMMARY:A Changed Meeting
|
||||
BEGIN:VALARM
|
||||
X-EVOLUTION-ALARM-UID:20061101T073000Z-10480-1000-1-5@ubu
|
||||
ACTION:DISPLAY
|
||||
@ -228,6 +224,16 @@ DTSTAMP:20091006T225808Z
|
||||
SEQUENCE:1
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
CREATED:20111004T153507Z
|
||||
UID:0544-gzip-PUT
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:In Central Europe, 2pm, Oct 5th for 1 hour
|
||||
DTSTART;TZID=Somewhere_in_Central_Europe:20111005T140000
|
||||
DTEND;TZID=Somewhere_in_Central_Europe:20111005T150000
|
||||
DTSTAMP:20111004T153507Z
|
||||
SEQUENCE:1
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DESCRIPTION:Have a party. All the best parties are monthly!
|
||||
UID:DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74
|
||||
DTSTAMP:20081024T220925Z
|
||||
@ -266,8 +272,7 @@ TZOFFSETTO:+1200
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
@ -338,23 +343,6 @@ RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
DTSTART:20000319T030000
|
||||
RRULE:FREQ=YEARLY;BYDAY=3SU;BYMONTH=3
|
||||
TZNAME:Pacific/Auckland
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
DTSTART:20001001T020000
|
||||
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
|
||||
TZNAME:Pacific/Auckland
|
||||
TZOFFSETFROM:+1200
|
||||
TZOFFSETTO:+1300
|
||||
END:DAYLIGHT
|
||||
END:VTIMEZONE
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Europe/Prague
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+0100
|
||||
@ -371,4 +359,22 @@ TZNAME:GMT+01:00
|
||||
TZOFFSETTO:+0100
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Somewhere_in_Central_Europe
|
||||
X-MICROSOFT-CDO-TZID:4
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+0100
|
||||
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
|
||||
DTSTART:19810329T020000
|
||||
TZNAME:GMT+02:00
|
||||
TZOFFSETTO:+0200
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+0200
|
||||
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
||||
DTSTART:19961027T030000
|
||||
TZNAME:GMT+01:00
|
||||
TZOFFSETTO:+0100
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
END:VCALENDAR
|
||||
|
||||
@ -16,7 +16,7 @@ Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
attendees: >40<
|
||||
|
||||
collection_id: >1564<
|
||||
collection_id: >1565<
|
||||
dav_displayname: >anotherone<
|
||||
dav_etag: >f9a8ee6b41d9b02aa5176e6da349121a<
|
||||
dav_name: >/user1/anotherone/<
|
||||
|
||||
@ -2,12 +2,12 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "dc48f1e4638af53b05dd0f29f1906989"
|
||||
Content-Length: 3827
|
||||
ETag: "f640afc35eb1b3892d84512c69748944"
|
||||
Content-Length: 4581
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/">
|
||||
<multistatus xmlns="DAV:" xmlns:C="http://calendarserver.org/ns/" xmlns:C1="urn:ietf:params:xml:ns:caldav" xmlns:A="http://apple.com/ns/ical/" xmlns:C2="urn:ietf:params:xml:ns:carddav">
|
||||
<response>
|
||||
<href>/caldav.php/User%20Six/</href>
|
||||
<propstat>
|
||||
@ -60,6 +60,32 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/User%20Six/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"28e06afe6d538a7e84518750357ef98d"</C:getctag>
|
||||
<displayname>User Six addresses</displayname>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C2:addressbook/>
|
||||
</resourcetype>
|
||||
<C1:calendar-free-busy-set>
|
||||
<href>/caldav.php/User%20Six/home/</href>
|
||||
<href>/caldav.php/User%20Six/DEADBEEF-EFD9-4F0F-9BDC-5335E04D47E0/</href>
|
||||
</C1:calendar-free-busy-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C1:calendar-description/>
|
||||
<A:calendar-color/>
|
||||
<A:calendar-order/>
|
||||
</prop>
|
||||
<status>HTTP/1.1 404 Not Found</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/User%20Six/DEADBEEF-EFD9-4F0F-9BDC-5335E04D47E0/</href>
|
||||
<propstat>
|
||||
|
||||
@ -6,9 +6,9 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
cd_collection: >1564<
|
||||
cd_collection: >1565<
|
||||
cd_user_no: >10<
|
||||
ci_collection: >1564<
|
||||
ci_collection: >1565<
|
||||
ci_user_no: >10<
|
||||
data_name: >/user1/anotherone/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
item_name: >/user1/anotherone/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
|
||||
@ -2,8 +2,8 @@ HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
Etag: "c3658901fd4689d4a1e1d6f08601ef4f"
|
||||
Content-Length: 826
|
||||
Etag: "bcc402382688cb3e8e57379c757dbcb0"
|
||||
Content-Length: 676
|
||||
Content-Type: text/calendar; charset="utf-8"
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
@ -11,8 +11,7 @@ CALSCALE:GREGORIAN
|
||||
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
@ -31,10 +30,8 @@ END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T100000
|
||||
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
|
||||
20061101T110000
|
||||
DTSTART;TZID=Pacific/Auckland:20061101T100000
|
||||
DTEND;TZID=Pacific/Auckland:20061101T110000
|
||||
UID:20061101T073000Z-10468-1000-1-7@ubu
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
||||
41
testing/tests/regression-suite/0965-GET.result
Normal file
41
testing/tests/regression-suite/0965-GET.result
Normal file
@ -0,0 +1,41 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, calendar-access
|
||||
Etag: "13249ced6c7527191a003f54f7e3cd25"
|
||||
Content-Length: 834
|
||||
Content-Type: text/calendar; charset="utf-8"
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//davical.org//NONSGML AWL Calendar//EN
|
||||
VERSION:2.0
|
||||
CALSCALE:GREGORIAN
|
||||
BEGIN:VEVENT
|
||||
CREATED:20081023T055115Z
|
||||
LAST-MODIFIED:20081023T055139Z
|
||||
DTSTAMP:20081023T055115Z
|
||||
UID:9429a973-2b13-4b1a-be09-948d75425c45
|
||||
SUMMARY:Weekly catch-up
|
||||
RRULE:FREQ=WEEKLY;INTERVAL=1
|
||||
DTSTART;TZID=Pacific/Auckland:20081024T140000
|
||||
DTEND;TZID=Pacific/Auckland:20081024T150000
|
||||
X-MOZ-GENERATION:2
|
||||
END:VEVENT
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Pacific/Auckland
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+1200
|
||||
TZOFFSETTO:+1300
|
||||
TZNAME:NZDT
|
||||
DTSTART:19700927T020000
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=9
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
TZNAME:NZST
|
||||
DTSTART:19700405T030000
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=4
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
END:VCALENDAR
|
||||
20
testing/tests/regression-suite/0965-GET.test
Normal file
20
testing/tests/regression-suite/0965-GET.test
Normal file
@ -0,0 +1,20 @@
|
||||
#
|
||||
# Test GET access to a non-public calendar using a ticket.
|
||||
#
|
||||
TYPE=GET
|
||||
URL=http://regression.host/public.php/user2/home/9429a973-2b13-4b1a-be09-948d75425c45.ics
|
||||
NOAUTH
|
||||
|
||||
# Get the ticket we created earlier in 948...
|
||||
GETSQL=ticket
|
||||
SELECT ticket_id FROM access_ticket
|
||||
WHERE target_collection_id = 11 AND target_resource_id is null;
|
||||
ENDSQL
|
||||
|
||||
HEADER=User-Agent: DAViCalTester/public
|
||||
HEADER=Ticket: ##ticket##
|
||||
HEAD
|
||||
|
||||
BEGINDATA
|
||||
ENDDATA
|
||||
|
||||
@ -2,12 +2,22 @@ HTTP/1.1 207 Multi-Status
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, calendar-proxy, bind, addressbook, calendar-auto-schedule
|
||||
ETag: "40e69ecd1e31ae458e1fa4505c1ee585"
|
||||
Content-Length: 5879
|
||||
ETag: "9e36538f6420769c24958617f475b7a8"
|
||||
Content-Length: 6171
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:">
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0544-gzip-PUT.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"6ddd18264a9d40c1c9d37a005eeb7e4f"</getetag>
|
||||
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/0575d895-a006-4ed8-9be6-0d1b6b6b1f96.ics</href>
|
||||
<propstat>
|
||||
@ -32,7 +42,7 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<href>/caldav.php/user1/home/20061101T073004Z.ics</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<getetag>"c3658901fd4689d4a1e1d6f08601ef4f"</getetag>
|
||||
<getetag>"bcc402382688cb3e8e57379c757dbcb0"</getetag>
|
||||
<getlastmodified>Dow, 01 Jan 2000 00:00:00 GMT</getlastmodified>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
|
||||
@ -54,6 +54,15 @@ INSERT INTO collection (user_no, parent_container, dav_name, dav_etag,
|
||||
FALSE, FALSE, user_no, '<DAV::collection/><urn:ietf:params:xml:ns:caldav:calendar/>'
|
||||
FROM usr;
|
||||
|
||||
INSERT INTO collection (user_no, parent_container, dav_name, dav_etag,
|
||||
dav_displayname, is_calendar, is_addressbook, created, modified,
|
||||
public_events_only, publicly_readable, collection_id, resourcetypes )
|
||||
SELECT user_no, '/' || username || '/', '/' || username || '/addresses/', md5(username),
|
||||
username || ' addresses', FALSE, TRUE, '1957-07-26', '1998-03-16',
|
||||
FALSE, FALSE, user_no + 50, '<DAV::collection/><urn:ietf:params:xml:ns:carddav:addressbook/>'
|
||||
FROM usr;
|
||||
|
||||
|
||||
INSERT INTO principal (type_id, user_no, displayname, default_privileges)
|
||||
SELECT 1, user_no, fullname, privilege_to_bits(ARRAY['read-free-busy','schedule-send','schedule-deliver']) FROM usr
|
||||
WHERE NOT EXISTS(SELECT 1 FROM role_member JOIN roles USING(role_no) WHERE role_name = 'Group' AND role_member.user_no = usr.user_no)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
setval
|
||||
--------
|
||||
1639
|
||||
1641
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
11
|
||||
12
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 2644
|
||||
Content-Length: 2857
|
||||
Content-Type: application/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -71,6 +71,13 @@ Content-Type: application/xml; charset="utf-8"
|
||||
<alias>Pacific/Auckland</alias>
|
||||
<local-name lang="en_US">/softwarestudio.org/Olson_20011030_5/Pacific/Auckland</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>Somewhere_in_Central_Europe</tzid>
|
||||
<last-modified>all good</last-modified>
|
||||
<inactive/>
|
||||
<alias/>
|
||||
<local-name lang="en_US">Somewhere_in_Central_Europe</local-name>
|
||||
</summary>
|
||||
<summary>
|
||||
<tzid>(UTC-05:00) Eastern Time (US & Canada)</tzid>
|
||||
<last-modified>all good</last-modified>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,10 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
ETag: "Some good etag"
|
||||
Last-Modified: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Disposition: Attachment; Filename="Pacific-Auckland.ics"
|
||||
Content-Length: 3658
|
||||
Content-Type: text/calendar
|
||||
Content-Type: text/calendar; charset=UTF-8
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
ETag: "Some good etag"
|
||||
Last-Modified: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Disposition: Attachment; Filename="Europe-Madrid.ics"
|
||||
Content-Length: 611
|
||||
Content-Type: text/calendar
|
||||
Content-Type: text/calendar; charset=UTF-8
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//Morphoss Ltd//NONSGML aCal//EN
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
HTTP/1.1 403 Forbidden
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 148
|
||||
Content-Length: 183
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<error xmlns="DAV:">
|
||||
<error xmlns="urn:ietf:params:xml:ns:timezone-service">
|
||||
<supported-format/>This server currently only supports text/calendar format.
|
||||
</error>
|
||||
@ -1,9 +1,9 @@
|
||||
HTTP/1.1 403 Forbidden
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 148
|
||||
Content-Length: 183
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<error xmlns="DAV:">
|
||||
<error xmlns="urn:ietf:params:xml:ns:timezone-service">
|
||||
<supported-format/>This server currently only supports text/calendar format.
|
||||
</error>
|
||||
@ -1,6 +1,6 @@
|
||||
setval
|
||||
--------
|
||||
1649
|
||||
1651
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
11
|
||||
12
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user