2019-12-11 10:40:35 +05:00
|
|
|
from .signals import *
|
2018-10-08 22:12:05 +05:00
|
|
|
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)
|