2015-10-17 | Paul Boddie | raw annotate files changeset graph | Consolidated descriptions of events for both REFRESH requests and for messages sent by the manager, bundling the necessary REQUEST and CANCEL payloads to describe events and their recurrences. Changed organiser-sent messages in the manager to be also sent to the user's own address, not the people-outgoing version of that address, adding support for self-sent CANCEL messages in the person handler. Added the removal of cancelled recurrences to restore periods in events edited in the manager. Otherwise, such periods can never be restored. Expanded the REFRESH method tests. |
1 Content-Type: multipart/alternative; boundary="===============0047278175==" 2 MIME-Version: 1.0 3 From: paul.boddie@example.com 4 To: resource-room-confroom@example.com 5 Subject: Cancellation! 6 7 Cancel the event for resource-room-confroom and paul.boddie. 8 9 --===============0047278175== 10 Content-Type: text/plain; charset="us-ascii" 11 MIME-Version: 1.0 12 Content-Transfer-Encoding: 7bit 13 14 This message contains an event. 15 --===============0047278175== 16 MIME-Version: 1.0 17 Content-Transfer-Encoding: 7bit 18 Content-Type: text/calendar; charset="us-ascii"; method="CANCEL" 19 20 BEGIN:VCALENDAR 21 PRODID:-//imip-agent/test//EN 22 METHOD:CANCEL 23 VERSION:2.0 24 BEGIN:VEVENT 25 ORGANIZER:mailto:paul.boddie@example.com 26 ATTENDEE;RSVP=TRUE:mailto:resource-room-confroom@example.com 27 ATTENDEE;RSVP=TRUE:mailto:paul.boddie@example.com 28 DTSTAMP:20141125T004600Z 29 DTSTART;TZID=Europe/Oslo:20141126T160000 30 DTEND;TZID=Europe/Oslo:20141126T170000 31 SUMMARY:Meeting at 4pm 32 UID:event1@example.com 33 SEQUENCE:2 34 END:VEVENT 35 END:VCALENDAR 36 37 --===============0047278175==--