Commit graph

80 commits

Author SHA1 Message Date
fullsizemalt
49e025d3bf fix: commit all pending changes (home, leaderboard, slug cleanup)
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-24 12:06:35 -08:00
fullsizemalt
7a549e15ac fix(leaderboard): filter out 0xp users
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-24 11:50:17 -08:00
fullsizemalt
f36d868f25 chore: disable sql echo in fix script
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-24 11:12:55 -08:00
fullsizemalt
a2f0965ff5 chore: add script to fix set names in db
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-24 10:38:21 -08:00
fullsizemalt
ff411321c6 feat(stats): add set breakdown to song page
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-24 10:29:13 -08:00
fullsizemalt
4aefad1eff feat(videos): add search, video toggle, and fix links
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-24 10:20:39 -08:00
fullsizemalt
9c92eb7953 feat: Add SMTP support for self-hosted Postal mail server
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-23 17:19:22 -08:00
fullsizemalt
1f29cdf290 feat: Bandcamp/Nugs links for shows and performances
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
- Add bandcamp_link, nugs_link to Performance model
- Admin endpoints: PATCH /admin/performances/{id}
- Bulk import: POST /admin/import/external-links
- Spec doc: docs/BANDCAMP_NUGS_SPEC.md
2025-12-23 15:56:21 -08:00
fullsizemalt
68453d6865 feat: Mailgun email integration with SES fallback
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
- Mailgun API as primary email provider
- AWS SES kept as fallback
- Improved email templates with modern styling
- Environment vars: MAILGUN_API_KEY, MAILGUN_DOMAIN
2025-12-23 15:49:33 -08:00
fullsizemalt
1f7f83a31a fix: Videos page links to show, hide test users from leaderboard
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
- Videos page now links song titles to show page (where video is displayed)
- Leaderboard hides tenwest/testuser until 12+ real users exist
2025-12-23 15:45:29 -08:00
fullsizemalt
14a509ddb5 feat: Add bug tracker MVP (decoupled, feature-flagged)
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
- Backend: Ticket and TicketComment models (no FK to User)
- API: /tickets/* endpoints for submit, view, comment, upvote
- Admin: /tickets/admin/* for triage queue
- Frontend: /bugs pages (submit, my-tickets, known-issues, detail)
- Feature flag: ENABLE_BUG_TRACKER env var (default: true)

To disable: Set ENABLE_BUG_TRACKER=false
To remove: Delete models_tickets.py, routers/tickets.py, frontend/app/bugs/
2025-12-23 13:18:00 -08:00
fullsizemalt
2da46eaa16 feat: Privacy settings with functional toggles, sticky sidebar, roadmap doc
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-23 13:08:48 -08:00
fullsizemalt
9e48dd78ff style: Update avatar colors to jewel tones (Sapphire, Ruby, Emerald, etc.)
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-23 11:56:23 -08:00
fullsizemalt
f989414323 feat: Redesign settings page with comprehensive sections, sidebar nav, and distinct avatar colors
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-23 11:38:18 -08:00
fullsizemalt
a4d63a9e2c feat: Add custom avatar system with color picker and text overlay
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-23 11:12:31 -08:00
fullsizemalt
4a103511da feat: Add video integration - display videos on performance pages and indicators
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
- Add YouTubeEmbed to performance detail page when youtube_link exists
- Add YouTube icon indicator on setlist items that have videos
- Add YouTube badge on show cards in archive when full show video exists
- Add youtube_link to ShowRead and PerformanceRead schemas
- Add VIDEO_INTEGRATION_SPEC.md documentation
2025-12-22 23:52:34 -08:00
fullsizemalt
171b8a38ca feat: Add /videos page listing all YouTube videos without thumbnails 2025-12-22 23:16:04 -08:00
fullsizemalt
0ad89105b3 feat: Improved YouTube matching with fuzzy logic (+40 more videos) 2025-12-22 23:13:13 -08:00
fullsizemalt
dc584af2f2 feat: Add YouTube API fetch and import scripts with 620 videos 2025-12-22 23:09:43 -08:00
fullsizemalt
bd6832705f feat: Add Mark Caught button for chase songs + fix Next.js 16 build errors
- Add MarkCaughtButton component to show page setlist
- Fix TypeScript errors in profile, settings, welcome pages
- Fix Switch component onChange props
- Fix notification-bell imports and button size
- Fix performance-list orphaned JSX
- Fix song-evolution-chart tooltip types
- Add Suspense boundaries for useSearchParams (Next.js 16 requirement)
2025-12-22 00:21:58 -08:00
fullsizemalt
823c6e7dee fix: Rewrite youtube parser to handle escaped markdown line-by-line 2025-12-21 22:35:41 -08:00
fullsizemalt
98a7965c52 fix: Handle escaped markdown in youtube import parser 2025-12-21 22:33:51 -08:00
fullsizemalt
8620841932 feat: Add YouTube video import script for performances and shows 2025-12-21 22:20:10 -08:00
fullsizemalt
16bacc29df feat: Enhance Performance Page with Top Rated Versions list 2025-12-21 21:52:23 -08:00
fullsizemalt
532798db76 feat: Add data backfill migration for set names and slugs 2025-12-21 20:53:06 -08:00
fullsizemalt
e3e074248e feat: complete slug integration, fix set names logic, add missing ui components 2025-12-21 20:29:36 -08:00
fullsizemalt
b73f993475 feat: Email Service Integration with AWS SES
- Implemented backend/services/email_service.py with boto3 SES client
- Added EmailService class with verification and password reset methods
- Updated auth router to use the new email service
- Configured docker-compose.yml to pass AWS SES environment variables
2025-12-21 19:28:29 -08:00
fullsizemalt
bc804a666b feat: Gamification sprint complete
XP System:
- XP now awarded for attendance (+25), ratings (+10), reviews (+50)
- First-time bonuses for first rating (+25) and first review (+50)
- Streak bonuses (+10 per day, capped at 7x)
- Badge awards automatically grant XP

User Titles & Flair System (Tracker-style):
- Level-based free titles: Rookie → Immortal
- Purchasable titles with XP: Jam Connoisseur, Setlist Savant, etc.
- Username colors purchasable with XP (6 colors + Rainbow)
- Emoji flairs purchasable with XP
- Early adopter perks: exclusive titles, colors, 10% XP bonus

New Fields on User:
- custom_title, title_color, flair
- is_early_adopter, is_supporter
- joined_at

Shop API Endpoints:
- GET /gamification/shop/titles
- POST /gamification/shop/titles/purchase
- GET/POST for colors and flairs
- GET /gamification/user/{id}/display
- GET /gamification/early-adopter-perks

Frontend:
- XP Leaderboard added to home page
- LevelProgressCard shows on profile
2025-12-21 19:21:20 -08:00
fullsizemalt
5ffb428bb8 feat: Add gamification system
Backend:
- Add XP, level, streak fields to User model
- Add tier, category, xp_reward fields to Badge model
- Create gamification service with XP, levels, streaks, badge checking
- Add gamification router with level progress, leaderboard endpoints
- Define 16 badge types across attendance, ratings, social, milestones

Frontend:
- LevelProgressCard component with XP bar and streak display
- XPLeaderboard component showing top users
- Integrate level progress into profile page

Slug System:
- All entities now support slug-based URLs
- Performances use songslug-YYYY-MM-DD format
2025-12-21 18:58:42 -08:00
fullsizemalt
66b5039337 fix: Fix import shadowing in routers 2025-12-21 18:51:23 -08:00
fullsizemalt
a12f7fa8b0 fix: Fix import path in slug migration 2025-12-21 18:48:02 -08:00
fullsizemalt
3edbcdeb64 feat: Add slug support for all entities
- Add slug fields to Song, Venue, Show, Tour, Performance models
- Update routers to support lookup by slug or ID
- Create slugify.py utility for generating URL-safe slugs
- Add migration script to generate slugs for existing data
- Performance slugs use songslug-YYYY-MM-DD format
2025-12-21 18:46:40 -08:00
fullsizemalt
2e4e0b811d feat: User profile enhancements - chase songs and attendance stats
Backend:
- Add ChaseSong model for tracking songs users want to see
- New /chase router with CRUD for chase songs
- Profile stats endpoint with heady versions, debuts, etc.

Frontend:
- ChaseSongsList component with search, add, remove
- AttendanceSummary with auto-generated stats
- Updated profile page with new Overview tab content
2025-12-21 18:39:39 -08:00
fullsizemalt
835299fab5 feat: Support decimal ratings (e.g., 9.2)
- Rating/Review models now use float instead of int
- Star rating component shows partial fills
- Numeric value displayed while rating
- Supports precision: 0.1 increments
2025-12-21 17:53:56 -08:00
fullsizemalt
ee311c0bc4 feat: Complete venues overhaul
- Fix ratings API to support venue_id and tour_id
- Add migration for new rating columns
- Venues list: search, state filter, sort by name/shows
- Venues detail: show list with dates, venue stats, error handling
- Remove broken EntityRating/SocialWrapper from venue pages
2025-12-21 17:51:05 -08:00
fullsizemalt
415a092257 refactor: Use SES v2 stored templates in Python email service
- Switch from raw HTML to stored templates
- Use sesv2 client instead of ses
- Add send_security_alert_email function
- Templates: ELMEG_EMAIL_VERIFICATION, ELMEG_PASSWORD_RESET, ELMEG_SECURITY_ALERT
2025-12-21 16:55:15 -08:00
fullsizemalt
1242b5d2ed fix: Use sh to run start.sh (bypass permission issue) 2025-12-21 15:38:36 -08:00
fullsizemalt
ae732074e2 fix: Add email-validator for pydantic EmailStr 2025-12-21 15:34:57 -08:00
fullsizemalt
bb1cba5e20 fix: Update production URL to elmeg.xyz 2025-12-21 14:32:36 -08:00
fullsizemalt
ad2e6a107e feat: Enhance Mod Panel (Phase 3)
Backend:
- User lookup by email/username with activity stats
- Ban/unban endpoints with role protection
- Bulk approve/reject nicknames
- Bulk resolve/dismiss reports
- Queue stats endpoint

Frontend:
- Stats cards (pending items, ban count)
- User Lookup tab with search
- User profile with activity stats
- Ban dialog with duration selector
- Bulk selection checkboxes on queues
2025-12-21 14:04:33 -08:00
fullsizemalt
c16fe559e0 feat: Add Admin Panel (Phase 2)
Backend:
- admin.py router with user management CRUD
- Platform stats endpoint
- Shows/Songs/Venues/Tours CRUD
- Protected by RoleChecker (admin only)

Frontend:
- /admin dashboard with stats cards
- Users tab with search and edit dialog
- Content tab with entity counts
- Role/ban/verification management
2025-12-21 13:50:52 -08:00
fullsizemalt
9af0bc4b96 refactor: Switch from SendGrid to AWS SES for email
- Replace httpx/SendGrid with boto3/SES
- Add boto3 to requirements.txt
- Create AWS_SES_SETUP.md documentation
- Remove SendGrid setup doc
2025-12-21 13:42:07 -08:00
fullsizemalt
f1d8a14f75 feat: Add email verification and password reset (Phase 1)
- Add email_verified, verification_token, reset_token fields to User model
- Create email_service.py with SendGrid integration
- Add auth endpoints: verify-email, resend-verification, forgot-password, reset-password
- Create frontend pages: /verify-email, /forgot-password, /reset-password
- Add forgot password link to login page
- Add PLATFORM_ENHANCEMENT_SPEC.md specification
2025-12-21 13:28:54 -08:00
fullsizemalt
fd81b38c0c fix: Fix migration import path 2025-12-21 13:00:10 -08:00
fullsizemalt
8df513b84f feat: Add YouTube link support for shows, songs, and performances 2025-12-21 12:58:32 -08:00
fullsizemalt
958f097068 fix: Update docker-compose to use start.sh migration runner 2025-12-21 03:49:47 -08:00
fullsizemalt
aa3faaa7e4 feat: Add CI/CD migration runner to backend startup 2025-12-21 03:46:11 -08:00
fullsizemalt
df586b7c4e feat: Hide leaderboards, add healthz endpoint and seed script 2025-12-21 03:41:23 -08:00
fullsizemalt
591ab8f6d3 fix: Correct leaderboards queries to use proper Rating FKs 2025-12-21 03:22:59 -08:00
fullsizemalt
c1ceb65d04 fix: Add migration for Reaction table 2025-12-21 03:18:53 -08:00