Calendar and booking: what a decision needs to know

オープン
#86 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
1
フォーク
1
平均マージ
9時間 3分
マージ済み PR(30日)
136

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudhal-dev/podbay のほかの issue

cloudhal-dev/podbay の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。