Include low-quality video file paths in movie settings, expose them through the admin UI, and add a player toggle that streams /api/video with quality=low when available. Extend both Node and Python video endpoints to serve the low-quality file.
Test: not run (mark for testing)
- Fix category editing: Added GET /api/categories/:categoryId endpoint to fetch single category by ID, fixing 'Category not found' error when editing categories for active year
- Fix picks handling: Filter out picks for deleted categories when submitting, loading, and calculating scores to prevent errors
- Fix scores display: Always calculate scores from pickDetails instead of stored score value to ensure accuracy when categories are removed
- Add picks cleanup: Automatically clean up picks for deleted categories in database when categories are deleted or scores are fetched
- Fix winner clearing: Allow clearing winners by accepting empty/null winnerName in PUT /api/categories/:categoryId/winner
- Enable category number editing: Made category number editable in edit modal with validation and conflict checking; automatically updates all related picks when category number changes
- Add bulk category management: Added bulk select and delete functionality in Liste tab with select all checkbox and bulk delete button
- Remove import feature: Completely removed PDF/image import functionality including OCR, file upload, and all related UI components
- Update dependencies: Removed unused packages (tesseract.js, sharp, pdfjs-dist, canvas) after removing import feature
- Improve file cleanup: Added retry logic for file deletion to handle Windows file locking issues
* feat: Add modal to display watched movies with details
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor movie modal: remove search, improve category display
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor movie category display to use details element
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor movie playback and add clickability to stats
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor: Improve movie linking and player logic
Co-authored-by: mathieumoran1 <[email protected]>
* Prevent caching of sensitive and dynamic API data
Co-authored-by: mathieumoran1 <[email protected]>
* feat: Prevent caching of sensitive admin data
Co-authored-by: mathieumoran1 <[email protected]>
* feat: Add no-cache headers to API requests
Co-authored-by: mathieumoran1 <[email protected]>
* 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]>
* Refactor admin settings to use tabs instead of accordion
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor: Adjust button layout for active year selection
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor active year selection UI
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor: Improve admin settings layout for better responsiveness
Co-authored-by: mathieumoran1 <[email protected]>
* Remove redundant completion explanation from user-stat.html
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor user stats page to display year in ranking tab badge
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor: Rename 'Finisseur(s)' column to 'Nombre'
Co-authored-by: mathieumoran1 <[email protected]>
* Refactor: Remove redundant completer count column
Co-authored-by: mathieumoran1 <[email protected]>
---------
Co-authored-by: Cursor Agent <[email protected]>
Separate movie info and video player settings into distinct tabs for better organization and user experience.
Co-authored-by: mathieumoran1 <[email protected]>
Consistently use "Oscar Pool" as the brand name. Dynamically update page titles to include the active Oscar year.
Co-authored-by: mathieumoran1 <[email protected]>
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]>
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]>
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]>
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]>