Add user self-registration and implement rate limiting for predictions #1

Merged
shcizo merged 1 commits from feature/user-self-registration-and-rate-limits into main 2025-10-11 18:21:04 +02:00
shcizo commented 2025-10-11 18:20:54 +02:00 (Migrated from github.com)

Allow users to add themselves to the player database through a web form, eliminating the need for manual pdga-numbers.txt updates. Implement 24-hour rate limiting on prediction refreshes to prevent abuse while maintaining reasonable update frequency.

Key changes:

  • Add player self-registration with PDGA number lookup and confirmation
  • Store predicted ratings in database for persistence across restarts
  • Implement 24-hour rate limit on prediction refresh endpoint
  • Make database the single source of truth (text file only for initial seed)
  • Remove "Scrape All Layouts" bulk operation button
  • Update "Load All" to refresh existing players instead of text file

🤖 Generated with Claude Code

Allow users to add themselves to the player database through a web form, eliminating the need for manual pdga-numbers.txt updates. Implement 24-hour rate limiting on prediction refreshes to prevent abuse while maintaining reasonable update frequency. Key changes: - Add player self-registration with PDGA number lookup and confirmation - Store predicted ratings in database for persistence across restarts - Implement 24-hour rate limit on prediction refresh endpoint - Make database the single source of truth (text file only for initial seed) - Remove "Scrape All Layouts" bulk operation button - Update "Load All" to refresh existing players instead of text file 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.