summaryrefslogtreecommitdiff
path: root/server.js
AgeCommit message (Collapse)Author
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
2021-11-25Update stat views.Tor Andersson
2021-11-24Tweak mail messages.Tor Andersson
2021-11-21Rewrite view templates to use Pug engine.Tor Andersson
2021-11-20Add 'hidden' column to titles for beta-testing games.Tor Andersson
2021-11-20Change salt when resetting password.Tor Andersson
2021-11-20Fix stats.Tor Andersson
2021-11-17Simplify blacklists and user touch.Tor Andersson
2021-11-17Simplify URL for playing games.Tor Andersson
2021-11-16Drop socket.io-passport module. Allow viewing games as guest.Tor Andersson
2021-11-16Don't accidentally clear the ROLES list when starting a random game.Tor Andersson
2021-11-15Improve /games query.Tor Andersson
2021-11-14Inline style sheet in EJS template to prevent FOUC.Tor Andersson
2021-11-14Limit number of finished games shown.Tor Andersson
2021-11-14Reduce default chat history.Tor Andersson
2021-11-14Don't leak mail addresses to clients.Tor Andersson
2021-11-14Chat log.Tor Andersson
2021-11-13Massive SQL cleanup.Tor Andersson
2021-11-09Handle missing users.Tor Andersson
2021-11-09Send new message notifications by mail.Tor Andersson
2021-11-09Show user profiles.Tor Andersson