Commit Graph

46 Commits

Author SHA1 Message Date
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
usmannasir
d77258e640 Fix settings.py preservation during upgrade to maintain INSTALLED_APPS
During the upgrade process, settings.py was being overwritten with only the DATABASES
section preserved, causing loss of INSTALLED_APPS and other configurations. This resulted
in the 'aiScanner' app not being recognized after upgrade.

Fixed by:
- Improving the regex pattern to more accurately match only the DATABASES dictionary
- Adding re.DOTALL flag to handle multi-line DATABASES configuration
- Ensuring all other settings including INSTALLED_APPS are preserved during upgrade

This resolves the RuntimeError about aiScanner.status_models.ScanStatusUpdate not having
an explicit app_label.
2025-08-08 22:44:42 +05:00
usmannasir
ca9f25a189 bug fix: https://github.com/usmannasir/cyberpanel/issues/1470 2025-08-08 04:03:18 +05:00
usmannasir
81afc1ba66 bug fix: https://github.com/usmannasir/cyberpanel/issues/1471 2025-08-08 00:56:41 +05:00
usmannasir
728cce9641 bug fix: https://github.com/usmannasir/cyberpanel/issues/1471 2025-08-08 00:25:18 +05:00
usmannasir
5761be2d2b bug fixes to wp installation 2025-08-07 06:58:48 +05:00
usmannasir
e66e233cba bug fix: https://github.com/usmannasir/cyberpanel/issues/1468 2025-08-06 14:56:58 +05:00
usmannasir
88551ed793 bug fix: setup wizard 2025-08-04 00:44:51 +05:00
usmannasir
a7126d6150 potential bug fix in upgrade 2025-08-03 22:37:39 +05:00
usmannasir
aeef20d89c potential bug fix in upgrade 2025-08-03 15:06:16 +05:00
usmannasir
c22c3c5f76 potential bug fix in upgrade 2025-08-03 14:55:00 +05:00
usmannasir
65fa9fc5c2 potential bug fix in upgrade 2025-08-03 14:29:24 +05:00
usmannasir
695425a8d6 bug fix: https://github.com/usmannasir/cyberpanel/issues/1466 2025-08-02 10:03:09 +05:00
usmannasir
49635c415d bug fix: https://github.com/usmannasir/cyberpanel/issues/1467 2025-08-02 09:42:18 +05:00
usmannasir
9b509e4a6f release v2.4.3 2025-08-01 15:05:33 +05:00
usmannasir
6dd7114f6d Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00