From 7a629b6c917dd9c2746e000be1445a07ba33494a Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Sat, 31 Jan 2026 22:42:13 -0500 Subject: [PATCH] Fix cookie expiration, ranking by completion time, and checklist confirmation Issues fixed: - #87: Extend video session cookie to 24h and add keep-alive refresh every 30 minutes during playback to prevent expiration while watching long movies - #88: Rank checklist completers by completion datetime (earliest first) in both the 100% tab and main stats ranking as tiebreaker - #89: Add confirmation modal when unchecking a movie from the checklist to prevent accidental removal Co-Authored-By: Claude Opus 4.5 --- public/checklist.html | 19 +++++++++ public/js/app_checklist.js | 77 +++++++++++++++++++++++++++++------ public/js/app_player.js | 58 ++++++++++++++++++++++++-- public/js/app_user-stat.js | 31 ++++++++++---- python_video_server/server.py | 2 +- routes/users.js | 64 +++++++++++++++++++++++------ routes/video.js | 2 +- 7 files changed, 217 insertions(+), 36 deletions(-) diff --git a/public/checklist.html b/public/checklist.html index acbed0e..42faa1c 100644 --- a/public/checklist.html +++ b/public/checklist.html @@ -149,6 +149,25 @@ + + +