mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-10-26 15:56:34 +01:00
29 lines
1.1 KiB
Python
29 lines
1.1 KiB
Python
|
|
# The world is a prison for the believer.
|
||
|
|
## https://www.youtube.com/watch?v=DWfNYztUM1U
|
||
|
|
|
||
|
|
from django.dispatch import Signal
|
||
|
|
|
||
|
|
## This event is fired before CyberPanel core load the create ftp template, this special event is used
|
||
|
|
## to create a beautiful names official plugin. Actual FTP account creation happens with event named preSubmitFTPCreation and postSubmitFTPCreation.
|
||
|
|
preCreateFTPAccount = Signal()
|
||
|
|
|
||
|
|
## See preCreateFTPAccount
|
||
|
|
postCreateFTPAccount = Signal()
|
||
|
|
|
||
|
|
## This event is fired before CyberPanel core start creation of a FTP account.
|
||
|
|
preSubmitFTPCreation = Signal()
|
||
|
|
|
||
|
|
## This event is fired after CyberPanel core finished creation of a FTP account.
|
||
|
|
postSubmitFTPCreation = Signal()
|
||
|
|
|
||
|
|
## This event is fired before CyberPanel core start deletion of a FTP account.
|
||
|
|
preSubmitFTPDelete = Signal()
|
||
|
|
|
||
|
|
## This event is fired after CyberPanel core finished deletion of website
|
||
|
|
postSubmitFTPDelete = Signal()
|
||
|
|
|
||
|
|
## This event is fired before CyberPanel core start deletion of child-domain
|
||
|
|
preChangePassword = Signal()
|
||
|
|
|
||
|
|
## This event is fired after CyberPanel core finished deletion of child-domain
|
||
|
|
postChangePassword = Signal()
|