1. 01 Oct, 2025 11 commits
  2. 27 Sep, 2025 1 commit
  3. 26 Sep, 2025 2 commits
  4. 08 Sep, 2025 5 commits
  5. 05 Sep, 2025 18 commits
  6. 28 Aug, 2025 2 commits
    • Stefy Lanza (nextime / spora )'s avatar
      Fix Qt player API connectivity issues for overlay templates · d419bb79
      Stefy Lanza (nextime / spora ) authored
      CRITICAL FIX: Resolved 'Failed to fetch' errors in overlay templates
      
      API CONNECTIVITY ENHANCEMENTS:
      - Modified fixtures template JavaScript to use configurable webServerBaseUrl instead of relative URLs
      - Enhanced Qt player WebChannel system to pass web server base URL (http://127.0.0.1:5001) to all overlay templates
      - Updated PlayerWindow._get_web_server_base_url() method to provide consistent API endpoint configuration
      - Enhanced QtVideoPlayer._get_web_server_base_url() method for cross-component consistency
      - Modified all overlay data updates (play_video, update_overlay_periodically, default overlay loading) to include webServerBaseUrl
      
      TEMPLATE SYSTEM IMPROVEMENTS:
      - Fixed API request URLs in fixtures template from relative (/api/endpoint) to absolute (http://127.0.0.1:5001/api/endpoint)
      - Enhanced template initialization to receive web server configuration via WebChannel updateOverlayData()
      - Improved fallback mechanism with proper API endpoint resolution
      
      ROOT CAUSE RESOLUTION:
      - Templates loaded via local schemes (file://, qrc://) cannot resolve relative API URLs
      - WebChannel system now provides absolute web server URLs to enable proper API communication
      - All overlay templates now have access to webServerBaseUrl for API requests
      
      This fix ensures Qt player overlay templates can successfully communicate with the Flask web dashboard API endpoints, eliminating 'TypeError: Failed to fetch' errors and enabling proper data display.
      d419bb79
    • Stefy Lanza (nextime / spora )'s avatar
      Version 1.2.11: Fix video loop functionality and fixtures template issues · 0c5c072b
      Stefy Lanza (nextime / spora ) authored
      Major fixes and improvements:
      
      VIDEO LOOP FUNCTIONALITY:
      - Fixed critical import scope error where Message class was locally imported in play_loop action but unavailable to stop_loop action
      - Implemented comprehensive EndOfMedia detection and auto-restart mechanisms in Qt player
      - Added ERROR-level diagnostic logging throughout video loop control system for precise issue identification
      - Enhanced loop control parameters with infinite_loop, loop_count, and continuous_playback flags
      - Fixed video playback state management with proper loop parameter processing
      
      FIXTURES TEMPLATE ENHANCEMENTS:
      - Removed hardcoded HTML content and implemented dynamic JavaScript data loading
      - Enhanced fallback data system with realistic fighter names (John Doe vs Mike Smith, Alex Johnson vs Chris Brown)
      - Improved template initialization with proper loading states and API error handling
      - Fixed template data display to show proper fallback when API endpoints are unavailable
      
      TECHNICAL IMPROVEMENTS:
      - Updated build configuration to version 1.2.11
      - Enhanced PyQt6 media player loop control with MediaStatus handling
      - Improved message bus architecture for cross-thread communication between web dashboard and Qt player
      - Enhanced Flask API development with better parameter handling and message publishing
      - Updated comprehensive project documentation (CHANGELOG.md and README.md)
      
      DIAGNOSTIC SYSTEMS:
      - Implemented comprehensive ERROR-level logging system throughout Qt player for high-visibility debugging
      - Added systematic issue identification capabilities
      - Enhanced video loop diagnostics with complete state tracking
      - Improved template loading architecture with timeout handling and graceful degradation
      
      All core functionality has been tested and validated with diagnostic systems in place for identifying any remaining edge cases.
      0c5c072b
  7. 26 Aug, 2025 1 commit
    • Stefy Lanza (nextime / spora )'s avatar
      v1.2.10: Fix critical betting system bugs and enhance stability · 638edd7e
      Stefy Lanza (nextime / spora ) authored
      Critical Fixes:
      - Fixed SQLite NOT NULL constraint violation in bet creation API by properly extracting fixture_id from match data
      - Resolved 500 error in bet details page route by implementing complete database data fetching and template variable population
      - Fixed moment() undefined template rendering error by removing server-side JavaScript calls and using client-side time handling
      - Corrected JavaScript API endpoint mismatches (POST /cancel vs DELETE /bets/{uuid}) and added missing event handlers
      
      Bug Fixes:
      - Enhanced bet creation logic to query MatchModel and extract fixture_id from first bet detail's match
      - Implemented comprehensive bet details route with database session management and statistics calculation
      - Fixed template compatibility issues by eliminating server-side/client-side JavaScript conflicts
      - Added proper event listeners for delete bet detail buttons in bet management interface
      
      Database & API Improvements:
      - Ensured proper foreign key relationships between bets, bet_details, and matches tables
      - Enhanced error handling with proper HTTP status codes and user-friendly messages
      - Fixed attribute reference from column_value to float_value in MatchOutcomeModel queries
      - Improved database constraint compliance and data consistency validation
      
      Documentation Updates:
      - Updated README.md with version 1.2.10 critical bug fixes and stability improvements
      - Enhanced CHANGELOG.md with detailed technical fixes and implementation details
      - Added comprehensive troubleshooting section to DOCUMENTATION.md with root cause analysis
      
      The betting system is now fully functional with:
       Complete CRUD operations without database constraint violations
       Proper bet details page display with comprehensive information
       Fixed JavaScript API interactions and event handling
       Stable template rendering without server-side JavaScript conflicts
       Enhanced error handling and user experience
      638edd7e