mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Update tests now that we don't inherit the DB from previous directory
This commit is contained in:
parent
692c20eec6
commit
fc09febad2
1
testing/tests/binding/0000-Setup-PUT-collection.result
Symbolic link
1
testing/tests/binding/0000-Setup-PUT-collection.result
Symbolic link
@ -0,0 +1 @@
|
||||
../regression-suite/0000-Setup-PUT-collection.result
|
||||
1
testing/tests/binding/0000-Setup-PUT-collection.test
Symbolic link
1
testing/tests/binding/0000-Setup-PUT-collection.test
Symbolic link
@ -0,0 +1 @@
|
||||
../regression-suite/0000-Setup-PUT-collection.test
|
||||
38
testing/tests/binding/0999-MKTICKET.result
Normal file
38
testing/tests/binding/0999-MKTICKET.result
Normal file
@ -0,0 +1,38 @@
|
||||
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, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
Ticket:Good Ticket ID
|
||||
ETag: "Some good etag"
|
||||
Content-Length: 524
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<prop xmlns="DAV:" xmlns:T="http://www.xythos.com/namespaces/StorageServer">
|
||||
<T:ticketdiscovery>
|
||||
<T:ticketinfo>
|
||||
<T:id>Good Ticket ID</T:id>
|
||||
<owner>
|
||||
<href>/caldav.php/user2/</href>
|
||||
</owner>
|
||||
<privilege>
|
||||
<read/>
|
||||
<read-current-user-privilege-set/>
|
||||
<write/>
|
||||
<write-properties/>
|
||||
<write-content/>
|
||||
<bind/>
|
||||
<unbind/>
|
||||
</privilege>
|
||||
<T:timeout>Second-3600</T:timeout>
|
||||
<T:visits>infinity</T:visits>
|
||||
</T:ticketinfo>
|
||||
</T:ticketdiscovery>
|
||||
</prop>
|
||||
|
||||
dav_owner_id: >1003<
|
||||
privileges: >000000000001001011100111<
|
||||
target_collection: >161<
|
||||
target_resource_i: >NULL<
|
||||
timeout: >01:00:00<
|
||||
|
||||
35
testing/tests/binding/0999-MKTICKET.test
Normal file
35
testing/tests/binding/0999-MKTICKET.test
Normal file
@ -0,0 +1,35 @@
|
||||
#
|
||||
# MKTICKET request for a ticket on a collection
|
||||
#
|
||||
TYPE=MKTICKET
|
||||
URL=http://regression.host/caldav.php/user2/home/
|
||||
HEADER=User-Agent: Ticket Spec Tests
|
||||
HEADER=Content-Type: text/xml; charset="UTF-8"
|
||||
AUTH=user2:user2
|
||||
HEAD
|
||||
|
||||
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<D:ticketinfo xmlns:D="DAV:" >
|
||||
<D:privilege>
|
||||
<D:read/>
|
||||
<D:write/>
|
||||
</D:privilege>
|
||||
<D:timeout>Second-3600</D:timeout>
|
||||
<D:visits>1</D:visits>
|
||||
</D:ticketinfo>
|
||||
ENDDATA
|
||||
|
||||
QUERY
|
||||
SELECT dav_owner_id,
|
||||
(expires - current_timestamp)::interval(0) AS timeout,
|
||||
privileges,
|
||||
target_collection_id,
|
||||
target_resource_id
|
||||
FROM access_ticket
|
||||
ENDQUERY
|
||||
|
||||
REPLACE=!ETag: "\S+"!ETag: "Some good etag"!
|
||||
REPLACE=!<T:id>\S{8}</T:id>!<T:id>Good Ticket ID</T:id>!
|
||||
REPLACE=!Ticket: \S{8}!Ticket:Good Ticket ID!
|
||||
@ -7,11 +7,11 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1014<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >user2 home<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/user2/<
|
||||
dav_owner_id: >1005<
|
||||
length: >NULL<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ TYPE=BIND
|
||||
URL=http://regression.host/caldav.php/user4/
|
||||
AUTH=user4:user4
|
||||
|
||||
# Get the ticket we created earlier in 948...
|
||||
# Get the ticket we created earlier in 999...
|
||||
GETSQL=ticket
|
||||
SELECT ticket_id FROM access_ticket
|
||||
WHERE target_collection_id = 161 AND target_resource_id is null;
|
||||
|
||||
@ -9,11 +9,11 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<error xmlns="DAV:">
|
||||
<can-overwrite/>A resource already exists at the destination.
|
||||
</error>
|
||||
bind_id: >1014<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >user2 home<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/user2/<
|
||||
dav_owner_id: >1005<
|
||||
length: >NULL<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ TYPE=BIND
|
||||
URL=http://regression.host/caldav.php/user4/
|
||||
AUTH=user4:user4
|
||||
|
||||
# Get the ticket we created earlier in 948...
|
||||
# Get the ticket we created earlier in 999...
|
||||
GETSQL=ticket
|
||||
SELECT ticket_id FROM access_ticket
|
||||
WHERE target_collection_id = 161 AND target_resource_id is null;
|
||||
|
||||
@ -18,6 +18,28 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/user2/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>User 2's Calendar, as uploaded by Admin</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/XX</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user4</segment>
|
||||
</parent>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user2</segment>
|
||||
</parent>
|
||||
</parent-set>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/home/</href>
|
||||
<propstat>
|
||||
|
||||
@ -7,16 +7,16 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1603<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
parent_container: >/user4/<
|
||||
ticket_id_length: >8<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
parent_container: >/user4/<
|
||||
ticket_id_length: >8<
|
||||
|
||||
@ -6,10 +6,10 @@ TYPE=BIND
|
||||
URL=http://regression.host/caldav.php/user4/
|
||||
AUTH=user4:user4
|
||||
|
||||
# Get the ticket we created earlier in 948...
|
||||
# Get the ticket we created earlier in 999...
|
||||
GETSQL=ticket
|
||||
SELECT ticket_id FROM access_ticket
|
||||
WHERE target_collection_id = 160 AND target_resource_id is null;
|
||||
WHERE target_collection_id = 161 AND target_resource_id is null;
|
||||
ENDSQL
|
||||
|
||||
HEADER=User-Agent: Ticket Spec Tests
|
||||
|
||||
@ -1,8 +1,14 @@
|
||||
HTTP/1.1 403 Forbidden
|
||||
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, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
Content-Length: 19
|
||||
ETag: "9a8d7696ee2e0a0f1f4170fe4f094a3a"
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
No write permission
|
||||
|
||||
dav_etag: >9a8d7696ee2e0a0f1f4170fe4f094a3a<
|
||||
dav_name: >/user1/home/thiswillnotwork.ics<
|
||||
dtstart: >2010-03-22 18:00:00+13<
|
||||
summary: >Test adding an event to a bound collection<
|
||||
|
||||
|
||||
@ -7,23 +7,23 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1603<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
@ -6,10 +6,10 @@ TYPE=BIND
|
||||
URL=http://regression.host/caldav.php/user4/base/
|
||||
AUTH=user4:user4
|
||||
|
||||
# Get the ticket we created earlier in 948...
|
||||
# Get the ticket we created earlier in 999...
|
||||
GETSQL=ticket
|
||||
SELECT ticket_id FROM access_ticket
|
||||
WHERE target_collection_id = 160 AND target_resource_id is null;
|
||||
WHERE target_collection_id = 161 AND target_resource_id is null;
|
||||
ENDSQL
|
||||
|
||||
HEADER=User-Agent: Ticket Spec Tests
|
||||
|
||||
@ -7,28 +7,28 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1603<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1609<
|
||||
bind_id: >1027<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
|
||||
@ -6,7 +6,7 @@ TYPE=BIND
|
||||
URL=http://regression.host/caldav.php/user4/base/
|
||||
AUTH=user4:user4
|
||||
|
||||
# Get the ticket we created earlier in 948...
|
||||
# Get the ticket we created earlier in 999...
|
||||
GETSQL=ticket
|
||||
SELECT ticket_id FROM access_ticket
|
||||
WHERE target_collection_id = 161 AND target_resource_id is null;
|
||||
|
||||
@ -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: >1603<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1609<
|
||||
bind_id: >1027<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
|
||||
@ -6,7 +6,7 @@ TYPE=BIND
|
||||
URL=http://regression.host/caldav.php/user4/base/
|
||||
AUTH=user4:user4
|
||||
|
||||
# Get the ticket we created earlier in 948...
|
||||
# Get the ticket we created earlier in 999...
|
||||
GETSQL=ticket
|
||||
SELECT ticket_id FROM access_ticket
|
||||
WHERE target_collection_id = 161 AND target_resource_id is null;
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<prop>
|
||||
<displayname>A normal collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1606</href>
|
||||
<href>/caldav.php/.resources/1024</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -21,37 +21,6 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/base/user1/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>User 1's Calendaranza</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/160</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user4</segment>
|
||||
</parent>
|
||||
<parent>
|
||||
<href>/caldav.php/user4</href>
|
||||
<segment>base</segment>
|
||||
</parent>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user1</segment>
|
||||
</parent>
|
||||
</parent-set>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C:calendar/>
|
||||
<X:webdav-binding/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/base/user2/</href>
|
||||
<propstat>
|
||||
@ -89,7 +58,7 @@
|
||||
<prop>
|
||||
<displayname>A sub collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1607</href>
|
||||
<href>/caldav.php/.resources/1025</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<prop>
|
||||
<displayname>A normal collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1606</href>
|
||||
<href>/caldav.php/.resources/1024</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -34,6 +34,14 @@ Content-Type: text/plain; charset="utf-8"
|
||||
dav_name: >/user3/home/70399cd7-50a4-4be4-a665-af593e19a7fd.ics<
|
||||
dtstamp: >2010-03-19 10:56:20<
|
||||
|
||||
created: >2010-03-19 10:32:47<
|
||||
dav_name: >/user1/.in/70399cd7-50a4-4be4-a665-af593e19a7fd.ics<
|
||||
dtstamp: >2010-03-19 10:56:20<
|
||||
|
||||
created: >2010-03-19 10:32:47<
|
||||
dav_name: >/user1/home/70399cd7-50a4-4be4-a665-af593e19a7fd.ics<
|
||||
dtstamp: >2010-03-19 10:56:20<
|
||||
|
||||
created: >2010-03-19 10:32:47<
|
||||
dav_name: >/user5/.in/70399cd7-50a4-4be4-a665-af593e19a7fd.ics<
|
||||
dtstamp: >2010-03-19 10:56:20<
|
||||
|
||||
@ -7,7 +7,7 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1603<
|
||||
bind_id: >1020<
|
||||
bind_owner: >1005<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
@ -19,31 +19,31 @@ target_collection: >161<
|
||||
target_resource_i: >NULL<
|
||||
ticket_owner: >1003<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bind_owner: >1005<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
privileges: >000000000001001000100001<
|
||||
target_collection: >160<
|
||||
privileges: >000000000001001011100111<
|
||||
target_collection: >161<
|
||||
target_resource_i: >NULL<
|
||||
ticket_owner: >1002<
|
||||
ticket_owner: >1003<
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bind_owner: >1005<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
privileges: >000000000001001000100001<
|
||||
target_collection: >160<
|
||||
privileges: >000000000001001011100111<
|
||||
target_collection: >161<
|
||||
target_resource_i: >NULL<
|
||||
ticket_owner: >1002<
|
||||
ticket_owner: >1003<
|
||||
|
||||
bind_id: >1609<
|
||||
bind_id: >1027<
|
||||
bind_owner: >1005<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
@ -55,7 +55,7 @@ target_collection: >161<
|
||||
target_resource_i: >NULL<
|
||||
ticket_owner: >1003<
|
||||
|
||||
bind_id: >1630<
|
||||
bind_id: >1052<
|
||||
bind_owner: >1<
|
||||
bound_source_id: >162<
|
||||
dav_displayname: >user3 home<
|
||||
|
||||
@ -6,7 +6,7 @@ TYPE=BIND
|
||||
URL=http://regression.host/caldav.php/user4/base/
|
||||
AUTH=admin:nimda
|
||||
|
||||
# Get the ticket we created earlier in 948...
|
||||
# Get the ticket we created earlier in 999...
|
||||
GETSQL=ticket
|
||||
SELECT ticket_id FROM access_ticket
|
||||
WHERE target_collection_id = 162 AND target_resource_id is null;
|
||||
|
||||
@ -4,14 +4,14 @@ DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
dav_owner_id: >1005<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1609<
|
||||
bind_id: >1027<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
|
||||
@ -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, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
Etag: "ae93907cb03bc025b8e733eb61f3a09e"
|
||||
Content-Length: 21845
|
||||
Content-Length: 10568
|
||||
Content-Type: text/calendar; charset="utf-8"
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
@ -11,267 +11,6 @@ PRODID:-//davical.org//NONSGML AWL Calendar//EN
|
||||
VERSION:2.0
|
||||
CALSCALE:GREGORIAN
|
||||
X-WR-CALNAME:A normal collection
|
||||
BEGIN:VEVENT
|
||||
UID:20061101T073000Z-10468-1000-1-7@ubu
|
||||
DTSTAMP:20061101T073000Z
|
||||
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
|
||||
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
|
||||
DESCRIPTION:A Meeting
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
CREATED:20061120T041336Z
|
||||
LAST-MODIFIED:20061120T041709Z
|
||||
DTSTAMP:20061120T041709Z
|
||||
UID:4aaf8f37-f232-4c8e-a72e-e171d4c4fe54
|
||||
SUMMARY:Weekly Project Meeting
|
||||
PRIORITY:0
|
||||
CLASS:PUBLIC
|
||||
RRULE:FREQ=WEEKLY;COUNT=26;INTERVAL=1;BYDAY=TH
|
||||
DTSTART;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061102T100000
|
||||
DTEND;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061102T110000
|
||||
CATEGORIES:Projects
|
||||
X-MOZ-LOCATIONPATH:4aaf8f37-f232-4c8e-a72e-e171d4c4fe54.ics
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DTSTAMP:20061102T090217Z
|
||||
DTSTART;TZID=New Zealand Standard Time:20061102T123000
|
||||
DURATION:PT1H
|
||||
LAST-MODIFIED:20061104T002921Z
|
||||
SEQUENCE:1
|
||||
SUMMARY:Lunch with David
|
||||
UID:5A55230C8866CA8D3D325F3A@CA1CBED546AAE36FF3BC722E
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
UID:da81c0ee-7871-11db-c6d6-f6927c144649
|
||||
DTSTAMP:20061024T115217Z
|
||||
DTSTART:20061103T073000
|
||||
DTEND:20061103T093000
|
||||
DESCRIPTION:
|
||||
LOCATION:Olivia's
|
||||
RRULE:FREQ=MONTHLY
|
||||
STATUS:CONFIRMED
|
||||
SUMMARY:Morning Mgmt Mtg
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
UID:71e2ae82-7870-11db-c6d6-f6927c144649
|
||||
DTSTAMP:20060511T043751Z
|
||||
DTSTART;TZID=Pacific/Auckland:20061103T160000
|
||||
DTEND;TZID=Pacific/Auckland:20061103T174500
|
||||
DESCRIPTION:
|
||||
LOCATION:Level 3
|
||||
RRULE:FREQ=WEEKLY;INTERVAL=2;UNTIL=20071222T235900
|
||||
STATUS:CONFIRMED
|
||||
SUMMARY:Beer O'Clock
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
CREATED:20061223T031415Z
|
||||
LAST-MODIFIED:20061223T032305Z
|
||||
DTSTAMP:20061223T032305Z
|
||||
UID:1906b3ca-4890-468a-9b58-1de74bf2c716
|
||||
SUMMARY:Private Event
|
||||
PRIORITY:0
|
||||
STATUS:CONFIRMED
|
||||
CLASS:PRIVATE
|
||||
DTSTART;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061223T130000
|
||||
DTEND;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061223T150000
|
||||
X-MOZ-LOCATIONPATH:1906b3ca-4890-468a-9b58-1de74bf2c716.ics
|
||||
LOCATION:At a private location
|
||||
DESCRIPTION:Private and Confirmed
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
CREATED:20061223T032350Z
|
||||
LAST-MODIFIED:20061223T033144Z
|
||||
DTSTAMP:20061223T033144Z
|
||||
UID:9d050be7-8a02-4355-8ed3-02a9fc5f473f
|
||||
SUMMARY:Confidential Event
|
||||
PRIORITY:0
|
||||
STATUS:CONFIRMED
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;TZID=/mozilla.org/20050126_1/Antarctica/McMurdo:20061223T160000
|
||||
DTEND;TZID=/mozilla.org/20050126_1/Antarctica/McMurdo:20061223T180000
|
||||
X-MOZ-LOCATIONPATH:9d050be7-8a02-4355-8ed3-02a9fc5f473f.ics
|
||||
LOCATION:In a confidential place
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
CREATED:20061223T051646Z
|
||||
LAST-MODIFIED:20061223T051713Z
|
||||
DTSTAMP:20061223T051713Z
|
||||
UID:fbd57454-d966-4a14-8341-abe1edb1ae66
|
||||
SUMMARY:Tentative Event
|
||||
STATUS:TENTATIVE
|
||||
CLASS:PUBLIC
|
||||
DTSTART;TZID=/mozilla.org/20050126_1/Antarctica/McMurdo:20061223T190000
|
||||
DTEND;TZID=/mozilla.org/20050126_1/Antarctica/McMurdo:20061223T210000
|
||||
X-MOZ-LOCATIONPATH:fbd57454-d966-4a14-8341-abe1edb1ae66.ics
|
||||
LOCATION:Never never land
|
||||
END:VEVENT
|
||||
BEGIN:VTODO
|
||||
CREATED:20070805T201647Z
|
||||
LAST-MODIFIED:20070805T201834Z
|
||||
DTSTAMP:20070805T201647Z
|
||||
UID:0575d895-a006-4ed8-9be6-0d1b6b6b1f96
|
||||
SUMMARY:Due 7/8/7 16:30\, completed
|
||||
STATUS:COMPLETED
|
||||
DUE;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20070807T163000
|
||||
COMPLETED:20070805T201737Z
|
||||
PERCENT-COMPLETE:100
|
||||
X-MOZ-LOCATIONPATH:0575d895-a006-4ed8-9be6-0d1b6b6b1f96.ics
|
||||
DESCRIPTION:Due on 7/8/7 at 4:30pm\, but completed alread on 6/8/7
|
||||
CATEGORIES:Projects
|
||||
END:VTODO
|
||||
BEGIN:VTODO
|
||||
CREATED:20070806T223244Z
|
||||
LAST-MODIFIED:20070806T223411Z
|
||||
DTSTAMP:20070806T223244Z
|
||||
UID:b1679f77-673d-4f46-b3eb-2420e1bba301
|
||||
SUMMARY:A Cancelled Task\, with a start and due date
|
||||
STATUS:CANCELLED
|
||||
DTSTART;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20070808T111500
|
||||
DUE;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20070808T111500
|
||||
X-MOZ-LOCATIONPATH:b1679f77-673d-4f46-b3eb-2420e1bba301.ics
|
||||
DESCRIPTION:This is a task with a Start and a Due date\, but it has been
|
||||
cancelled.
|
||||
END:VTODO
|
||||
BEGIN:VEVENT
|
||||
SEQUENCE:6
|
||||
TRANSP:OPAQUE
|
||||
UID:AAA9318E-37D9-4319-8626-95ECD3D3B243
|
||||
DTSTART;TZID=Pacific/Auckland:20071125T130000
|
||||
DTSTAMP:20071124T224850Z
|
||||
SUMMARY:BBQ @ ML's
|
||||
CREATED:20071123T093048Z
|
||||
DTEND;TZID=Pacific/Auckland:20071125T190000
|
||||
LOCATION:ML's House
|
||||
BEGIN:VALARM
|
||||
X-WR-ALARMUID:2927836F-DF85-4688-901A-9ABE442BFB62
|
||||
ACTION:AUDIO
|
||||
TRIGGER:-PT15M
|
||||
ATTACH;VALUE=URI:Basso
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
BEGIN:VTODO
|
||||
CREATED:20071203T202915Z
|
||||
LAST-MODIFIED:20071203T203021Z
|
||||
DTSTAMP:20071203T202915Z
|
||||
UID:e6eb5bc9-f7f9-4a0a-94e8-8e90eefc7d08
|
||||
SUMMARY:Release 0.9.3
|
||||
STATUS:IN-PROCESS
|
||||
DTSTART;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20071209T133000
|
||||
DUE;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20071209T133000
|
||||
PERCENT-COMPLETE:95
|
||||
X-MOZ-LOCATIONPATH:e6eb5bc9-f7f9-4a0a-94e8-8e90eefc7d08.ics
|
||||
BEGIN:VALARM
|
||||
TRIGGER;VALUE=DURATION:-P2D
|
||||
DESCRIPTION:Mozilla Alarm: Release 0.9.3
|
||||
ACTION:DISPLAY
|
||||
END:VALARM
|
||||
END:VTODO
|
||||
BEGIN:VEVENT
|
||||
CREATED:20071203T202630Z
|
||||
LAST-MODIFIED:20071203T202834Z
|
||||
DTSTAMP:20071203T202630Z
|
||||
UID:e70576e9-c1e0-431e-a507-0386fd82f223
|
||||
SUMMARY:Morning Meeting
|
||||
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=TU,TH
|
||||
DTSTART;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20071211T074500
|
||||
DTEND;TZID=/mozilla.org/20070129_1/Antarctica/McMurdo:20071211T083000
|
||||
X-MOZ-LOCATIONPATH:e70576e9-c1e0-431e-a507-0386fd82f223.ics
|
||||
LOCATION:Suzies Coffee Lounge
|
||||
DESCRIPTION:Twice-weekly breakfast meeting
|
||||
CATEGORIES:Business
|
||||
BEGIN:VALARM
|
||||
TRIGGER;VALUE=DURATION:-PT10M
|
||||
DESCRIPTION:Mozilla Alarm: Morning Meeting
|
||||
ACTION:DISPLAY
|
||||
END:VALARM
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DESCRIPTION:Have a party. All the best parties are monthly!
|
||||
UID:DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74
|
||||
DTSTAMP:20081024T220925Z
|
||||
SUMMARY:Party all day!
|
||||
CREATED:20081024T220749Z
|
||||
DTSTART;TZID=Pacific/Auckland;VALUE=DATE:20081114
|
||||
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=2FR
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
DESCRIPTION:Have a microparty. All the best parties are monthly!
|
||||
UID:MICROPARTY-77C6-4FB7-BDD3-6882E2F1BE74
|
||||
DTSTAMP:20081027T074326Z
|
||||
SUMMARY:Woohoo! Time to Par-tay!
|
||||
CREATED:20081024T220749Z
|
||||
DTSTART;TZID=Pacific/Auckland:20081121T160000
|
||||
DURATION:PT3H
|
||||
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=3FR
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
CREATED:20091006T225807Z
|
||||
UID:70D23799-4A68-4905-AB9F-4D47BA693CFD
|
||||
DTEND;TZID=Europe/Prague:20091005T150000
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:New Event
|
||||
DTSTART;TZID=Europe/Prague:20091005T140000
|
||||
DTSTAMP:20091006T225808Z
|
||||
SEQUENCE:1
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
UID:PUT-eastern-time
|
||||
DTSTAMP:20101009T214524Z
|
||||
SUMMARY;LANGUAGE=en-US:Psychic's Anonymous Meeting
|
||||
DTSTART;TZID="(UTC-05:00) Eastern Time (US & Canada)":20110912T110000
|
||||
DTEND;TZID="(UTC-05:00) Eastern Time (US & Canada)":20110912T113000
|
||||
LOCATION:You will know when you arrive
|
||||
CREATED:20101010T014639
|
||||
LAST-MODIFIED:20101010T014639
|
||||
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
|
||||
CREATED:20111004T153507Z
|
||||
UID:0545-deflate-PUT
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:In Prague, 10am, Oct 7th for 1 hour
|
||||
DTSTART;TZID=Prague_in_Central_Europe:20111007T100000
|
||||
DURATION:PT1H
|
||||
DTSTAMP:20111004T153507Z
|
||||
SEQUENCE:1
|
||||
END:VEVENT
|
||||
BEGIN:VTODO
|
||||
CREATED:20070805T200215Z
|
||||
LAST-MODIFIED:20070805T201531Z
|
||||
DTSTAMP:20070805T200215Z
|
||||
UID:2178279a-aec2-471f-832d-1f6df6203f2f
|
||||
SUMMARY:Incomplete\, uncancelled
|
||||
X-MOZ-LOCATIONPATH:2178279a-aec2-471f-832d-1f6df6203f2f.ics
|
||||
DESCRIPTION:This task is incomplete and has not been cancelled (has no s
|
||||
tatus at all)
|
||||
END:VTODO
|
||||
BEGIN:VTODO
|
||||
CREATED:20070805T201557Z
|
||||
LAST-MODIFIED:20070805T201643Z
|
||||
DTSTAMP:20070805T201557Z
|
||||
UID:917b9e47-b748-4550-a566-657fbe672447
|
||||
SUMMARY:50% Complete\, uncancelled
|
||||
STATUS:IN-PROCESS
|
||||
PERCENT-COMPLETE:50
|
||||
X-MOZ-LOCATIONPATH:917b9e47-b748-4550-a566-657fbe672447.ics
|
||||
DESCRIPTION:This task is in progress (50% complete) and has not been can
|
||||
celled.
|
||||
END:VTODO
|
||||
BEGIN:VTODO
|
||||
PRIORITY:0
|
||||
SEQUENCE:4
|
||||
@ -422,7 +161,7 @@ ATTENDEE;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;SCHEDULE-S
|
||||
ATTENDEE;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;SCHEDULE-S
|
||||
TATUS=1.2:mailto:user3@example.net
|
||||
ATTENDEE;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;SCHEDULE-S
|
||||
TATUS=3.8:mailto:user1@example.net
|
||||
TATUS=1.2:mailto:user1@example.net
|
||||
ATTENDEE;RSVP=TRUE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;SCHEDULE-S
|
||||
TATUS=1.2:mailto:user5@example.net
|
||||
DTSTART:20100322T160000
|
||||
@ -544,160 +283,19 @@ TZID:Pacific/Auckland
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
DTSTART:19900318T030000
|
||||
RRULE:FREQ=YEARLY;UNTIL=20070317T140000Z;BYMONTH=3;BYDAY=3SU
|
||||
TZNAME:NZST
|
||||
DTSTART:19700315T030000
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+1200
|
||||
TZOFFSETTO:+1300
|
||||
DTSTART:19901007T020000
|
||||
RRULE:FREQ=YEARLY;UNTIL=20060930T140000Z;BYMONTH=10;BYDAY=1SU
|
||||
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
|
||||
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
|
||||
LAST-MODIFIED:20040110T032845Z
|
||||
TZID:New Zealand Standard Time
|
||||
X-LIC-LOCATION:Pacific/Auckland
|
||||
BEGIN:DAYLIGHT
|
||||
DTSTART:20000404T020000
|
||||
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
|
||||
TZNAME:NZDT
|
||||
TZOFFSETFROM:+1200
|
||||
TZOFFSETTO:+1300
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
DTSTART:20001026T020000
|
||||
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
|
||||
TZNAME:NZST
|
||||
TZOFFSETFROM:+1300
|
||||
TZOFFSETTO:+1200
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:/mozilla.org/20050126_1/Antarctica/McMurdo
|
||||
X-LIC-LOCATION:Antarctica/McMurdo
|
||||
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/20070129_1/Antarctica/McMurdo
|
||||
X-LIC-LOCATION:Antarctica/McMurdo
|
||||
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:Europe/Prague
|
||||
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
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:(UTC-05:00) Eastern Time (US & Canada)
|
||||
BEGIN:STANDARD
|
||||
DTSTART:16010101T020000
|
||||
TZOFFSETFROM:-0400
|
||||
TZOFFSETTO:-0500
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11
|
||||
END:STANDARD
|
||||
BEGIN:DAYLIGHT
|
||||
DTSTART:16010101T020000
|
||||
TZOFFSETFROM:-0500
|
||||
TZOFFSETTO:-0400
|
||||
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2SU;BYMONTH=3
|
||||
END:DAYLIGHT
|
||||
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
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Prague_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
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:America/Los_Angeles
|
||||
X-TZINFO:America/Los_Angeles[2007g/Partial@883612800000]
|
||||
BEGIN:DAYLIGHT
|
||||
|
||||
@ -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, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
ETag: "d6665c63cf6dc79c4c69923f41a92a56"
|
||||
Content-Length: 2302
|
||||
ETag: "50ced6b6d23da590d40626a56c4faf22"
|
||||
Content-Length: 2301
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -89,5 +89,5 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<sync-token>data:,40</sync-token>
|
||||
<sync-token>data:,6</sync-token>
|
||||
</multistatus>
|
||||
|
||||
@ -9,105 +9,6 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/home/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addresses/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/created/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/.in/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/.out/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/6E20BB7C-EFD9-4F0F-9BDC-5335E04D47E0/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/VTODO-EFD9-4F0F-9BDC-5335E04D47E0/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/SOHO%20collection/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/collection/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/anotherone/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/</href>
|
||||
<propstat>
|
||||
@ -126,15 +27,6 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/user1/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/home/</href>
|
||||
<propstat>
|
||||
@ -153,33 +45,6 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/nz_holidays/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/us_holidays/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/.out/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/base/</href>
|
||||
<propstat>
|
||||
@ -234,15 +99,6 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/resource1/mozilla/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/resource2/</href>
|
||||
<propstat>
|
||||
@ -270,13 +126,4 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/resource2/mulberry/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<C:getctag>"XX"</C:getctag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
</multistatus>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@ Content-Location: /caldav.php/user3/
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
Etag: "0ee82db4275e01bc6cca4de752ae50ad"
|
||||
Content-Length: 6089
|
||||
Content-Length: 311
|
||||
Content-Type: text/calendar; charset="utf-8"
|
||||
|
||||
BEGIN:VCALENDAR
|
||||
@ -15,268 +15,9 @@ X-WR-CALNAME:User 3
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070611T131500
|
||||
DTEND:20070611T134500
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070611T140000
|
||||
DTEND:20070611T180000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070611T160000
|
||||
DTEND:20070611T180000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070611T180000
|
||||
DTEND:20070611T181500
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070612T110000
|
||||
DTEND:20070612T115000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070612T160000
|
||||
DTEND:20070612T172000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070612T180000
|
||||
DTEND:20070612T183000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070612T180000
|
||||
DTEND:20070612T200000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070612T180000
|
||||
DTEND:20070612T210000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070613T100000
|
||||
DTEND:20070613T111000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070613T180000
|
||||
DTEND:20070613T203000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070614
|
||||
DTEND;VALUE=DATE:20070622
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070614T100000
|
||||
DTEND:20070614T110000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070615
|
||||
DTEND;VALUE=DATE:20070618
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070616
|
||||
DTEND;VALUE=DATE:20070617
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070627T154500
|
||||
DTEND:20070627T234500
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070628
|
||||
DTEND;VALUE=DATE:20070629
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070628T193000
|
||||
DTEND:20070628T223000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070629
|
||||
DTEND;VALUE=DATE:20070630
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070630
|
||||
DTEND;VALUE=DATE:20070701
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070710T093000
|
||||
DTEND:20070710T120000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070713
|
||||
DTEND;VALUE=DATE:20070714
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20070820T090000
|
||||
DTEND:20070820T151500
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070824
|
||||
DTEND;VALUE=DATE:20070825
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20070915
|
||||
DTEND;VALUE=DATE:20070916
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;VALUE=DATE:20071111
|
||||
DTEND;VALUE=DATE:20071112
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;TZID=Europe/Helsinki:20081024T084500
|
||||
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=TU,FR
|
||||
DTEND;TZID=Europe/Helsinki:20081024T113000
|
||||
UID:ignore_uid
|
||||
CREATED:20081025T112648Z
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART;TZID=Europe/Helsinki:20081025T133000
|
||||
RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=1TU,2WE,3TH,4FR;BYMONTH=3,6,9,10,12
|
||||
DTEND;TZID=Europe/Helsinki:20081025T143000
|
||||
UID:ignore_uid
|
||||
CREATED:20081024T200734Z
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20100322T160000
|
||||
DTEND:20100322T170000
|
||||
UID:ignore_uid
|
||||
CREATED:20100319T103247Z
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20101228T201500
|
||||
DTEND:20101228T211500
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20101230T140000
|
||||
DTEND:20101230T143000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20101231T112000
|
||||
DTEND:20101231T140500
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20110106T140000
|
||||
DTEND:20110106T150000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20110108T140000
|
||||
DTEND:20110109T000000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VEVENT
|
||||
SUMMARY:Busy
|
||||
CLASS:CONFIDENTIAL
|
||||
DTSTART:20110111T140000
|
||||
DTEND:20110111T160000
|
||||
UID:ignore_uid
|
||||
END:VEVENT
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Europe/Helsinki
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+0200
|
||||
TZOFFSETTO:+0300
|
||||
DTSTART:19810329T030000
|
||||
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
|
||||
TZNAME:EEST
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+0300
|
||||
TZOFFSETTO:+0200
|
||||
DTSTART:19961027T040000
|
||||
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
||||
TZNAME:EET
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
END:VCALENDAR
|
||||
|
||||
@ -7,36 +7,36 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1603<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1609<
|
||||
bind_id: >1027<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1631<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1053<
|
||||
bound_source_id: >1024<
|
||||
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/1606</href>
|
||||
<href>/caldav.php/.resources/1024</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -21,37 +21,6 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/base/user1/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>User 1's Calendaranza</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/160</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user4</segment>
|
||||
</parent>
|
||||
<parent>
|
||||
<href>/caldav.php/user4</href>
|
||||
<segment>base</segment>
|
||||
</parent>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user1</segment>
|
||||
</parent>
|
||||
</parent-set>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C:calendar/>
|
||||
<X:webdav-binding/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/base/user2/</href>
|
||||
<propstat>
|
||||
@ -89,7 +58,7 @@
|
||||
<prop>
|
||||
<displayname>A sub collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1607</href>
|
||||
<href>/caldav.php/.resources/1025</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -111,7 +80,7 @@
|
||||
<prop>
|
||||
<displayname>newcalendar</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1620</href>
|
||||
<href>/caldav.php/.resources/1042</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<prop>
|
||||
<displayname>A normal collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1606</href>
|
||||
<href>/caldav.php/.resources/1024</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -22,41 +22,6 @@
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/boundbase/user1/</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<displayname>User 1's Calendaranza</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/160</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user4</segment>
|
||||
</parent>
|
||||
<parent>
|
||||
<href>/caldav.php/user4</href>
|
||||
<segment>base</segment>
|
||||
</parent>
|
||||
<parent>
|
||||
<href>/caldav.php</href>
|
||||
<segment>user1</segment>
|
||||
</parent>
|
||||
<parent>
|
||||
<href>/caldav.php/user4</href>
|
||||
<segment>boundbase</segment>
|
||||
</parent>
|
||||
</parent-set>
|
||||
<resourcetype>
|
||||
<collection/>
|
||||
<C:calendar/>
|
||||
<X:webdav-binding/>
|
||||
</resourcetype>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user4/boundbase/user2/</href>
|
||||
<propstat>
|
||||
@ -98,7 +63,7 @@
|
||||
<prop>
|
||||
<displayname>A sub collection</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1607</href>
|
||||
<href>/caldav.php/.resources/1025</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
@ -124,7 +89,7 @@
|
||||
<prop>
|
||||
<displayname>newcalendar</displayname>
|
||||
<resource-id>
|
||||
<href>/caldav.php/.resources/1620</href>
|
||||
<href>/caldav.php/.resources/1042</href>
|
||||
</resource-id>
|
||||
<parent-set>
|
||||
<parent>
|
||||
|
||||
@ -7,43 +7,43 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1603<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1609<
|
||||
bind_id: >1027<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1631<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1053<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/boundbase/<
|
||||
length: >NULL<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1632<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1054<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/boundbase2/<
|
||||
length: >NULL<
|
||||
|
||||
@ -7,50 +7,50 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1603<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1609<
|
||||
bind_id: >1027<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1631<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1053<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/boundbase/<
|
||||
length: >NULL<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1632<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1054<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/boundbase2/<
|
||||
length: >NULL<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1633<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1055<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/bind2bind/<
|
||||
length: >NULL<
|
||||
|
||||
@ -7,57 +7,57 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
bind_id: >1603<
|
||||
bind_id: >1020<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >Updated Displayname with PROPPATCH<
|
||||
dav_name: >/user4/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1604<
|
||||
bind_id: >1021<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1608<
|
||||
bind_id: >1026<
|
||||
bound_source_id: >160<
|
||||
dav_displayname: >User 1's Calendaranza<
|
||||
dav_displayname: >user1 home<
|
||||
dav_name: >/user4/base/user1/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1609<
|
||||
bind_id: >1027<
|
||||
bound_source_id: >161<
|
||||
dav_displayname: >User 2's Calendar, as uploaded by Admin<
|
||||
dav_name: >/user4/base/user2/<
|
||||
length: >8<
|
||||
parent_container: >/user4/base/<
|
||||
|
||||
bind_id: >1631<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1053<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/boundbase/<
|
||||
length: >NULL<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1632<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1054<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/boundbase2/<
|
||||
length: >NULL<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1633<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1055<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/bind2bind/<
|
||||
length: >NULL<
|
||||
parent_container: >/user4/<
|
||||
|
||||
bind_id: >1634<
|
||||
bound_source_id: >1606<
|
||||
bind_id: >1056<
|
||||
bound_source_id: >1024<
|
||||
dav_displayname: >A normal collection<
|
||||
dav_name: >/user4/bind2bind-noslash/<
|
||||
length: >NULL<
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
1602
|
||||
1013
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
@ -125,12 +125,12 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
36
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
14
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
|
||||
@ -9,7 +9,7 @@ Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
|
||||
dav_id: >1637<
|
||||
dav_id: >1016<
|
||||
|
||||
caladruri: >NULL<
|
||||
caluri: >NULL<
|
||||
|
||||
@ -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, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
ETag: "a fine looking etag"
|
||||
Content-Length: 949
|
||||
Content-Length: 948
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
@ -38,5 +38,5 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<sync-token>data:,41</sync-token>
|
||||
<sync-token>data:,1</sync-token>
|
||||
</multistatus>
|
||||
|
||||
@ -3,13 +3,31 @@ Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
||||
ETag: "a fine looking etag"
|
||||
Content-Length: 2031
|
||||
Content-Length: 2718
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:">
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/andresenesq.vcf</href>
|
||||
<href>/caldav.php/user1/addressbook/andrew_mcmillan.vcf</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/donald_kelly.vcf</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/PHRsMa4mvY.vcf</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
|
||||
@ -26,6 +44,33 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/van_houtte.vcf</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/mustrmahn.vcf</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/andresenesq.vcf</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/hans_dieter.vcf</href>
|
||||
<propstat>
|
||||
@ -53,15 +98,6 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/mustrmahn.vcf</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/test_multiple_email.vcf</href>
|
||||
<propstat>
|
||||
@ -71,14 +107,5 @@ Content-Type: text/xml; charset="utf-8"
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<response>
|
||||
<href>/caldav.php/user1/addressbook/van_houtte.vcf</href>
|
||||
<propstat>
|
||||
<prop>
|
||||
<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>
|
||||
</prop>
|
||||
<status>HTTP/1.1 200 OK</status>
|
||||
</propstat>
|
||||
</response>
|
||||
<sync-token>data:,42</sync-token>
|
||||
<sync-token>data:,2</sync-token>
|
||||
</multistatus>
|
||||
|
||||
14
testing/tests/carddav/Create-Database.result
Normal file
14
testing/tests/carddav/Create-Database.result
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
NOTE
|
||||
====
|
||||
* The password for the 'admin' user has been set to 'nimda'
|
||||
|
||||
Thanks for trying DAViCal! Check the configuration in /etc/davical/config.php.
|
||||
For help, look at our website and wiki, or visit #davical on irc.oftc.net.
|
||||
|
||||
15
testing/tests/carddav/Load-Sample-Data.result
Normal file
15
testing/tests/carddav/Load-Sample-Data.result
Normal file
@ -0,0 +1,15 @@
|
||||
setval
|
||||
--------
|
||||
1000
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1000
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
10
|
||||
(1 row)
|
||||
|
||||
7
testing/tests/carddav/Really-Upgrade-Database.result
Normal file
7
testing/tests/carddav/Really-Upgrade-Database.result
Normal file
@ -0,0 +1,7 @@
|
||||
The database is version XX currently at revision 1.3.3.
|
||||
No patches were applied.
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
1634
|
||||
1013
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
@ -125,12 +125,12 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
40
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
14
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
|
||||
5
testing/tests/carddav/Upgrade-Database.result
Normal file
5
testing/tests/carddav/Upgrade-Database.result
Normal file
@ -0,0 +1,5 @@
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
126
testing/tests/carddav/sample-data.sql
Normal file
126
testing/tests/carddav/sample-data.sql
Normal file
@ -0,0 +1,126 @@
|
||||
-- Some sample data to prime the database...
|
||||
-- base-data.sql should be processed before this
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 2, TRUE, current_date, current_date, 'andrew', '**x', 'Andrew McMillan', 'andrew@catalyst.net.nz' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 2, 1);
|
||||
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 10, TRUE, current_date, current_date, 'user1', '**user1', 'User 1', 'user1@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 11, TRUE, current_date, current_date, 'user2', '**user2', 'User 2', 'user2@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 12, TRUE, current_date, current_date, 'user3', '**user3', 'User 3', 'user3@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 13, TRUE, current_date, current_date, 'user4', '**user4', 'User 4', 'user4@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 14, TRUE, current_date, current_date, 'user5', '**user5', 'User 5', 'user5@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 15, TRUE, current_date, current_date, 'User Six', '**user6', 'User 6', 'user6@example.net' );
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 20, TRUE, current_date, current_date, 'manager1', '**manager1', 'Manager 1', 'manager1@example.net' );
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 30, TRUE, current_date, current_date, 'assistant1', '**assistant1', 'Assistant 1', 'assistant1@example.net' );
|
||||
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 100, TRUE, current_date, current_date, 'resource1', '*salt*unpossible', 'Resource 1', 'resource1@example.net' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 100, 4);
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 101, TRUE, current_date, current_date, 'resource2', '*salt*unpossible', 'Resource 2', 'resource2@example.net' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 101, 4);
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 200, TRUE, current_date, current_date, 'resmgr1', '*salt*unpossible', 'Resource Managers', 'resource-managers@example.net' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 200, 2);
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 300, TRUE, current_date, current_date, 'teamclient1', '*salt*unpossible', 'Team for Client1', 'team-client1@example.net' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 300, 2);
|
||||
|
||||
SELECT setval('usr_user_no_seq', 1000);
|
||||
SELECT setval('dav_id_seq', 1000);
|
||||
|
||||
UPDATE usr SET joined = '2009-06-01', updated = '2009-06-02';
|
||||
|
||||
INSERT INTO collection (user_no, parent_container, dav_name, dav_etag,
|
||||
dav_displayname, is_calendar, created, modified,
|
||||
public_events_only, publicly_readable, collection_id, resourcetypes )
|
||||
SELECT user_no, '/' || username || '/', '/' || username || '/home/', md5(username),
|
||||
username || ' home', TRUE, '2009-06-03', '2009-06-04',
|
||||
FALSE, FALSE, user_no + 150, '<DAV::collection/><urn:ietf:params:xml:ns:caldav:calendar/>'
|
||||
FROM usr ORDER BY user_no;
|
||||
|
||||
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 + 450, '<DAV::collection/><urn:ietf:params:xml:ns:carddav:addressbook/>'
|
||||
FROM usr ORDER BY user_no;
|
||||
|
||||
|
||||
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)
|
||||
AND NOT EXISTS(SELECT 1 FROM role_member JOIN roles USING(role_no) WHERE role_name = 'Resource' AND role_member.user_no = usr.user_no)
|
||||
AND NOT EXISTS(SELECT 1 FROM principal WHERE principal.user_no = usr.user_no) ORDER BY user_no;
|
||||
|
||||
INSERT INTO principal (type_id, user_no, displayname, default_privileges)
|
||||
SELECT 2, user_no, fullname, privilege_to_bits(ARRAY['read','schedule-send','schedule-deliver']) FROM usr
|
||||
WHERE EXISTS(SELECT 1 FROM role_member JOIN roles USING(role_no) WHERE role_name = 'Resource' AND role_member.user_no = usr.user_no)
|
||||
AND NOT EXISTS(SELECT 1 FROM principal WHERE principal.user_no = usr.user_no) ORDER BY user_no;
|
||||
|
||||
INSERT INTO principal (type_id, user_no, displayname, default_privileges)
|
||||
SELECT 3, user_no, fullname, privilege_to_bits(ARRAY['read-free-busy','schedule-send','schedule-deliver']) FROM usr
|
||||
WHERE EXISTS(SELECT 1 FROM role_member JOIN roles USING(role_no) WHERE role_name = 'Group' AND role_member.user_no = usr.user_no)
|
||||
AND NOT EXISTS(SELECT 1 FROM principal WHERE principal.user_no = usr.user_no) ORDER BY user_no;
|
||||
|
||||
-- Set the insert sequence to the next number, with a minimum of 1000
|
||||
SELECT setval('relationship_type_rt_id_seq', (SELECT 10 UNION SELECT rt_id FROM relationship_type ORDER BY 1 DESC LIMIT 1) );
|
||||
|
||||
-- The resources for meetings
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 200, 100, 1 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 200, 101, 1 );
|
||||
|
||||
-- The people who administer meetings
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 10, 200, 1 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 11, 200, 1 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 30, 200, 1 );
|
||||
|
||||
-- Between a PA and their Manager
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 30, 20, 2 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 30, 10, 2 );
|
||||
|
||||
|
||||
-- Between a team
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 20, 300, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 10, 300, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 30, 300, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 300, 20, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 300, 10, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 300, 30, 3 );
|
||||
|
||||
-- Granting explicit free/busy permission
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 11, 10, 4 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 10, 11, 4 );
|
||||
|
||||
|
||||
UPDATE relationship r SET confers = (SELECT bit_confers FROM relationship_type rt WHERE rt.rt_id=r.rt_id);
|
||||
|
||||
INSERT INTO group_member ( group_id, member_id)
|
||||
SELECT g.principal_id, m.principal_id
|
||||
FROM relationship JOIN principal g ON(to_user=g.user_no AND g.type_id = 3) -- Group
|
||||
JOIN principal m ON(from_user=m.user_no AND m.type_id IN (1,2)) ORDER BY 1, 2; -- Person | Resource
|
||||
|
||||
INSERT INTO grants ( by_principal, to_principal, privileges, is_group )
|
||||
SELECT pby.principal_id AS by_principal, pto.principal_id AS to_principal,
|
||||
confers AS privileges, pto.type_id > 2 AS is_group
|
||||
FROM relationship r JOIN usr f ON(f.user_no=r.from_user)
|
||||
JOIN usr t ON(t.user_no=r.to_user)
|
||||
JOIN principal pby ON(t.user_no=pby.user_no)
|
||||
JOIN principal pto ON(pto.user_no=f.user_no)
|
||||
WHERE rt_id < 4 AND pby.type_id < 3 ORDER BY 1, 2;
|
||||
@ -0,0 +1,140 @@
|
||||
set_config
|
||||
------------
|
||||
public
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1013
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
10
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
10
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1000
|
||||
(1 row)
|
||||
|
||||
@ -36,7 +36,6 @@ BEGIN:VFREEBUSY
|
||||
DTSTAMP:yyyymmddThhmmssZ
|
||||
DTSTART:20111018T110000Z
|
||||
DTEND:20111019T110000Z
|
||||
FREEBUSY:20111018T180000Z/20111019T040000Z
|
||||
UID:E9F98477-A9C2-43F9-8371-CBA0CBCB0300
|
||||
ORGANIZER:mailto:manager1@example.net
|
||||
ATTENDEE:mailto:user1@example.net
|
||||
|
||||
@ -35,8 +35,6 @@ BEGIN:VFREEBUSY
|
||||
DTSTAMP:yyyymmddThhmmssZ
|
||||
DTSTART:20111024T110000Z
|
||||
DTEND:20111025T110000Z
|
||||
FREEBUSY:20111024T180000Z/20111025T040000Z
|
||||
FREEBUSY:20111024T184500Z/20111024T193000Z
|
||||
FREEBUSY:20111024T220000Z/20111025T030000Z
|
||||
UID:01B40176-4934-46AE-9C0A-19ECC41200E6
|
||||
ORGANIZER:mailto:manager1@example.net
|
||||
|
||||
@ -37,7 +37,7 @@ DTEND;TZID=Pacific/Auckland:20111019T110000
|
||||
ATTENDEE;CN=Manager 1;CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:
|
||||
mailto:manager1@example.net
|
||||
ATTENDEE;CN=user1@example.net;CUTYPE=INDIVIDUAL;EMAIL=user1@example.net;
|
||||
PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE;SCHEDULE-STATUS=3.8
|
||||
PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE;SCHEDULE-STATUS=1.2
|
||||
:mailto:user1@example.net
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:Meeting with User1
|
||||
@ -47,5 +47,96 @@ ORGANIZER;CN=Manager 1:mailto:manager1@example.net
|
||||
SEQUENCE:4
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
<
|
||||
|
||||
caldav_type: >VEVENT<
|
||||
dav_name: >/user1/.in/E1A13F04-iCal-schedule.ics<
|
||||
logged_user: >20<
|
||||
summary: >Meeting with User1<
|
||||
user_no: >10<
|
||||
vcalendar: >BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:-//Apple Inc.//iCal 4.0.4//EN
|
||||
CALSCALE:GREGORIAN
|
||||
METHOD:REQUEST
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+1200
|
||||
RRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU
|
||||
DTSTART:20070930T020000
|
||||
TZNAME:GMT+13:00
|
||||
TZOFFSETTO:+1300
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU
|
||||
DTSTART:20080406T030000
|
||||
TZNAME:GMT+12:00
|
||||
TZOFFSETTO:+1200
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
CREATED:20111018T195845Z
|
||||
UID:E1A13F04-iCal-schedule
|
||||
DTEND;TZID=Pacific/Auckland:20111019T110000
|
||||
ATTENDEE;CN="Manager 1";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:manag
|
||||
er1@example.net
|
||||
ATTENDEE;CN="user1@example.net";CUTYPE=INDIVIDUAL;EMAIL="user1@example.n
|
||||
et";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:user1@ex
|
||||
ample.net
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:Meeting with User1
|
||||
DTSTART;TZID=Pacific/Auckland:20111019T100000
|
||||
DTSTAMP:20111018T200107Z
|
||||
ORGANIZER;CN="Manager 1":mailto:manager1@example.net
|
||||
SEQUENCE:4
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
<
|
||||
|
||||
caldav_type: >VEVENT<
|
||||
dav_name: >/user1/home/E1A13F04-iCal-schedule.ics<
|
||||
logged_user: >20<
|
||||
summary: >Meeting with User1<
|
||||
user_no: >10<
|
||||
vcalendar: >BEGIN:VCALENDAR
|
||||
VERSION:2.0
|
||||
PRODID:-//Apple Inc.//iCal 4.0.4//EN
|
||||
CALSCALE:GREGORIAN
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Pacific/Auckland
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+1200
|
||||
RRULE:FREQ=YEARLY;BYMONTH=9;BYDAY=-1SU
|
||||
DTSTART:20070930T020000
|
||||
TZNAME:GMT+13:00
|
||||
TZOFFSETTO:+1300
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+1300
|
||||
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU
|
||||
DTSTART:20080406T030000
|
||||
TZNAME:GMT+12:00
|
||||
TZOFFSETTO:+1200
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
CREATED:20111018T195845Z
|
||||
UID:E1A13F04-iCal-schedule
|
||||
DTEND;TZID=Pacific/Auckland:20111019T110000
|
||||
ATTENDEE;CN="Manager 1";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:manag
|
||||
er1@example.net
|
||||
ATTENDEE;CN="user1@example.net";CUTYPE=INDIVIDUAL;EMAIL="user1@example.n
|
||||
et";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:user1@ex
|
||||
ample.net
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:Meeting with User1
|
||||
DTSTART;TZID=Pacific/Auckland:20111019T100000
|
||||
DTSTAMP:20111018T200107Z
|
||||
ORGANIZER;CN="Manager 1":mailto:manager1@example.net
|
||||
SEQUENCE:4
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
<
|
||||
|
||||
|
||||
@ -84,18 +84,18 @@ END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
CREATED:20111018T195845Z
|
||||
UID:E1A13F04-iCal-schedule
|
||||
DTEND;TZID=Pacific/Auckland:20111019T110000
|
||||
ATTENDEE;CN="Manager 1";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:manag
|
||||
er1@example.net
|
||||
ATTENDEE;CN="user1@example.net";CUTYPE=INDIVIDUAL;EMAIL="user1@example.n
|
||||
et";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:user1@ex
|
||||
ample.net
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:Meeting with User1
|
||||
DTSTART;TZID=Pacific/Auckland:20111019T100000
|
||||
ORGANIZER;CN=Manager 1:mailto:manager1@example.net
|
||||
DTSTAMP:20111018T200107Z
|
||||
ORGANIZER;CN="Manager 1":mailto:manager1@example.net
|
||||
SEQUENCE:5
|
||||
DTSTART;TZID=Pacific/Auckland:20111019T100000
|
||||
DTEND;TZID=Pacific/Auckland:20111019T110000
|
||||
SUMMARY:Meeting with User1
|
||||
ATTENDEE;CN=Manager 1;CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:
|
||||
mailto:manager1@example.net
|
||||
ATTENDEE;CN=user1@example.net;CUTYPE=INDIVIDUAL;EMAIL=user1@example.net;
|
||||
PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:user1@exampl
|
||||
e.net
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
<
|
||||
@ -129,18 +129,18 @@ END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
CREATED:20111018T195845Z
|
||||
UID:E1A13F04-iCal-schedule
|
||||
DTEND;TZID=Pacific/Auckland:20111019T110000
|
||||
ATTENDEE;CN="Manager 1";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:manag
|
||||
er1@example.net
|
||||
ATTENDEE;CN="user1@example.net";CUTYPE=INDIVIDUAL;EMAIL="user1@example.n
|
||||
et";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:user1@ex
|
||||
ample.net
|
||||
TRANSP:OPAQUE
|
||||
SUMMARY:Meeting with User1
|
||||
DTSTART;TZID=Pacific/Auckland:20111019T100000
|
||||
ORGANIZER;CN=Manager 1:mailto:manager1@example.net
|
||||
DTSTAMP:20111018T200107Z
|
||||
ORGANIZER;CN="Manager 1":mailto:manager1@example.net
|
||||
SEQUENCE:5
|
||||
DTSTART;TZID=Pacific/Auckland:20111019T100000
|
||||
DTEND;TZID=Pacific/Auckland:20111019T110000
|
||||
SUMMARY:Meeting with User1
|
||||
ATTENDEE;CN=Manager 1;CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:
|
||||
mailto:manager1@example.net
|
||||
ATTENDEE;CN=user1@example.net;CUTYPE=INDIVIDUAL;EMAIL=user1@example.net;
|
||||
PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:user1@exampl
|
||||
e.net
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
<
|
||||
|
||||
@ -5,7 +5,7 @@ TYPE=PUT
|
||||
URL=http://regression.host/user1/home/E1A13F04-iCal-schedule.ics
|
||||
|
||||
HEADER=User-Agent: DAVKit/4.0.3 (732.2); CalendarStore/4.0.4 (997.7); iCal/4.0.4 (1395.7); Mac OS X/10.6.8 (10K549)
|
||||
HEADER=If-Match: "46e5c5b3530da1b0d6fd8a08bb38a3b3"
|
||||
HEADER=If-Match: "3a4199f4abc58f24c5a931a8698523f8"
|
||||
HEADER=Content-Type: text/calendar
|
||||
|
||||
# REPLACE=#<creationdate>\d{8}T\d{6}</creationdate>#<creationdate>YYYYMMDDThhmmss</creationdate>#
|
||||
|
||||
14
testing/tests/scheduling/Create-Database.result
Normal file
14
testing/tests/scheduling/Create-Database.result
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
NOTE
|
||||
====
|
||||
* The password for the 'admin' user has been set to 'nimda'
|
||||
|
||||
Thanks for trying DAViCal! Check the configuration in /etc/davical/config.php.
|
||||
For help, look at our website and wiki, or visit #davical on irc.oftc.net.
|
||||
|
||||
15
testing/tests/scheduling/Load-Sample-Data.result
Normal file
15
testing/tests/scheduling/Load-Sample-Data.result
Normal file
@ -0,0 +1,15 @@
|
||||
setval
|
||||
--------
|
||||
1000
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
1000
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
10
|
||||
(1 row)
|
||||
|
||||
7
testing/tests/scheduling/Really-Upgrade-Database.result
Normal file
7
testing/tests/scheduling/Really-Upgrade-Database.result
Normal file
@ -0,0 +1,7 @@
|
||||
The database is version XX currently at revision 1.3.3.
|
||||
No patches were applied.
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
1654
|
||||
1013
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
@ -125,12 +125,12 @@
|
||||
|
||||
setval
|
||||
--------
|
||||
43
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
--------
|
||||
14
|
||||
1
|
||||
(1 row)
|
||||
|
||||
setval
|
||||
|
||||
5
testing/tests/scheduling/Upgrade-Database.result
Normal file
5
testing/tests/scheduling/Upgrade-Database.result
Normal file
@ -0,0 +1,5 @@
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
126
testing/tests/scheduling/sample-data.sql
Normal file
126
testing/tests/scheduling/sample-data.sql
Normal file
@ -0,0 +1,126 @@
|
||||
-- Some sample data to prime the database...
|
||||
-- base-data.sql should be processed before this
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 2, TRUE, current_date, current_date, 'andrew', '**x', 'Andrew McMillan', 'andrew@catalyst.net.nz' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 2, 1);
|
||||
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 10, TRUE, current_date, current_date, 'user1', '**user1', 'User 1', 'user1@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 11, TRUE, current_date, current_date, 'user2', '**user2', 'User 2', 'user2@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 12, TRUE, current_date, current_date, 'user3', '**user3', 'User 3', 'user3@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 13, TRUE, current_date, current_date, 'user4', '**user4', 'User 4', 'user4@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 14, TRUE, current_date, current_date, 'user5', '**user5', 'User 5', 'user5@example.net' );
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 15, TRUE, current_date, current_date, 'User Six', '**user6', 'User 6', 'user6@example.net' );
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 20, TRUE, current_date, current_date, 'manager1', '**manager1', 'Manager 1', 'manager1@example.net' );
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 30, TRUE, current_date, current_date, 'assistant1', '**assistant1', 'Assistant 1', 'assistant1@example.net' );
|
||||
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 100, TRUE, current_date, current_date, 'resource1', '*salt*unpossible', 'Resource 1', 'resource1@example.net' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 100, 4);
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 101, TRUE, current_date, current_date, 'resource2', '*salt*unpossible', 'Resource 2', 'resource2@example.net' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 101, 4);
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 200, TRUE, current_date, current_date, 'resmgr1', '*salt*unpossible', 'Resource Managers', 'resource-managers@example.net' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 200, 2);
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 300, TRUE, current_date, current_date, 'teamclient1', '*salt*unpossible', 'Team for Client1', 'team-client1@example.net' );
|
||||
INSERT INTO role_member (user_no, role_no) VALUES( 300, 2);
|
||||
|
||||
SELECT setval('usr_user_no_seq', 1000);
|
||||
SELECT setval('dav_id_seq', 1000);
|
||||
|
||||
UPDATE usr SET joined = '2009-06-01', updated = '2009-06-02';
|
||||
|
||||
INSERT INTO collection (user_no, parent_container, dav_name, dav_etag,
|
||||
dav_displayname, is_calendar, created, modified,
|
||||
public_events_only, publicly_readable, collection_id, resourcetypes )
|
||||
SELECT user_no, '/' || username || '/', '/' || username || '/home/', md5(username),
|
||||
username || ' home', TRUE, '2009-06-03', '2009-06-04',
|
||||
FALSE, FALSE, user_no + 150, '<DAV::collection/><urn:ietf:params:xml:ns:caldav:calendar/>'
|
||||
FROM usr ORDER BY user_no;
|
||||
|
||||
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 + 450, '<DAV::collection/><urn:ietf:params:xml:ns:carddav:addressbook/>'
|
||||
FROM usr ORDER BY user_no;
|
||||
|
||||
|
||||
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)
|
||||
AND NOT EXISTS(SELECT 1 FROM role_member JOIN roles USING(role_no) WHERE role_name = 'Resource' AND role_member.user_no = usr.user_no)
|
||||
AND NOT EXISTS(SELECT 1 FROM principal WHERE principal.user_no = usr.user_no) ORDER BY user_no;
|
||||
|
||||
INSERT INTO principal (type_id, user_no, displayname, default_privileges)
|
||||
SELECT 2, user_no, fullname, privilege_to_bits(ARRAY['read','schedule-send','schedule-deliver']) FROM usr
|
||||
WHERE EXISTS(SELECT 1 FROM role_member JOIN roles USING(role_no) WHERE role_name = 'Resource' AND role_member.user_no = usr.user_no)
|
||||
AND NOT EXISTS(SELECT 1 FROM principal WHERE principal.user_no = usr.user_no) ORDER BY user_no;
|
||||
|
||||
INSERT INTO principal (type_id, user_no, displayname, default_privileges)
|
||||
SELECT 3, user_no, fullname, privilege_to_bits(ARRAY['read-free-busy','schedule-send','schedule-deliver']) FROM usr
|
||||
WHERE EXISTS(SELECT 1 FROM role_member JOIN roles USING(role_no) WHERE role_name = 'Group' AND role_member.user_no = usr.user_no)
|
||||
AND NOT EXISTS(SELECT 1 FROM principal WHERE principal.user_no = usr.user_no) ORDER BY user_no;
|
||||
|
||||
-- Set the insert sequence to the next number, with a minimum of 1000
|
||||
SELECT setval('relationship_type_rt_id_seq', (SELECT 10 UNION SELECT rt_id FROM relationship_type ORDER BY 1 DESC LIMIT 1) );
|
||||
|
||||
-- The resources for meetings
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 200, 100, 1 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 200, 101, 1 );
|
||||
|
||||
-- The people who administer meetings
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 10, 200, 1 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 11, 200, 1 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 30, 200, 1 );
|
||||
|
||||
-- Between a PA and their Manager
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 30, 20, 2 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 30, 10, 2 );
|
||||
|
||||
|
||||
-- Between a team
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 20, 300, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 10, 300, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 30, 300, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 300, 20, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 300, 10, 3 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 300, 30, 3 );
|
||||
|
||||
-- Granting explicit free/busy permission
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 11, 10, 4 );
|
||||
INSERT INTO relationship ( from_user, to_user, rt_id ) VALUES( 10, 11, 4 );
|
||||
|
||||
|
||||
UPDATE relationship r SET confers = (SELECT bit_confers FROM relationship_type rt WHERE rt.rt_id=r.rt_id);
|
||||
|
||||
INSERT INTO group_member ( group_id, member_id)
|
||||
SELECT g.principal_id, m.principal_id
|
||||
FROM relationship JOIN principal g ON(to_user=g.user_no AND g.type_id = 3) -- Group
|
||||
JOIN principal m ON(from_user=m.user_no AND m.type_id IN (1,2)) ORDER BY 1, 2; -- Person | Resource
|
||||
|
||||
INSERT INTO grants ( by_principal, to_principal, privileges, is_group )
|
||||
SELECT pby.principal_id AS by_principal, pto.principal_id AS to_principal,
|
||||
confers AS privileges, pto.type_id > 2 AS is_group
|
||||
FROM relationship r JOIN usr f ON(f.user_no=r.from_user)
|
||||
JOIN usr t ON(t.user_no=r.to_user)
|
||||
JOIN principal pby ON(t.user_no=pby.user_no)
|
||||
JOIN principal pto ON(pto.user_no=f.user_no)
|
||||
WHERE rt_id < 4 AND pby.type_id < 3 ORDER BY 1, 2;
|
||||
14
testing/tests/timezone/Create-Database.result
Normal file
14
testing/tests/timezone/Create-Database.result
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
NOTE
|
||||
====
|
||||
* The password for the 'admin' user has been set to 'nimda'
|
||||
|
||||
Thanks for trying DAViCal! Check the configuration in /etc/davical/config.php.
|
||||
For help, look at our website and wiki, or visit #davical on irc.oftc.net.
|
||||
|
||||
7
testing/tests/timezone/Really-Upgrade-Database.result
Normal file
7
testing/tests/timezone/Really-Upgrade-Database.result
Normal file
@ -0,0 +1,7 @@
|
||||
The database is version XX currently at revision 1.3.3.
|
||||
No patches were applied.
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
5
testing/tests/timezone/Upgrade-Database.result
Normal file
5
testing/tests/timezone/Upgrade-Database.result
Normal file
@ -0,0 +1,5 @@
|
||||
Supported locales updated.
|
||||
Updated view: dav_principal.sql applied.
|
||||
CalDAV functions updated.
|
||||
RRULE functions updated.
|
||||
Database permissions updated.
|
||||
Loading…
x
Reference in New Issue
Block a user