local changes

This commit is contained in:
usmannasir
2024-08-04 23:54:32 +05:00
parent f500809452
commit b56838b51c
44 changed files with 1346 additions and 1000 deletions

View File

@@ -4,25 +4,25 @@ from django.dispatch import Signal
## This event is fired before CyberPanel core load the create database template, this special event is used
## to create a beautiful names official plugin. Actual FTP account creation happens with event named preSubmitDBCreation and postSubmitDBCreation.
preCreateDatabase = Signal(providing_args=["request"])
preCreateDatabase = Signal()
## See preCreateDatabase
postCreateDatabase = Signal(providing_args=["request", "response"])
postCreateDatabase = Signal()
## This event is fired before CyberPanel core start creation of a database.
preSubmitDBCreation = Signal(providing_args=["request"])
preSubmitDBCreation = Signal()
## This event is fired after CyberPanel core finished creation of a database.
postSubmitDBCreation = Signal(providing_args=["request", "response"])
postSubmitDBCreation = Signal()
## This event is fired before CyberPanel core start deletion of a database
preSubmitDatabaseDeletion = Signal(providing_args=["request"])
preSubmitDatabaseDeletion = Signal()
## This event is fired after CyberPanel core finished deletion of a database.
postSubmitDatabaseDeletion = Signal(providing_args=["request", "response"])
postSubmitDatabaseDeletion = Signal()
## This event is fired before CyberPanel core start to change a database password.
preChangePassword = Signal(providing_args=["request"])
preChangePassword = Signal()
## This event is fired after CyberPanel core finished changing database password.
postChangePassword = Signal(providing_args=["request", "response"])
postChangePassword = Signal()