Fix invitations for Gmail and number their updates properly
package / package (push) Successful in 1m45s

Gmail showed "Unable to load event", with no Yes / No / Maybe buttons,
for invitations to events with a Jitsi conference, and Google Calendar
wouldn't import them. The cause was the FEATURE=AUDIO,VIDEO parameter on
the CONFERENCE property: a bare CONFERENCE;VALUE=URI:<link> imports, so
that's all we write now. The LABEL parameter goes too.

The event's setters committed EDS's sequence after every change, so
moving an event's time around in the editor raised SEQUENCE each time,
and a new event's first invitation could go out at SEQUENCE 7. DTSTAMP
was never updated, so two updates with the same SEQUENCE looked alike
to the people invited.

gcal_event_prepare_to_save(), called by the manager just before creating
or updating an event, now starts new events at SEQUENCE 0, raises an
updated event's SEQUENCE at most once when its date, time or recurrence
changed, and sets DTSTAMP to the time of saving.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-28 08:59:35 -07:00
co-authored by Claude Opus 5.5
parent 9f16d1e3d1
commit 02975fa3f5
9 changed files with 141 additions and 41 deletions
+5
View File
@@ -6,6 +6,11 @@ Major Changes in 52.alpha:
* Show a Join button for Jitsi links and CONFERENCE properties in events
* Keep showing an event's location in its popover when the event also has
an online meeting
* Fix invitations to events with a video conference, which Gmail couldn't
load, so it showed no Yes / No / Maybe buttons
* Send new events' invitations at SEQUENCE 0, raise it at most once per
save, and stamp each save's time in DTSTAMP, so that mail apps can tell
an update from an invitation they've already seen
Major Changes in 51.0:
* Preparations for further keyboard navigation improvements