summaryrefslogtreecommitdiff
path: root/server.js
AgeCommit message (Collapse)Author
2023-06-25Parse strings as GMT for "human_date" formatting.Tor Andersson
2023-06-16Update user last seen when connecting to websocket.Tor Andersson
2023-06-05Remove stale stuff.Tor Andersson
2023-05-23Improve replay id handling.Tor Andersson
Use a without rowid table and create the replay_id dynamically. This saves a lot of database space and performance as it removes the need for a separate index.
2023-05-08Format 1-player option.Tor Andersson
2023-05-05Trigger backup from main database process.Tor Andersson
Sqlite backups from the same database connection are much more efficient! Externally triggered backups restart every time the database changes during a backup, or need to lock the database exclusively for a long time. We periodically look for a "backup.request" file, and if it exists will write a backup. We write to "backup.tmp" first, and when finished rename the file to "backup.db". A crontab job can touch the "backup.request" file and then wait for the "backup.db" file to appear.
2023-04-28Parse game options before passing to "roles" callback.Tor Andersson
2023-04-28Rename game "description" to "notice".Tor Andersson
2023-04-28Don't crash if event streams are still listening when deleting a game.Tor Andersson
2023-04-18Rename "game_over" to "game_finished" in server.Tor Andersson
2023-04-18Fix ESLint issues.Tor Andersson
2023-04-18Some cleanups.Tor Andersson
Clean up stats page. Remove user list page. Remove duplicate remove contact page. Fix silly bug. oops!
2023-04-18Make date and time handling usable with both julianday and datetime.Tor Andersson
Use datetime instead of julianday when not performance sensitive. Keep julianday for logins.
2023-04-18Remove chat log pages.Tor Andersson
The unread chat badge in the game lists should be enough.
2023-04-18Generate JSON for replay view in SQL.Tor Andersson
Also optimize the format by not JSON encoding some data twice.
2023-04-18Only send required information in "players" message.Tor Andersson
2023-04-18Forum search using FTS5.Tor Andersson
2023-03-27Don't spam "Ready to start!" webhook notifications.Tor Andersson
2023-03-17Avoid action name collision with debugging command "restore".Tor Andersson
2023-03-17Update Webhooks to allow custom JSON property for message content.Tor Andersson
Support Slack and others.
2023-03-01Send presence as an array instead of an object!Tor Andersson
2023-03-01Separate ready and full status for display in game lists.Tor Andersson
2023-02-26Delete cached game info in join_clients when game is deleted.Tor Andersson
2023-02-26Put full game links in mail.Tor Andersson
2023-02-26Only show public games where the owner has joined.Tor Andersson
2023-02-26Invite player system.Tor Andersson
2023-02-24Use URL search params instead of funky colon separated arguments.Tor Andersson
2023-02-24Optimize replay.Tor Andersson
Send raw array rather than objects over the wire.
2023-02-23Limit number of games shown on public games page.Tor Andersson
2023-02-01Add Webhook notifications.Tor Andersson
2023-01-31Add breakpoints to game log in debugging view.Tor Andersson
2023-01-31Move user dynamic info into SQL view.Tor Andersson
2023-01-31Fix date in message replies.Tor Andersson
2023-01-31Oops. Fix change password bug.Tor Andersson
2022-12-21Simplify server.Tor Andersson
Only listen to HTTP. Use reverse proxy server to handle SSL, compression, etc.
2022-10-26Delete old password recovery tokens on startup.Tor Andersson
2022-10-17Drop AVIF support.Tor Andersson
2022-10-05Remove incorrect it's not your turn check.Tor Andersson
2022-10-05Track read status of in-game chat messages.Tor Andersson
2022-10-05Track forum thread read/unread status for logged in users.Tor Andersson
2022-10-05Use julianday time stamps.Tor Andersson
2022-10-05Use unixepoch in chat log messages.Tor Andersson
2022-10-05Don't calculate human date for non-existing ctime field.Tor Andersson
2022-10-05Add contact list with friends and blacklisted users.Tor Andersson
2022-10-05Don't force journal mode in server.Tor Andersson
2022-10-05Add menu to jump to the next active game.Tor Andersson
2022-10-05Add "delete account" screen.Tor Andersson
2022-10-05Add notepad.Tor Andersson
2022-10-05Verify that actions come from the active player.Tor Andersson
Could prevent bad states in some cases of network race conditions or cheating attempts.
2022-10-05Add checkbox for mail notifications on signup page.Tor Andersson