mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-08 10:37:39 +02:00
1. Added: USDT payment method (please contact customer service via email for payment) 2. Added: Russian language support 3. Added: Domains - Provider List added PorkBun, NameSilo 4. Added: Domains - SSL Certificate - Added Business Certificate 5. Added: Domains - SSL Certificate - Apply for SSL added file verification 6. Added: Setting - Panel SSL added file verification 7. Added: WP Toolkit - Create site with auto DNS resolution 8. Added: FTP - Log and Log analytics support for Ubuntu and Debian 9. Added: Website/WP Toolkit option to choose whether to create default HTML file when adding sites 10. Added: Automatic Daemon tasks: Nginx, Apache, FTP, Redis, MySQL, Memcached, etc. 11. Added: Brute force protection compatible with 2 log formats 12. Optimized: Brute force protection history records now display in reverse chronological order 13. Optimized: Brute force protection settings added unblock time notification for IP blocking configuration 14. Optimized: Website/WP Toolkit SSL interface 15. Optimized: Cron automatic backup with retry mechanism for remote uploads 16. Optimized: Pay interface 17. Fixed: Temporary login Fixed blank page issue 18. Fixed: Mail Server Fixed missing MX record auto-configuration issue 19. Fixed: Node projects occasionally failing to retrieve running status 20. Fixed: Issue where Account could not be confirmed after editing in some cases 21. Fixed #225
49 lines
990 B
Python
49 lines
990 B
Python
# coding:
|
|
import os
|
|
from enum import StrEnum, IntEnum
|
|
|
|
import public
|
|
from panelDnsapi import *
|
|
|
|
APP_PATH = "class_v2/ssl_domainModelV2"
|
|
|
|
RUNNING = os.path.join(public.get_panel_path(), APP_PATH, "sync_running.pl")
|
|
|
|
# 旧的, 限制域名面板登录
|
|
PANEL_LIMIT_DOMAIN = os.path.join(public.get_panel_path(), "data/domain.conf")
|
|
|
|
# 新的, real 面板域名
|
|
PANEL_DOMAIN = os.path.join(public.get_panel_path(), "data/panel_domain.conf")
|
|
|
|
DNS_MAP = {
|
|
"CloudFlareDns": CloudFlareDns,
|
|
"NameCheapDns": NameCheapDns,
|
|
"PorkBunDns": PorkBunDns,
|
|
"NameSiloDns": NameSiloDns,
|
|
}
|
|
|
|
|
|
class DnsTask(StrEnum):
|
|
"""
|
|
任务名字, 可用于具体过滤
|
|
"""
|
|
sync_dns = "Sync Dns"
|
|
apply_ssl = "Apply SSL"
|
|
|
|
init_sites = "Site Initialize"
|
|
init_panel = "Panel SSL Initialize"
|
|
|
|
|
|
class UserFor(StrEnum):
|
|
sites = "sites"
|
|
panel = "panel"
|
|
mails = "mails"
|
|
account = "account"
|
|
|
|
|
|
class WorkFor(IntEnum):
|
|
sites = 1
|
|
panel = 2
|
|
mails = 3
|
|
account = 4
|