Merged
Conversation
…er ranking management
…y methods in tests
- Add bearer auth and ADMIN role checks to tournament endpoints - Restrict tournament creation to ADMIN users only - Restrict bracket generation to ADMIN users only - Restrict match result recording to ADMIN users only - Add optional banlist field for format identification (e.g., Edison, TCG, OCG) - Banlist stored in tournament metadata - Inject JWT dependency into TournamentsProxyController - Update routers to pass JWT instance to controllers BREAKING CHANGE: Tournament creation, bracket generation, and match result recording now require ADMIN role
- Refactor UpdateRankingUseCase to fetch matches and calculate final tournament rankings - Distribute points to all participants based on position: 1st=10pts, 2nd=7pts, 3rd/4th=5pts - Make TournamentRanking domain immutable with functional methods - Replace console.log with project logger (Pino) - Update webhook to process all participants automatically - Enhance verify.ts to validate points distribution Points are now awarded to all tournament participants, not just the winner, creating a fairer reward system.
- Replace hard‑coded process.env.TOURNAMENTS_API_URL with config.tournaments.apiUrl. - Delete obsolete setup‑admin.ts script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.