When a player's attendance is updated — either via email (awp-cli check)
or via the web toggle — an email is sent to the GM with:
- who changed, what they changed to, and how (email or the site)
- a summary count of attending/not attending/no response
- the full current player status list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Concurrent HTTP requests and the cron job could race on the file,
causing lost updates or torn writes. A package-level RWMutex now
guards all reads and writes.
Also URL-encodes player names in ToggleUrl to prevent query-parameter
injection from names containing '&' or '='.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add missing bcc argument to NewEmail call in pkg/email/fetch.go
- Upgrade github.com/a-h/templ from v0.3.833 to v0.3.1020 to match generator
- Add player management routes (add/delete/edit) and playershandler
- Update templates and loaddata with pending changes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>