feat(logs): Add various log pages for tracking user activities and system events

This commit is contained in:
web
2025-08-26 11:29:12 -07:00
parent 4f7cc807af
commit d85af491aa
28 changed files with 876 additions and 252 deletions
+2 -18
View File
@@ -51,8 +51,6 @@
"enable": "Enable",
"enableDescription": "When enabled, enables email registration, login, binding, and unbinding functions",
"inputPlaceholder": "Enter value...",
"logs": "Email Logs",
"logsDescription": "View history of sent emails and their status",
"sendFailure": "Test email send failed, please check configuration.",
"sendSuccess": "Test email sent successfully.",
"sendTestEmail": "Send Test Email",
@@ -145,19 +143,7 @@
"enable": "Enable",
"enableDescription": "When enabled, users can sign in with their Google account"
},
"log": {
"emailLog": "Email Log",
"mobileLog": "SMS Log",
"platform": "Platform",
"to": "Recipient",
"subject": "Subject",
"content": "Content",
"status": "Status",
"sendSuccess": "Sent Successfully",
"sendFailed": "Send Failed",
"createdAt": "Created At",
"updatedAt": "Updated At"
},
"phone": {
"title": "Phone Authentication",
"description": "Authenticate users with phone numbers",
@@ -188,9 +174,7 @@
"sendSuccess": "Sent successfully",
"sendFailed": "Send failed",
"updateSuccess": "Updated successfully",
"settings": "Settings",
"logs": "SMS Logs",
"logsDescription": "View history of sent SMS messages and their status"
"settings": "Settings"
},
"socialAuthMethods": "Social Authentication Methods",
"telegram": {
+60
View File
@@ -0,0 +1,60 @@
{
"column": {
"id": "ID",
"platform": "Platform",
"to": "To",
"subject": "Subject",
"content": "Content",
"status": "Status",
"createdAt": "Created At",
"updatedAt": "Updated At",
"user": "User",
"method": "Method",
"ip": "IP",
"userAgent": "User Agent",
"success": "Success",
"time": "Time",
"userId": "User ID",
"subscribeId": "Subscribe ID",
"token": "Token",
"amount": "Amount",
"orderId": "Order ID",
"balance": "Balance",
"type": "Type",
"remark": "Remark",
"resetAt": "Reset At",
"upload": "Upload",
"download": "Download",
"total": "Total",
"date": "Date",
"serverId": "Server ID",
"orderNo": "Order No.",
"identifier": "Identifier"
},
"datePlaceholder": "YYYY-MM-DD",
"failed": "Failed",
"placeholder": {
"toOrSubject": "To / Subject",
"userIdOrIpOrMethodOrUa": "User ID / IP / Method / UA",
"userId": "User ID",
"serverName": "Server Name",
"userIdOrTokenOrIpOrUa": "User ID / Token / IP / UA",
"userIdOrOrderNoOrSubscribeId": "User ID / Order No. / Subscribe ID",
"userIdOrOrderId": "User ID / Order ID"
},
"success": "Success",
"title": {
"email": "Email Log",
"login": "Login Log",
"serverTraffic": "Server Traffic Log",
"mobile": "SMS Log",
"register": "Register Log",
"subscribe": "Subscribe Log",
"gift": "Gift Log",
"balance": "Balance Log",
"commission": "Commission Log",
"resetSubscribe": "Reset Subscribe Log",
"subscribeTraffic": "Subscribe Traffic Log",
"trafficDetails": "Traffic Details"
}
}
+3 -1
View File
@@ -17,6 +17,8 @@
"Logs & Analytics": "Logs & Analytics",
"Maintenance": "Maintenance",
"Marketing Management": "Marketing Management",
"Message": "Message",
"Mobile": "SMS",
"Node Management": "Node Management",
"Order Management": "Order Management",
"Payment Config": "Payment Config",
@@ -24,7 +26,6 @@
"Register": "Register",
"Reset Subscribe": "Reset Subscribe",
"SMS": "SMS",
"Server Management": "Server Management",
"Server Traffic": "Server Traffic",
"Subscribe": "Subscribe",
@@ -35,6 +36,7 @@
"System Tool": "System Tool",
"Ticket Management": "Ticket Management",
"Traffic Details": "Traffic Details",
"User Detail": "User Detail",
"User Management": "User Management",
"Users & Support": "Users & Support"
+1
View File
@@ -30,6 +30,7 @@ export default getRequestConfig(async () => {
'index': (await import(`./${locale}/index.json`)).default,
'subscribe': (await import(`./${locale}/subscribe.json`)).default,
'marketing': (await import(`./${locale}/marketing.json`)).default,
'log': (await import(`./${locale}/log.json`)).default,
};
return {
+2 -18
View File
@@ -51,8 +51,6 @@
"enable": "启用",
"enableDescription": "启用后,将启用电子邮件注册、登录、绑定和解绑功能",
"inputPlaceholder": "输入值...",
"logs": "邮件日志",
"logsDescription": "查看已发送电子邮件的历史记录及其状态",
"sendFailure": "测试邮件发送失败,请检查配置。",
"sendSuccess": "测试邮件发送成功。",
"sendTestEmail": "发送测试邮件",
@@ -145,19 +143,7 @@
"enable": "启用",
"enableDescription": "启用后,用户可以使用他们的 Google 帐户登录"
},
"log": {
"emailLog": "邮件日志",
"mobileLog": "短信日志",
"platform": "平台",
"to": "接收人",
"subject": "主题",
"content": "内容",
"status": "状态",
"sendSuccess": "发送成功",
"sendFailed": "发送失败",
"createdAt": "创建时间",
"updatedAt": "更新时间"
},
"phone": {
"title": "手机登录",
"description": "使用手机号码进行身份验证",
@@ -188,9 +174,7 @@
"sendSuccess": "发送成功",
"sendFailed": "发送失败",
"updateSuccess": "更新成功",
"settings": "设置",
"logs": "短信日志",
"logsDescription": "查看已发送短信的历史记录及其状态"
"settings": "设置"
},
"socialAuthMethods": "社交认证方式",
"telegram": {
+60
View File
@@ -0,0 +1,60 @@
{
"column": {
"id": "ID",
"platform": "平台",
"to": "收件人",
"subject": "主题",
"content": "内容",
"status": "状态",
"createdAt": "创建时间",
"updatedAt": "更新时间",
"user": "用户",
"method": "方式",
"ip": "IP",
"userAgent": "UA",
"success": "成功",
"time": "时间",
"userId": "用户ID",
"subscribeId": "订阅ID",
"token": "令牌",
"amount": "金额",
"orderId": "订单ID",
"balance": "余额",
"type": "类型",
"remark": "备注",
"resetAt": "重置时间",
"upload": "上传",
"download": "下载",
"total": "总计",
"date": "日期",
"serverId": "服务器ID",
"orderNo": "订单号",
"identifier": "标识"
},
"datePlaceholder": "YYYY-MM-DD",
"failed": "失败",
"placeholder": {
"toOrSubject": "收件人 / 主题",
"userIdOrIpOrMethodOrUa": "用户ID / IP / 方式 / UA",
"userId": "用户ID",
"serverName": "服务器名称",
"userIdOrTokenOrIpOrUa": "用户ID / Token / IP / UA",
"userIdOrOrderNoOrSubscribeId": "用户ID / 订单号 / 订阅ID",
"userIdOrOrderId": "用户ID / 订单ID"
},
"success": "成功",
"title": {
"email": "邮件日志",
"login": "登录日志",
"serverTraffic": "服务器流量日志",
"mobile": "短信日志",
"register": "注册日志",
"subscribe": "订阅日志",
"gift": "赠送日志",
"balance": "余额日志",
"commission": "佣金日志",
"resetSubscribe": "重置订阅日志",
"subscribeTraffic": "订阅流量日志",
"trafficDetails": "流量明细"
}
}
+5 -3
View File
@@ -17,6 +17,8 @@
"Logs & Analytics": "日志与分析",
"Maintenance": "运维",
"Marketing Management": "营销管理",
"Message": "消息日志",
"Mobile": "短信日志",
"Node Management": "节点管理",
"Order Management": "订单管理",
"Payment Config": "支付配置",
@@ -24,9 +26,8 @@
"Register": "注册日志",
"Reset Subscribe": "重置订阅",
"SMS": "短信日志",
"Server Management": "服务管理",
"Server Traffic": "服务流量",
"Server Management": "服务器管理",
"Server Traffic": "服务器流量",
"Subscribe": "订阅日志",
"Subscribe Config": "订阅配置",
"Subscribe Traffic": "订阅流量",
@@ -35,6 +36,7 @@
"System Tool": "系统工具",
"Ticket Management": "工单管理",
"Traffic Details": "流量明细",
"User Detail": "用户详情",
"User Management": "用户管理",
"Users & Support": "用户与支持"