alpha
Login
or
Join now
alpine.girlfag.club
/
refserver
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
server for refapp and refbot and other stuff
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
refserver
/
src
/
at
main
6 folders
9 files
alpine
Add GET /v1/players/by-startgg/:participantId for start.gg-linked player resolution
11hrs ago
217b1ddd
engine
Add roll-off flow (SSSO 2.1) replacing check-in for friendlies - MatchState.roll + 'rolling' phase default for pending matches - engine roll()/chooseFirstBan() with tie re-roll and winner-gated ban order - serializePlayerView gains roll + server-computed turn (roll/roll-tie/choose-ban) - new routes: /matches/:id/player/roll, /choose-first-ban + share equivalents - HttpError status codes for wrong-phase/forbidden roll actions - tests: check-in->rolling assertions, friendly roll-off coverage
12 hours ago
external
fix: omit unset diff filters from SpinShare search (all-false empties results)
16 hours ago
middleware
style: remove em dashes from code and docs Rephrase comments, strings, and markdown (README, plan) so no em dash (U+2014) remains in source.
1 day ago
models
Add roll-off flow (SSSO 2.1) replacing check-in for friendlies - MatchState.roll + 'rolling' phase default for pending matches - engine roll()/chooseFirstBan() with tie re-roll and winner-gated ban order - serializePlayerView gains roll + server-computed turn (roll/roll-tie/choose-ban) - new routes: /matches/:id/player/roll, /choose-first-ban + share equivalents - HttpError status codes for wrong-phase/forbidden roll actions - tests: check-in->rolling assertions, friendly roll-off coverage
12 hours ago
routes
Add GET /v1/players/by-startgg/:participantId for start.gg-linked player resolution
11 hours ago
util
Enforce minimum mappool size of bestOf + 2 Add shared minPoolSize helper and validate mapPool/mapLinks on match create (400 pool_too_small). Remove dead single-chart ban skip. Update tests for the new minimum.
13 hours ago
app.ts
feat(refserver): gate player view to participants + rate-limit service exempt - Enforce viewerDiscordId participant membership on GET /matches/:id/player (403 when not a participant) in both in-memory and DB-only branches. - Skip per-IP rate limit for trusted ApiKey service-to-service calls and health checks; raise default RATE_LIMIT_MAX to 600 for SPA polling headroom. - Refresh OpenAPI spec (viewerDiscordId query param + 403 response). - Add regression test for DB-only branch participant enforcement. - Fix indentation regression in createApp() rate-limit block.
4 days ago
bootstrap.test.ts
feat(refserver): seed admin API key on first boot via REFSERVER_BOOTSTRAP_API_KEY Breaks the chicken-and-egg of needing an admin key to create keys via the API. On startup, if the ApiKey collection is empty, refserver seeds an admin-scoped key from REFSERVER_BOOTSTRAP_API_KEY (idempotent; refuses if other keys already exist). Lets the combined stack deploy refserver for the first time without manual key insertion.
3 days ago
bootstrap.ts
feat(refserver): seed admin API key on first boot via REFSERVER_BOOTSTRAP_API_KEY Breaks the chicken-and-egg of needing an admin key to create keys via the API. On startup, if the ApiKey collection is empty, refserver seeds an admin-scoped key from REFSERVER_BOOTSTRAP_API_KEY (idempotent; refuses if other keys already exist). Lets the combined stack deploy refserver for the first time without manual key insertion.
3 days ago
config.ts
feat: shareable friendlies + persisted admin/referee roles - Unauthenticated share-link endpoints for friendly matches (/v1/matches/share/:token/*) registered before /matches/:id - shareToken generated for every friendly (createPendingMatch + initMatchState) and persisted through save/restoreMatchState - Persisted roles in GuildConfig; GET/PUT /v1/guilds/:guildId/roles and GET /v1/me - Discord actors resolve scopes from persisted role list (env DISCORD_ALLOWED_USERS fallback); boot seeds the role cache - POST /v1/matches relaxed: any logged-in user (read|referee) can create a friendly; tournament creation still requires referee scope
1 day ago
db.ts
Implement phase 1 foundation: Express, WebSocket, Mongoose, models, health/version
4 days ago
errors.ts
Implement phase 1 foundation: Express, WebSocket, Mongoose, models, health/version
4 days ago
index.ts
feat: shareable friendlies + persisted admin/referee roles - Unauthenticated share-link endpoints for friendly matches (/v1/matches/share/:token/*) registered before /matches/:id - shareToken generated for every friendly (createPendingMatch + initMatchState) and persisted through save/restoreMatchState - Persisted roles in GuildConfig; GET/PUT /v1/guilds/:guildId/roles and GET /v1/me - Discord actors resolve scopes from persisted role list (env DISCORD_ALLOWED_USERS fallback); boot seeds the role cache - POST /v1/matches relaxed: any logged-in user (read|referee) can create a friendly; tournament creation still requires referee scope
1 day ago
logger.ts
Implement phase 1 foundation: Express, WebSocket, Mongoose, models, health/version
4 days ago
ws.ts
feat: import players from start.gg with WS progress + missing-discord filter
3 days ago