Repository navigation
API: profile tiers and gaps, avatars after runs, flags from server GeoIP - #16
Merged
github-actions[bot] merged 2 commits intoNov 7, 2026
Merged
Conversation
- Recent runs: a total and an offset, for a pager with a last page. - A player's Steam profile is fetched after each new run, so avatars fill in. - Personal bests carry their board's tier and record time; profiles, tier_count. - Runs may carry player.country_code from the game server's GeoIP; it becomes the player's flag ahead of their own pick and Steam's. Never the IP. API only: no web change beyond the generated types.
|
Couldn't merge into |
Each activity point and each range carries the most players online at once across listed servers; the range's peak counts up to now, so a shorter range never reads higher than a longer one. A year reads a daily peak kept at each heartbeat (migration 0053, back-filled from the 30-day log).
|
Merged into |
zasbu
added a commit
to zasbu/sourcejump2web-dev
that referenced
this pull request
Nov 8, 2026
PR sourcejump#16 and the migration numbering, akanora's PRs and the plugin's new key requirement, the API options that would end the web's shortcuts, and the style-order question.
zasbu
added a commit
to zasbu/sourcejump2web-dev
that referenced
this pull request
Nov 8, 2026
…ejump Map personal bests for servers in one request (now keyed), sign out everywhere (401 without a session), your own place pinned under a map board, one view for the tier in force (migration 0054, after PR sourcejump#16's 0052 and 0053), link previews and an error page, and the Windows build. The map board's rows keep this branch's phone layout inside sourcejump#25's EntryRow; design-system.md keeps both sides within its budget.
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.
API only; the website on main is untouched apart from the generated types.
tierandworld_record_time; profiles carrytier_count.player.country_codefrom the game server's GeoIP; it becomes the player's flag, ahead of their own pick and Steam's. The IP never reaches the API; unknown codes are ignored. Migration 0052 addsplayers.country_from_server. The priority is a proposal for you to accept or change.Plugin, for flags: on each run,
GetClientIP(client, ip, sizeof(ip)); ifGeoipCode2(ip, code)succeeds, add"country_code": codeto the run'splayerobject, else leave it out.Deploy: merge, then
just deploy beta.peak_playersper point and per range, the most players online at once across listed servers (5-minute samples; a daily peak table for the year, migration 0053, back-filled from the 30-day log). The range peak counts up to now, so a shorter range never reads higher than a longer one.GET /v1/players/{player}/avatarredirects to the stored Steam avatar, fetches it on the spot when missing (4 at once, 4 s), or draws initials, so every player shown has their avatar, signed in or not.