mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
Add traffic, reports, settings, and health features to ban system admin panel
- Introduced new interfaces for traffic, reports, settings, and health responses in the ban system API. - Implemented API calls for fetching traffic statistics, top users, settings management, and health status. - Enhanced the AdminBanSystem component to display traffic statistics, recent violations, report summaries, and system health. - Updated localization files to include new keys for traffic, reports, settings, and health sections.
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
"and": "and",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"currency": "$"
|
||||
"currency": "$",
|
||||
"refresh": "Refresh"
|
||||
},
|
||||
"nav": {
|
||||
"dashboard": "Dashboard",
|
||||
@@ -758,7 +759,11 @@
|
||||
"punishments": "Bans",
|
||||
"nodes": "Nodes",
|
||||
"agents": "Agents",
|
||||
"violations": "Violations"
|
||||
"violations": "Violations",
|
||||
"traffic": "Traffic",
|
||||
"reports": "Reports",
|
||||
"settings": "Settings",
|
||||
"health": "Health"
|
||||
},
|
||||
"stats": {
|
||||
"activeUsers": "Active Users",
|
||||
@@ -939,6 +944,45 @@
|
||||
"noViolations": "No violations found",
|
||||
"yes": "Yes",
|
||||
"no": "No"
|
||||
},
|
||||
"traffic": {
|
||||
"title": "Traffic Statistics",
|
||||
"enabled": "Traffic Monitoring",
|
||||
"topUsers": "Top by Traffic",
|
||||
"username": "User",
|
||||
"bytesTotal": "Total",
|
||||
"bytesLimit": "Limit",
|
||||
"status": "Status",
|
||||
"overLimit": "Over Limit",
|
||||
"ok": "OK",
|
||||
"recentViolations": "Recent Violations"
|
||||
},
|
||||
"reports": {
|
||||
"title": "Period Reports",
|
||||
"period": "Period",
|
||||
"currentUsers": "Active Users",
|
||||
"currentIps": "Unique IPs",
|
||||
"topViolators": "Top Violators",
|
||||
"username": "User",
|
||||
"count": "Violations"
|
||||
},
|
||||
"settings": {
|
||||
"title": "System Settings",
|
||||
"general": "General",
|
||||
"limits": "Limits",
|
||||
"notifications": "Notifications",
|
||||
"whitelist": "Whitelist",
|
||||
"saved": "Setting saved",
|
||||
"error": "Error saving"
|
||||
},
|
||||
"health": {
|
||||
"title": "System Health",
|
||||
"systemStatus": "System Status",
|
||||
"healthy": "Healthy",
|
||||
"degraded": "Degraded",
|
||||
"unhealthy": "Unhealthy",
|
||||
"components": "Components",
|
||||
"uptime": "Uptime"
|
||||
}
|
||||
},
|
||||
"profile": {
|
||||
|
||||
Reference in New Issue
Block a user