summaryrefslogtreecommitdiff
path: root/server.js
AgeCommit message (Collapse)Author
2022-04-15Add link to public games in header.Tor Andersson
2022-04-15Separate profile and active game list pages.Tor Andersson
Also show number of games where it is your turn in the header. Only show finished games from last week on active games page. Add separate finished games page to see all of them. # Conflicts: # views/tournament-games.pug
2022-04-15Linkify all links in a post.Tor Andersson
2022-04-15Use role specific link in "Your Turn" emails.Tor Andersson
2022-04-15Drop IP blacklist. Just use iptables instead.Tor Andersson
2022-03-27Enable/disable debugging commands as a global server setting.Tor Andersson
2022-03-18Set mime-type and max-age for AVIF images.Tor Andersson
2022-03-18Don't allow joining from rematch multiple times when random roles.Tor Andersson
2022-03-18More UA detection and more robust IP logging.Tor Andersson
2022-03-08Allow "query" calls as Observer and during replays.Tor Andersson
2022-03-05Add query/reply API to server and modules.Tor Andersson
2022-03-05Remember options when restarting a game via debugging menu.Tor Andersson
2022-02-15Do full player role verification when joining a game.Tor Andersson
2022-02-15Drop table roles.Tor Andersson
2022-02-15Automatically log non-static content accesses to console.Tor Andersson
2022-02-15Show optional rules in scenario column.Tor Andersson
2022-02-15Add explicit thead/tbody/tfoot tags to tables.Tor Andersson
2022-02-15Track and avoid sending no-op view changes to clients.Tor Andersson
When state changes that cause no visible changes for a client, don't bother sending a new view object.
2022-02-15Redirect to error page if MSIE detected.Tor Andersson
2022-02-15Round 'weeks ago' down instead of up.Tor Andersson
2022-02-15Tweak cache control.Tor Andersson
2022-02-01Redirect HTTP to HTTPS.Tor Andersson
2022-01-27Show user stats per-role.Tor Andersson
2022-01-20Parse and log user-agent string.Tor Andersson
2022-01-17Fix enable/disable notification text on user profile page.Tor Andersson
2022-01-15Separate open and ready to start game lists.Tor Andersson
2022-01-12Tweak replay access links and gracefully handle broken replay logs.Tor Andersson
2022-01-12Set Domain on cookie to allow www and no-www access with same login.Tor Andersson
2022-01-12Add SITE_URL variable for templates.Tor Andersson
2022-01-12Handle errors when following a rematch link to an already started game.Tor Andersson
2022-01-09Treat 1 in options object same as true.Tor Andersson
2022-01-07Fix password reset token.Tor Andersson
2022-01-07Use WebSockets instead of socket.io.Tor Andersson
2022-01-06Add game replay functionality.Tor Andersson
Handle missing replay data. Add replay/rematch/exit buttons on game-over. Set 'player' to active player during replays. Replace space with underscore in role class names. Fix critical undo bug! Set game_over state during replays. Fix jumpy view in battle replays. Nuke undo states from all actions, not just 'undo'. Log play and replay page requests. Clean up client.js and allow selecting replay viewpoint. Add debug mode to replay prompt showing active, state, and next action. Init client roles from HTML structure. Remove unused rematch functions. Drop /info/ prefix on game pages. Update body role classList when replay viewpoint changes.
2022-01-06Don't log trying to send a mail when mailer is disabled.Tor Andersson
2021-12-31Parameterize site name and domain.Tor Andersson
2021-12-29Only set cache-control max-age on images and web fonts.Tor Andersson
2021-12-19Set cookie path to root directory.Tor Andersson
2021-12-15Fix message formatting (missing line).Tor Andersson
2021-12-08Remove redundant cache-control headers.Tor Andersson
This is set in a common function.
2021-12-07Put login session table in main database.Tor Andersson
2021-12-04Use compression to gzip responses.Tor Andersson
2021-12-04Remove express-session dependency.Tor Andersson
2021-12-04Remove flash and redirect session data.Tor Andersson
2021-12-04Remove passport and passport-local dependencies.Tor Andersson
2021-12-03Remove connect-flash dependency. Clean up session store.Tor Andersson
2021-12-03Fix passing game options to setup function.Tor Andersson
2021-12-01Reformat SQL schema for readability.Tor Andersson
2021-11-30Fix redirect of /play/NNN when observing a game.Tor Andersson
2021-11-27Kebab-case!Tor Andersson