From 59d2bb715a49fae994abfdf97e1ea3d5c268b274 Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Fri, 26 Dec 2025 22:55:39 -0800 Subject: [PATCH] Update roadmap - all email notifications complete --- docs/ROADMAP.md | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 1f545c1..745cdd0 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -28,6 +28,15 @@ - Combined Rating + Review scores - Heady badge for #1 ranked versions with avg >= 8.0 +### ✅ Email Notifications + +- Reply notifications (when someone replies to your comment) +- Mention notifications (when you're @mentioned) +- Chase song alerts (when a song you're chasing is played) +- Weekly digest emails (community highlights + user activity) +- Admin API to trigger digest: `POST /api/admin/send-weekly-digest` +- Admin API to test email: `POST /api/admin/test-email` + --- ## Recent Completions (Dec 27, 2025) @@ -36,27 +45,11 @@ |---------|--------| | GDPR Data Export | ✅ /users/me/export endpoint | | Account Deletion | ✅ /users/me DELETE endpoint | -| bugs.elmeg.xyz routing | ✅ Traefik config ready | -| Performance Ranking | ✅ #X of Y with heady badges | -| Theme Persistence | ✅ Frontend syncs with backend | - ---- - -## Remaining / Blockers - -| Feature | Status | Blocker | -|---------|--------|---------| -| bugs.elmeg.xyz | 🔄 | Needs DNS CNAME record in Cloudflare | -| Email notification triggers | ❌ | Backend prefs ready, sending not implemented | - -### DNS Required for bugs.elmeg.xyz - -Add CNAME record in Cloudflare: - -- **Type:** CNAME -- **Name:** bugs -- **Target:** elmeg.xyz (or 159.69.219.254) -- **Proxy:** DNS only or Proxied +| bugs.elmeg.xyz | ✅ Redirects to /bugs | +| Email Reply/Mention Triggers | ✅ Sends when comments created | +| Chase Song Notifications | ✅ Hooks into performance import | +| Weekly Digest Service | ✅ services/weekly_digest.py | +| Admin Email Endpoints | ✅ Send digest + test email | --- @@ -64,6 +57,17 @@ Add CNAME record in Cloudflare: - **Production:** - **Analytics:** -- **Bug Tracker:** (or bugs.elmeg.xyz after DNS) +- **Bug Tracker:** - **Server:** tangible-aacorn (Hetzner ARM64) - **Git:** + +--- + +## Optional: System Cron for Weekly Digest + +To automatically send weekly digests, add this to server crontab: + +```bash +# Send weekly digest every Sunday at 9am UTC +0 9 * * 0 curl -X POST https://elmeg.xyz/api/admin/send-weekly-digest -H "Authorization: Bearer $ADMIN_JWT_TOKEN" +```