Files
CyberPanel/ftp/signals.py

29 lines
1.1 KiB
Python
Raw Normal View History

2018-10-08 22:12:05 +05:00
# 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.
2024-08-04 23:54:32 +05:00
preCreateFTPAccount = Signal()
2018-10-08 22:12:05 +05:00
## See preCreateFTPAccount
2024-08-04 23:54:32 +05:00
postCreateFTPAccount = Signal()
2018-10-08 22:12:05 +05:00
## This event is fired before CyberPanel core start creation of a FTP account.
2024-08-04 23:54:32 +05:00
preSubmitFTPCreation = Signal()
2018-10-08 22:12:05 +05:00
## This event is fired after CyberPanel core finished creation of a FTP account.
2024-08-04 23:54:32 +05:00
postSubmitFTPCreation = Signal()
2018-10-08 22:12:05 +05:00
## This event is fired before CyberPanel core start deletion of a FTP account.
2024-08-04 23:54:32 +05:00
preSubmitFTPDelete = Signal()
2018-10-08 22:12:05 +05:00
## This event is fired after CyberPanel core finished deletion of website
2024-08-04 23:54:32 +05:00
postSubmitFTPDelete = Signal()
2018-10-08 22:12:05 +05:00
## This event is fired before CyberPanel core start deletion of child-domain
2024-08-04 23:54:32 +05:00
preChangePassword = Signal()
2018-10-08 22:12:05 +05:00
## This event is fired after CyberPanel core finished deletion of child-domain
2024-08-04 23:54:32 +05:00
postChangePassword = Signal()