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>
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>
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>
Slide list actions (hide, delete, reset, duplicate, go live, pause) now run
via fetch and refresh only the changed regions, keeping scroll position and
focus. Add/edit slide forms open in a dialog. Admin pages answer with a
slim fragment layout when the X-Fragment header is sent.
Replace postLink confirms (inline onclick, blocked by the CSP) with
postButton and data-confirm handled in plenario.js.
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>
A live ranking on the stage swayed the vote. During the vote stage the
presenter now gets the questions in submission order without counts,
only the total of votes cast.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Slide descriptions support *bold*, _italic_, ~strikethrough~ and lists
with "- " or "* " at the start of a line. FormatHelper renders them for
the participant page and the PDF (escaping everything else), Format in
plenario.js builds the same DOM for presenter and embed. Participant
input stays plain text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two lines start at opposite corners (top left along the top, bottom right
along the bottom) and meet when the next comment is due. Drawn as an SVG
outline with pathLength 100 and a dash pattern repeating every half
perimeter, so it follows the rounded corners.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rating has the same height for every comment, so above the text it
stays in place while the comments rotate; only the text changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The comment box is capped at about five lines (--comment-max). A comment
that does not fit is set smaller step by step (Comments.fit(), also on
resize) instead of being cut off or pushing the slide off screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The stage centres its content vertically, so a multi-line comment moved
the whole slide while the comments rotated. All comments now share one
grid cell (the others invisible), so the box keeps the height of the
longest one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shades of one colour were too hard to tell apart on the projector. The
slices now use the theme colours in a fixed order along the scale, mixed
for scales with more values than colours.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Average and distribution now sit side by side: a big average figure with
its gauge or stars, and the distribution as a donut (CSS conic-gradient,
shades of one colour, legend with percent and count). A single dropdown
setting scale_view (both, average only, chart only) replaces the two
checkboxes; a single part is centred.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The average is now the headline of a scale result and the distribution a
compact detail below it. Two new settings (show_average, show_distribution)
hide either part in the presentation; evaluation and PDF stay complete.
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>
Scales can now be shown as stars (1 to n) instead of numbered steps:
participants tap stars, the stage shows the average as partly filled
stars and the distribution as bars from most to fewest stars, and the
evaluation page and PDF export print ratings as stars.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The slide type above the question told the room nothing useful. The line
now shows only a status (quiz phase, Q&A stage, solution, voting closed,
pause) and is hidden otherwise. typeLabel is dropped from the state JSON.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comments on the stage are always timed by their length now, so the
selectable interval and results.commentInterval are gone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add an automatic comment interval (now the default) that keeps each
comment on stage depending on its length: 2.5 s plus 15 characters per
second, between 5 and 30 seconds. Fixed intervals remain selectable.
Next, previous and resume give the current comment its full time again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pause button was hidden while paused, so only the arrow keys could
continue. It now toggles between pause and resume (also via P), using an
explicit idempotent `resume` control action so double clicks never
pause again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- max_upvotes = 0 disables upvoting: the voting stage is skipped
(collect -> discuss), questions are discussed in submission order
- new setting max_upvotes_per_question caps a participant's upvotes
on a single question (0 = no limit besides max_upvotes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New SecurityHeadersMiddleware (outermost): CSP with a per-request script
nonce, framing (SAMEORIGIN, embeds via frame-ancestors), nosniff,
Referrer- and Permissions-Policy. JSON, files and error pages are covered
now, not only rendered HTML; headers set by controllers still win.
- The inline theme script carries the nonce; flash messages are dismissed
via data-dismiss instead of inline onclick handlers, and the flash
elements share one template.
- reCAPTCHA sources are only allowed when it is enabled.
- The embed CSRF exception and framing use the same isEmbed() check.
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>
The new Q&A setting allow_self_upvote (off by default) lets participants
spend their upvote budget on their own questions, e.g. for prioritizing
topics. Without it, participants now see a short hint why their own
questions cannot be upvoted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scale slides get the setting comment_interval (seconds per comment,
one of Slide::COMMENT_INTERVALS, default 8). The presenter state
carries it as results.commentInterval and the rotating comments use it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Results belong on the stage. Participants only get results where they
interact with them (word cloud with upvotes) and, once resolved, the
solution of quiz and ordering slides with their own verdict, without
counts or distribution. Removes the per-poll setting
show_results_to_participants (column stays unused).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Anonymous/internal feedback now only presets "hide results" on the stage:
presenter and embed get the full results flagged private and can show them
on demand. Participants still never get results of private slides, the
public PDF export strips them via ResultsService::withoutContents().
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New scale setting comment_ratings: the rating is only shown next to a
comment in the presentation (and sent in the state) when enabled.
- Smaller average figure and gauge on the stage so the chart and the
comments get more room.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Setting "private": distribution and average are only shown in the
admin evaluation page and CSV export, the stage shows just the count.
- Setting "comments": optional comment field for participants; on public
scales the comments rotate on the results ("Kommentar X von N") with
previous/next/pause controls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The slide heading on the participant page was smaller than a regular h1
on phones. The theme switch now shows only its icon; the current and
next scheme stay available as aria-label and tooltip.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Participants bring shuffled items into the correct order and submit it
once. The admin enters the items in the correct order and can reorder
them by drag & drop or arrow keys. Closing the voting reveals the
solution: how many got it completely right and how often each item was
placed correctly; participants see whether their order was right.
The drag & drop mechanics of the slide list are extracted into a
reusable makeSortable() helper.
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>
Theme follows the system by default; the header switch cycles
auto/light/dark and is stored per browser. The presenter has its own
switch (T), dark by default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>