Calendar and booking: what a decision needs to know

Offen
#86 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

Re-read the cited standards and current platform documentation, then record platform facts in the Cloudflare ledger. Draft a decision record answering the listed calendar, sync, repetition, mail, booking, and reminder questions, including the unverified client and booking patterns. Done when the sources are checked, the project lead accepts or changes the record, and the roadmap positions these modules relative to the others.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

decision enhancement needs lead

Two of the modules the project lead named for the suite (#57): a calendar with invitations, and public pages where someone outside books a time. The feature scope lists both in phase C. Nothing is built, and nothing is pulled forward by this issue: it holds the data a decision record will need.

What was read (2026-11-19, from the standards and the platform's current documentation)

Every figure is checked again at its source, and goes into the Cloudflare ledger where it is a platform fact, before it enters a record.

Invitations by mail

  • An invitation is a text/calendar part whose method parameter equals the METHOD inside it (RFC 6047). Who is invited is read from ORGANIZER and ATTENDEE in the calendar data, not from the mail's From.
  • The scheduling protocol (RFC 5546) does not have to be supported whole. Publishing, answering, cancelling and refreshing are required; a counter-proposal may be answered "not supported". The highest SEQUENCE wins, and DTSTAMP breaks a tie.
  • The traps of the data format (RFC 5545): a time with no zone is "floating"; every zone named needs its definition in the same data; an all-day event's end is the day after; a repeating event's exception must have the same kind of value as its start.

Sync with phones and desktops

  • The JMAP calendar specification is not an RFC yet: approved in 2024 and still waiting, in November 2026, for the event format it depends on, which is in last call.
  • CalDAV asks a server for WebDAV with access control, the reports of its section 7, a well-known address that redirects, and sync by report. The calendar people know from Google Workspace implements a subset of it.
  • The Workers runtime's own list of HTTP methods has PROPFIND, PROPPATCH, REPORT and MKCOL, but not MKCALENDAR. Whether these reach a deployed Worker through the network in front of it is not verified.

Repeating events

  • Libraries for the data format and for expanding repetitions exist under permissive licences and one under MPL-2.0. Their use of Node's built-ins and their coverage were not read.

Reminders

  • A Durable Object has one alarm at a time, run at least once, tried again up to six times. A calendar's reminders are therefore a queue inside the object behind that one alarm, as outgoing mail already is here.
  • Push to a closed browser needs VAPID and an encrypted payload (RFC 8291, 8292). The runtime's cryptography lists the operations; the platform's own guide uses a library that needs the Node compatibility flag.

Booking pages

  • No standard describes a booking page. Availability windows have one (RFC 7953).
  • A public page that makes the instance send mail needs a bot check verified on the server and a rate limit before anything is sent; the platform's bot check is free up to twenty widgets, and its rate limiting is approximate and per location.
  • Sending to someone outside needs a sending domain that has been set up; a new account starts with a small daily quota.

Free/busy

  • The standards allow a server to leave free/busy out and still exchange invitations.

Not verified

  • Which widely used clients speak which sync protocol today; how common mail clients show a calendar part; the usual rules of a booking page (buffers, minimum notice, the visitor's time zone, preventing a double booking), which are a pattern and not a standard.

A decision record must answer

  • Whose a calendar is, and what a shared mailbox's calendar would be.
  • The first slice: invitations by mail only (send, receive, answer, cancel), with the data kept faithfully (UID, SEQUENCE, the exception's id, the zone's name) so that a sync protocol can be added later.
  • Which sync protocol, if any, and when; decided after a test of which methods reach a deployed Worker.
  • Where repetition is computed, and with which code: written here, or a dependency, with its licence.
  • How a message that carries an invitation is shown and answered in mail, since that is where most people meet it. A calendar part is hostile bytes like the rest of a message.
  • Booking: what a visitor may see of someone's time, what the page costs the instance in mail, and the checks before anything is sent.
  • Reminders and notifications, and what a closed app can be told.

Done when

  • The facts above are re-read at their sources and recorded in the ledger where they are platform facts.
  • A decision record is proposed and accepted or changed by the project lead.
  • The roadmap says where these modules stand relative to the others.
Vorherrschende Sprache
TypeScript
Sterne
1
Forks
1
Ø Merge
9 Std. 3 Min.
Gemergte PRs (30 T.)
136

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cloudhal-dev/podbay

Alle Issues in cloudhal-dev/podbay

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.