mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-21 05:56:48 +01:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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')),
|
||||
|
||||
Reference in New Issue
Block a user