13 Commits

Author SHA1 Message Date
Admin9705
515927bd67 Enhance caching and refresh logic in huntarrUI
- Introduced mandatory page refresh on section changes to address caching issues and ensure fresh data display.
- Added guidelines to prevent complex cache management systems and endless refresh loops using an `isInitialized` flag.
- Implemented localStorage usage for storing target sections to facilitate navigation post-refresh.
- Updated debugging strategies to monitor refresh behavior and initialization status effectively.
2025-06-27 18:13:18 -04:00
Admin9705
253f80d122 Implement critical sidebar handling improvements in huntarr-dev.mdc
- Addressed the issue of multiple sidebars displaying simultaneously, causing navigation confusion.
- Updated the flash prevention script in new-main.js to ensure only the relevant sidebar is shown based on the current section.
- Added detailed implementation requirements and testing instructions to ensure proper functionality across devices.
2025-06-21 21:19:19 -04:00
Admin9705
8696167ba2 Update violation scanning commands and enhance settings forms initialization checks
- Added a new check for settings form initialization violations to prevent empty content display due to HTML comments.
- Updated violation scanning commands to reflect the new order and added checks for settings form initialization.
- Enhanced debugging instructions for settings forms to ensure proper initialization flow and content verification.
2025-06-21 21:03:28 -04:00
Admin9705
49079703d3 Update testing workflow and port usage guidelines in huntarr-dev.mdc
- Clarified Docker and local testing instructions, specifying port usage (Docker: 9705, Local: 9706).
- Enhanced error checking instructions for both environments.
- Updated violation scanning commands to reflect new port usage for local testing.
2025-06-21 20:33:20 -04:00
Admin9705
dc2f073d5d Update huntarr-dev.mdc with comprehensive Synology SQLite optimization documentation - Added GitHub Issue #615 pattern for Synology NAS performance issues - Documented detection methods, optimized settings, and user controls - Added Synology-specific debugging commands and violation scanning - Updated anti-patterns to include Synology optimization bypasses - Comprehensive guide for 70-90% performance improvement on Synology systems 2025-06-19 19:39:37 -04:00
Admin9705
253fb0c7ed Refactor base URL handling and remove auto-detection methods
- Simplified base URL input in settings_forms.js by removing the auto-detect button and related status messages.
- Updated help text to clarify base URL configuration using the BASE_URL environment variable.
- Removed auto-detection functions from settings_manager.py and related API routes in common.py to streamline initialization.
- Adjusted web_server.py to ensure proper handling of APPLICATION_ROOT when no base URL is set.
- Enhanced logging for base URL configuration processes.
2025-06-19 18:37:21 -04:00
Admin9705
bb19e21790 Fix logs pagination conflict and update development rules - Fixed critical logs pagination issue where template and LogsModule had conflicting pagination systems - Removed template pagination code from logs_section.html - LogsModule now handles all pagination via API calls - Updated huntarr-dev.mdc with pagination conflict patterns - Version bump to 8.1.2 2025-06-19 15:34:26 -04:00
Admin9705
792cde8a70 Enhance state management and frontend consistency checks
- Added new anti-patterns for state management and frontend issues, including global state locks and inconsistent styling.
- Updated proactive violation scanning commands to include checks for frontend time calculations and global state lock usage.
- Documented debugging approaches for state management, frontend time display, and app styling consistency to aid in issue resolution.
2025-06-19 14:25:32 -04:00
Admin9705
57deb39cd6 Implement automatic subpath detection for reverse proxy support - Auto-detect base URL from HTTP headers during setup (X-Forwarded-Path, X-Script-Name, etc.) - Add manual detection API endpoint /api/settings/detect-base-url - Add Auto-Detect button in Settings UI for manual triggering - Support multiple reverse proxy configurations (nginx, Traefik, Apache) - No environment variables required - works automatically for new installations - Resolves GitHub issue #620 without requiring BASE_URL environment variable 2025-06-17 23:00:30 -04:00
Admin9705
a3d29d6fa8 Refactor database access logic for improved stability and performance on Windows 2025-06-17 22:44:46 -04:00
Admin9705
b6012f407b Remove LogSpamMonitor and associated rules file from the project 2025-06-17 22:44:36 -04:00
Admin9705
8f4d70feed Remove obsolete product.mdc rules file 2025-06-17 22:14:14 -04:00
Admin9705
165570dc51 Form Updates 2025-06-12 11:44:31 -04:00