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
/
external
/
at
main
12 files
alpine
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared
1d ago
86f47e0c
brackets.ts
Implement phase 3 external clients with tests Adds src/external/ brackets (Brackets.json normalizer), startgg (GraphQL client with fetchOpenSets), spinshare (API + zip parsing + DB caching), spindata (HTTP + WebSocket with watchChartEnd). Config extended for STARTGG/SpinShare/spindata env vars. 166 headless node:test tests pass.
1 week ago
discord.ts
feat(refserver): event counts + deactivate; Discord Bearer auth; drop jose GET /events and /events/:id now return match/player counts. New PATCH /events/:id/deactivate. Bearer tokens are validated against Discord and mapped to a discord actor (admin if in DISCORD_ALLOWED_USERS, else read-only). Removed the unused jwt/jose scaffolding and its empty-secret default; hardened the Discord token cache (hashed keys, bounded size).
6 days ago
index.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
1 day ago
spindata.test.ts
Implement phase 3 external clients with tests Adds src/external/ brackets (Brackets.json normalizer), startgg (GraphQL client with fetchOpenSets), spinshare (API + zip parsing + DB caching), spindata (HTTP + WebSocket with watchChartEnd). Config extended for STARTGG/SpinShare/spindata env vars. 166 headless node:test tests pass.
1 week ago
spindata.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
1 day ago
spinshare.test.ts
Implement phase 3 external clients with tests Adds src/external/ brackets (Brackets.json normalizer), startgg (GraphQL client with fetchOpenSets), spinshare (API + zip parsing + DB caching), spindata (HTTP + WebSocket with watchChartEnd). Config extended for STARTGG/SpinShare/spindata env vars. 166 headless node:test tests pass.
1 week ago
spinshare.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
1 day ago
startgg.test.ts
fix: resolve start.gg winnerSlot from winnerId (alpha schema has no winnerSlot field)
1 day ago
startgg.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
1 day ago
startggCore.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
1 day ago
startggFetch.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
1 day ago
startggQueries.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
1 day ago