Let polls remind target one poll for testing
CI / Deploy / PHP 8.5 (push) Successful in 1m6s
CI / Deploy / PHP 8.4 (push) Successful in 1m12s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped

`polls remind <id|code>` sends the reminder to that poll right away,
ignoring the reminder window, an earlier reminder and POLL_REMINDER_DAYS.
A forced reminder does not set the reminded marker.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-16 14:10:08 +01:00
1 parent 4f03414d7a
commit f21aead039
4 files changed
+80 -10

No files matched your search

+2
View File
@@ -16,6 +16,8 @@ Aufräumen und Erinnerungen, CI/CD, Release-Pakete, Container.
ist die einzige Stelle, die den Admin-Link ausgibt (nie in `list`).
`polls list|show --json` gibt nur JSON aus (`PollsCommand::pollData()`/`printJson()`, Ausgabemodus RAW, sonst würden `<…>` in Titeln als
Markup verschluckt; nie das Token, `adminUrl` nur mit `--link`).
`polls remind <id|code>` erzwingt die Erinnerung für genau eine Umfrage (Testzweck): ignoriert Fenster, Marker und `POLL_REMINDER_DAYS`,
setzt `expiry_reminded_at` nicht, braucht aber ein Ablaufdatum (`POLL_RETENTION_DAYS` > 0).
Tests: `PollsCommandsTest.php` (leert vorher alle Umfragen).
## Deployment