1. 02 Feb, 2026 5 commits
    • Stefy Lanza (nextime / spora )'s avatar
      Fix SQL reset script to respect foreign key constraints · 6a5e8b04
      Stefy Lanza (nextime / spora ) authored
      - Fix deletion order: child tables before parent tables
      - Add bet_details deletion before bets deletion
      - All 4 options updated with correct deletion order
      - Prevents foreign key constraint errors
      
      Deletion order:
      1. report_sync_logs (no dependencies)
      2. match_reports (child of report_syncs)
      3. extraction_stats (child of report_syncs)
      4. bet_details (child of bets)
      5. bets (parent of bet_details, child of report_syncs)
      6. report_syncs (parent of bets, extraction_stats, match_reports)
      6a5e8b04
    • Stefy Lanza (nextime / spora )'s avatar
      Add SQL script to reset reports sync data for full resync · b719f53f
      Stefy Lanza (nextime / spora ) authored
      - Add RESET_REPORTS_SYNC.sql with multiple reset options
      - Option 1: Reset for specific client
      - Option 2: Reset for ALL clients (full reset)
      - Option 3: Reset for multiple specific clients
      - Option 4: Reset syncs after specific date
      - Include verification queries to confirm deletion
      - Include auto-increment reset option
      
      This allows administrators to:
      - Force clients to perform full resync
      - Reset corrupted sync data
      - Clean up old sync records
      - Verify deletion was successful
      b719f53f
    • Stefy Lanza (nextime / spora )'s avatar
      Add reports sync last sync query endpoint and client implementation guides · c0619298
      Stefy Lanza (nextime / spora ) authored
      - Add GET /api/reports/last-sync endpoint to query server for last sync information
      - Update reports page with sorting by client name and cap balance
      - Create comprehensive client-side implementation guide (CLIENT_SYNC_IMPLEMENTATION_GUIDE.md)
      - Create minimal client prompt (CLIENT_SYNC_MINIMAL_PROMPT.md)
      - Update final implementation documentation (REPORTS_FINAL_IMPLEMENTATION.md)
      
      This allows clients to:
      - Query server for last sync information before syncing
      - Verify local tracking against server state
      - Recover from tracking corruption
      - Prevent data loss from missed syncs
      c0619298
    • Stefy Lanza (nextime / spora )'s avatar
      Fixed error · 9158dbaf
      Stefy Lanza (nextime / spora ) authored
      9158dbaf
    • Stefy Lanza (nextime / spora )'s avatar
      Refactor reports · 361fe6c0
      Stefy Lanza (nextime / spora ) authored
      361fe6c0
  2. 01 Feb, 2026 8 commits
  3. 21 Jan, 2026 1 commit
  4. 20 Jan, 2026 4 commits
  5. 12 Jan, 2026 4 commits
  6. 09 Jan, 2026 3 commits
  7. 27 Sep, 2025 1 commit
  8. 26 Sep, 2025 14 commits