summaryrefslogtreecommitdiff
path: root/server.js
AgeCommit message (Collapse)Author
2024-10-26Remove join limits.Tor Andersson
2024-10-21Don't list "closed" tournament seeds.Tor Andersson
2024-10-21Use env to control presence of tournaments.Tor Andersson
2024-10-20Increase start time for Fast to 72h.Tor Andersson
2024-10-18Fix bug when inserting winners in level 2 tournament.Tor Andersson
2024-10-18don't count future games against open game limit.Tor Andersson
2024-10-13Format human dates in view templates rather than in server queries.Tor Andersson
2024-10-13Show active tournaments on main tournament page.Tor Andersson
2024-10-13Tournaments!Tor Andersson
2024-10-13Improve sorting of games on active/user game pages.Tor Andersson
Separate sections for "your move" and "solo" games. Stable sorting order for other games. # Conflicts: # server.js # views/games_active.pug # views/user.pug
2024-10-10Put inbox and outbox under /message URL namespace.Tor Andersson
2024-10-10fix eslintTor Andersson
2024-10-07Zap "setups" table.Tor Andersson
2024-10-03Be more robust when deleting accounts.Tor Andersson
Leave player assignment to not mess with Elo ratings and tournament data. Reset ctime when game is actually started.
2024-09-26Simplify notification logic and don't send reminders.Tor Andersson
2024-09-10Add clock time when admin rewinds a game and time is low.Tor Andersson
2024-08-20New time control.Tor Andersson
2024-08-20Try verbatim search if FTS search syntax is invalid.Tor Andersson
2024-07-25Increase blacklist power.Tor Andersson
Hide public games if any of the players who have already joined have you on their blacklist (up from game creator only).
2024-07-23New join page!Tor Andersson
* Remove explicit (and redundant) role=Observer parameter. * Remove old /play/:id redirects. * Show "private" badge on game boxes. * Forbid leave/kick in public games. * Allow "rewind" by owner in public games.
2024-07-23Start adding developer documentation.Tor Andersson
2024-07-23Add user search.Tor Andersson
2024-07-23rename some api linksTor Andersson
2024-05-31Add CLONE link to join view on DEBUG server.Tor Andersson
2024-05-04Show more detail in rewind links.Tor Andersson
2024-03-16Add and track score in player/role assignment.Tor Andersson
2 points for a win, 1 point for a tie, 0 points for a loss.
2024-03-14Send chat activity notifications.Tor Andersson
On the first unread chat message when players are not online.
2024-03-14Add chat message when joining active game via invitation too.Tor Andersson
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-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-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-16Add export of full game json via HTTP.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-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-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-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.