Commit Graph
18 Commits
Author SHA1 Message Date
davidandClaude Opus 5.5 ef57279413 Fix the crash when creating an event
package / package (push) Successful in 1m50s
02975fa3 took the sequence commits out of the event's setters, so that
saving could raise SEQUENCE only once. But EDS won't clone a component
with a raise pending, and the editor clones a new event as it opens it,
so creating an event aborted in e_cal_component_clone().

The setters commit the sequence again, as before. A GcalEvent now keeps
the SEQUENCE it was loaded with, and its clones carry it along, so
gcal_event_prepare_to_save() still raises an updated event's SEQUENCE
by one at most, and starts a new event at 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 09:52:50 -07:00
davidandClaude Opus 5.5 02975fa3f5 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>
2026-11-28 08:59:35 -07:00
davidandClaude Opus 5.5 9f16d1e3d1 Add a test plan
package / package (push) Successful in 1m48s
TEST.md says how to run the automated tests and what each covers, and
lists manual tests on a real Core: everyday calendar use, invitations,
video conferences, repeating events, accessibility, translations and
publishing. Accepting with the Accept link in an invitation email only
tells the organizer's Nextcloud, so the plan tests accepting from the
invitee's mail app too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 08:08:50 -07:00
davidandClaude Opus 5.5 e22090d4e1 Remove CONTRIBUTING.md
package / package (push) Successful in 1m25s
It was GNOME Calendar's, with GNOME's channels and policies. The README
now points at the issue tracker and HACKING.md instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 07:28:20 -07:00
davidandClaude Opus 5.5 3c118fbb9d Add a Jitsi video conference to events on Core calendars
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>
2026-11-28 07:28:20 -07:00
davidandClaude Opus 5.5 0304695ab2 gui: Name Federated Calendar in the About menu item
package / package (push) Successful in 1m48s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:24:45 -07:00
davidandClaude Opus 5.5 0704628992 Publish the Arch package from Gitea Actions
package / package (push) Successful in 1m17s
Every push to main builds build-aux/arch/PKGBUILD at that commit in an
Arch container, runs the tests, and uploads the package to the
"federated" pacman repository that CoreDesktop installs it from. Gitea
signs it with the repository's key. The debug package isn't uploaded.

Needs a PACKAGE_TOKEN secret with write:package scope.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:12:28 -07:00
davidandClaude Opus 5.5 ad4c785312 build-aux: Build-depend on blueprint-compiler
The build stops at meson setup without it. The README now says to
install it and the other build tools first, and where the PKGBUILD
lists the libraries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:12:28 -07:00
davidandClaude Opus 5.5 b54307c4ae Add a plan, starting with Jitsi conferences
PLAN.md tracks the work still to do. Its first feature lets people add a
video conference on their Core's Jitsi to an event on a Core calendar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:29:27 -07:00
davidandClaude Opus 5.5 fa71e64ebb build-aux: Add an Arch package build
Builds federated-calendar from main for the "federated" pacman
repository in Gitea's package registry. The version comes from
meson.build plus the commit count and hash, so every commit
upgrades the package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 09:38:17 -06:00
davidandClaude Opus 5.5 a818b79c0b Point metadata and README at Federated Computer
Federated Computer is the developer, CoreDesktop's site the homepage,
and the federated-calendar repository's issues the bug tracker and
support. Drop the GNOME links and project group, which don't apply
here; the About dialog now takes its support link from the metainfo.

The README says Federated Calendar is based on GNOME Calendar, links
to it, and explains how to build and run it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 09:12:38 -06:00
davidandClaude Opus 5.5 aa63bc3b3b data/icons: Draw a Federated Calendar icon
A calendar in CoreDesktop's colors, with its sparkle marking today:
navy header with a cyan edge, and a magenta sparkle among the days.
The development icon adds GNOME's construction tape, and the symbolic
icons show the sparkle in the calendar outline.

Drop GNOME Calendar's icon source, which nothing builds from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 09:12:38 -06:00
davidandClaude Opus 5.5 333f7d9ec8 Revert "federated: Log why invitations aren't offered"
The invite field shows where it should; the logging was only needed to
track down why it didn't, which was the application ID clash with
GNOME Calendar.

This reverts commit dd1c1cd0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 09:09:51 -06:00
davidandClaude Opus 5.5 93d2369724 Rename to Federated Calendar
Ship as Federated Calendar, with the application ID
computer.federated.FederatedCalendar and the executable
federated-calendar, so it can be installed and run alongside GNOME
Calendar.

The settings schema follows the application ID too, so the two don't
share settings or install the same schema. The project name sets the
executable, gettext domain and data directory; the desktop file, D-Bus
service, search provider, metainfo and icons follow the application ID.

Internal resource paths and the template file names are unchanged, to
keep merging from GNOME Calendar simple.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 09:01:27 -06:00
davidandClaude Opus 5.5 dd1c1cd014 federated: Log why invitations aren't offered
With -vvv, say which check stopped people from being invited to an
event: a read-only calendar, a calendar that isn't on a Core's
Nextcloud, or an event organized by someone else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 08:59:22 -06:00
davidandClaude Opus 5.5 aac336c817 event-editor/attendees-section: Import Adw in Blueprint
The invite row is an Adw.EntryRow, so the template needs Adw imported
to compile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 08:44:45 -06:00
davidandClaude Opus 5.5 8be61e439a build: Support libical 4
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>
2026-10-29 08:44:07 -06:00
david 8d9eb034c7 Invite people to events on Federated Core calendars 2026-10-29 08:18:52 -06:00