sabredav_client 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -3
- data/.rspec +1 -1
- data/CHANGELOG.rdoc +8 -8
- data/Gemfile +3 -3
- data/Gemfile.lock +39 -38
- data/README.md +49 -49
- data/Rakefile +5 -5
- data/lib/sabredav_client.rb +10 -10
- data/lib/sabredav_client/calendar.rb +171 -171
- data/lib/sabredav_client/client.rb +57 -57
- data/lib/sabredav_client/errors/errors.rb +41 -41
- data/lib/sabredav_client/events.rb +106 -105
- data/lib/sabredav_client/net.rb +15 -15
- data/lib/sabredav_client/principal.rb +51 -51
- data/lib/sabredav_client/request.rb +97 -97
- data/lib/sabredav_client/version.rb +3 -3
- data/lib/sabredav_client/xml_request_builder.rb +7 -7
- data/lib/sabredav_client/xml_request_builder/base.rb +17 -17
- data/lib/sabredav_client/xml_request_builder/mkcalendar.rb +25 -25
- data/lib/sabredav_client/xml_request_builder/mkcol_principal.rb +28 -28
- data/lib/sabredav_client/xml_request_builder/post_sharing.rb +41 -41
- data/lib/sabredav_client/xml_request_builder/propfind_calendar.rb +41 -41
- data/lib/sabredav_client/xml_request_builder/propfind_invite.rb +19 -19
- data/lib/sabredav_client/xml_request_builder/propfind_owner.rb +19 -19
- data/lib/sabredav_client/xml_request_builder/proppatch_calendar.rb +25 -25
- data/lib/sabredav_client/xml_request_builder/proppatch_events_owner.rb +23 -23
- data/lib/sabredav_client/xml_request_builder/proppatch_principal.rb +25 -25
- data/lib/sabredav_client/xml_request_builder/report_event_changes.rb +22 -22
- data/lib/sabredav_client/xml_request_builder/report_vevent.rb +30 -30
- data/lib/sabredav_client/xml_request_builder/report_vtodo.rb +20 -20
- data/sabredav_client.gemspec +31 -31
- data/spec/fixtures/calendar_fetch_changes.xml +26 -26
- data/spec/fixtures/calendar_info.xml +14 -14
- data/spec/fixtures/calendar_sharees.xml +35 -35
- data/spec/fixtures/calendar_sharees_without_common_name.xml +26 -26
- data/spec/fixtures/event.ics +23 -23
- data/spec/fixtures/events_find_multiple.xml +51 -51
- data/spec/fixtures/events_owner.xml +12 -12
- data/spec/fixtures/xml_request_builder/mkcalendar.xml +9 -9
- data/spec/fixtures/xml_request_builder/mkcol_principal.xml +12 -12
- data/spec/fixtures/xml_request_builder/post_sharing.xml +18 -18
- data/spec/fixtures/xml_request_builder/propfind_calendar/all_properties.xml +8 -8
- data/spec/fixtures/xml_request_builder/propfind_invite.xml +6 -6
- data/spec/fixtures/xml_request_builder/propfind_owner.xml +6 -6
- data/spec/fixtures/xml_request_builder/proppatch_calendar.xml +9 -9
- data/spec/fixtures/xml_request_builder/proppatch_events_owner.xml +8 -8
- data/spec/fixtures/xml_request_builder/proppatch_principal.xml +9 -9
- data/spec/fixtures/xml_request_builder/report_event_changes.xml +8 -8
- data/spec/sabredav_client/calendar_spec.rb +142 -142
- data/spec/sabredav_client/client_spec.rb +41 -41
- data/spec/sabredav_client/events_spec.rb +119 -119
- data/spec/sabredav_client/principal_spec.rb +51 -51
- data/spec/sabredav_client/request_spec.rb +55 -55
- data/spec/sabredav_client/xml_request_builder_specs/base_spec.rb +30 -30
- data/spec/sabredav_client/xml_request_builder_specs/mkcalendar_spec.rb +13 -13
- data/spec/sabredav_client/xml_request_builder_specs/mkcol_principal_spec.rb +13 -13
- data/spec/sabredav_client/xml_request_builder_specs/post_sharing_spec.rb +15 -15
- data/spec/sabredav_client/xml_request_builder_specs/propfind_calendar_spec.rb +24 -24
- data/spec/sabredav_client/xml_request_builder_specs/propfind_invite_spec.rb +14 -14
- data/spec/sabredav_client/xml_request_builder_specs/propfind_owner_spec.rb +14 -14
- data/spec/sabredav_client/xml_request_builder_specs/proppatch_calendar.rb +15 -15
- data/spec/sabredav_client/xml_request_builder_specs/proppatch_events_owner_spec.rb +14 -14
- data/spec/sabredav_client/xml_request_builder_specs/proppatch_principal_spec.rb +24 -24
- data/spec/sabredav_client/xml_request_builder_specs/report_event_changes_spec.rb +15 -15
- data/spec/spec.opts +4 -4
- data/spec/spec_helper.rb +8 -8
- metadata +5 -5
@@ -1,14 +1,14 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
-
<d:response>
|
4
|
-
<d:href>/caldav/server.php/calendars/foo/test_calendar/</d:href>
|
5
|
-
<d:propstat>
|
6
|
-
<d:prop>
|
7
|
-
<d:displayname>Test Calendar</d:displayname>
|
8
|
-
<cs:getctag>http://sabre.io/ns/sync/15</cs:getctag>
|
9
|
-
<d:sync-token>http://sabre.io/ns/sync/15</d:sync-token>
|
10
|
-
</d:prop>
|
11
|
-
<d:status>HTTP/1.1 200 OK</d:status>
|
12
|
-
</d:propstat>
|
13
|
-
</d:response>
|
14
|
-
</d:multistatus>
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
+
<d:response>
|
4
|
+
<d:href>/caldav/server.php/calendars/foo/test_calendar/</d:href>
|
5
|
+
<d:propstat>
|
6
|
+
<d:prop>
|
7
|
+
<d:displayname>Test Calendar</d:displayname>
|
8
|
+
<cs:getctag>http://sabre.io/ns/sync/15</cs:getctag>
|
9
|
+
<d:sync-token>http://sabre.io/ns/sync/15</d:sync-token>
|
10
|
+
</d:prop>
|
11
|
+
<d:status>HTTP/1.1 200 OK</d:status>
|
12
|
+
</d:propstat>
|
13
|
+
</d:response>
|
14
|
+
</d:multistatus>
|
@@ -1,35 +1,35 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
-
<d:response>
|
4
|
-
<d:href>/caldav/server.php/user/calendar/</d:href>
|
5
|
-
<d:propstat>
|
6
|
-
<d:prop>
|
7
|
-
<cs:invite>
|
8
|
-
<cs:organizer>
|
9
|
-
<cs:uri>D8D498E2-4A98-4DC7-B421-BC49261168AF</cs:uri>
|
10
|
-
<d:href>/caldav/server.php/principals/user</d:href>
|
11
|
-
</cs:organizer>
|
12
|
-
<cs:user>
|
13
|
-
<cs:invite-accepted/>
|
14
|
-
<cs:access>
|
15
|
-
<cs:read/>
|
16
|
-
</cs:access>
|
17
|
-
<cs:uri>5bffa09e-7220-4688-a13f-088714a98783</cs:uri>
|
18
|
-
<d:href>mailto:sharee1@njiuko.com</d:href>
|
19
|
-
<cs:common-name>sharee1</cs:common-name>
|
20
|
-
</cs:user>
|
21
|
-
<cs:user>
|
22
|
-
<cs:invite-accepted/>
|
23
|
-
<cs:access>
|
24
|
-
<cs:write-read/>
|
25
|
-
</cs:access>
|
26
|
-
<cs:uri>f176b400-f0e4-4a57-bd92-0c307810ce12</cs:uri>
|
27
|
-
<d:href>mailto:sharee2@protonet.info</d:href>
|
28
|
-
<cs:common-name>sharee2</cs:common-name>
|
29
|
-
</cs:user>
|
30
|
-
</cs:invite>
|
31
|
-
</d:prop>
|
32
|
-
<d:status>HTTP/1.1 200 OK</d:status>
|
33
|
-
</d:propstat>
|
34
|
-
</d:response>
|
35
|
-
</d:multistatus>
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
+
<d:response>
|
4
|
+
<d:href>/caldav/server.php/user/calendar/</d:href>
|
5
|
+
<d:propstat>
|
6
|
+
<d:prop>
|
7
|
+
<cs:invite>
|
8
|
+
<cs:organizer>
|
9
|
+
<cs:uri>D8D498E2-4A98-4DC7-B421-BC49261168AF</cs:uri>
|
10
|
+
<d:href>/caldav/server.php/principals/user</d:href>
|
11
|
+
</cs:organizer>
|
12
|
+
<cs:user>
|
13
|
+
<cs:invite-accepted/>
|
14
|
+
<cs:access>
|
15
|
+
<cs:read/>
|
16
|
+
</cs:access>
|
17
|
+
<cs:uri>5bffa09e-7220-4688-a13f-088714a98783</cs:uri>
|
18
|
+
<d:href>mailto:sharee1@njiuko.com</d:href>
|
19
|
+
<cs:common-name>sharee1</cs:common-name>
|
20
|
+
</cs:user>
|
21
|
+
<cs:user>
|
22
|
+
<cs:invite-accepted/>
|
23
|
+
<cs:access>
|
24
|
+
<cs:write-read/>
|
25
|
+
</cs:access>
|
26
|
+
<cs:uri>f176b400-f0e4-4a57-bd92-0c307810ce12</cs:uri>
|
27
|
+
<d:href>mailto:sharee2@protonet.info</d:href>
|
28
|
+
<cs:common-name>sharee2</cs:common-name>
|
29
|
+
</cs:user>
|
30
|
+
</cs:invite>
|
31
|
+
</d:prop>
|
32
|
+
<d:status>HTTP/1.1 200 OK</d:status>
|
33
|
+
</d:propstat>
|
34
|
+
</d:response>
|
35
|
+
</d:multistatus>
|
@@ -1,26 +1,26 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
-
<d:response>
|
4
|
-
<d:href>/caldav/server.php/user/calendar/</d:href>
|
5
|
-
<d:propstat>
|
6
|
-
<d:prop>
|
7
|
-
<cs:invite>
|
8
|
-
<cs:organizer>
|
9
|
-
<cs:uri>D8D498E2-4A98-4DC7-B421-BC49261168AF</cs:uri>
|
10
|
-
<d:href>/caldav/server.php/principals/user</d:href>
|
11
|
-
</cs:organizer>
|
12
|
-
<cs:user>
|
13
|
-
<cs:invite-accepted/>
|
14
|
-
<cs:access>
|
15
|
-
<cs:write-read/>
|
16
|
-
</cs:access>
|
17
|
-
<cs:uri>f176b400-f0e4-4a57-bd92-0c307810ce12</cs:uri>
|
18
|
-
<cs:principal>principal/user99</cs:principal>
|
19
|
-
<d:href>mailto:sharee2@protonet.info</d:href>
|
20
|
-
</cs:user>
|
21
|
-
</cs:invite>
|
22
|
-
</d:prop>
|
23
|
-
<d:status>HTTP/1.1 200 OK</d:status>
|
24
|
-
</d:propstat>
|
25
|
-
</d:response>
|
26
|
-
</d:multistatus>
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
+
<d:response>
|
4
|
+
<d:href>/caldav/server.php/user/calendar/</d:href>
|
5
|
+
<d:propstat>
|
6
|
+
<d:prop>
|
7
|
+
<cs:invite>
|
8
|
+
<cs:organizer>
|
9
|
+
<cs:uri>D8D498E2-4A98-4DC7-B421-BC49261168AF</cs:uri>
|
10
|
+
<d:href>/caldav/server.php/principals/user</d:href>
|
11
|
+
</cs:organizer>
|
12
|
+
<cs:user>
|
13
|
+
<cs:invite-accepted/>
|
14
|
+
<cs:access>
|
15
|
+
<cs:write-read/>
|
16
|
+
</cs:access>
|
17
|
+
<cs:uri>f176b400-f0e4-4a57-bd92-0c307810ce12</cs:uri>
|
18
|
+
<cs:principal>principal/user99</cs:principal>
|
19
|
+
<d:href>mailto:sharee2@protonet.info</d:href>
|
20
|
+
</cs:user>
|
21
|
+
</cs:invite>
|
22
|
+
</d:prop>
|
23
|
+
<d:status>HTTP/1.1 200 OK</d:status>
|
24
|
+
</d:propstat>
|
25
|
+
</d:response>
|
26
|
+
</d:multistatus>
|
data/spec/fixtures/event.ics
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
BEGIN:VCALENDAR
|
2
|
-
VERSION:2.0
|
3
|
-
PRODID:-//Apple Inc.//Mac OS X 10.10.5//EN
|
4
|
-
CALSCALE:GREGORIAN
|
5
|
-
BEGIN:VEVENT
|
6
|
-
CREATED:20160818T130939Z
|
7
|
-
UID:896BD78E-5DC1-495D-BB81-6BF3F3A67D64
|
8
|
-
DTEND;VALUE=DATE:20160818
|
9
|
-
TRANSP:TRANSPARENT
|
10
|
-
SUMMARY:alllllll day neww Event
|
11
|
-
DTSTART;VALUE=DATE:20160817
|
12
|
-
DTSTAMP:20160818T130939Z
|
13
|
-
SEQUENCE:0
|
14
|
-
BEGIN:VALARM
|
15
|
-
X-WR-ALARMUID:47732F70-1793-47B3-80FA-57E3C5ECA0E5
|
16
|
-
UID:47732F70-1793-47B3-80FA-57E3C5ECA0E5
|
17
|
-
TRIGGER:-PT15H
|
18
|
-
X-APPLE-DEFAULT-ALARM:TRUE
|
19
|
-
ATTACH;VALUE=URI:Basso
|
20
|
-
ACTION:AUDIO
|
21
|
-
END:VALARM
|
22
|
-
END:VEVENT
|
23
|
-
END:VCALENDAR
|
1
|
+
BEGIN:VCALENDAR
|
2
|
+
VERSION:2.0
|
3
|
+
PRODID:-//Apple Inc.//Mac OS X 10.10.5//EN
|
4
|
+
CALSCALE:GREGORIAN
|
5
|
+
BEGIN:VEVENT
|
6
|
+
CREATED:20160818T130939Z
|
7
|
+
UID:896BD78E-5DC1-495D-BB81-6BF3F3A67D64
|
8
|
+
DTEND;VALUE=DATE:20160818
|
9
|
+
TRANSP:TRANSPARENT
|
10
|
+
SUMMARY:alllllll day neww Event
|
11
|
+
DTSTART;VALUE=DATE:20160817
|
12
|
+
DTSTAMP:20160818T130939Z
|
13
|
+
SEQUENCE:0
|
14
|
+
BEGIN:VALARM
|
15
|
+
X-WR-ALARMUID:47732F70-1793-47B3-80FA-57E3C5ECA0E5
|
16
|
+
UID:47732F70-1793-47B3-80FA-57E3C5ECA0E5
|
17
|
+
TRIGGER:-PT15H
|
18
|
+
X-APPLE-DEFAULT-ALARM:TRUE
|
19
|
+
ATTACH;VALUE=URI:Basso
|
20
|
+
ACTION:AUDIO
|
21
|
+
END:VALARM
|
22
|
+
END:VEVENT
|
23
|
+
END:VCALENDAR
|
@@ -1,51 +1,51 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
3
|
-
<response>
|
4
|
-
<href>/user/calendar/960232b0-371c-0130-9e6b-001999638982.ics</href>
|
5
|
-
<propstat>
|
6
|
-
<prop>
|
7
|
-
<getetag>"-5984324385549365166"</getetag>
|
8
|
-
<C:calendar-data>BEGIN:VCALENDAR
|
9
|
-
PRODID:-//Radicale//NONSGML Radicale Server//EN
|
10
|
-
VERSION:2.0
|
11
|
-
BEGIN:VEVENT
|
12
|
-
DESCRIPTION:12345 12345
|
13
|
-
DTEND:20010202T120000
|
14
|
-
DTSTAMP:20130102T161119
|
15
|
-
DTSTART:20010202T080000
|
16
|
-
SEQUENCE:0
|
17
|
-
SUMMARY:6789
|
18
|
-
UID:960232b0-371c-0130-9e6b-001999638982
|
19
|
-
X-RADICALE-NAME:960232b0-371c-0130-9e6b-001999638982.ics
|
20
|
-
END:VEVENT
|
21
|
-
END:VCALENDAR
|
22
|
-
</C:calendar-data>
|
23
|
-
</prop>
|
24
|
-
<status>HTTP/1.1 200 OK</status>
|
25
|
-
</propstat>
|
26
|
-
</response>
|
27
|
-
<response>
|
28
|
-
<href>/user/calendar/98f067a0-371c-0130-9e6c-001999638982.ics</href>
|
29
|
-
<propstat>
|
30
|
-
<prop>
|
31
|
-
<getetag>"3611068816283260390"</getetag>
|
32
|
-
<C:calendar-data>BEGIN:VCALENDAR
|
33
|
-
PRODID:-//Radicale//NONSGML Radicale Server//EN
|
34
|
-
VERSION:2.0
|
35
|
-
BEGIN:VEVENT
|
36
|
-
DESCRIPTION:12345 12345
|
37
|
-
DTEND:20010203T120000
|
38
|
-
DTSTAMP:20130102T161124
|
39
|
-
DTSTART:20010203T080000
|
40
|
-
SEQUENCE:0
|
41
|
-
SUMMARY:6789
|
42
|
-
UID:98f067a0-371c-0130-9e6c-001999638982
|
43
|
-
X-RADICALE-NAME:98f067a0-371c-0130-9e6c-001999638982.ics
|
44
|
-
END:VEVENT
|
45
|
-
END:VCALENDAR
|
46
|
-
</C:calendar-data>
|
47
|
-
</prop>
|
48
|
-
<status>HTTP/1.1 200 OK</status>
|
49
|
-
</propstat>
|
50
|
-
</response>
|
51
|
-
</multistatus>
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
3
|
+
<response>
|
4
|
+
<href>/user/calendar/960232b0-371c-0130-9e6b-001999638982.ics</href>
|
5
|
+
<propstat>
|
6
|
+
<prop>
|
7
|
+
<getetag>"-5984324385549365166"</getetag>
|
8
|
+
<C:calendar-data>BEGIN:VCALENDAR
|
9
|
+
PRODID:-//Radicale//NONSGML Radicale Server//EN
|
10
|
+
VERSION:2.0
|
11
|
+
BEGIN:VEVENT
|
12
|
+
DESCRIPTION:12345 12345
|
13
|
+
DTEND:20010202T120000
|
14
|
+
DTSTAMP:20130102T161119
|
15
|
+
DTSTART:20010202T080000
|
16
|
+
SEQUENCE:0
|
17
|
+
SUMMARY:6789
|
18
|
+
UID:960232b0-371c-0130-9e6b-001999638982
|
19
|
+
X-RADICALE-NAME:960232b0-371c-0130-9e6b-001999638982.ics
|
20
|
+
END:VEVENT
|
21
|
+
END:VCALENDAR
|
22
|
+
</C:calendar-data>
|
23
|
+
</prop>
|
24
|
+
<status>HTTP/1.1 200 OK</status>
|
25
|
+
</propstat>
|
26
|
+
</response>
|
27
|
+
<response>
|
28
|
+
<href>/user/calendar/98f067a0-371c-0130-9e6c-001999638982.ics</href>
|
29
|
+
<propstat>
|
30
|
+
<prop>
|
31
|
+
<getetag>"3611068816283260390"</getetag>
|
32
|
+
<C:calendar-data>BEGIN:VCALENDAR
|
33
|
+
PRODID:-//Radicale//NONSGML Radicale Server//EN
|
34
|
+
VERSION:2.0
|
35
|
+
BEGIN:VEVENT
|
36
|
+
DESCRIPTION:12345 12345
|
37
|
+
DTEND:20010203T120000
|
38
|
+
DTSTAMP:20130102T161124
|
39
|
+
DTSTART:20010203T080000
|
40
|
+
SEQUENCE:0
|
41
|
+
SUMMARY:6789
|
42
|
+
UID:98f067a0-371c-0130-9e6c-001999638982
|
43
|
+
X-RADICALE-NAME:98f067a0-371c-0130-9e6c-001999638982.ics
|
44
|
+
END:VEVENT
|
45
|
+
END:VCALENDAR
|
46
|
+
</C:calendar-data>
|
47
|
+
</prop>
|
48
|
+
<status>HTTP/1.1 200 OK</status>
|
49
|
+
</propstat>
|
50
|
+
</response>
|
51
|
+
</multistatus>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
-
<d:response>
|
4
|
-
<d:href>http://localhost:5232/user/calendar/event.ics</d:href>
|
5
|
-
<d:propstat>
|
6
|
-
<d:prop>
|
7
|
-
<cs:objectOwner>principals/usertest</cs:objectOwner>
|
8
|
-
</d:prop>
|
9
|
-
<d:status>HTTP/1.1 200 OK</d:status>
|
10
|
-
</d:propstat>
|
11
|
-
</d:response>
|
12
|
-
</d:multistatus>
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
+
<d:response>
|
4
|
+
<d:href>http://localhost:5232/user/calendar/event.ics</d:href>
|
5
|
+
<d:propstat>
|
6
|
+
<d:prop>
|
7
|
+
<cs:objectOwner>principals/usertest</cs:objectOwner>
|
8
|
+
</d:prop>
|
9
|
+
<d:status>HTTP/1.1 200 OK</d:status>
|
10
|
+
</d:propstat>
|
11
|
+
</d:response>
|
12
|
+
</d:multistatus>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<c:mkcalendar xmlns:d="DAV:" xmlns:c="urn:ietf:params:xml:ns:caldav">
|
3
|
-
<d:set>
|
4
|
-
<d:prop>
|
5
|
-
<d:displayname>name</d:displayname>
|
6
|
-
<c:calendar-description xml:lang="en">description</c:calendar-description>
|
7
|
-
</d:prop>
|
8
|
-
</d:set>
|
9
|
-
</c:mkcalendar>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<c:mkcalendar xmlns:d="DAV:" xmlns:c="urn:ietf:params:xml:ns:caldav">
|
3
|
+
<d:set>
|
4
|
+
<d:prop>
|
5
|
+
<d:displayname>name</d:displayname>
|
6
|
+
<c:calendar-description xml:lang="en">description</c:calendar-description>
|
7
|
+
</d:prop>
|
8
|
+
</d:set>
|
9
|
+
</c:mkcalendar>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<d:mkcol xmlns:d="DAV:" xmlns:sb="http://sabredav.org/ns">
|
3
|
-
<d:set>
|
4
|
-
<d:prop>
|
5
|
-
<d:resourcetype>
|
6
|
-
<d:principal/>
|
7
|
-
</d:resourcetype>
|
8
|
-
<d:displayname>usertest</d:displayname>
|
9
|
-
<sb:email-address>test@test.de</sb:email-address>
|
10
|
-
</d:prop>
|
11
|
-
</d:set>
|
12
|
-
</d:mkcol>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<d:mkcol xmlns:d="DAV:" xmlns:sb="http://sabredav.org/ns">
|
3
|
+
<d:set>
|
4
|
+
<d:prop>
|
5
|
+
<d:resourcetype>
|
6
|
+
<d:principal/>
|
7
|
+
</d:resourcetype>
|
8
|
+
<d:displayname>usertest</d:displayname>
|
9
|
+
<sb:email-address>test@test.de</sb:email-address>
|
10
|
+
</d:prop>
|
11
|
+
</d:set>
|
12
|
+
</d:mkcol>
|
@@ -1,18 +1,18 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<cs:share xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
-
<cs:set>
|
4
|
-
<d:href>mailto:add1@test.de</d:href>
|
5
|
-
<cs:summary>title</cs:summary>
|
6
|
-
<cs:common-name>common_name</cs:common-name>
|
7
|
-
<cs:read-write/>
|
8
|
-
</cs:set>
|
9
|
-
<cs:set>
|
10
|
-
<d:href>mailto:add2@test.de</d:href>
|
11
|
-
<cs:summary>title</cs:summary>
|
12
|
-
<cs:common-name>common_name</cs:common-name>
|
13
|
-
<cs:read-write/>
|
14
|
-
</cs:set>
|
15
|
-
<cs:remove>
|
16
|
-
<d:href>mailto:remove@test.de</d:href>
|
17
|
-
</cs:remove>
|
18
|
-
</cs:share>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<cs:share xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
+
<cs:set>
|
4
|
+
<d:href>mailto:add1@test.de</d:href>
|
5
|
+
<cs:summary>title</cs:summary>
|
6
|
+
<cs:common-name>common_name</cs:common-name>
|
7
|
+
<cs:read-write/>
|
8
|
+
</cs:set>
|
9
|
+
<cs:set>
|
10
|
+
<d:href>mailto:add2@test.de</d:href>
|
11
|
+
<cs:summary>title</cs:summary>
|
12
|
+
<cs:common-name>common_name</cs:common-name>
|
13
|
+
<cs:read-write/>
|
14
|
+
</cs:set>
|
15
|
+
<cs:remove>
|
16
|
+
<d:href>mailto:remove@test.de</d:href>
|
17
|
+
</cs:remove>
|
18
|
+
</cs:share>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<d:propfind xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
-
<d:prop>
|
4
|
-
<d:displayname/>
|
5
|
-
<cs:getctag/>
|
6
|
-
<d:sync-token/>
|
7
|
-
</d:prop>
|
8
|
-
</d:propfind>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<d:propfind xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
+
<d:prop>
|
4
|
+
<d:displayname/>
|
5
|
+
<cs:getctag/>
|
6
|
+
<d:sync-token/>
|
7
|
+
</d:prop>
|
8
|
+
</d:propfind>
|
@@ -1,6 +1,6 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<d:propfind xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
-
<d:prop>
|
4
|
-
<cs:invite/>
|
5
|
-
</d:prop>
|
6
|
-
</d:propfind>
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<d:propfind xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/">
|
3
|
+
<d:prop>
|
4
|
+
<cs:invite/>
|
5
|
+
</d:prop>
|
6
|
+
</d:propfind>
|