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>
Move the test steps into a matrix job and keep a aggregating `test` job so the
branch protection check name stays stable.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replace the Docker workflow with a release workflow that runs on
vX.Y.Z[-suffix] tags: tests first, then an app-only package
(plenario-<version>.tar.gz with production vendor/) attached to the Gitea
release and a container image tagged with the semver versions.
Document the release process and the deployment target in the README.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Add SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD and SMTP_TLS instead of
requiring a transport URL, so passwords need no URL escaping. Port 465 uses
implicit SSL. EMAIL_TRANSPORT_DEFAULT_URL keeps working as a fallback.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
config/ is not writable for www-data, so the schema dump failed with a
permission warning on every start.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The fixed number of votes per person does not fit varying question
counts. The budget is now `upvote_share` percent of the questions
(rounded up, at least one), so it grows with the number of questions.
A migration converts existing Q&A slides (no voting stays off, others
get 25 %).
On the stage the voting step no longer lists the questions but points
participants to their devices.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fullscreen and keep-awake sit next to the theme switch (layout block
headerTools), icon only with aria-label/title.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Wake lock is on by default and restored after slide reloads; fullscreen
is a manual toggle. Buttons stay hidden where the APIs are unsupported.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The close button no longer covers form fields: the dialog does not
scroll itself, an inner panel does, and the button sits on the corner.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>