Master3395
29bba6edf3
Update version requirements and enhance upgrade script output: Changed minimum version requirement from 1.9.4 to 2.3.4 in upgrade scripts, improved recovery log messages, and added detailed success and warning messages for the upgrade process. Enhanced user interface elements in the HTML template for better readability.
2025-09-23 20:07:30 +02:00
Master3395
86ce614ea1
Fix pysftp dependency issue and optimize WSGI-LSAPI compilation: Removed pysftp from requirements in favor of paramiko, and updated Makefile for proper optimization flags to avoid _FORTIFY_SOURCE warnings during WSGI-LSAPI installation.
2025-09-23 19:06:33 +02:00
Master3395
8d9cfb0ace
Merge branch 'usmannasir:v2.5.5-dev' into v2.5.5-dev
2025-09-23 09:55:51 +02:00
Master3395
27c2877490
Remove deprecated migration script and update version to 2.4 Build 4: The run_migration.py script has been deleted as it is no longer needed. The version file has been incremented to reflect the latest build. Additionally, the Django settings have been updated to include DEFAULT_AUTO_FIELD for improved primary key handling.
2025-09-23 09:55:27 +02:00
Usman Nasir
00b45dcd36
Merge pull request #1510 from master3395/v2.5.5-dev
...
V2.5.5 dev - Firewall ban button, and management
2025-09-23 12:29:21 +05:00
usmannasir
5d0f098933
Merge branch 'v2.4.4' into v2.5.5-dev
2025-09-23 10:59:13 +05:00
Master3395
ce085cc734
Enhance ModSecurity rule installation and verification: Update OWASP rules to version 4.18.0, improving detection for installed rules in the FirewallManager. Add checks to verify the existence of OWASP and Comodo configuration files. Update JavaScript to reflect installation status and improve user feedback. Ensure proper logging for installation processes and errors.
...
https://www.facebook.com/groups/cyberpanel/permalink/3983852698593015/
2025-09-22 18:05:55 +02:00
usmannasir
e786f9b12b
bug fix: staging site issue
2025-09-22 13:31:20 +05:00
Master3395
eda57c4618
Enhance text readability and error handling: Add readability fixes CSS for improved contrast across UI elements. Update text colors in various components for better visibility. Enhance FTP error handling with user-friendly messages and improved path validation in both frontend and backend. Update HTML templates to provide clearer instructions and examples for FTP path input.
2025-09-21 22:26:18 +02:00
Master3395
dad8da699c
Implement Docker network management features: Add endpoints for retrieving and creating Docker networks, and update container management to support network configuration and port mapping updates. Enhance UI for network selection and port editing in the container management interface. Update database schema to include network-related fields.
...
https://github.com/usmannasir/cyberpanel/issues/923
2025-09-21 21:14:34 +02:00
Master3395
d7752d1d28
Add cron job management for website suspension: Implement methods to suspend, restore, and check the status of cron jobs for websites. Update main function to handle new commands for cron management. Enhance child domain handling to ensure cron jobs are suspended/restored appropriately during website suspension processes.
...
https://github.com/usmannasir/cyberpanel/issues/1097
2025-09-21 20:45:37 +02:00
Master3395
e5289bccc4
Update README and enhance error handling: Increment version to 2.4 Build 4 and add notes on PHP version management. Improve error logging across multiple modules by replacing BaseException with Exception and utilizing secure error handling methods. Ensure consistent error responses in API and middleware functions for better debugging and user feedback.
2025-09-21 20:36:12 +02:00
Master3395
5b75a3ce9e
Enhance Imunify installation process: Add checks and fixes for PHP-FPM pool configurations and broken package installations before proceeding with Imunify360 and ImunifyAV installations. Implement auto-fix functionality in the firewall manager for PHP-FPM issues. Update the upgrade module to create missing PHP-FPM pool configurations and restart services as needed. Introduce a new API endpoint to disable two-factor authentication for users, ensuring proper handling and logging of actions.
...
https://github.com/usmannasir/cyberpanel/issues/1114
2025-09-21 20:13:15 +02:00
Master3395
bd9f8ea082
Enhance SSL renewal process: Add method to update mail SSL configurations for all domains after renewal. Update mail SSL settings in the Renew class and ensure vhost SSL configurations are updated accordingly. Remove obsolete screenshot file.
...
https://github.com/usmannasir/cyberpanel/issues/1133
https://github.com/usmannasir/cyberpanel/issues/1119
2025-09-21 19:46:10 +02:00
Master3395
9450cc2487
Add home directory management features: Introduce models and views for managing user home directories, including dynamic home directory assignment during user creation. Update frontend to allow selection of home directories and display relevant information. Enhance backend logic for home directory migration and statistics retrieval, improving overall user management capabilities.
2025-09-20 21:50:22 +02:00
Master3395
2d1302cc80
Implement remote connection handling and progress tracking for backup operations: Introduce a method for attempting connections to remote CyberPanel servers with port fallback. Enhance the frontend to display detailed progress and logs during backup transfers, including error handling and notifications for port fallback usage. Update HTML and JavaScript to support new progress tracking features and improve user feedback during backup and restore processes.
2025-09-20 21:31:41 +02:00
Master3395
c9ab0a6abf
Add FTP quota management features: Implement getFTPQuotaUsage and migrateFTPQuotas methods in FTPManager for retrieving quota usage and migrating existing users to the new quota system. Update views and URLs to support these new functionalities. Enhance FTPUtilities with methods for applying quotas to the filesystem and retrieving current quota usage.
2025-09-20 21:07:48 +02:00
Master3395
41ccfcc83d
Enhance PHP version management in PHPManager: Implement comprehensive detection of PHP versions across multiple methods, including system checks and package manager queries. Add validation and configuration fixing for PHP installations. Introduce methods to retrieve the latest and recommended PHP versions, improving overall reliability and user feedback in the website management process.
2025-09-20 21:01:51 +02:00
Master3395
47c92f9342
Enhance file deletion process in FileManager: Implement detailed logging for file and directory deletion, including security checks and error handling. Improve handling of immutable flags and ensure proper permissions for suspension pages in website management. Add fallback mechanisms for system file deletions and enhance user feedback on operations.
2025-09-20 20:39:35 +02:00
Master3395
b727c237d4
Implement disk usage refresh feature for email accounts. Add a new endpoint and corresponding view to refresh disk usage, ensuring accurate display in the UI. Update JavaScript and HTML templates to support the new functionality, enhancing user experience with real-time updates. Refactor disk usage calculation for improved accuracy and error handling.
2025-09-19 01:09:48 +02:00
Master3395
daa64d9100
Add container management features: implement update, delete with data, and delete while preserving data functionalities. Update views, URLs, and templates for enhanced user interaction and data safety. Introduce modals for container updates and deletion options, improving overall user experience.
2025-09-18 22:16:42 +02:00
Master3395
d73c882d76
Add subdomain log fix functionality and update templates. Introduce new views and URLs for fixing subdomain logs, enhance log configuration handling in the upgrade script, and update vHost configuration paths for better log management. Include a new menu item for accessing the log fix interface.
2025-09-18 22:04:05 +02:00
Master3395
1ea96361ba
Remove SECURITY_INSTALLATION.md and implement SSL reconciliation features in manageSSL module. Add new views and URLs for SSL reconciliation, enhance mobile responsiveness in templates, and update SSL utilities for improved functionality. Update upgrade script for scheduled SSL reconciliation tasks.
2025-09-18 21:37:48 +02:00
Master3395
bb4f8a9f58
Enhance CyberPanel with new features and improvements, including a file integrity verification system, IP blocking functionality, and support for resetting Apache and vHost configurations to default. Update documentation and guides for better user experience. Fix bandwidth reset issues and improve overall system stability.
2025-09-18 20:45:34 +02:00
usmannasir
6b2f718631
debian 13 ols fix
2025-09-18 01:29:38 +05:00
Master3395
9d50175978
Add PhpMyAdmin access middleware and session check for user authentication
...
- Updated settings.py to include PhpMyAdminAccessMiddleware for enhanced access control.
- Modified phpmyadminsignin.php to check user session and redirect to the login page if not authenticated.
2025-09-15 01:39:21 +02:00
Master3395
47c40da0a9
Update PHP version references and improve AlmaLinux 9 compatibility
...
- Changed PHP symlink from version 8.0 to 8.3 in various scripts to ensure compatibility with the latest PHP version.
- Updated documentation links in the FAQ to point to the new community support page.
- Added checks and fixes for MariaDB installation issues specific to AlmaLinux 9.
- Enhanced the installation script to support additional PHP versions and improve overall installation reliability.
2025-09-15 01:25:52 +02:00
Master3395
befb6d2ba7
Fix monthly bandwidth for websites
...
Fix monthly bandwidth for websites:
https://github.com/usmannasir/cyberpanel/issues/1496
2025-09-12 10:41:11 +02:00
Master3395
6e86055016
Add sieve by default.
...
Add sieve by default.
2025-09-10 20:01:52 +02:00
Master3395
f7f51e67c4
Add Almalinux 10 and php 84+85
...
Add Almalinux 10 and php 84+85
2025-09-07 22:57:53 +02:00
usmannasir
90380d26d9
bug fix: php manager turning off uploads
2025-09-03 13:27:00 +05:00
usmannasir
e7c6af4af9
bug fix: imuinfy restore after upgrade
2025-09-03 12:59:55 +05:00
usmannasir
1e3b17a5f4
bug fix: imuinfy restore after upgrade
2025-09-03 02:04:36 +05:00
usmannasir
ccc74c0606
bug fix: imuinfy restore after upgrade
2025-09-03 01:41:32 +05:00
usmannasir
1e0fa8c312
bug fix: imuinfy restore after upgrade
2025-09-03 01:32:06 +05:00
usmannasir
f7799fc7a5
bug fix: imuinfy restore after upgrade
2025-09-03 01:19:09 +05:00
usmannasir
240d40e9b9
bug fix: imuinfy restore after upgrade
2025-09-03 01:11:11 +05:00
usmannasir
b175019482
bug fix: imuinfy restore after upgrade
2025-09-03 01:03:37 +05:00
usmannasir
3bdff496d4
bug fix: imuinfy restore after upgrade
2025-09-02 23:34:16 +05:00
usmannasir
e3abbc47f4
v2.4.4 release
2025-09-01 13:11:42 +05:00
usmannasir
829de19600
ubuntu 24 ftp fix
2025-08-29 22:30:06 +05:00
usmannasir
09f9a6be5a
ubuntu 24 support inside cyberpanel
2025-08-29 22:24:13 +05:00
usmannasir
0d6bb9884a
feat: Add comprehensive recovery mechanism for damaged CyberPanel installations during upgrade
...
- Implement directory integrity checks to detect missing CyberPanel components
- Add automatic recovery by cloning fresh repository when essential directories are lost
- Create database credential recovery with automatic password reset capability
- Update all service configurations (FTP, PowerDNS, Postfix, Dovecot) when password is reset
- Add service restart functionality to apply new configurations
- Preserve existing configuration files during recovery process
- Handle both Ubuntu (root password) and CentOS (separate password) database configurations
This ensures upgrades can complete successfully even when /usr/local/CyberCP is completely lost.
2025-08-23 16:02:19 +05:00
usmannasir
a57ed2f7dc
bug fix: postfix/dovecot on alma9
2025-08-19 18:36:48 +05:00
usmannasir
6371265ee6
bug fix: https://github.com/usmannasir/cyberpanel/issues/1479#issuecomment-3185937407
2025-08-14 20:54:38 +05:00
usmannasir
f62d3f3fa2
bug fix: https://github.com/usmannasir/cyberpanel/issues/1479#issuecomment-3185937407
2025-08-14 20:50:05 +05:00
usmannasir
4f64007a74
bug fix: upgrade missing acl file
2025-08-13 23:35:40 +05:00
usmannasir
35e3d68853
Remove CSF support as it's being discontinued on August 31, 2025
...
- Remove CSF menu item from sidebar navigation
- Disable CSF-related URL endpoints in firewall module
- Update upgrade process to automatically remove CSF and restore firewalld
- Archive CSF template and configuration files
- Clean up CSF references in settings and upgrade scripts
CSF (ConfigServer Security & Firewall) is shutting down on August 31, 2025.
This commit removes CSF integration and ensures firewalld is restored as the
default firewall solution during upgrades.
Fixes #1473
2025-08-11 15:49:31 +05:00
usmannasir
29787eb772
bug fix: https://github.com/usmannasir/cyberpanel/issues/773
2025-08-11 00:33:25 +05:00
usmannasir
e831742173
Fix: Preserve new INSTALLED_APPS during upgrade by not overwriting settings.py
...
The issue was that restoreCriticalFiles was restoring the OLD settings.py from backup
which didn't have new apps like 'aiScanner' in INSTALLED_APPS.
Solution:
- Modified restoreCriticalFiles to skip settings.py restoration
- Keep the NEW settings.py from the fresh clone (which has aiScanner in INSTALLED_APPS)
- Only update the DATABASES section with saved credentials from backup
- This preserves all new app registrations while maintaining database connectivity
This properly fixes the RuntimeError about aiScanner.status_models.ScanStatusUpdate
not being in INSTALLED_APPS after upgrades.
2025-08-08 22:54:44 +05:00