| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-02-21 | refactor(admin): separate business logic into game and tournament services | nsfisis | |
| Move transaction handling, rejudge workflow, tournament bracket creation, and data repair logic from admin handler into game.Service and tournament.Service, mirroring the earlier api package separation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 2026-02-21 | refactor(api): separate business logic into game, tournament, session packages | nsfisis | |
| Extract business logic from api/handler.go into dedicated service packages: - session: context helpers (resolves admin → api import dependency) - game: game state, code submission, ranking, watch logic - tournament: bracket construction and seed ordering - api/convert.go: domain → API type conversion functions api/handler.go is now a thin adapter that delegates to services and maps domain errors to HTTP status codes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
