Commit Graph
75 Commits
Author SHA1 Message Date
gnilebeinandClaude Sonnet 5.5 fcf52923a7 Place the dialog close button on the outer corner
CI / Deploy / test (push) Successful in 1m3s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 20:35:51 +01:00
gnilebeinandClaude Sonnet 5.5 b643072c3c Update slide list and edit slide form without page reloads
CI / Deploy / test (push) Successful in 58s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 20:28:03 +01:00
gnilebeinandClaude Sonnet 5.5 9262a57c17 Use icon buttons in own row for slide actions
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 18:11:10 +01:00
gnilebeinandClaude Opus 5.5 3c978e6f22 Add hiding slides from the presentation
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 15:25:41 +01:00
gnilebeinandClaude Opus 5.5 e2f24877dd Add duplicating slides
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>
2026-11-11 15:18:10 +01:00
gnilebeinandClaude Opus 5.5 9535731612 Center Q&A voting controls on phones
CI / Deploy / test (push) Successful in 54s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:07:10 +01:00
gnilebeinandClaude Opus 5.5 759e15390e Hide Q&A upvote counts until voting ends
CI / Deploy / test (push) Successful in 1m0s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 15:05:09 +01:00
gnilebeinandClaude Opus 5.5 891e3cb174 Put Q&A voting controls below the question on phones
CI / Deploy / test (push) Successful in 55s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 15:01:36 +01:00
gnilebeinandClaude Opus 5.5 0028716f86 Put own Q&A question actions below the text
CI / Deploy / test (push) Successful in 58s
CI / Deploy / deploy (push) Skipped
On narrow screens the edit/delete buttons squeezed the question text
into a one-character column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:54:06 +01:00
gnilebeinandClaude Opus 5.5 8d3d8d4341 Format slide texts in WhatsApp style
CI / Deploy / test (push) Successful in 1m9s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 14:23:10 +01:00
gnilebeinandClaude Opus 5.5 7a378a0bc5 Run the comment progress around the border of the box
CI / Deploy / test (push) Successful in 1m5s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 14:03:12 +01:00
gnilebeinandClaude Opus 5.5 12b10121ec Use the bottom edge of the comment box as progress bar
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped
The progress until the next comment no longer takes a row of its own;
it runs along the bottom edge of the box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:00:43 +01:00
gnilebeinandClaude Opus 5.5 0660affb56 Show the rating above the comment text
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 13:59:40 +01:00
gnilebeinandClaude Opus 5.5 b5ea4e70c8 Shrink long comments instead of growing the comment box
CI / Deploy / test (push) Successful in 1m0s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 13:55:48 +01:00
gnilebeinandClaude Opus 5.5 bbe3dfcc8e Keep the comment box as tall as the longest comment
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 13:51:28 +01:00
gnilebeinandClaude Opus 5.5 14916f46fb Give each value of the scale donut its own colour
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 13:45:00 +01:00
gnilebeinandClaude Opus 5.5 b3c80ab79f Show scale results as average next to a donut chart
CI / Deploy / test (push) Successful in 1m8s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 13:38:58 +01:00
gnilebeinandClaude Opus 5.5 bf16ac0d3b Let scale slides hide the average or the distribution on stage
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>
2026-11-11 13:29:35 +01:00
gnilebeinandClaude Opus 5.5 239599e6a3 Let the number of stars use the full width
CI / Deploy / test (push) Successful in 56s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:11:55 +01:00
gnilebeinandClaude Opus 5.5 fa15a45eb2 Keep scale labels in place when switching to stars
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:08:37 +01:00
gnilebeinandClaude Opus 5.5 166cb475c6 Let each poll speed up or slow down the scale comments
CI / Deploy / test (push) Successful in 1m12s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 12:51:08 +01:00
gnilebeinandClaude Opus 5.5 c1f9be2eef Add a star rating style to scale slides
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>
2026-11-11 12:46:33 +01:00
gnilebeinandClaude Opus 5.5 1ee870d67c Always timestamp assets so deploys bust browser caches
CI / Deploy / test (push) Successful in 59s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:20:07 +01:00
gnilebeinandClaude Opus 5.5 ad5223906c Let participants withdraw their own word cloud terms
CI / Deploy / test (push) Successful in 59s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:07:44 +01:00
gnilebeinandClaude Opus 5.5 3a8962976e Let participants edit or delete their Q&A questions while collecting
CI / Deploy / test (push) Successful in 56s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 12:02:59 +01:00
gnilebeinandClaude Opus 5.5 51d1be8695 Let participants edit their open answer while voting is open
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped
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>
2026-11-11 11:59:54 +01:00
gnilebeinandClaude Opus 5.5 e6f52a0449 Show a progress bar until the next scale comment
CI / Deploy / test (push) Successful in 1m2s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 11:40:24 +01:00
gnilebeinandClaude Opus 5.5 d518b7a37e Let participants edit their scale comment while voting is open
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>
2026-11-11 11:40:24 +01:00
gnilebeinandClaude Opus 5.5 7b97ad0fca Show only the status above the question on stage
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped
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>
2026-11-09 15:01:07 +01:00
gnilebeinandClaude Opus 5.5 8d128095ed Drop the comment interval setting
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped
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>
2026-11-09 14:18:01 +01:00
gnilebeinandClaude Opus 5.5 05ff5967e3 Rotate scale comments by reading time
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped
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>
2026-11-09 14:10:06 +01:00
gnilebeinandClaude Opus 5.5 430a18865d Let the presenter resume a paused poll with the pause button
CI / Deploy / test (push) Successful in 1m0s
CI / Deploy / deploy (push) Skipped
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>
2026-11-09 10:51:13 +01:00
gnilebeinandClaude Opus 5.5 bc86ec2db6 Allow Q&A rounds without upvotes and limit upvotes per question
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped
- 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>
2026-11-09 08:36:02 +01:00
gnilebeinandClaude Opus 5.5 3e44ded107 Share repeated controller and service code
CI / Deploy / test (push) Successful in 53s
CI / Deploy / deploy (push) Skipped
- AppController: joinUrl(), adminUrlFor(), setPollInterval() and protect()
  instead of copies in Admin-, Home-, Participate- and EmbedController.
