mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 13:56:01 +01:00
Plugin installer
This commit is contained in:
36
ftp/pluginManager.py
Normal file
36
ftp/pluginManager.py
Normal file
@@ -0,0 +1,36 @@
|
||||
from signals import *
|
||||
from plogical.pluginManagerGlobal import pluginManagerGlobal
|
||||
|
||||
class pluginManager:
|
||||
|
||||
@staticmethod
|
||||
def preCreateFTPAccount(request):
|
||||
return pluginManagerGlobal.globalPlug(request, preCreateFTPAccount)
|
||||
|
||||
@staticmethod
|
||||
def postCreateFTPAccount(request, response):
|
||||
return pluginManagerGlobal.globalPlug(request, postCreateFTPAccount, response)
|
||||
|
||||
@staticmethod
|
||||
def preSubmitFTPCreation(request):
|
||||
return pluginManagerGlobal.globalPlug(request, preSubmitFTPCreation)
|
||||
|
||||
@staticmethod
|
||||
def postSubmitFTPCreation(request, response):
|
||||
return pluginManagerGlobal.globalPlug(request, postSubmitFTPCreation, response)
|
||||
|
||||
@staticmethod
|
||||
def preSubmitFTPDelete(request):
|
||||
return pluginManagerGlobal.globalPlug(request, preSubmitFTPDelete)
|
||||
|
||||
@staticmethod
|
||||
def postSubmitFTPDelete(request, response):
|
||||
return pluginManagerGlobal.globalPlug(request, postSubmitFTPDelete, response)
|
||||
|
||||
@staticmethod
|
||||
def preChangePassword(request):
|
||||
return pluginManagerGlobal.globalPlug(request, preChangePassword)
|
||||
|
||||
@staticmethod
|
||||
def postChangePassword(request, response):
|
||||
return pluginManagerGlobal.globalPlug(request, postChangePassword, response)
|
||||
Reference in New Issue
Block a user