summaryrefslogtreecommitdiff
path: root/server.js
AgeCommit message (Collapse)Author
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.
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-01Don't archive games that were abandoned early.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-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-23Tweak Cache-Control behavior. Add experimental /clear-cache page.Tor Andersson
2023-12-23Add list of forbidden player names.Tor Andersson
System reserved and easily confused names.
2023-12-12Improve login page.Tor Andersson
2023-12-10Don't show abandoned games.Tor Andersson