Skip to content

Releases: mtottenh/cg

v0.7.7

Choose a tag to compare

@github-actions github-actions released this 20 Sep 23:07
Bump to 0.7.7

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FDJucAjHecoQBSmi8Q1wAm

v0.7.6

Choose a tag to compare

@github-actions github-actions released this 05 Sep 23:10
Upload the photo you have; it becomes the banner.

- Avatars, banners and team logos are now scaled to fit instead of being refused. A phone photo or a 4K wallpaper is centre-cropped to the banner shape and scaled down; a large square becomes the avatar. Before, a banner was refused if it was taller than 1200px or over 5MB, and an avatar over 2MB — which is why no player on the site had managed to save a banner.
- Size caps: avatars and logos 10MB, banners 12MB.

Pull request: https://github.com/mtottenh/cg/pull/20

v0.7.5

Choose a tag to compare

@github-actions github-actions released this 05 Sep 20:56
Group stages now advance to their playoffs.

- A groups-and-playoffs cup never moved on from its group stage: every group match would finish and the playoffs stayed pending with no matches. The transition only existed behind the admin "reapply progression" endpoint. The match-completion saga, which every real result runs through (captain claim and confirm, forfeit, no-show, review), now seeds the next stage when the last group result lands. Safe to re-run: a stage already advanced is left alone.
- The dispute detail names the teams, who raised the dispute and who the claim named as winner, as the queue already did. The organiser's dispute modal showed bare ids.

Pull requests: https://github.com/mtottenh/cg/pull/18, https://github.com/mtottenh/cg/pull/19

v0.7.4

Choose a tag to compare

@github-actions github-actions released this 05 Sep 18:57
Branding fixes and Premier ratings.

- Player and team banners that were the wrong shape are now centre-cropped to fit instead of being refused. Any banner upload used to fail unless the image happened to be near 4:1, which is why no player had managed to save one.
- Team logos and banners can be removed, and a team's branding can be set by URL as well as by upload. Owners and league admins can edit both.
- Super-admins can take down a player's avatar or banner and a team's logo or banner.
- Team season stats now use each player's CS2 Premier rating (the latest rating-history entry) instead of the internal 1500 default, so a team of two players at 14,000 and 22,000 no longer shows as 1500 / 1500 / 3000.

Pull request: https://github.com/mtottenh/cg/pull/17

v0.7.3

Choose a tag to compare

@github-actions github-actions released this 05 Sep 17:22
Veto lobby presence.

- A player joining a match lobby now receives a snapshot of who is really there (both teams with a connected flag, the spectator count, and the veto session), built after they join. Before, the snapshot was hard-coded to nobody, so an opponent already in the lobby showed as absent.
- Presence is counted per team, not per socket: a second tab or a reconnect that overlaps the old socket's teardown no longer flaps a present team to absent.
- Lobby teardown is atomic with joins, so two people in one match can no longer land in two lobbies.
- A socket that stops answering pings for 90 s is dropped instead of lingering as connected.

Includes v0.7.2 (archived leagues hidden from a player's own lists; team season stats).

Pull request: https://github.com/mtottenh/cg/pull/16

v0.7.2

Choose a tag to compare

@github-actions github-actions released this 05 Sep 16:56
Archived leagues stay hidden; team season stats.

- A player's own league list (`/v1/users/me/leagues`) no longer includes archived leagues, and their team list (`/v1/players/me/league-teams`) no longer includes teams in archived seasons — archiving only ever set `archived_at`, and these lists filtered on status. Fixes archived leagues and seasons showing in the sidebar switcher, Find a team, and My Teams. Restore brings them back.
- New `GET /v1/league-team-seasons/{id}/stats`: the roster's median / total / max CS2 Premier rating and the team's past games this season and all-time, for the team detail page.

Pull requests: https://github.com/mtottenh/cg/pull/14, https://github.com/mtottenh/cg/pull/15

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 05 Sep 14:47
Parse real CS2 1.41 `status` output.

- CS2 1.41 prints no `map :` line; the level is read from the first loaded spawngroup. Bot rows carry no address column. The status parser handles both, so the server console shows the map and connected players from a real host. Pairs with portal-server-agent v0.2.1.

Pull request: https://github.com/mtottenh/cg/pull/13

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 13:35
The CS2 server console. Pairs with portal-server-agent v0.2.0 and por…

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 05 Sep 12:08
Patch release — one behaviour change on the cross-league team move, n…

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 00:37
Minor release — new response fields and one new action item type, no …