HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/ftp/signals.py
# 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()