- PollMailer::sendSafely() replaces two try/catch blocks around mail sending.
- Slide::optionIds() replaces five identical array_map() calls.
- PollStateService: one pollPayload() for presenter and embed; the vote
  action passes the already loaded slide instead of loading it again.
- ResultsService::forSlide() takes the answer/comment limit and the rating
  flag, so ReportService no longer queries answers, comments and the scale
  distribution twice and the export loads the slides only once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:50:56 +01:00
gnilebeinandClaude Opus 5.5 ad537b9b34 Hash client IPs for rate limits with a keyed HMAC
A plain sha256 of an IPv4 address can be reversed by trying all addresses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:50:56 +01:00
gnilebeinandClaude Opus 5.5 2a53675ce5 Send a Content-Security-Policy and security headers on every response
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped
- 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>
2026-11-08 22:43:36 +01:00
gnilebein 9d65e85c55 Merge remote-tracking branch 'origin/main' into fix/atomic-votes
CI / Deploy / test (push) Successful in 56s
CI / Deploy / deploy (push) Skipped
2026-11-08 22:35:38 +01:00
gnilebeinandClaude Opus 5.5 796daf79e3 Bring README and agent docs in line with the code
CI / Deploy / test (push) Successful in 51s
CI / Deploy / deploy (push) Skipped
- README: all slide types, embedding, results on stage only, all
  environment variables, Gitea deployment, actual PHP requirement (8.3+),
  third parties (reCAPTCHA, YouTube) in the privacy section.
- AGENTS.md and docblocks: participants never get scale results at all
  (participantResults() does not empty comments), list ErrorController and
  HostHeaderMiddleware.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:13:58 +01:00
