Commit Graph

141 Commits

Author SHA1 Message Date
Admin9705
6ade1d44bb fix: Windows system tray + installer upgrade cleanup
- Fix system tray import: use importlib.util to load system_tray.py by
  file path instead of package import (PyInstaller bundles resources/ as
  data, not a Python package)
- STA thread with CoInitializeEx for COM compatibility on tray thread
- Installer kills running Huntarr.exe in .onInit AND before file copy
  (double-kill pattern for reliable upgrades)
- Installer wipes old _internal/ dir and stale top-level binaries before
  copying new files (prevents stale file issues on upgrade)
- Remove SW_SHOWMINIMIZED from shortcuts (app is windowless, tray is UI)
- Add Stop Huntarr shortcut to Start Menu
- Add /api/shutdown endpoint for clean shutdown from web UI
- Add system_tray.py bundle verification in GitHub Actions
- Detailed debug logging for tray module path resolution
2026-02-18 19:17:18 -05:00
Admin9705
9fcb357a10 Fix Windows frontend missing files + system tray support
- web_server.py: Use sys._MEIPASS for PyInstaller 6.x data file paths
- windows_integration.py: Same _MEIPASS fix for Flask folder override
- huntarr.spec: Use Tree() for frontend, exclude node_modules, add pystray
- huntarr_installer.nsi: Fix File /r glob, remove empty CreateDirectory
- requirements.txt: Enable pystray for Windows
- system_tray.py: Rewrite with proper _MEIPASS icon loading + shutdown callback
- main.py: Integrate system tray on Windows frozen builds
- windows-build-nsis.yml: Add pystray install + frontend verification step
2026-02-18 18:56:25 -05:00
Admin9705
42351422c8 win-* branches: publish beta tag to Docker Hub and GHCR 2026-02-18 11:24:13 -05:00
Admin9705
59635bbbca doc updates 2026-02-16 21:40:43 -05:00
Admin9705
d2fb99a0db Docker Image Changes 2026-02-13 09:41:42 -05:00
Admin9705
7da6a6d5b6 Fix Windows beta installer build tooling.
Install setuptools and use a Python 3.12-compatible PyInstaller version so B-* branch builds no longer fail with missing pkg_resources.
2026-02-12 02:33:57 -05:00
Admin9705
dfa68460b3 Windows Beta Branch Build 2026-02-12 02:29:59 -05:00
Admin9705
8670f47348 update 2026-02-06 15:51:51 -05:00
Admin9705
3bec5a73ac mac-arm-update 2026-01-31 12:10:27 -05:00
Admin9705
f763104844 macOS: move error log and config_location from Desktop to Huntarr logs folder 2026-01-31 12:01:59 -05:00
Admin9705
78532e9eb6 macOS: add menu bar icon (Open Huntarr, Open at Login, Quit) 2026-01-31 10:03:20 -05:00
Admin9705
8d274b0097 macOS app: open browser on launch, Dock icon, add run README to artifact 2026-01-31 09:47:23 -05:00
Admin9705
c8271abf30 macOS ARM installer: fix BUNDLE import, icon step, target_arch arm64, PyInstaller version 2026-01-30 20:58:31 -05:00
Admin9705
9cd79d21a9 Remove macOS Intel (x86_64) installer workflow
Dropping support for Intel-based macOS builds as requested.
Only Apple Silicon (ARM64) builds will be supported moving forward.
2026-01-25 01:06:20 -05:00
Admin9705
76e22b05ae Fix Windows build: Update PyYAML version in workflow and build script
The previous commit updated requirements.txt, but the CI workflow and
build script were explicitly installing PyYAML 6.0, which causes build
failures on Windows (Python 3.12). Updated both to use 6.0.1.
2026-01-25 00:53:27 -05:00
Admin9705
dcee82748b Apply PR #761: Upgrade to Python 3.12 and update dependencies
- Update Python version from 3.9/3.10 to 3.12 across all platforms
- Upgrade Flask from 3.0.0 to 3.1.2
- Upgrade requests from 2.31.0 to 2.32.5
- Upgrade waitress from 2.1.2 to 3.0.2
- Upgrade pyyaml from 6.0 to 6.0.2
- Update documentation to reflect Python 3.12+ requirement
- Update GitHub Actions workflows for macOS (ARM/Intel) and Windows
- Update Dockerfile base image to python:3.12-slim
- Update Windows setup script to require Python 3.12+

