- New /admin/{token}/speaker page for a second window: current slide, preview of
the next slide and the usual controls. It does not start the presentation.
- The presenter state gets `next` (labels only, no solutions).
- The dashboard scrolls the live slide into view when the presenter moves on.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
app_local.php takes precedence over config/.env, so a copy made from an older
template forced the file transport and reminders never left the server.
Release package and Docker image now ship without it; app.php reads the
database from DATABASE_URL (SQLite default). app_local.example.php keeps
development defaults only. polls remind prints the transport and warns when
SMTP_HOST is set but SMTP is not used.
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>
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>
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>
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>
Hidden slides stay prepared in the dashboard but are skipped when
presenting (start, next/prev, goto), can not go live via embed and are
left out of the PDF export. Hiding the live or paused slide pauses the
poll like deleting it and resumes with the next visible slide.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copies question, description, settings and options (incl. correct quiz
answers) directly behind the original, without responses. The copy starts
like a new slide (Slide::startFresh()) and opens in the edit form.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new poll setting (polls.comment_speed, 50-200 %) scales the display
time of the rotating scale comments in the presentation and embed; the
duration still follows the text length.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generalises the comment edit to /p/{code}/edit: open answers can be
corrected (not emptied), scale comments as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Participants can fix typos in, add or remove their own comment until the
voting closes. The rating itself stays unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Drop the unused polls.show_results_to_participants column (idempotent migration).
- Remove CaptchaInterface::getType(), the unused AjaxView with its layout,
the empty cell template folder and a redundant setNew() call.
- PollsTable::newPoll() normalises and validates once; the create form used
to validate the raw input first, so an e-mail address with surrounding
spaces was rejected although it would have been trimmed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Run the checks and the insert of VoteService::submit() in one transaction
with the slide row locked, so double clicks or retries cannot store a vote
twice (also covers the Q&A upvote budget and word cloud duplicates).
- Limit word cloud terms per request and per participant, and throttle
answers per IP and minute (THROTTLE_VOTES_PER_MINUTE, 429 with message).
- Treat array values in text fields as empty instead of storing "Array".
- Move the throttle helper to AppController for reuse.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deleting a poll removed its slides with a plain deleteAll and relied on
ON DELETE CASCADE for slide options and responses. SQLite does not enforce
foreign keys by default, so answers of deleted polls stayed in the database.
Cascade through the ORM instead and remove the rows left behind earlier.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CakePHP's error logger writes the request URL, the referer and exception
messages (e.g. missing routes) to the log, which leaked the secret admin
token and embed key into logs/error.log.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deletes all responses of all slides, puts every slide back to its
initial state and restarts the presentation. Slides, settings, links
and the join code are kept. The per-slide reset shares the logic via
ResetService and now also reopens closed slides.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The results export is now a PDF (Dompdf) with all interactive slides.
By default private slides (anonymous/internal feedback) only show their
number of participants; ?internal=1 creates the complete version incl.
their answers, marked as confidential on every page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Display name in layouts, mails, docs and comments is now "PlenarIO".
Technical identifiers (config keys, JS namespace, file names, cookies,
existing migrations) stay unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Open questions can be marked private: the presenter screen and embeds
only show the number of answers, participants never see results, and
the texts are readable on a new admin answers page and in the CSV.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every slide gets an embed URL /e/{key}/{id} for presentation software
like Canva. The page goes live while it is visible, keeps itself live
with heartbeats and pauses when it disappears; stale embeds are paused
lazily. The embed key is separate from the admin token and only allows
showing, activating, pausing and voting controls of that slide.
Participants see a pause page while no slide is live. The presenter
can pause (P) and resume the paused slide with the arrow keys; the
dashboard has a pause button.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Participants submit questions, upvote them and the presenter discusses
them one by one, most upvoted first.
- Stages collect -> vote -> discuss, switched manually by the presenter
(V key or stepper, going back is possible)
- Configurable upvote budget per participant, freely distributable
(several upvotes on one question are allowed), votes can be withdrawn
- Participants see all questions while collecting to avoid duplicates;
no counts before the discussion
- While discussing, next/prev step through the questions before
moving to the next slide
- Migration: slides.stage, slides.focus_response_id, responses.parent_id
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Admins paste a YouTube link (watch, youtu.be, shorts, live, embed).
The link is checked via oEmbed on save and with a "check link" button
(not found / not embeddable is rejected, unreachable saves with a
warning). Start time can be entered or is taken from the link's
timecode; autoplay is optional. The presenter embeds the video via
youtube-nocookie.com; participants get the link plus a share button
(Web Share API, falls back to copying).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drag and drop (including arrow keys on the handle) replaces them, so the
move route, action and table method are gone as well.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Slides can be reordered on the dashboard by dragging the handle (mouse,
touch and pen via Pointer Events) or with the arrow keys on the focused
handle. The new order is posted as ids[] to slides/reorder, which only
applies a complete, valid order of the poll's own slides. The up/down
buttons stay as no-JS fallback.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Quiz slides have predefined answers with one or more marked as correct.
The presenter starts the quiz, which then runs until its optional time
limit expires or the presenter ends it. Counts and correct answers are
only revealed once the quiz is finished; participants then see whether
their answer was right.
- migration: slide_options.is_correct, slides.voting_started_at/voting_ends_at
- Slide::isVotingOpen() includes the quiz deadline, expired quizzes are
closed lazily when the state is read
- presenter countdown, quiz tiles and reveal with correct-answer summary
- CSV export marks quiz answers as right/wrong
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CakePHP 5.4 app for live polls: create via email without login, manage
via secret admin link, join via code. Includes slide types (choice,
wordcloud, open, scale, content), presenter mode, CSV export, captcha,
throttling, tests and Gitea CI/deploy workflow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>