gnilebeinandClaude Opus 5.5 121097f7a7 Remove dead code and validate new polls only once
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped
- 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>
2026-11-08 22:12:35 +01:00
gnilebeinandClaude Opus 5.5 a7f9783a75 Pause instead of dangling when the live slide is deleted
CI / Deploy / test (push) Successful in 55s
CI / Deploy / deploy (push) Skipped
Deleting the live slide set current_slide_id directly, so participants saw
"not started", and deleting the paused slide left paused_slide_id pointing
to a slide that no longer exists. Poll::forgetSlide() now pauses and resumes
with the slide taking its place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:02:58 +01:00
gnilebeinandClaude Opus 5.5 9c532d164f Store answers atomically and limit word cloud input
CI / Deploy / test (push) Successful in 51s
CI / Deploy / deploy (push) Skipped
- 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>
2026-11-08 22:01:19 +01:00
gnilebeinandClaude Opus 5.5 0a4c9fad09 Delete options and responses together with their poll
CI / Deploy / test (push) Successful in 53s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 21:56:18 +01:00
gnilebeinandClaude Opus 5.5 0678d72eda Redact admin tokens and embed keys in error logs
CI / Deploy / test (push) Successful in 54s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 21:53:30 +01:00
gnilebeinandClaude Opus 5.5 8644d4bc4a Make the poll reset only delete responses
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped
The presentation (current slide, pause) and the open/closed state of
slides are kept. Only quiz and Q&A slides go back to their start, as
the per-slide reset already did before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 20:34:41 +01:00
gnilebeinandClaude Opus 5.5 e1b327899f Allow resetting the whole poll from the dashboard
CI / Deploy / test (push) Successful in 51s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 20:30:03 +01:00
gnilebeinandClaude Opus 5.5 affc9a5ece Allow upvoting own Q&A questions as an opt-in setting
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 20:23:53 +01:00
gnilebeinandClaude Opus 5.5 2301f91457 Make the comment rotation interval configurable
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 20:13:49 +01:00
gnilebeinandClaude Opus 5.5 cfb445123e Keep results off participant devices
CI / Deploy / test (push) Successful in 1m9s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 20:02:36 +01:00
gnilebeinandClaude Opus 5.5 ecb8f9d31c Make private slides start with hidden results instead of withholding them
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 19:33:52 +01:00
gnilebeinandClaude Opus 5.5 d1facd32a6 Replace CSV export with PDF export
CI / Deploy / test (push) Successful in 53s
CI / Deploy / deploy (push) Skipped
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>
2026-11-08 19:21:10 +01:00
gnilebeinandClaude Opus 5.5 3e09906830 Lower scale columns on the stage
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 18:31:32 +01:00
gnilebeinandClaude Opus 5.5 2f5ac533c1 Make rating next to scale comments optional, compact average row
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped
- 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>
2026-11-08 16:49:22 +01:00
gnilebeinandClaude Opus 5.5 d6166bd9d9 Show scale comments only in the presentation
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Skipped
Participants still see distribution and average (if enabled), but the
comments are emptied in their state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:54:34 +01:00
gnilebeinandClaude Opus 5.5 9b879ca177 Enlarge poll title on participant page
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 15:52:55 +01:00
gnilebeinandClaude Opus 5.5 238797ecfd Add internal feedback and comments to scale slides
- 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>
2026-11-08 15:52:55 +01:00
gnilebeinandClaude Opus 5.5 1cb439de18 Enlarge participant headings and make theme switch icon-only
CI / Deploy / test (push) Successful in 45s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 16:48:59 +01:00
gnilebeinandClaude Opus 5.5 918e077734 Add ordering slide type
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 16:47:37 +01:00
gnilebeinandClaude Opus 5.5 b2bb365637 Highlight IO in the brand wordmark
CI / Deploy / test (push) Successful in 50s
CI / Deploy / deploy (push) Skipped
Sets "IO" in the primary colour so the capital I is not mistaken for
a lowercase l and the input/output pun is visible.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:35:11 +01:00
gnilebeinandClaude Opus 5.5 6c0b7ebf3f Use PlenarIO as product name spelling
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>
2026-11-07 16:33:15 +01:00
gnilebeinandClaude Opus 5.5 367ff8548d Add anonymous feedback option for open questions
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 16:28:47 +01:00
gnilebeinandClaude Opus 5.5 07a292d109 Add embeddable slides and pause mode
CI / Deploy / test (push) Successful in 1m4s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 16:26:05 +01:00
gnilebeinandClaude Opus 5.5 69d557c15a List all slide types on the start page
CI / Deploy / test (push) Successful in 1m2s
CI / Deploy / deploy (push) Skipped
The feature list was hard-coded and missed quiz, Q&A, content and
YouTube slides. It is now rendered from Slide::typeLabels().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:17:39 +01:00
gnilebeinandClaude Opus 5.5 58145e9753 Add light/dark theme switch
CI / Deploy / test (push) Successful in 46s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 16:15:14 +01:00
gnilebeinandClaude Opus 5.5 f0c6687100 Add Q&A slide type
CI / Deploy / test (push) Successful in 48s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 16:09:46 +01:00
gnilebeinandClaude Opus 5.5 1c509e31c2 Add YouTube video slide type
CI / Deploy / test (push) Successful in 46s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 15:08:12 +01:00
gnilebeinandClaude Opus 5.5 60fb2cb029 Remove up/down buttons for slides
CI / Deploy / test (push) Successful in 46s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 14:48:58 +01:00
gnilebeinandClaude Opus 5.5 0ca36b8ec6 Show keyboard shortcuts on presenter controls
CI / Deploy / test (push) Successful in 47s
CI / Deploy / deploy (push) Skipped
Tooltips are useless while presenting, so the controls now show their
shortcut as [V], [H], [F] and [Q]; the QR overlay hints at [Esc].
Labels of dynamic buttons live in a [data-label] span so the hint
survives updates. Shortcuts are exposed via aria-keyshortcuts and hidden
on touch-only devices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:45:34 +01:00
gnilebeinandClaude Opus 5.5 9983d6c01b Add drag and drop sorting for slides
CI / Deploy / test (push) Successful in 43s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 14:44:10 +01:00
gnilebeinandClaude Opus 5.5 fd8da4c16c Add quiz slide type
CI / Deploy / test (push) Successful in 41s
CI / Deploy / deploy (push) Skipped
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>
2026-11-07 14:39:21 +01:00
gnilebeinandClaude Opus 5.5 ffe93a3256 Add honeypot field to poll creation form
CI / Deploy / test (push) Successful in 41s
CI / Deploy / deploy (push) Skipped
An invisible "website" field is rendered off-screen in the create form.
If a bot fills it in, the poll is not created and no mail is sent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:34:55 +01:00
gnilebeinandClaude Opus 5.5 9dad7ab939 Fix settings form being sent as PUT
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Skipped
FormHelper adds a hidden _method=PUT for persisted entities, which the
POST-only admin:settings route rejected with a MissingRouteException.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:17:45 +01:00
gnilebeinandClaude Opus 5.5 bd17a97487 Remove per-participant word limit from word clouds
CI / Deploy / test (push) Successful in 42s
CI / Deploy / deploy (push) Skipped
Participants can now always submit any number of words. Drops the
max_words setting, its form field, the limit checks in VoteService and
the remaining/limitReached state; existing max_words values in stored
settings are ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 14:05:20 +01:00
gnilebeinandClaude Opus 5.5 8ab0b4879e Make scale average more prominent
CI / Deploy / test (push) Successful in 45s
CI / Deploy / deploy (push) Skipped
Show the average as a large figure with the number of ratings and a
gauge marking its position between min and max; highlight the column
closest to the average. Larger sizing on the presenter stage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:57:36 +01:00
gnilebeinandClaude Opus 5.5 dbf2025473 Simplify deploy SSH and git authentication
CI / Deploy / test (push) Successful in 44s
CI / Deploy / deploy (push) Skipped
- Drop the SSH host key fingerprint check (SSH_FINGERPRINT)
- Use the gitea.* context instead of the github.* alias
- Fetch with the job token embedded in the URL instead of an auth header;
  the origin remote keeps the token-free URL

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 13:42:57 +01:00
gnilebeinandClaude Opus 5.5 eb319f8c1e Add initial Plenario live polling app
CI / Deploy / test (push) Successful in 49s
CI / Deploy / deploy (push) Failing after 5s
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>
2026-11-07 13:24:29 +01:00