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: Invitation! 6 7 --===============0047278175== 8 Content-Type: text/plain; charset="us-ascii" 9 MIME-Version: 1.0 10 Content-Transfer-Encoding: 7bit 11 12 This message contains an event. 13 --===============0047278175== 14 MIME-Version: 1.0 15 Content-Transfer-Encoding: 7bit 16 Content-Type: text/calendar; charset="us-ascii"; method="REQUEST" 17 18 BEGIN:VCALENDAR 19 PRODID:-//imip-agent/test//EN 20 METHOD:REQUEST 21 VERSION:2.0 22 BEGIN:VEVENT 23 ORGANIZER:mailto:paul.boddie@example.com 24 ATTENDEE;ROLE=CHAIR:mailto:paul.boddie@example.com 25 ATTENDEE;RSVP=TRUE:mailto:harvey.horse@example.com 26 ATTENDEE;RSVP=TRUE:mailto:resource-room-confroom@example.com 27 DTSTAMP:20141125T004600Z 28 DTSTART;TZID=Europe/Oslo:20141126T160000 29 DTEND;TZID=Europe/Oslo:20141126T170000 30 SUMMARY:Meeting at 4pm 31 UID:event1@example.com 32 END:VEVENT 33 END:VCALENDAR 34 35 --===============0047278175==--