111 Commits

Author SHA1 Message Date
Admin9705
a89b11ebe4 Rewrite README, fix CI/CD to prevent main from publishing latest, add *.code-workspace to gitignore/dockerignore 2026-02-21 20:52:02 -05:00
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
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
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
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
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
Huntarr Developer
7d083c784a Update Windows installer to use versioned filename format 2025-05-20 09:22:54 -04:00
Huntarr Developer
86ce479cbf Add GitHub release publishing to Windows NSIS workflow 2025-05-20 08:37:34 -04:00
Huntarr Developer
5dde552d8c Fix macOS workflows: sanitize branch names for package paths and add release permissions 2025-05-20 08:26:38 -04:00
Admin9705
3203fe764e chore: bump version to 7.0.6 and remove Windows installer workflow 2025-05-20 05:10:10 -04:00
Huntarr Developer
3b77600def Fix installer path in workflow to match actual NSIS output location 2025-05-19 20:23:51 -04:00
Huntarr Developer
2bfe68833e Create installer directories before running NSIS 2025-05-19 20:21:07 -04:00
Huntarr Developer
98f39c004c Fix PowerShell variable expansion for PROJECT_ROOT in GHA workflow 2025-05-19 20:04:27 -04:00
Huntarr Developer
b5324dd70b Fix icon path in NSIS script using PROJECT_ROOT define 2025-05-19 19:57:19 -04:00
Huntarr Developer
59d6c55e8b Refine NSIS version file path handling in GHA workflow 2025-05-19 19:51:06 -04:00
Huntarr Developer
1036ef495a Fix version file handling in NSIS installer 2025-05-19 19:45:11 -04:00
Huntarr Developer
cff0ee465f Update upload-artifact action to v4 2025-05-19 19:41:39 -04:00
Huntarr Developer
980c97f623 Switch to NSIS installer for better compatibility with GitHub Actions 2025-05-19 19:39:43 -04:00
Huntarr Developer
0a8fbb6995 Replace installer build step with direct Inno Setup compilation for reliable output 2025-05-19 17:12:01 -04:00
Admin9705
1bc7acac4d fix: improve installer build process to handle existing directories 2025-05-19 16:02:05 -04:00
Admin9705
c1ac682ec2 fix: update Windows installer workflow to handle existing directories 2025-05-19 15:59:10 -04:00
Admin9705
7314d134e6 fix: add missing main.py script and update Windows workflow 2025-05-19 15:52:08 -04:00
Admin9705
55ced08445 feat: add Windows compatibility with proper distribution structure 2025-05-19 15:49:27 -04:00
Admin9705
a167215061 test 2025-05-18 15:39:15 -04:00
Admin9705
47a3fccb93 feat: implement core functionality and UI components for Huntarr media management system 2025-05-18 15:34:36 -04:00