GNU bug report logs -
#50749
28.0.50; three gnus-icalendar issues w.r.t. RFC5546 and party crashers
Previous Next
Reported by: Alexandre Duret-Lutz <adl <at> lrde.epita.fr>
Date: Thu, 23 Sep 2021 07:49:01 UTC
Severity: normal
Tags: patch
Found in version 28.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
At my job, some colleagues regularly send iCal invitations to mailing
lists, and expect the recipients of these mailing lists to accept the
invitation individually to indicate whether they are coming or not.
The iCal invitations only lists the mailing list has an "attendee", not
the all final recipients.
When I receive such an invitation in Gnus,
gnus-icalendar-event->gnus-calendar will tell me that
"You are not listed as an attendee", and rightly so.
However the code in gnus-icalendar-event:inline-reply-buttons
prevents me from replying to the invitation by hiding the
buttons. This is not desired: I still want to reply.
RFC5546 specifically allows users not listed as attendee to reply to an
invitation. Section 3.2.3 refers to those as a party crashers.
Patch 0002 fixes this issue, which is the most important to me. In that
patch, I was hesitant to remove the (lwarn...) message. I have tested
that party crashing work with invitations sent to me (indirectly) by
Outlook users. It does not work with Google Calendar, but I think the
issue is on their side (someone else reported this on stackoverflow
at https://stackoverflow.com/questions/66519665/ )
While working on that and discovering RFC5546 (which is completely new to
me), I found two other issues in the gnus-icalendar code.
One is that when replying to an iCal invitation, the mail should be sent
to the "organizer" of that event, not to the sender of the email. This
matters for forwarded invitations, for instance (and forwarded
invitations in turn are related to supporting party crashers). Also
some calendar systems can use dedicated email addresses to handle those
events: Google Calendar, for instance, uses mail addresses in
"...@group.calendar.google.com" for secondary calendars, and lists those
as organizers of events in these calendars (but so far, mail replies to
those event seems simply ignored, I'll try to find a place where to
report that).
Patch 0001 fixes the recipient of the invitation response.
Finally, while displaying the mail sent for party-crasher responses
(after patch 0002), I noticed that gnus-icalendar-event->gnus-calendar
was still telling me that "You are not listed as an attendee", despite
actually being the only attendee listed. This is because the code
assumes that a missing ROLE parameter on the ATTENDEE line signifies
NON-PARTICIPANT. That's not what RFC5546 specifies in section 4.2.1:
the default value for the "ROLE" parameter is "REQ-PARTICIPANT" and it
need not be enumerated. Patch 0003 fixes that.
[0001-reply-to-the-organizer-of-an-ical-event.patch (text/x-diff, attachment)]
[0002-allow-party-crashers-to-respond-to-ical-events.patch (text/x-diff, attachment)]
[0003-default-role-for-attendees-is-REQ-PARTICIPANT.patch (text/x-diff, attachment)]
This bug report was last modified 3 years and 237 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.