From 1eb4ec77dd921dad1d906c53f73632f824287b15 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 11 Mar 2026 22:13:03 -0700 Subject: [PATCH] nogit-sync commit --- TODO | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index e549b09..efffc53 100644 --- a/TODO +++ b/TODO @@ -5,13 +5,13 @@ come first within each group. Quick fixes ----------- -[ ] Fix typo in empathy.js: "this.ansering_idle_timer" → "this.answering_idle_timer" +[X] Fix typo in empathy.js: "this.ansering_idle_timer" → "this.answering_idle_timer" -[ ] Fix session config in lmno.js: set resave:false and +[X] Fix session config in lmno.js: set resave:false and saveUninitialized:false to silence deprecation warnings and avoid creating unnecessary session cookies for every visitor. -[ ] Replace body-parser with express.json() / express.urlencoded() +[X] Replace body-parser with express.json() / express.urlencoded() (built into Express since 4.16, body-parser is redundant). Input validation and security @@ -48,6 +48,17 @@ Frontend modernization (larger effort) bundler) for ES module imports, HMR in development, and proper tree-shaking/minification. +Code sharing between client and server +-------------------------------------- +[ ] Eliminate duplication of loa-board.js (currently copied into both + lmno.games and lmno-server). Games with shared logic need a single + canonical copy usable by both Node require() and browser