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: vincent.vole@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. It adds a previously-cancelled instance. 13 14 --===============0047278175== 15 MIME-Version: 1.0 16 Content-Transfer-Encoding: 7bit 17 Content-Type: text/calendar; charset="us-ascii"; method="ADD" 18 19 BEGIN:VCALENDAR 20 PRODID:-//imip-agent/test//EN 21 METHOD:ADD 22 VERSION:2.0 23 BEGIN:VEVENT 24 ORGANIZER:mailto:paul.boddie@example.com 25 ATTENDEE;RSVP=TRUE:mailto:vincent.vole@example.com 26 ATTENDEE;RSVP=TRUE:mailto:paul.boddie@example.com 27 DTSTAMP:20141009T182500Z 28 DTSTART;TZID=Europe/Oslo:20141010T100000 29 DTEND;TZID=Europe/Oslo:20141010T110000 30 SUMMARY:Recurring event 31 UID:event8@example.com 32 SEQUENCE:2 33 END:VEVENT 34 END:VCALENDAR 35 36 --===============0047278175==--