Commit graph

151 commits

Author SHA1 Message Date
fullsizemalt
16bacc29df feat: Enhance Performance Page with Top Rated Versions list 2025-12-21 21:52:23 -08:00
fullsizemalt
5e123463f7 feat: Update Show page to link to Performance details instead of Song 2025-12-21 21:45:53 -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
131bafa825 fix: Multiple fixes
- Add missing @radix-ui/react-select dependency
- Sort tour shows chronologically by date
- Add context to review forms (song name, date)
- Redesign performance page with distinct visual identity
- Update ReviewForm to use RatingInput slider
2025-12-21 18:18:35 -08:00
fullsizemalt
557d9e808e feat: Professional Terms of Service and Privacy Policy pages
- Comprehensive Terms of Service with 11 sections
- GDPR-compliant Privacy Policy with 12 sections
- Proper styling, metadata, and formatting
- Contact information and last updated dates
2025-12-21 18:12:09 -08:00
fullsizemalt
eebebbb637 feat: Improve navigation between shows, performances, and songs
- Show page: Song titles now link to /performances/[id]
- Performance page: Added breadcrumbs (Songs > Song Title > Date)
- Performance page: Song title links to /songs/[id]
- Performance page: Venue links to /venues/[id]
- Performance page: Added rating component in header
2025-12-21 18:09:10 -08:00
fullsizemalt
b973b9e270 feat: Better decimal rating input with slider
- New RatingInput component with slider + numeric input
- Visual stars show partial fill for decimals
- Gradient slider (red → yellow → green) for intuitive scoring
- RatingBadge component for compact display
- Updated EntityRating to use new components
2025-12-21 18:06:15 -08:00
fullsizemalt
d443eabd69 fix: Add missing avatar component, reduce venues API limit
- Create Avatar, AvatarImage, AvatarFallback components
- Fix venues page API limit (500 -> 100)
2025-12-21 17:58:58 -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
cd5b0698d3 fix: Remove CSS @import for fonts - Next.js handles font loading 2025-12-21 17:36:56 -08:00
fullsizemalt
67fbd4d152 style: Match Ersen design system
- Add Space Grotesk and JetBrains Mono fonts
- Implement light/dark mode toggle with next-themes
- Update color palette to match Ersen (HSL-based tokens)
- Add ThemeProvider and ThemeToggle components
- Reduce border radius to 0.3rem for cleaner look
2025-12-21 17:32:58 -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
530f217445 feat: Add AWS SES v2 email service
Complete transactional email layer for Elmeg:
- 3 SES templates (verification, password reset, security alert)
- TypeScript integration module with AWS SDK v3
- Template deployment script
- Usage examples
- Comprehensive README with compliance notes
2025-12-21 16:04:59 -08:00
fullsizemalt
da5b5e7c45 fix: Add missing select component + update terminology to 'Top Performances' 2025-12-21 15:56:03 -08:00
fullsizemalt
06dc8889b5 feat: Add Heady Versions (performances) page
- /performances page with top-rated performance leaderboard
- Added to Browse dropdown in navbar
- Updated home page CTA to feature Heady Versions
- Medal icons for top 3 performances
2025-12-21 15:44:09 -08:00
fullsizemalt
3987b64209 fix: Use sh in docker-compose command for start.sh 2025-12-21 15:40:10 -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
d386dcbd65 fix: Add missing radio-group component + doc fixes 2025-12-21 14:44:30 -08:00
fullsizemalt
cc694ed5bb docs: Add comprehensive AWS SES setup guides
- AWS_SES_SETUP.md: Complete setup with prod/dev env separation
- AWS_SES_BROWSER_AGENT.md: Step-by-step for browser-based agent
- Explicit security notes about IAM scoping and key handling
2025-12-21 14:40:20 -08:00
fullsizemalt
bb1cba5e20 fix: Update production URL to elmeg.xyz 2025-12-21 14:32:36 -08:00
fullsizemalt
5a8764df05 feat: Add Heady Version Leaderboard to Song Page (Phase 4-5)
- YouTube embed of #1 rated performance
- Top 5 performances ranked with medal icons
- Rating + rating count display
- YouTube link icons for each performance
- Gradient gold styling for heady section
2025-12-21 14:06:37 -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
d257698539 feat(frontend): Add missing radix-ui packages for persistence 2025-12-21 03:33:02 -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
fullsizemalt
bc12238937 feat(frontend): Implement Onboarding Welcome Flow
Some checks failed
Deploy Elmeg / deploy (push) Has been cancelled
2025-12-21 02:53:33 -08:00
fullsizemalt
24aec3b9b1 feat(backend): Add endpoints for onboarding flow (profile & prefs)
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-21 02:52:01 -08:00
fullsizemalt
499a9fa352 feat(frontend): Implement Admin Dashboard for moderation
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-21 02:49:11 -08:00
fullsizemalt
bd71ea27d1 fix(backend): Align Report schema with DB model
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-21 02:45:55 -08:00
fullsizemalt
a75921d633 feat(social): Add threaded comments backend support
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-21 02:43:00 -08:00
fullsizemalt
1fb39ea40a feat(ui): Add ScrollArea component and dependency
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-21 02:40:33 -08:00
fullsizemalt
d5b5ee8192 feat(social): Add Reaction model, schema, and API endpoints
Some checks are pending
Deploy Elmeg / deploy (push) Waiting to run
2025-12-21 02:38:40 -08:00