Add a menu-driven entry to the polls CLI
`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:
1 parent
f0b5f7b2bb
commit
6e8fef022b
6 files changed
+222
-3
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user