Commit Graph
8 Commits
Author SHA1 Message Date
gnilebeinandClaude Sonnet 5.5 f21aead039 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>
2026-11-16 14:10:08 +01:00
gnilebein 1ceac5ee68 Merge remote-tracking branch 'origin/main' into feature/polls-json
CI / Deploy / PHP 8.4 (push) Successful in 1m43s
CI / Deploy / PHP 8.5 (push) Successful in 1m45s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
# Conflicts:
#	docs/deployment.md
#	docs/operations.md
2026-11-16 14:03:11 +01:00
gnilebeinandClaude Sonnet 5.5 3d6ade668f Add --json to polls list and polls show
CI / Deploy / PHP 8.5 (push) Successful in 1m37s
CI / Deploy / PHP 8.4 (push) Successful in 1m39s
CI / Deploy / test (push) Successful in 2s
CI / Deploy / deploy (push) Skipped
Machine-readable output for scripts; never contains the admin token
unless --link is given.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:59:38 +01:00
gnilebeinandClaude Sonnet 5.5 349359dad3 Remove the polls menu, keep the single commands
CI / Deploy / PHP 8.5 (push) Successful in 1m2s
CI / Deploy / PHP 8.4 (push) Successful in 1m11s
CI / Deploy / test (push) Successful in 3s
CI / Deploy / deploy (push) Skipped
bin/cake polls list|show|delete|remind|cleanup stay as they are.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:58:26 +01:00
gnilebein e3f74e375f Revert "Browse and delete polls from a numbered list in the polls menu"
CI / Deploy / PHP 8.5 (push) Successful in 1m7s
CI / Deploy / PHP 8.4 (push) Successful in 1m11s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
This reverts commit 7b83cf2f2c.
2026-11-16 13:52:02 +01:00
gnilebeinandClaude Sonnet 5.5 7b83cf2f2c Browse and delete polls from a numbered list in the polls menu
CI / Deploy / PHP 8.5 (push) Successful in 1m7s
CI / Deploy / PHP 8.4 (push) Successful in 1m12s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Paged list with pick by number (open) and "d 1,3" to delete several at
once after one confirmation. List query and table moved into the shared
base command.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 13:35:38 +01:00
gnilebeinandClaude Sonnet 5.5 6e8fef022b 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>
2026-11-16 13:31:33 +01:00
gnilebeinandClaude Sonnet 5.5 a19cd8339e Add poll expiry, reminder mail and polls admin CLI
CI / Deploy / PHP 8.4 (push) Successful in 1m57s
CI / Deploy / PHP 8.5 (push) Successful in 2m9s
CI / Deploy / test (push) Successful in 1s
CI / Deploy / deploy (push) Skipped
Polls are deleted POLL_RETENTION_DAYS (default 90) after creation by the
cron job `bin/cake polls cleanup`. POLL_REMINDER_DAYS (default 14) before
that the owner gets a one-time reminder mail (expiry_reminded_at).

New commands: polls list, show (admin link only with --link), delete,
remind, cleanup. The expiry date is shown in the creation mail and the
dashboard. Docs: README, AGENTS.md, .env.example.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 12:46:12 +01:00