Add polls seed command for demo and load test polls

Every run creates a new poll with one slide per interactive type and
shows the first (choice) slide live with voting open.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-19 09:16:54 +01:00
1 parent a9b14af8bf
commit ebfab0ef20
3 files changed
+153 -2

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ E-Mail anlegen, kein Login, Verwaltung über einen geheimen Admin-Link, Teilnahm
| Coding Standard | `vendor/bin/phpcs` / Autofix `vendor/bin/phpcbf` |
| Neue Migration | `bin/cake bake migration NameDerMigration` |
| Verwaiste Folienbilder löschen | `bin/cake images_cleanup [--dry-run]` |
| Umfragen verwalten (Admin-CLI) | `bin/cake polls list\|show\|delete\|remind\|cleanup` (siehe [docs/operations.md](docs/operations.md)) |
| Umfragen verwalten (Admin-CLI) | `bin/cake polls list\|show\|delete\|remind\|cleanup\|seed` (siehe [docs/operations.md](docs/operations.md)) |
**Vor jedem Commit:** `vendor/bin/phpunit` und `vendor/bin/phpcs` müssen grün sein
(Warnungen zur Zeilenlänge bei langen deutschen Texten sind ok).
@@ -70,7 +70,7 @@ src/
QaService, SlideControlService, ResetService, ReportService
Model/ Polls → Slides → SlideOptions, Slides → Responses
Middleware/ HostHeader, SecurityHeaders (CSP mit Nonce, Framing, Referrer-Policy)
Command/ images_cleanup, polls list|show|delete|remind|cleanup
Command/ images_cleanup, polls list|show|delete|remind|cleanup|seed
Mailer/ PollMailer
templates/ Deutsche UI; Layouts: default, present, error, email, fragment, pdf
webroot/ css/plenario.css (eigenes CSS, Tokens), js/plenario.js (Vanilla JS)