Commit Graph

4782 Commits

Author SHA1 Message Date
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
2f09f632ee bug fix: show real data for non-admins 2025-08-07 18:59:53 +05:00
usmannasir
5761be2d2b bug fixes to wp installation 2025-08-07 06:58:48 +05:00
usmannasir
fb2de5ac1a mautic install guide 2025-08-06 21:30:21 +05:00
usmannasir
e66e233cba bug fix: https://github.com/usmannasir/cyberpanel/issues/1468 2025-08-06 14:56:58 +05:00
usmannasir
aad00307f9 dark mode in cron page 2025-08-06 03:15:50 +05:00
usmannasir
8066381291 dark mode in cron page 2025-08-06 03:07:32 +05:00
usmannasir
f459b49bd6 apache manager dark mode 2025-08-06 03:00:18 +05:00
usmannasir
c009a6df68 dark mode in cron page 2025-08-06 02:51:20 +05:00
usmannasir
01262ac6ac bug fix: https://github.com/usmannasir/cyberpanel/issues/1463 2025-08-06 02:38:55 +05:00
usmannasir
f8cc547613 bug fix: php and server mail 2025-08-05 22:20:57 +05:00
usmannasir
4550a07693 add/delete records 2025-08-05 21:08:51 +05:00
usmannasir
aa96a1ce54 add/delete records 2025-08-05 20:46:23 +05:00
usmannasir
60c172de04 add/delete records 2025-08-05 15:35:56 +05:00
usmannasir
4de24cc25e add/delete records 2025-08-05 14:29:26 +05:00
usmannasir
ad8abfe952 wp site home dark page 2025-08-05 13:59:26 +05:00
usmannasir
62c85fc9b0 wp site home dark page 2025-08-05 03:31:07 +05:00
usmannasir
061bcc780c wp site home dark page 2025-08-05 03:23:32 +05:00
usmannasir
79ae68eaf4 services 2025-08-05 03:04:38 +05:00
usmannasir
6850ce33ad services 2025-08-05 02:48:05 +05:00
usmannasir
75d74ab1e6 services 2025-08-05 02:43:43 +05:00
usmannasir
536e6a2a65 services 2025-08-05 02:37:11 +05:00
usmannasir
1e031a2ef4 services 2025-08-05 02:28:40 +05:00
usmannasir
b223afb339 email marketing pages 2025-08-05 02:13:59 +05:00
usmannasir
74fd952a17 enable dark mode 2025-08-05 01:47:22 +05:00
usmannasir
99eec78338 enable dark mode 2025-08-05 01:02:25 +05:00
usmannasir
f75f591551 enable dark mode 2025-08-05 00:52:50 +05:00
usmannasir
0b629cd4bd enable dark mode 2025-08-05 00:40:56 +05:00
usmannasir
4cf8314141 enable dark mode 2025-08-04 23:49:52 +05:00
usmannasir
38976ad656 enable dark mode 2025-08-04 18:45:09 +05:00
usmannasir
af17947dc9 enable dark mode 2025-08-04 18:34:28 +05:00
usmannasir
ff0ff6f331 enable dark mode 2025-08-04 18:24:11 +05:00
usmannasir
2b16ef8502 bug fix: AlmaLinux 9 virtual environment creation in upgrade script
- Applied same fix from cyberpanel.sh to cyberpanel_upgrade.sh
- Detects AlmaLinux/Rocky Linux 9 (as CentOS 9) and uses dynamic Python path resolution
- Fixes TypeError: expected string or bytes-like object during virtualenv creation
- Uses 'which python3' to find correct Python executable path instead of hardcoded /usr/bin/python3
- Applied fix to all 4 locations where virtualenv is created in upgrade script
2025-08-04 15:38:54 +05:00
usmannasir
016231260c bug fix: AlmaLinux 9 virtual environment creation TypeError
- Added specific handling for AlmaLinux/Rocky Linux 9 similar to Ubuntu 22
- First attempts python3 -m venv for virtual environment creation
- Falls back to virtualenv with proper Python path detection
- Fixes TypeError: expected string or bytes-like object during installation
2025-08-04 14:16:11 +05:00
usmannasir
0c43b42699 bug fix: install 2025-08-04 12:27:20 +05:00
usmannasir
751c62ea9c bug fix: install 2025-08-04 12:26:24 +05:00
usmannasir
88551ed793 bug fix: setup wizard 2025-08-04 00:44:51 +05:00
usmannasir
7fcebdfea2 bug fix 2025-08-04 00:17:40 +05:00
usmannasir
0ae61b3ba7 bug fix 2025-08-04 00:15:54 +05:00
usmannasir
0982336e3c bug fix 2025-08-04 00:15:38 +05:00
usmannasir
1a09596ff5 v2.4.3 2025-08-04 00:03:02 +05:00
usmannasir
b208d6b464 install/upgrade bug fix 2025-08-03 23:55:07 +05:00
usmannasir
0a6d544007 potential bug fix in upgrade 2025-08-03 23:26:55 +05:00
usmannasir
80c0c3c810 potential bug fix in upgrade 2025-08-03 23:06:13 +05:00