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>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-08 22:13:58 +01:00
1 parent 8b0e82d806
commit 796daf79e3
3 files changed
+54 -17

No files matched your search

+3 -1
View File
@@ -59,7 +59,9 @@ src/
YouTube-Link prüfen (`youtubeCheck`, JSON)
ParticipateController /p/{code}: Ansicht, State-JSON, Abstimmen; anonymes Cookie plenario_pid
EmbedController /e/{key}/{id}: eine Folie zum Einbetten (z. B. Canva), activate/heartbeat/pause/control
ErrorController Fehlerseiten (Templates unter templates/Error, Layout `error`)
Mailer/ PollMailer (adminLink, recovery), Transport/FileTransport (lokal)
Middleware/ HostHeaderMiddleware: prüft in Produktion den Host gegen APP_FULL_BASE_URL
Model/ Polls → Slides → SlideOptions, Slides → Responses
Service/
VoteService Validiert + speichert Antworten (alle Abstimmungsregeln hier)
@@ -187,7 +189,7 @@ tests/ PHPUnit; PlenarioTestTrait erzeugt Testdaten, Fixtures
`ResultsService::withoutContents()`. Volle Ansicht in der Verwaltung (`slides:answers` → „Auswertung“).
- **Skala-Kommentare** (Setting `comments`, `Slide::hasComments()`): optionales Feld `comment`, gespeichert als `text_value`
in derselben Zeile wie `numeric_value` (ohne Setting wird es ignoriert). Öffentliche Skalen liefern im Presenter-/Embed-State
`results.comments` (Teilnehmende bekommen immer `[]`, `PollStateService::participantResults()`)
`results.comments` (Teilnehmende bekommen sie nie: Skalen liefern ihnen grundsätzlich keine `results`, siehe `PollStateService::forParticipant()`)
(älteste zuerst, je `id`, `text`, `value` – `value` nur mit Setting `comment_ratings`, sonst `null`); `Comments` in `plenario.js` blättert sie automatisch durch (Sekunden pro Kommentar = Setting `comment_interval`, Auswahl
`Slide::COMMENT_INTERVALS`, Standard 8, im State als `results.commentInterval`; „Kommentar X von N“,
vor/zurück/Pause, Zustand übersteht das Neu-Rendern beim Polling). Bei internem Feedback erscheinen sie erst,