• Mahmoud Aglan's avatar
    fix: complete Swiss API integration fixes for bot tournament flow · 102e8b47
    Mahmoud Aglan authored
    1. Content-Type: application/json only sent when body is not null.
       Swiss API rejects bodiless POST/GET with that header.
    2. Controller start() now calls Swiss API /start endpoint.
    3. simulateNextRound() auto-starts Swiss tournament if local status
       is still draft/registration.
    4. generateRound response parsing fixed — data is in {round:{id,...}}.
    5. getPairings response wrapped in {data:[...]} — now handled.
    6. Pairing field names use camelCase (whitePlayerId not white_player_id).
    7. Player ratings fetched from listPlayers instead of expecting them
       embedded in pairing objects.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    102e8b47
Name
Last commit
Last update
Connections and docs Loading commit data...
api Loading commit data...
config Loading commit data...
core Loading commit data...
layouts Loading commit data...
migrations Loading commit data...
modules Loading commit data...
public Loading commit data...
storage Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
Dockerfile Loading commit data...
EL3AB_MANAGEMENT_SYSTEM.md Loading commit data...
EL3AB_PLAYER_APP_DATA.md Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...