summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-07Add simpler restarting server script.Tor Andersson
2022-01-07Add message about token in the mail to reset password page.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-06Update purge script to delete really old solo games.Tor Andersson
2022-01-06Don't log trying to send a mail when mailer is disabled.Tor Andersson
2022-01-06Clip prompt text rather than wrap.Tor Andersson
2022-01-06Fix grid layout on chrome browser.Tor Andersson
2022-01-01Don't hardwire card drop shadow and behavior in grid.cssTor Andersson
2021-12-31Parameterize site name and domain.Tor Andersson
2021-12-31Simplify styles and html for play.htmlTor Andersson
2021-12-29Add robots.txtTor Andersson
2021-12-29Add OpenGraph meta tags to display previews on social media.Tor Andersson
2021-12-29Only set cache-control max-age on images and web fonts.Tor Andersson
2021-12-23Tweak 'create new game' page margins.Tor Andersson
2021-12-20Add 'patch' script to fix game state by replaying from the start.Tor Andersson
2021-12-20Fix boldness of battle header.Tor Andersson
2021-12-20Use ID instead of class for battle dialog.Tor Andersson
2021-12-20Use ID instead of class for turn_info.Tor Andersson
2021-12-20Use ID instead of class for map and mapwrap.Tor Andersson
2021-12-20Use ID instead of class for prompt, chat window, and chat button.Tor Andersson
2021-12-20Use ID instead of class for grid divs.Tor Andersson
2021-12-20Prettier logs with formatting and colors.Tor Andersson
2021-12-19Chronological log order!Tor Andersson
Use a ResizeObserver to keep the log scrolled to the bottom.
2021-12-19Set cookie path to root directory.Tor Andersson
2021-12-15Fix message formatting (missing line).Tor Andersson
2021-12-14Fix roles in random games!Tor Andersson
2021-12-12Convert rule books to a searchable HTML format.Tor Andersson
2021-12-09Fix bug with finding a senior heir when all the non-minor heirs are dead.Tor Andersson
Allow a minor heir to be the pretender before he has entered the map.
2021-12-08Minor SQL cleanups.Tor Andersson
2021-12-08Remove redundant cache-control headers.Tor Andersson
This is set in a common function.
2021-12-08Add missing node dependency to package list.Tor Andersson
2021-12-07Update .gitignore.Tor Andersson
2021-12-07Put login session table in main database.Tor Andersson
2021-12-07Small cleanups.Tor Andersson
2021-12-04Remove useless preload links.Tor Andersson
2021-12-04Use img srcset for cover images of differing resolutions.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-03Don't preload dingbats and emoji font.Tor Andersson
2021-12-03Fix passing game options to setup function.Tor Andersson
2021-12-01Reformat SQL schema for readability.Tor Andersson