Commit Graph
85 Commits
Author SHA1 Message Date
Cursor Agentandmathieumoran1 7f21a546f9 Refactor: Improve admin settings layout for better responsiveness
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 23:07:20 +00:00
Cursor Agentandmathieumoran1 8fc6c74b51 Refactor active year selection UI
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 23:05:22 +00:00
Cursor Agentandmathieumoran1 740737372a Refactor: Adjust button layout for active year selection
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 23:03:47 +00:00
Cursor Agentandmathieumoran1 b0408f87c2 Refactor admin settings to use tabs instead of accordion
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 23:01:48 +00:00
Cursor Agentandmathieumoran1 2968ca7c80 Remove unused movie sorting functionality
The movie sorting dropdown and its associated logic were removed as they are no longer needed.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:53:31 +00:00
Cursor Agentandmathieumoran1 bacd25f1ac feat: Add no-cache headers to API requests
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:51:31 +00:00
Cursor Agentandmathieumoran1 d8bc03fecc feat: Prevent caching of sensitive admin data
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:46:01 +00:00
Cursor Agentandmathieumoran1 62ac989809 Prevent caching of sensitive and dynamic API data
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:44:01 +00:00
Cursor Agentandmathieumoran1 f655dabc36 Refactor: Improve movie linking and player logic
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:37:41 +00:00
Cursor Agentandmathieumoran1 c207a03f39 Refactor movie playback and add clickability to stats
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:33:13 +00:00
Cursor Agentandmathieumoran1 d98c802a40 Refactor movie category display to use details element
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:28:46 +00:00
Cursor Agentandmathieumoran1 6f8b94ea35 Refactor movie modal: remove search, improve category display
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:26:14 +00:00
Cursor Agentandmathieumoran1 48035c2fa6 feat: Add modal to display watched movies with details
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 22:23:20 +00:00
Cursor Agentandmathieumoran1 20d0a52f78 Refactor: Organize movie edit form into tabs
Separate movie info and video player settings into distinct tabs for better organization and user experience.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 07:40:03 +00:00
Cursor Agentandmathieumoran1 dfd8e9b4fd Fix: Adjust log off button size
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 07:37:42 +00:00
Cursor Agentandmathieumoran1 0c488319f6 Refactor: Rename "Oscar Pool" to "Pool Oscars" in titles
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 07:33:32 +00:00
Cursor Agentandmathieumoran1 76e9a934d6 Refactor: Update brand name and dynamic titles
Consistently use "Oscar Pool" as the brand name. Dynamically update page titles to include the active Oscar year.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 07:31:26 +00:00
Cursor Agentandmathieumoran1 e91c919b46 Refactor: Use query token for API video playback
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 07:11:03 +00:00
Cursor Agentandmathieumoran1 fd881399cd Add caching and token fallback for /api/video streams
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 07:02:32 +00:00
Cursor Agentandmathieumoran1 8d93c31df8 Refactor video progress tracking UI and logic
Improve progress UI, handle token expiration, and fix restore logic.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 06:57:58 +00:00
Cursor Agentandmathieumoran1 1cda3c23e1 Refactor video progress saving logic
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 06:43:29 +00:00
Cursor Agentandmathieumoran1 ce234d0fac feat: Add video playback progress display and saving
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 06:40:18 +00:00
Cursor Agentandmathieumoran1 8590c30596 Add support for App/Python protected video streams
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 06:33:45 +00:00
Cursor Agentandmathieumoran1 53eb7faf06 Add fallback for MONGO_DB_NAME from MONGO_URI
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 06:00:31 +00:00
Cursor Agentandmathieumoran1 60fd5a25ce Refactor: Read environment variables at runtime
This change ensures that environment variables are read at runtime, which is important for worker reloads on Windows.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 05:57:35 +00:00
Cursor Agentandmathieumoran1 2025f0231c Add movie ID display and copy functionality
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 05:38:42 +00:00
Cursor Agentandmathieumoran1 ea37bf95ef Refactor video session handling and CORS configuration
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 05:35:50 +00:00
Cursor Agentandmathieumoran1 e6537884a3 feat: Add Python video server and improve playback
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 05:25:19 +00:00
Cursor Agentandmathieumoran1 2f767e15a6 feat: Add server-hosted video streaming support
Introduces a new /api/video route for streaming video files stored on the server. This allows for direct playback of local video files with seeking capabilities. The Movie model and UI have been updated to support this new feature.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-22 05:12:06 +00:00
Cursor Agentandmathieumoran1 e6f3b02830 Refactor: Improve header loading and image rendering
Add early JS to populate header elements and optimize image loading.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 23:02:22 +00:00
Cursor Agentandmathieumoran1 1f3511b455 Refactor version history display and styling
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 22:21:03 +00:00
Cursor Agentandmathieumoran1 f5bd8709a0 feat: Manage app version from admin panel
Removes GitHub dependency for app version display.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 22:15:15 +00:00
Cursor Agentandmathieumoran1 1bc65ebd77 Refactor page loader to use a dedicated JS class
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 22:04:58 +00:00
Cursor Agentandmathieumoran1 d9ed2cdc92 Refactor: Preload page loader and use DOMContentLoaded
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:59:02 +00:00
Cursor Agentandmathieumoran1 00f5328c75 Refactor: Simplify page loader UI and error handling
Remove subtitle and retry button from page loader. Update CSS for new loader style.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:54:59 +00:00
Cursor Agentandmathieumoran1 d683f04305 Fix page loader alignment with dynamic navbar
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:53:19 +00:00
Cursor Agentandmathieumoran1 fa0ba74682 feat: Implement full-page loader with progress bar
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:50:24 +00:00
Cursor Agentandmathieumoran1 377c5a828e Refactor loading indicators to use CSS dots
This change replaces inline spinners with a more subtle CSS-based loading indicator. It also cleans up the inline loading text to be more concise.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:44:49 +00:00
Cursor Agentandmathieumoran1 34852ce931 Refactor: Fetch movie summary data separately
This change fetches movie counts and watched status in a separate, faster API call. This allows the UI to update header information (like movie counts and last updated time) much sooner, improving perceived performance. The `watchedMovies` array is now fetched as part of this summary endpoint.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:40:16 +00:00
Cursor Agentandmathieumoran1 762f75ad62 Add loading indicators to user statistics page
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:30:29 +00:00
Cursor Agentandmathieumoran1 e318e25ed1 Add loading and error states for movie lists
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:29:21 +00:00
Cursor Agentandmathieumoran1 3884ce6492 feat: Add compression and caching to movie routes
Adds gzip compression middleware and an in-memory cache for movie data to improve performance. Also adds database indexes for common query patterns.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:24:27 +00:00
Cursor Agentandmathieumoran1 e326ead817 feat: Allow configuring Oscar date per year
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 21:03:55 +00:00
Cursor Agentandmathieumoran1 05a4b9a673 Refactor user stats display to use tables
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:53:52 +00:00
Cursor Agentandmathieumoran1 122c7ee8d3 Feat: Add tie indicator to user stats and app control
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:49:16 +00:00
Cursor Agentandmathieumoran1 52eaee65f6 Refactor: Support multiple winners per year and improve UI
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:48:29 +00:00
Cursor Agentandmathieumoran1 e6f3998d88 Refactor user stats page to use tabs and cache data
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:44:14 +00:00
Cursor Agentandmathieumoran1 9a7063b9dc feat: Add winners tab and 100% completion stats
Adds a new section to the admin control panel for managing yearly winners.
Also includes a new section on the user statistics page to display users
who have completed 100% of movies for each year.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:38:01 +00:00
Cursor Agentandmathieumoran1 58d5c3bd40 Refactor: Swap tab IDs and labels for clarity
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:26:30 +00:00
Cursor Agentandmathieumoran1 20ff670ae2 Remove outdated multer installation instruction
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:20:07 +00:00
Cursor Agentandmathieumoran1 7f0b7834e6 feat: Add multer to admin DB backup/restore and improve validation
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:19:00 +00:00
Cursor Agentandmathieumoran1 448c28caee feat: Add admin DB backup and restore functionality
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:08:58 +00:00
Cursor Agentandmathieumoran1 1b7a7f87a6 Refactor: Move add user form to a modal
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:01:43 +00:00
Cursor Agentandmathieumoran1 87396f72b8 feat: Add user creation form and API endpoint
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 20:00:13 +00:00
Cursor Agentandmathieumoran1 d87dff1c9d Refactor user management UI and add delete functionality
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:55:23 +00:00
Cursor Agentandmathieumoran1 9e825eb1a6 Refactor version endpoint to improve error handling and caching
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:52:08 +00:00
Cursor Agentandmathieumoran1 d0edfe9278 Refactor OMDb API handling and user registration verification
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:41:58 +00:00
Cursor Agentandmathieumoran1 12ea9ef160 Add comments to .env file for clarity
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:32:59 +00:00
Cursor Agentandmathieumoran1 4fe8ad84ab Refactor: Improve JWT secret generation instructions
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:31:54 +00:00
Cursor Agentandmathieumoran1 1f98a1a24a Refactor: Improve README env variable documentation
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:30:42 +00:00
Cursor Agentandmathieumoran1 afb158beca Fix: Remove redundant env file instruction
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:29:36 +00:00
Cursor Agentandmathieumoran1 253ac63fe9 Refactor: Improve README setup instructions
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:28:13 +00:00
Cursor Agentandmathieumoran1 b2882e01d2 Add MongoDB database section to README
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:25:48 +00:00
Cursor Agentandmathieumoran1 f602808ef6 Add detailed features list to README
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:22:23 +00:00
Cursor Agentandmathieumoran1 19e5f1d522 Refactor: Use select for active year and clean year data
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 19:16:13 +00:00
Cursor Agentandmathieumoran1 1f2462b01e feat: Add movie playback progress tracking
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 03:22:41 +00:00
Cursor Agentandmathieumoran1 b72f1bde82 Refactor movie player and navigation logic
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 00:50:45 +00:00
Cursor Agentandmathieumoran1 5cfa35c79c Add player column and badges to movie management table
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 00:27:58 +00:00
Cursor Agentandmathieumoran1 43925c3b60 Refactor: Add flexible video source options to Movie model
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 00:26:34 +00:00
Cursor Agentandmathieumoran1 ae1f065000 feat: Add movie player page and logic
Implement the movie player page and associated JavaScript logic for handling various video sources and embed types.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 00:24:01 +00:00
Cursor Agentandmathieumoran1 2a74ed38de Add movie player link and API endpoint
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-21 00:20:37 +00:00
Cursor Agentandmathieumoran1 f073f81c57 Add admin user list functionality
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 23:52:48 +00:00
Cursor Agentandmathieumoran1 4aa969414d feat: Add 100% completion modal settings
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 23:39:26 +00:00
Cursor Agentandmathieumoran1 a1c781e8a5 feat: Add customizable completion modal for checklist
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 23:36:12 +00:00
Cursor Agentandmathieumoran1 232f88d61a Refactor: Improve admin page layout and responsiveness
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 23:28:42 +00:00
Cursor Agentandmathieumoran1 bc017088f7 Refactor admin page into tabbed interface
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 23:21:35 +00:00
Cursor Agentandmathieumoran1 c83b4685a2 feat: Implement password reset and change functionality
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 23:13:51 +00:00
Cursor Agentandmathieumoran1 6cb503fe35 feat: Show last updated movies per year
Add API and UI to display the last updated movies for the active year.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 23:01:24 +00:00
Cursor Agentandmathieumoran1 7ff02207f6 feat: Implement dynamic Oscar year selection
This commit introduces the ability to select and manage the active Oscar year. This change affects page titles, API requests, and data filtering across the application, ensuring that all views and statistics are relevant to the chosen year.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 22:48:11 +00:00
Cursor Agentandmathieumoran1 64cfdc3c6d Add settings API for managing active Oscar year
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 22:34:44 +00:00
Cursor Agentandmathieumoran1 e0ec4760ce feat: Add movie editing functionality and modal
This commit introduces the ability to edit movie details through a modal interface. It includes backend API endpoints for updating movie information and frontend logic to display and manage the edit modal. The changes also refine the year selection and movie loading processes in the admin panel.

Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 22:24:38 +00:00
Cursor Agentandmathieumoran1 eeb337fe08 feat: Add Oscar year to movies and admin management
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 22:14:47 +00:00
Cursor Agentandmathieumoran1 0d35a19cc5 Add endpoint to get last movie update timestamp
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 21:31:35 +00:00
Cursor Agentandmathieumoran1 5c4366a9e7 Add timestamps to Movie model
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 21:30:09 +00:00
Cursor Agentandmathieumoran1 f07547cc59 Update Oscars year to 2026 and add admin page
Co-authored-by: mathieumoran1 <[email protected]>
2025-12-20 21:20:05 +00:00