Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several backend enhancements and frontend UI adjustments, focusing on improved API structure, configuration handling, and user experience. The most significant changes include the addition of new API helpers and endpoints, more robust configuration management, and refined authentication and navigation logic in the frontend.
Backend: API Improvements and Configuration Handling
helpers.pymodule with utility functions for secure file handling, cache headers, SteamGridDB API key retrieval, authentication decorators, and video path resolution.misc.pyAPI module providing endpoints for video metadata, configuration retrieval, release notes, RSS feed generation, and webhook testing. Also includes caching for version and release notes, and improved response headers.config.jsonif corresponding environment variables are explicitly set, preserving user-configured values.api/__init__.pywith CORS support, and dynamic template folder configuration.Frontend: Authentication, Navigation, and UI Tweaks
FileManagerview to require user authentication (instead of admin access), displaying a styled message and icon for unauthenticated users.Navbar20.js) to hide itself and the toolbar on/filesand/settingsroutes, in addition to/loginand/watch, for a cleaner UI on these pages. [1] [2]Settingsview layout to use a maximum height instead of a fixed height for better responsiveness.Tagsdialog behavior by resetting the editing state only after the dialog has fully closed, preventing premature state changes. [1] [2]These changes collectively enhance the maintainability, flexibility, and user experience of both the backend and frontend components.