feat: enhance plugin management

- Add command support for plugin management
- Optimize plugin management page layout
- Add email copy functionality for users
- Convert payment methods and Telegram Bot to plugin system
This commit is contained in:
xboard
2025-07-26 18:49:58 +08:00
parent 02d853d46a
commit 58868268dd
56 changed files with 3677 additions and 1329 deletions
Binary file not shown.
File diff suppressed because one or more lines are too long
+16 -16
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1829 -317
View File
File diff suppressed because one or more lines are too long
+20 -8
View File
@@ -85,6 +85,9 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
"cancel": "Cancel",
"submit": "Submit"
},
"sections": {
"payment_config": "Payment Configuration"
},
"messages": {
"success": "Saved successfully"
}
@@ -172,10 +175,9 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
"search": {
"placeholder": "Search plugin name or description..."
},
"category": {
"placeholder": "Select Category",
"all": "All",
"other": "Other"
"type": {
"placeholder": "Select Plugin Type",
"all": "All Types"
},
"tabs": {
"all": "All Plugins",
@@ -184,14 +186,21 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
},
"status": {
"enabled": "Enabled",
"disabled": "Disabled"
"disabled": "Disabled",
"not_installed": "Not Installed",
"protected": "Protected",
"filter_placeholder": "Install Status",
"all": "All Status",
"installed": "Installed",
"available": "Available"
},
"button": {
"install": "Install",
"config": "Configure",
"enable": "Enable",
"disable": "Disable",
"uninstall": "Uninstall"
"uninstall": "Uninstall",
"readme": "View Documentation"
},
"upload": {
"button": "Upload Plugin",
@@ -221,6 +230,9 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
"save": "Save",
"cancel": "Cancel"
},
"readme": {
"title": "Plugin Documentation"
},
"author": "Author",
"messages": {
"installSuccess": "Plugin installed successfully",
@@ -767,8 +779,8 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
"success": "Webhook set successfully"
},
"bot_enable": {
"title": "Enable Bot Notifications",
"description": "When enabled, the bot will send basic notifications to administrators and users who have bound their Telegram accounts."
"title": "Enable Telegram Binding Guide",
"description": "When enabled, a Telegram binding guide will be displayed on the user side to help users bind their Telegram accounts for notifications."
},
"discuss_link": {
"title": "Group Link",
+20 -8
View File
@@ -85,6 +85,9 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
"cancel": "取消",
"submit": "提交"
},
"sections": {
"payment_config": "支付配置"
},
"messages": {
"success": "保存成功"
}
@@ -172,10 +175,9 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
"search": {
"placeholder": "搜索插件名称或描述..."
},
"category": {
"placeholder": "选择分类",
"all": "全部",
"other": "其他"
"type": {
"placeholder": "选择插件类型",
"all": "全部类型"
},
"tabs": {
"all": "所有插件",
@@ -184,14 +186,21 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
},
"status": {
"enabled": "已启用",
"disabled": "已禁用"
"disabled": "已禁用",
"not_installed": "未安装",
"protected": "受保护",
"filter_placeholder": "安装状态",
"all": "全部状态",
"installed": "已安装",
"available": "可安装"
},
"button": {
"install": "安装",
"config": "配置",
"enable": "启用",
"disable": "禁用",
"uninstall": "卸载"
"uninstall": "卸载",
"readme": "查看文档"
},
"upload": {
"button": "上传插件",
@@ -221,6 +230,9 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
"save": "保存",
"cancel": "取消"
},
"readme": {
"title": "插件文档"
},
"author": "作者",
"messages": {
"installSuccess": "插件安装成功",
@@ -687,8 +699,8 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
"success": "Webhook 设置成功"
},
"bot_enable": {
"title": "启用机器人通知",
"description": "开启后机器人将向管理员和已绑定Telegram的用户发送基础通知。"
"title": "启用Telegram绑定引导",
"description": "开启后将在用户端显示Telegram绑定引导,帮助用户绑定Telegram账户以接收通知。"
},
"discuss_link": {
"title": "群组链接",