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

+2 -2
View File
@@ -21,7 +21,7 @@ use Cake\ORM\Locator\LocatorAwareTrait;
* 'min', 'max', 'minLabel', 'maxLabel', 'private' (bool);
* 'comments' => [['id', 'text', 'value' (int|null)]] oldest first (only with the comment field, else [];
* 'value' is null unless the setting comment_ratings is on;
* presentation only, emptied for participants in PollStateService);
* presentation only: participants never get results of scale slides, see PollStateService);
* 'commentInterval' => int seconds per comment while they rotate;
* open/scale with 'private' (anonymous/internal feedback): contents are included for the
* presenter/embed, which start with the results hidden and may show them on demand;
@@ -332,7 +332,7 @@ class ResultsService
/**
* Results of a private slide without its contents: only type, participants and the scale range.
* Used where internal feedback must not appear (participants, public PDF export).
* Used where internal feedback must not appear (public PDF export, see ReportService).
*
* @param array<string, mixed> $results Result of forSlide()
* @return array<string, mixed>