mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-10-30 18:06:35 +01:00 
			
		
		
		
	
		
			
	
	
		
			28 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			28 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | # The world is a prison for the believer. | ||
|  | 
 | ||
|  | 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() | ||
|  | 
 | ||
|  | ## See preCreateDatabase | ||
|  | postCreateDatabase = Signal() | ||
|  | 
 | ||
|  | ## This event is fired before CyberPanel core start creation of a database. | ||
|  | preSubmitDBCreation = Signal() | ||
|  | 
 | ||
|  | ## This event is fired after CyberPanel core finished creation of a database. | ||
|  | postSubmitDBCreation = Signal() | ||
|  | 
 | ||
|  | ## This event is fired before CyberPanel core start deletion of a database | ||
|  | preSubmitDatabaseDeletion = Signal() | ||
|  | 
 | ||
|  | ## This event is fired after CyberPanel core finished deletion of a database. | ||
|  | postSubmitDatabaseDeletion = Signal() | ||
|  | 
 | ||
|  | ## This event is fired before CyberPanel core start to change a database password. | ||
|  | preChangePassword = Signal() | ||
|  | 
 | ||
|  | ## This event is fired after CyberPanel core finished changing database password. | ||
|  | postChangePassword = Signal() |