summaryrefslogtreecommitdiffstats
path: root/src/bin/server/handler.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* web: disallow crawlers and quiet the game portsalmonik3 hours1-2/+19
| | | | Adds robots.txt with Disallow: / plus noindex/X-Robots-Tag on the site and app. The v5 server treats an HTTP request as a malformed frame, closes silently before HELLO, and suppresses the common TLS scanner noise. Deploy now verifies robots.txt.
* v5.0.0: protocol v5 and the browser frontendsalmonik12 hours1-15/+32
| | | | | | | | | | Protocol v5 replaces newline lines with bounded [u32 len][text] frames and REQ/RES/EVT envelopes. Requests carry correlation ids and the server replays the last 256 replies per connection, so a gateway retry cannot double-debit and a late reply cannot clobber a newer request. HELLO/PONG carry server time; crash rounds announce started_at and push coalesced 10 Hz ticks. Crash now commits sha256(seed) before a round and reveals the seed when it ends, so clients recompute the crash point. Adds the webd/ gateway: one blocking thread, one ClientCore and one pinned upstream TLS connection per session, an HttpOnly session cookie, takeover, and a 60-second grace window. The browser sends Command JSON and renders View JSON; it never speaks the game protocol or stores credentials. Adds the vanilla TypeScript browser app at /play/ (login, lobby, all four games, history, notices, crash verification), the nginx /play and /ws routes, and the headless DOM smoke test. webd and the app stay out of the TUI/GUI/server build graph. The client/server version moves to 5.0.0 in lockstep; v4 peers are refused at HELLO.
* v2.3.0: add crash with local multiplier and pushed crash eventsalmonik10 days1-15/+40
|
* v0.3.0: add server core, bcrypt migration and plays auditsalmonik11 days1-225/+27
|
* v0.2.2: split client/server logic into the librarysalmonik11 days1-4/+4
|
* Fix balance: only credit winnings, not refund the bet on every spinsalmonik2026-08-241-1/+1
|
* Fix critical game bugs: payout, sessions, balance type, render_lines; add ↵salmonik2026-08-241-46/+52
| | | | AGENTS.md and regression tests
* TOFU host trust: SPKI fingerprint pinning, tests, forget-hostsalmonik2026-08-241-1/+5
|
* TLS transport and games framework on client and serversalmonik2026-08-241-6/+171
|
* slowly preparing for actual casinosalmonik2026-03-011-11/+24
|
* Revert "folder restructuring"salmonik2026-02-281-0/+64
| | | | This reverts commit 17082597464198fe84be80313b7d51e1e57de639.
* folder restructuringsalmonik2026-02-281-64/+0
|
* add authentication barebonesalmonik2026-02-281-4/+53
|
* multi file for both sidessalmonik2026-02-281-0/+15