- Moved advanced permissions loading to a separate file for better organization and maintainability.
- Updated permission checks to utilize a centralized Authorization class for improved code clarity.
- Refactored login processes in both admin and reseller APIs to use a dedicated Authenticator class, streamlining the authentication logic.
- Introduced RedisManager for handling Redis connections and signal management.
- Adjusted error reporting settings in Logger to reduce verbosity in production.
- Enhanced playlist generation logic to correctly handle proxy IPs.
- Improved handling of optional parameters in streaming URL generation to prevent potential errors.
- Replaced instances of `Database` with `DatabaseHandler` in `playlist.php` and `xplugin.php` for improved database handling.
- Updated logging calls from `StreamingUtilities::clientLog` to `DatabaseLogger::clientLog` in various stream handling files (`auth.php`, `live.php`, `vod.php`, `timeshift.php`, `rtmp.php`) to centralize logging functionality.
- Refactored bruteforce checking methods to utilize `BruteforceGuard` instead of `CoreUtilities` for consistency and better encapsulation.
- Enhanced error handling by ensuring all relevant error logs are captured through the new logging structure.
Reduce filesystem pressure by caching process checks.
Replace blocking sleeps with non-blocking waits.
Move live, timeshift and VOD file operations to async I/O.
Improve segment encryption wait logic with async monitoring.
Lower CPU usage and improve stream responsiveness.
- Updated SQL queries in `table.php` and `lines.php` to include `contact` field for users.
- Implemented a modal in `lines.php` for sending WhatsApp renewal reminders with language selection and message preview.
- Enhanced action buttons in user tables to include WhatsApp renewal functionality.
- Added JavaScript functions to handle WhatsApp message generation and modal display.