feat: optimize settings management and admin functionality

- Add system log cleanup functionality with batch processing
- Optimize v2_settings table performance by unifying value storage
- Add comprehensive client support list for one-click subscription
- Fix QR code subscription links for specific node types
- Fix route addition issues in admin management panel
- Enhance admin system controller with log management APIs
This commit is contained in:
xboard
2025-06-21 12:11:27 +08:00
parent 895a870dfc
commit 272dbd2107
29 changed files with 1759 additions and 1392 deletions
File diff suppressed because one or more lines are too long
+10 -10
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+32
View File
@@ -0,0 +1,32 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
<link rel="icon" type="image/png" href="/images/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shadcn Admin</title>
<meta
name="description"
content="Admin Dashboard UI built with Shadcn and Vite."
/>
<script>
window.settings = {
base_url: 'http://127.0.0.1:8000',
title: 'Xboard',
version: '1.0.0',
logo: 'https://xboard.io/i6mages/logo.png',
secure_path: '/6a416b7a',
}
</script>
<script src="./locales/en-US.js"></script>
<script src="./locales/zh-CN.js"></script>
<script src="./locales/ko-KR.js"></script>
<script type="module" crossorigin src="./assets/index.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index.css">
<link rel="stylesheet" crossorigin href="./assets/vendor.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
+1 -1
View File
@@ -1079,7 +1079,7 @@ window.XBOARD_TRANSLATIONS['en-US'] = {
"uri": "URI",
"requestData": "Request Data",
"exception": "Exception",
"totalLogs": "Total logs: {{count}}",
"totalLogs": "Total logs",
"tabs": {
"all": "All",
"info": "Info",
+1 -1
View File
@@ -1095,7 +1095,7 @@ window.XBOARD_TRANSLATIONS['ko-KR'] = {
"uri": "URI",
"requestData": "요청 데이터",
"exception": "예외",
"totalLogs": "총 로그 수: {{count}}",
"totalLogs": "총 로그 수",
"tabs": {
"all": "전체",
"info": "정보",
+1 -1
View File
@@ -1077,7 +1077,7 @@ window.XBOARD_TRANSLATIONS['zh-CN'] = {
"uri": "URI",
"requestData": "请求数据",
"exception": "异常信息",
"totalLogs": "总日志数{{count}}",
"totalLogs": "总日志数",
"tabs": {
"all": "全部",
"info": "信息",