Paged list with pick by number (open) and "d 1,3" to delete several at
once after one confirmation. List query and table moved into the shared
base command.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
`bin/cake polls` without a sub command offers list, search, open a poll
(details, admin link, delete), remind and cleanup. It only wraps the existing
commands, previews before destructive actions and asks first; every prompt
has a safe default so closed stdin ends it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
README keeps overview, features, local setup, privacy and links;
operator instructions live in docs/deployment.md and
docs/configuration.md.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Keep AGENTS.md as a short entry point (role, commands, conventions,
invariants) and move per-area details to docs/.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Polls are deleted POLL_RETENTION_DAYS (default 90) after creation by the
cron job `bin/cake polls cleanup`. POLL_REMINDER_DAYS (default 14) before
that the owner gets a one-time reminder mail (expiry_reminded_at).
New commands: polls list, show (admin link only with --link), delete,
remind, cleanup. The expiry date is shown in the creation mail and the
dashboard. Docs: README, AGENTS.md, .env.example.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Slide images are shown on the presenter's screen, so a description for
screen readers is not asked for any more. The column stays (always empty).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A missing description rejected the whole save and dropped the selected
file, which cannot be refilled in the form. The description is now an
optional hint for screen readers; empty means alt="". The "decorative"
checkbox is gone, it meant the same.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
With JavaScript the "remove image" checkbox is replaced by a button with a
trash icon that toggles the same checkbox, dims the preview and announces
the pending removal. Without JavaScript the checkbox still works.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Slides (except YouTube) can carry one image. Uploads are validated, rotated
by EXIF orientation, scaled to 1600 px and stored as WebP outside webroot,
which also strips camera metadata. Images have an alt text (or are marked
decorative) and a layout: top, side or full screen (content slides).
Files are removed after the commit when a slide is deleted or its image is
replaced, with the poll, and `bin/cake images_cleanup` sweeps leftovers.
Duplicated slides get their own file. Docker image gains gd with WebP.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The live marker in the slide list stayed on the last known slide when the
presenter moved on in another window or with a clicker. The dashboard now
polls a cheap version fingerprint (admin:live) and reloads the lists when it
changes, but never under an open dialog, a pending request or a drag.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The dashboard and per-slide reset buttons only checked for responses, so a
started quiz without votes, a closed slide or a running presentation could
not be reset. Check Slide::isFresh() and Poll::isStarted() as well.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resetting answers now reopens closed slides (and hides the solution of
ordering slides) instead of only restarting quiz and Q&A slides.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Next on a quiz starts it, then ends it, and only then moves to the next
slide. Prev always goes to the previous slide and never touches the quiz.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resetting a poll now also clears the live/paused slide so the presentation
starts over. Questions entered beforehand on Q&A slides are kept by default
(only their upvotes are removed); the dashboard offers a checkbox to delete
them too. Resetting a single slide always keeps them.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Participants can justify their choice; the comment is stored once in the
first response row, rotates on the stage like scale comments and is listed
in the admin area and the PDF export.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The image uses the built-in PHP server and SQLite, so it is not meant for
production. Say so in README, docker-compose.yml and AGENTS.md.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Required fields got generated oninvalid/oninput attributes, which the CSP
blocks and logs on every page and when parsing dashboard fragments.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Forms with a field named "action" (play, pause) shadow the form.action
property, so the fragment request went to /admin/[object HTMLInputElement].
Read the attribute instead.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Only two entries are required, so the form no longer offers four empty rows
up front; further rows come via the add button.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The slide form takes questions entered beforehand (e.g. received by mail),
one per line, while collecting. They are stored as regular questions with a
reserved participant hash, synced idempotently, and not counted as participants.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The lock file pins PHPUnit 13 and Symfony 8, which need PHP 8.4. PHP 8.3
is in its last support year, so drop it from the matrix instead of
downgrading the dependencies.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>