This addresses CVE's in requests and waitress, and ensures compatibility with
Python 3.12 which provides improved performance and security.
2026-01-22 18:00:28 -05:00
Admin9705
9ae58f0180 Fix GitHub Actions workflow to fetch all sponsors - try both org and user accounts, expand fallback data to 18 sponsors 2025-06-15 12:42:05 -04:00
Admin9705
07a3aff21e Update avatar URLs in manifest and workflow files; enhance direct reset button functionality on settings page 2025-06-15 12:37:23 -04:00
Admin9705
887319c232 Convert sponsor system from JSON to database storage and fix avatar URLs 2025-06-15 12:19:41 -04:00
Admin9705
ebd8e52f04 Fix sponsor API to use local manifest and improve error handling 2025-06-15 12:16:59 -04:00
Admin9705
98129c2641 Fix manifest update workflow to use main branch and add fallback sponsors 2025-06-15 12:13:37 -04:00
Admin9705
5f08f7f1e3 Update macOS Intel installer workflow to use macOS 13 and simplify architecture handling
- Changed the runner from macos-latest to macos-13 for improved compatibility.
- Removed explicit architecture specification for pip installations and PyInstaller, allowing native execution.
- Updated comments for clarity on the build process.
2025-06-14 23:25:51 -04:00
Admin9705
04352b9e56 Add Apprise data file handling to macOS workflows
- Updated macOS installer workflows to dynamically include Apprise data files, addressing attachment directory errors.
- Enhanced error handling for missing Apprise modules during the build process.
- Removed explicit collection of Apprise in the PyInstaller command for a cleaner build process.
2025-06-14 23:19:49 -04:00
Admin9705
0badb86f04 Enhance macOS Intel build process for Huntarr
- Updated macOS installer workflow to enforce x86_64 architecture during pip installations and the PyInstaller build process.
- Added verification steps to ensure the built binary is correctly targeting the Intel architecture.
- Improved comments for clarity on architecture-specific commands.
2025-06-14 23:11:51 -04:00
Admin9705
8c884a1567 Add Apprise support for macOS and Windows builds
- Updated macOS installer workflows to include Apprise and its dependencies for notification support.
- Modified Windows build script to explicitly install Apprise and its dependencies.
- Enhanced huntarr.spec to bundle Apprise data files, addressing attachment directory issues.
- Ensured all relevant Apprise modules are collected during the build process for both macOS and Windows.
2025-06-14 23:08:09 -04:00
Admin9705
6c82a28581 Refactor logging system to utilize a database-only approach, removing file-based logging. Update Dockerfile and workflows to reflect changes in log storage, and modify documentation to guide users on accessing logs from the database. Enhance logging setup in the application to ensure compatibility with the new system. 2025-06-13 00:28:19 -04:00
Admin9705
d950322815 Complete migration from JSON file storage to SQLite database for persistent data management. Introduce DatabaseManager for automatic environment detection and database operations, enhancing reliability and performance. Update documentation to reflect new database schema, debugging commands, and development workflow adjustments. Remove all legacy JSON files and migration utilities, ensuring a streamlined and consistent data handling approach across the application. 2025-06-12 23:22:00 -04:00
Admin9705
212c5eb492 Refactor reset management by removing legacy file-based reset handling and transitioning to a database-driven approach. Update relevant modules to create and process reset requests directly in the database, enhancing reliability and consistency across the application. Adjust directory creation in Dockerfile and workflows to reflect the removal of unnecessary paths. 2025-06-12 22:47:57 -04:00
Admin9705
1c3df68f8e Update directory structure in Dockerfile and workflows to remove legacy paths and enhance configuration management. Adjust related scripts to create only necessary directories, reflecting the transition to database storage for settings. Update documentation to clarify credential management changes. 2025-06-12 22:39:00 -04:00
Admin9705
b816114215 Refactor application to utilize SQLite database for managing configuration, statistics, schedules, and sleep data, replacing JSON file operations for enhanced performance and reliability. Update Dockerfile and workflows to reflect directory structure changes and remove unnecessary directories. 2025-06-12 21:00:22 -04:00
Admin9705
dfeeb372e2 Update 2025-06-11 12:11:37 -04:00
Admin9705
8fc1209094 update 2025-06-11 11:53:31 -04:00
Admin9705
19a3984db5 update 2025-06-11 11:34:20 -04:00
Admin9705
cb0edeb712 updates 2025-06-11 08:50:24 -04:00
Admin9705
b52776628e Enhance Swaparr status card CSS for improved mobile responsiveness and layout consistency
This update addresses CSS loading order and specificity issues, ensuring that critical responsive styles are applied correctly. The mobile layout has been refined to stack elements vertically for better readability, with added debug borders for testing. Additionally, the external CSS files have been updated to include necessary styles, improving the overall user experience across different screen sizes.
2025-06-09 11:36:23 -04:00
Admin9705
427965eb1b chore: update Docker workflow to allow builds on dev branch, add manual trigger option, and refine push conditions 2025-06-08 07:47:09 -04:00
Admin9705
8c03468440 Refactor development guidelines in listen.md - Streamlined content for clarity and conciseness, emphasizing critical rules, common issue patterns, and mandatory testing workflows. Removed outdated sections and improved structure for better usability. Ensured all guidelines support cross-platform compatibility and best practices for development. 2025-06-02 08:33:16 +02:00
Admin9705
c57015059a fix: reposition pagination controls above the history table to prevent overlay issues during scrolling and enhance layout consistency 2025-05-29 07:05:10 +02:00
Admin9705
3f6266c641 style: reduce header area padding by 50% across all sections for more compact layout 2025-05-29 06:45:12 +02:00
Admin9705
4725b3c084 style: reduce settings header area height for a more compact layout and adjust padding for improved content visibility 2025-05-29 06:41:19 +02:00
Admin9705
c1673e9aa2 feat: remove Low Usage Mode visual indicator for a cleaner interface and optimize sidebar dimensions for improved usability 2025-05-29 05:41:03 +02:00
Admin9705
b58c9b69f2 refactor: standardize logger name formatting to lowercase in log streaming and adjust log level for successful stats writes to DEBUG 2025-05-29 05:29:30 +02:00
Admin9705
0bf3d545be docs: update listen.md to include new log message details for successful stat increments in stats_manager.py 2025-05-28 13:40:38 +02:00
Admin9705
8325cb5e72 feat: optimize logging by changing verbose messages to DEBUG level across authentication, stats management, and web server components to reduce log noise 2025-05-28 13:37:43 +02:00
Admin9705
eef09d04f2 feat: address dashboard flash issue by ensuring visibility after initialization and refine cycle state management with explicit control 2025-05-28 13:24:18 +02:00
Admin9705
d55e22380e feat: implement cyclelock management for improved cycle state control and logging in Docker development workflow 2025-05-28 09:13:13 +02:00
Admin9705
e37f29829a docs: update listen.md with detailed troubleshooting guide for frontend log regex issues 2025-05-28 07:26:24 +02:00
Admin9705
67738462d4 docs: add subpath compatibility guide and anti-patterns to prevent URL breaks 2025-05-27 01:08:01 -04:00
Admin9705
5d2589a1c6 Add comprehensive FAQ with categorized sections and return-to-top functionality - Created detailed FAQ page with 7 main categories covering installation, configuration, troubleshooting, features, performance, security, and compatibility - Added FAQ link to sidebar navigation across all documentation pages - Implemented table of contents with smooth scrolling and return-to-top button - Updated listen.md with documentation branch workflow guidelines 2025-05-25 13:18:54 -04:00
Admin9705
2bdd13e4fd chore: bump version from 7.3.11 to 7.3.12 and fix tooltip positioning issues in the history page 2025-05-25 11:39:03 -04:00