- Updated OAuth endpoints for Challonge and Discord in platforms configuration.
- Implemented session and CSRF cookie initialization in main application entry.
- Enhanced Challonge API client to avoid sending sensitive API keys from the browser.
- Modified tournament querying to handle new state definitions and improved error handling.
- Updated UI components to reflect server-side storage of authentication tokens.
- Improved user experience in API Key Manager and Authentication Hub with clearer messaging.
- Refactored client credentials management to support asynchronous operations.
- Adjusted API client tests to validate new request configurations.
- Updated Vite configuration to support session and CSRF handling through proxies.
- Add tournament-query.js utility with queryAllTournaments() and helper functions
* Makes 3 parallel API calls (pending, in_progress, ended states)
* Uses Promise.all() to wait for all requests
* Deduplicates results by tournament ID using Map
* Replaces invalid state: 'all' parameter (API doesn't support 'all' value)
- Implement 5 convenience functions:
* queryAllTournaments() - Query all states with custom options
* queryUserTournaments() - Query user's tournaments (shorthand)
* queryCommunityTournaments() - Query community tournaments
* queryActiveTournaments() - Query pending + in_progress only
* queryCompletedTournaments() - Query ended tournaments only
* queryTournamentsByStates() - Query custom state combinations
- Update ChallongeTest.vue to use queryAllTournaments()
* Replace invalid state: 'all' with proper multi-state query
* Now correctly fetches tournaments from all states
* Update console logging to show all 3 states being queried
- Add comprehensive TOURNAMENT_QUERY_GUIDE.md documentation
* Explains the problem and solution
* API reference for all functions
* Implementation details and performance notes
* Testing instructions
* Future enhancement ideas