Escape and fold the iCal export, serve it as text/calendar, add subscription links #20

Merged
Paddy merged 2 commits from feature/calendar-ical-escaping-subscriptions into master 2026-11-08 20:13:17 +00:00
Owner
  • iCal export: RFC 5545 text escaping for SUMMARY, DESCRIPTION and LOCATION,
    line folding at 75 octets (UTF-8 aware), CRLF line endings, and
    Content-Type text/calendar instead of the inferred text/html. A line break
    in a description used to end the property early; the new calendar
    frontend has a multi-line description field.
  • formatDate no longer shifts the event's end date in place.
  • GET /calendar/events/subscriptions: the iCal URL of every calendar, with
    its shared password where needed, for the calendar app's "Abonnieren"
    dialog. Editors only (requireAppAccess('calendar')), the shared password
    is not accepted there, never cached; calendars without a configured
    credential are left out.
  • Tests for both; documented in docs/calendar-ical.md.

Backwards compatible with the current Angular calendar app.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

- iCal export: RFC 5545 text escaping for SUMMARY, DESCRIPTION and LOCATION, line folding at 75 octets (UTF-8 aware), CRLF line endings, and Content-Type text/calendar instead of the inferred text/html. A line break in a description used to end the property early; the new calendar frontend has a multi-line description field. - formatDate no longer shifts the event's end date in place. - GET /calendar/events/subscriptions: the iCal URL of every calendar, with its shared password where needed, for the calendar app's "Abonnieren" dialog. Editors only (requireAppAccess('calendar')), the shared password is not accepted there, never cached; calendars without a configured credential are left out. - Tests for both; documented in docs/calendar-ical.md. Backwards compatible with the current Angular calendar app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paddy added 1 commit 2026-09-28 20:17:05 +00:00
- iCal export: RFC 5545 text escaping for SUMMARY, DESCRIPTION and LOCATION,
  line folding at 75 octets (UTF-8 aware), CRLF line endings, and
  Content-Type text/calendar instead of the inferred text/html. A line break
  in a description used to end the property early; the new calendar
  frontend has a multi-line description field.
- formatDate no longer shifts the event's end date in place.
- GET /calendar/events/subscriptions: the iCal URL of every calendar, with
  its shared password where needed, for the calendar app's "Abonnieren"
  dialog. Editors only (requireAppAccess('calendar')), the shared password
  is not accepted there, never cached; calendars without a configured
  credential are left out.
- Tests for both; documented in docs/calendar-ical.md.

Backwards compatible with the current Angular calendar app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paddy added 1 commit 2026-11-08 19:47:30 +00:00
Paddy merged commit c4661d1dc0 into master 2026-11-08 20:13:17 +00:00
Sign in to join this conversation.