feat: add backend, admin console and live monitoring

Integrate tunasync management, SQLite authentication and content settings, real monitoring and per-repository pull speeds. Add Chinese-only announcements and mirror help, editable related links, admin layout updates, deployment tools and tests.
This commit is contained in:
2026-11-01 18:04:01 +08:00
parent addadd7d15
commit f8cef413d6
57 changed files with 4222 additions and 101 deletions
+9
View File
@@ -1,4 +1,13 @@
export default {
skipAdmin: 'Skip to administration',
loading: 'Loading mirrors…',
stale: 'Connection interrupted. Showing the last collected data.',
unavailable: 'Mirror data is unavailable. Refresh shortly.',
noAnnouncements: 'No announcements',
noDownloads: 'No downloads configured',
noHelp: 'No usage guide has been added for this mirror.',
openDirectory: 'Browse mirror directory',
"brand": "MirrorOUC",
"university": "Ocean University of China",
"siteName": "Ocean University of China Software Mirrors",
+11 -1
View File
@@ -1,4 +1,14 @@
export default {
speedCollecting: 'Sampling',
speedDescription: 'TCP receive rate across this mirror’s parallel upstream connections, sampled about every 2 seconds.',
speedUnits: { bytes: '{value} B/s', kilobytes: '{value} KB/s', megabytes: '{value} MB/s', gigabytes: '{value} GB/s' },
live: 'Live monitoring',
stale: 'Metrics collection interrupted',
loading: 'Loading monitoring data…',
unavailable: 'Monitoring data is unavailable.',
collecting: 'Waiting for valid samples…',
capacityGB: '{value} GB',
title: 'Server monitoring',
demo: 'Demo data',
range: 'Monitoring time range',
@@ -33,6 +43,6 @@ export default {
chartHelp: '{title}. Use Left / Right to inspect samples, Home / End to jump to the endpoints, and Esc to dismiss the tooltip.',
toggleSeries: 'Show or hide {name}',
search: 'Search mirrors or upstream URLs…',
columns: { name: 'Mirror', update: 'Sync time', upstream: 'Upstream', status: 'Status', size: 'Size' },
columns: { speed: 'Pull speed', name: 'Mirror', update: 'Sync time', upstream: 'Upstream', status: 'Status', size: 'Size' },
syncTime: { success: 'Last successful sync', attempt: 'Last attempted sync', started: 'Sync started', next: 'Next scheduled sync' },
}