Add a menu-driven entry to the polls CLI
CI / Deploy / PHP 8.5 (push) Successful in 1m14s
CI / Deploy / PHP 8.4 (push) Successful in 1m15s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped

`bin/cake polls` without a sub command offers list, search, open a poll
(details, admin link, delete), remind and cleanup. It only wraps the existing
commands, previews before destructive actions and asks first; every prompt
has a safe default so closed stdin ends it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-16 13:31:33 +01:00
1 parent f0b5f7b2bb
commit 6e8fef022b
6 files changed
+222 -3

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ src/
EmbedController /e/{key}/{id}: eine Folie zum Einbetten (z. B. Canva), activate/heartbeat/pause/control
ErrorController Fehlerseiten (Templates unter templates/Error, Layout `error`)
Command/ImagesCleanupCommand `images_cleanup`: Bilddateien ohne Folie entfernen (idempotent)
Command/Polls*Command `polls list|show|delete|remind|cleanup` (Basis `PollsCommand`: Suche per id/Code, Links, Löschen)
Command/Polls*Command `polls` (Menü), `polls list|show|delete|remind|cleanup` (Basis `PollsCommand`: Suche per id/Code, Links, Löschen)
Mailer/ PollMailer (adminLink, recovery; `sendSafely()` loggt Transportfehler statt zu werfen), Transport/FileTransport (lokal)
Middleware/ HostHeaderMiddleware: prüft in Produktion den Host gegen APP_FULL_BASE_URL;
SecurityHeadersMiddleware (äußerste Schicht): CSP mit Nonce, Framing, nosniff, Referrer-/Permissions-Policy