Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ exact tag (`ghcr.io/calnode/calnode:0.1.0`) if you need stability between upgrad
backup is the only safety net for anything that goes wrong between the migration running
and your first check that existing bookings still look right.

Migration `00073` also rebuilds `event_types` to accept the new `phone_outbound`
location type (the same table rebuild as `00042`), which is one more reason to want that
restore point.

### Added

- **Change feed for `GET /v1/bookings`: `updated_since` (+ `after_id`).** Returns every booking
Expand Down Expand Up @@ -79,6 +83,28 @@ exact tag (`ghcr.io/calnode/calnode:0.1.0`) if you need stability between upgrad
and an informal one would be wrong for everyone else. `de` is unchanged and stays formal.
The variant is never offered in the language switcher or matched from `Accept-Language`;
select it with `?lang=de-x-neutral` or `<calnode-booking lang="de-x-neutral">`.
- **"We'll call you" phone location (`phone_outbound`).** For phone calls the host places:
the booking form asks the attendee for their number, required and validated, and the
booking is stored as a phone booking with `tel:<number>`, so tap-to-call, the calendar
event location and the emails work as they do for the existing phone option. No host
number is needed on the event type. A missing or invalid number is refused rather than
silently turning the call into an online meeting. The field is on the booking page and
in the embed widget; the manage page has no booking form and shows the stored number

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The manage page does not display the stored number: it renders only LocationLabel via eventMeta (_shared.html:158), and the booking is stored as location_type = "phone", so locationLabel returns the generic "Phone Call" label — location_value (tel:<number>) is never shown there, for this or any other phone booking. Drop "shows the stored number" and keep the point that a reschedule keeps it.

like any other phone booking, and a reschedule keeps it.
- **`booking.reminder` webhook event.** Fires with each configured reminder, carrying
`hours_before` in `data` whatever fields the webhook selected, so an external SMS or push
sender can stay stateless while Calnode keeps owning scheduling, reschedules and
cancellations. It passes the same checks as the reminder email (booking still confirmed,
host's reminder notifications on). Its delivery ID is derived from the booking,
`hours_before` and the meeting start, so a retried job does not deliver twice and
`X-Calnode-Delivery` can be used to dedupe; a reschedule gets its own event.
- **`WEBHOOK_ALLOWED_CIDRS` for webhook receivers on a private network.** Webhooks still
refuse private, loopback, CGNAT and ULA targets by default. This operator-only env var
(empty by default, not an in-app setting) lists private networks they may reach, typically
a receiver in a sibling container. The same rule applies when the URL is saved and when it
is dialled. Link-local and cloud metadata addresses stay blocked whatever is listed. Only
list networks you control: webhook payloads carry attendee details, so a listed range is
trusted with that data. See `DEPLOY.md`.
- **Phone-number intake questions.** A new question type, Phone number, renders a `tel`
input on the booking page and the widget, and stores the answer in international format
(E.164, `+48600100200`) with what the attendee typed kept alongside (`raw_value` on
Expand All @@ -98,6 +124,11 @@ exact tag (`ghcr.io/calnode/calnode:0.1.0`) if you need stability between upgrad

### Fixed

- **Reminders whose time has already passed are skipped, not sent at once.** A booking made
five hours ahead with reminders at 24 h and 2 h used to get the 24-hour reminder
immediately, next to the confirmation, as if the meeting were still a day away.
A reminder more than five minutes late at scheduling time is now dropped, both when the
booking is made and when it is rescheduled; the confirmation email covers that window.
- **Buttons and inputs in the booking UI now use the surrounding font.** Form controls
take their font family from the browser stylesheet, so day cells, time slots and the
confirm button rendered in the system font beside text in the page font. An embedder who
Expand Down