20 Commits

Author SHA1 Message Date
Divarion-D
b3324f01e8 chore: update actions/checkout to v6 in build and pre-release workflows 2026-03-15 19:32:14 +03:00
Divarion-D
382d1d6db4 chore: remove duplicate files entry in release asset upload step 2026-03-15 19:25:52 +03:00
Divarion-D
b636f8320c chore: enhance workflows to support manual dispatch and dynamic tag resolution 2026-03-15 19:21:21 +03:00
Divarion-D
6eb190fa84 chore: update pre-release workflow to build assets and remove manual inputs 2026-03-15 18:49:20 +03:00
Divarion-D
1d65621a64 ci: automate release asset builds via GitHub Actions 2026-03-15 18:45:19 +03:00
Divarion-D
d8717d2499 ci: extract PHP syntax check into reusable script
- Add tools/php_syntax_check.sh (supports full scan + single-file mode)
- CI workflow now calls the shared script
- All 6 agents updated to reference the script
- CONTRIBUTING.md: add Pre-Commit Checks section
- Exclude src/bin/* (third-party stubs) from lint
2026-03-15 13:49:18 +03:00
Divarion-D
dfe916abcf ci: upgrade actions to Node.js 24-compatible versions
- actions/checkout@v4 -> @v5 (Node 24 since v5.0.0)
- github/codeql-action/upload-sarif@v3 -> @v4
- softprops/action-gh-release@v1 -> @v2
- shivammathur/setup-php@v2 stays (no v3 released yet)
2026-03-15 12:41:13 +03:00
Divarion-D
e0a42634b1 ci: add security scan workflow with PHP syntax check and Semgrep
New GitHub Actions workflow that runs on push/PR to main and weekly:

1. PHP Syntax Check: validates all src/*.php files with php -l
2. Semgrep Security Scan: runs php, security-audit, command-injection,
   sql-injection, and xss rule packs against src/

SARIF results are uploaded to GitHub Code Scanning.
2026-03-15 12:28:34 +03:00
Divarion-D
774d2318f3 feat: Migrate legacy CLI scripts to console.php and extract streaming middleware
CLI consolidation:
- Delete 13 legacy CLI scripts from includes/cli/ (ondemand, proxy, queue, record, scanner, signals, startup, thumbnail, tools, update, watchdog, plex_item, watch_item)
- Convert status and tools entry points to thin proxies that delegate to console.php
- Update all shell_exec() calls across admin controllers, views, and API layer to use console.php command syntax instead of direct CLI file paths
- Update src/service to launch daemons via console.php (signals, watchdog, queue, cache_handler, startup)
- Update Python src/update script to call console.php update instead of includes/cli/update.php
- Update test_installer to use console.php startup

Streaming deduplication:
- Extract StreamAuthMiddleware — common response headers and token decryption shared by live/vod/timeshift
- Extract ShutdownHandler — unified shutdown logic replacing 3 duplicate function shutdown() blocks
- Refactor live.php, vod.php, timeshift.php to use new middleware classes
- Add streaming micro-router to www/stream/index.php as fallback entry point

Routing fixes:
- Fix admin index.php redirect to use relative path (supports access code prefixes)
- Add access code root redirect in public/index.php to prevent broken CSS/JS asset resolution
- Fix init.php for CLI compatibility: guard $_SERVER access, define PHP_ERRORS safely

Migrations:
- 001_update_crontab_filenames.sql — strip .php suffix from crontab filenames
- Fix cache.php view query to match new filename format (cache_engine instead of cache_engine.php)
2026-03-14 23:57:33 +03:00
Divarion-D
618fbf9530 New agents and instructions for AI have been added 2026-03-09 17:31:12 +03:00
Divarion-D
83c5fa3a89 Moved player to public/Views/player 2026-03-09 17:29:46 +03:00
Divarion-D
eb5f30b7af Moved reseler to public/Views/reseler 2026-03-08 22:13:35 +03:00
Divarion-D
1087208756 Steps 4 and 5 are complete. 2026-02-22 15:02:41 +03:00
Divarion-D
3c994604d6 Update Top Contributors 2025-12-03 21:50:32 +03:00
Divarion-D
ef9d09c2e6 Added auto editing of Top Contributors 2025-12-03 21:42:41 +03:00
Divarion-D
4ce32fc8c3 Fixed workflow 2025-12-03 18:26:27 +03:00
Danil
218a396538 Added suport pre-release in Github Action 2025-11-20 19:46:16 +03:00
Danil
51cb67fea8 Create build_pre-release.yml 2025-11-19 22:30:15 +03:00
Divarion-D
296fc15274 Update release notifier 2025-09-30 19:38:07 +03:00
Divarion-D
cf6f6aef12 add issue templates and add release notifier 2025-07-10 20:48:38 +03:00