From d32f81577547bd5b225191e9e3b6f62e20bc73dd Mon Sep 17 00:00:00 2001 From: master3395 Date: Mon, 26 Jan 2026 02:57:15 +0100 Subject: [PATCH] revert(plugins): Remove all plugin auto-registrations from core Plugins should be installed via Plugin Store, not auto-registered in core. Plugin registrations (INSTALLED_APPS and URL routes) are added dynamically during plugin installation via pluginInstaller, not hardcoded in core. Removed from INSTALLED_APPS: - fail2ban - discordAuth (already removed by user) - googleTagManager - discordWebhooks (already removed by user) Removed from urls.py: - All plugin URL routes (fail2ban, googleTagManager, discordAuth) These plugins must be installed via Plugin Store, which will automatically add them to INSTALLED_APPS and urls.py during installation. --- CyberCP/settings.py | 3 --- CyberCP/urls.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/CyberCP/settings.py b/CyberCP/settings.py index 6a29930a3..ff1356297 100644 --- a/CyberCP/settings.py +++ b/CyberCP/settings.py @@ -65,11 +65,8 @@ INSTALLED_APPS = [ # Apps with multiple or complex dependencies 'emailPremium', - 'discordAuth', - 'googleTagManager', 'testPlugin', 'premiumPlugin', - 'fail2ban', 'emailMarketing', # Depends on websiteFunctions and loginSystem 'cloudAPI', # Depends on websiteFunctions 'containerization', # Depends on websiteFunctions diff --git a/CyberCP/urls.py b/CyberCP/urls.py index e8fe483d3..8a8672b98 100644 --- a/CyberCP/urls.py +++ b/CyberCP/urls.py @@ -47,11 +47,8 @@ urlpatterns = [ path('plugins/pm2Manager/',include('pm2Manager.urls')), path('plugins/paypalPremiumPlugin/', include('paypalPremiumPlugin.urls')), path('plugins/examplePlugin/', include('examplePlugin.urls')), - path('plugins/fail2ban/',include('fail2ban.urls')), path('plugins/premiumPlugin/',include('premiumPlugin.urls')), path('plugins/testPlugin/',include('testPlugin.urls')), - path('plugins/googleTagManager/',include('googleTagManager.urls')), - path('plugins/discordAuth/',include('discordAuth.urls')), path('plugins/', include('pluginHolder.urls')), path('emailMarketing/', include('emailMarketing.urls')), path('cloudAPI/', include('cloudAPI.urls')),