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>
The event editor offers "Add Video Conference" on the calendars of a
Federated Computer Core. It makes a room with an unguessable name, like
BraveOttersSing-k3f9x2m7, on the Core's Jitsi at jitsi.<CORE_DOMAIN>,
and shows its link with Copy and Remove buttons.
The link goes at the end of the event's notes, which reach everyone
invited whatever their mail app, and in an RFC 7986 CONFERENCE property.
Saving puts the link back in the notes if it was taken out, and "All
events" copies the conference to the whole series.
Existing conferences are found in CONFERENCE, or as Jitsi links in the
notes or location, so the editor doesn't offer a second one and the
popover shows a Join button. The popover now keeps showing a place in
the location alongside a meeting.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
libical 4 changed several APIs used by GNOME Calendar:
- libical-glib now provides autoptr cleanup for ICalTime, so only
define it ourselves for older versions.
- i_cal_recurrence_get/set_by_day() were removed in favor of the
dynamically sized by-rule arrays; add local helpers on top of
i_cal_recurrence_get/set_by().
- i_cal_errno_return() was renamed to i_cal_error_icalerrno().
Also make the create-tzid event test independent of line folding,
which differs between libical versions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a wrapper for the ECalComponentOrganizer. An instance of this type
is kept as part of the GcalEvent structure.
The GcalEventOrganizer is just a "proxy" to the ECalComponentAttendee
and its purpose is to unclutter the GcalEvent interface and provide a
bindable base for a UI widget.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/671>
Creates a chooser managing a GDateTime. The chooser allows the user
to change the date, the time and the timezone independently.
This replaces the precedent GcalTimeChooserRow widget, because it is
easier to manage the different interactions with the user in a single
widget.
Co-authored-by: Georges Basile Stavracas Neto
<georges.stavracas@gmail.com>
Introduce a new GcalStubCalendar class that essentially
removes the ECalClient initialization from GcalCalendar,
and use it as part of a new private library consumed by
the tests.