summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-14Add timeout to webhook fetch request.Tor Andersson
2024-03-14Use fetch API for sending webhooks.Tor Andersson
The Node https module started getting timeouts and not closing down after req.end for reasons unknown to me. Let's take this moment as an opportunity to move to the new fetch API instead.
2024-03-14Keep user assignment if possible when importing games.Tor Andersson
2024-03-14Don't use chokidar.Tor Andersson
It's unreliable and regularly misses file changes on the production server.
2024-03-13Hot reload modules without restarting the server.Tor Andersson
NOTE: Does not update the list of dependencies when reloading, so adding or removing require() calls in the rules will not be accurately watched. In these cases touching the rules.js file may be necessary to trigger a reload.
2024-03-13More consistent Enter / Play / View in game boxes.Tor Andersson
2024-03-13Prefix game IDs with #.Tor Andersson
2024-03-13Handle non-string option values in option_to_english.Tor Andersson
2024-03-08Fix replay json when invalid/missing user ids.Tor Andersson
2024-02-16Update node and library dependencies.Tor Andersson
2024-02-16Add export of full game json via HTTP.Tor Andersson
2024-02-15Set owner_id when importing games.Tor Andersson
2024-02-15Add command line options to import-game to override title and notice.Tor Andersson
2024-02-15Add import-game and export-game scripts.Tor Andersson
To bulk transfer all game state, replay, and snapshots into a new game.
2024-02-12Add rewind action on join page (for admin only).Tor Andersson
2024-02-07Admonition to include game ID when submitting reports.Tor Andersson
2024-02-07Store matching replay_id in game_snap.Tor Andersson
2024-01-28Add error message when client sends invalid commands.Tor Andersson
2024-01-28Track new chat status centrally instead of per client.Tor Andersson
2024-01-28Fix rating_view schema.Tor Andersson
2024-01-28Add time control enforcement.Tor Andersson
2024-01-28No need to flag ready games as "your turn" for owner.Tor Andersson
This is already tracked in the SQL view is_active.
2024-01-28Show multiplayer results by player name in game boxes.Tor Andersson
2024-01-28Give win to all opponents when resigning (or timing out).Tor Andersson
2024-01-13Return better error when game does not exist.Tor Andersson
2024-01-11Send chat message when a user leaves games by deleting their account.Tor Andersson
2024-01-05Handle resign in replay mode.Tor Andersson
2024-01-04Partially revert "Close join page event source once game has started."Tor Andersson
2024-01-02Handle multiple winners for Elo calculations.Tor Andersson
2024-01-02Fix order of sending player and game state update to client.Tor Andersson
Since we now close the event source when a game starts, make sure to send the updated player list before the game data.
2024-01-02Check forbidden mail list when changing mail address.Tor Andersson
2024-01-01Track total time used and time added for each player.Tor Andersson
TODO: Add time control and resign timed out games.
2024-01-01Close join page event source once game has started.Tor Andersson
And never start the event source for queued up matches.
2024-01-01Clean up use of player view.Tor Andersson
Fix glitch with is_active in join page when starting games.
2024-01-01Don't count games that end early (resigned/timed out) in stats.Tor Andersson
2024-01-01Set icon size and padding in popup menu items.Tor Andersson
2024-01-01Don't archive games that were abandoned early.Tor Andersson
2024-01-01Fat finger tweaks for battle action buttons in Columbia block games.Tor Andersson
2024-01-01Purge games automatically.Tor Andersson
Remove unstarted open games, abandoned active games, and finished solo games.
2024-01-01Start games automatically instead of sending reminders to start.Tor Andersson
Blacklists and invitations handle the cases for which manual starting of games was needed.
2024-01-01Use table for forbidden user names.Tor Andersson
2024-01-01Reformat code (use double quoted strings).Tor Andersson
2024-01-01Fix eslint issues.Tor Andersson
2023-12-27Move more player/game info stuff into SQL.Tor Andersson
Update invite_count with triggers. Add games.is_ready generated column. Add games.is_opposed generated column. Add player_view with is_active column.
2023-12-24Create resign menu automatically.Tor Andersson
2023-12-23Hoist resign into common server code.Tor Andersson
2023-12-23Send system chat messages when players join and part active games.Tor Andersson
2023-12-23Fix function name typo.Tor Andersson
2023-12-23Simpler join page for not logged in players looking at a match.Tor Andersson
2023-12-23Tweak Cache-Control behavior. Add experimental /clear-cache page.Tor Andersson