summaryrefslogtreecommitdiff
path: root/server.js
AgeCommit message (Collapse)Author
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
2023-12-10Automated role panel display.Tor Andersson
Create and populate aside #roles list if missing. Initialize roles and pointers into global "roles" object.
2023-12-10Embellish signup page.Tor Andersson
2023-12-10Show "join" page when not logged in.Tor Andersson
Static page showing limited info and a call to action to login or sign up.
2023-12-10Add support for random scenario selection and scenario groupings.Tor Andersson
2023-12-10Color invite-only games gold when all invites are accepted.Tor Andersson
2023-12-05Don't show completely empty games in replacement list.Tor Andersson
2023-11-30Flag 1-player games as private when started.Tor Andersson
2023-11-30Log IP access.Tor Andersson
2023-11-30Hide public games from blacklisted users.Tor Andersson
2023-11-30Allow first player choosing rematch to select player role assignment.Tor Andersson
Pick one of swap, keep, or random. In case of mid-air collision, player who chose first gets to decide.
2023-10-21Add color themes.Tor Andersson
2023-10-07Shuffle or shift player roles for rematches.Tor Andersson
For asymmetric games, shift the roles one step so everyone gets a new role. For symmetric games, shuffle the color assignments so the player order is mixed up.
2023-10-05Revert "Add match making."Tor Andersson
This reverts commit b5a31813aa284b8b64bfd2660ea3a048275cee89.
2023-10-05Add match making.Tor Andersson
2023-10-05Add game "setups" for automated match making and tournaments.Tor Andersson
2023-10-05Change some URLs to be more consistent.Tor Andersson
2023-10-05Avoid "natural" joins for future proofing schema changes.Tor Andersson
2023-09-20Add pace property to games.Tor Andersson
Currently unenforced and only visual effect in game listings.- Future time control and user penalty features may make use of it.
2023-09-20Move mtime and active into games table.Tor Andersson
Avoid joining with game_state for all the game list views.
2023-09-20Batch game state related database updates into transactions.Tor Andersson
Only update game 'mtime' when the active player changes.
2023-09-18Tweak title globals.Tor Andersson
2023-09-18Optimize game options parsing and formatting.Tor Andersson
Sort player names in game boxes by role order.
2023-09-18Don't show "ready to start" games on public game list.Tor Andersson