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:20141009T182400Z 29 SUMMARY:Recurring event 30 UID:event11@example.com 31 END:VEVENT 32 END:VCALENDAR 33 34 --===============0047278175==--