P7: restore agent node type, agent heartbeat expiry, build-version injection, remove log/history/xray-metrics modules, optional sub port
- nodes: port node-type (traditional/agent) picker back from web-src into the embedded frontend; backend annotates NodeView.nodeType from agent_nodes bindings; fix agent-node update path (skip reachability probe and apiToken requirement for agent-managed nodes); restore i18n keys in all 13 locales; install command now uses the Gitea mirror - jobs: expire agent-bound nodes whose agent_nodes.last_seen is older than max(3x heartbeat interval, 120s) = 180s; last_seen=0 (never registered) is left untouched; transitions reuse UpdateHeartbeat + node event broadcast - config: GetBaseVersion honors ldflags-injected buildVersion; release builds inject 3.7.0-agent.1 so the panel no longer reports a phantom update against the Gitea release tag - logger/server: remove the three log viewers (panel/xray/amneziawg), their API endpoints and the 10240-entry in-memory log buffer; file logging via lumberjack unchanged; tests assert via a new optional logger hook instead of the removed buffer - server: remove system history and xray metrics modules end to end (endpoints, sampling appends in RefreshStatus, per-minute persist cron, gob snapshot/restore, XrayMetricsService); realtime status and per-node history are untouched - settings: subPort may be 0/unset - subscription links are generated without a port while the subscription service keeps binding the default 2096; the settings form declares the cleared state via onNumber's new onClear option instead of snapping back to 1
This commit is contained in:
@@ -136,45 +136,6 @@
|
||||
"currentCommit": "الكومِت الحالي",
|
||||
"latestCommit": "أحدث كومِت",
|
||||
"updateChannelChanged": "تم تغيير قناة التحديث",
|
||||
"systemHistoryTitle": "تاريخ النظام",
|
||||
"historyTitleCpu": "استخدام المعالج",
|
||||
"historyTitleMem": "استخدام الذاكرة",
|
||||
"historyTitleNetwork": "عرض النطاق الترددي للشبكة",
|
||||
"historyTitlePackets": "حزم الشبكة",
|
||||
"historyTitleDisk": "إدخال/إخراج القرص",
|
||||
"historyTitleOnline": "العملاء المتصلون",
|
||||
"historyTitleLoad": "متوسط حمل النظام (1 / 5 / 15 دقيقة)",
|
||||
"historyTitleConnections": "الاتصالات النشطة (TCP / UDP)",
|
||||
"historyTitleDiskUsage": "استخدام مساحة القرص",
|
||||
"historyTabBandwidth": "عرض النطاق",
|
||||
"historyTabPackets": "الحزم",
|
||||
"historyTabDisk": "قرص I/O",
|
||||
"historyTabOnline": "متصل",
|
||||
"historyTabLoad": "الحِمل",
|
||||
"historyTabConnections": "الاتصالات",
|
||||
"historyTabDiskUsage": "استخدام القرص",
|
||||
"xrayMetricsTitle": "مقاييس Xray",
|
||||
"xrayTitleHeap": "ذاكرة الكومة المخصصة",
|
||||
"xrayTitleSys": "الذاكرة المحجوزة من نظام التشغيل",
|
||||
"xrayTitleObjects": "كائنات الكومة النشطة",
|
||||
"xrayTitleGcCount": "دورات GC المكتملة",
|
||||
"xrayTitleGcPause": "مدة توقف GC",
|
||||
"xrayTitleObservatory": "صحة الاتصال الصادر",
|
||||
"xrayTabHeap": "Heap",
|
||||
"xrayTabSys": "Sys",
|
||||
"xrayTabObjects": "الكائنات",
|
||||
"xrayTabGcCount": "عدد GC",
|
||||
"xrayTabGcPause": "توقف GC",
|
||||
"xrayTabObservatory": "المرصد",
|
||||
"xrayMetricsDisabled": "نقطة نهاية مقاييس Xray غير مهيأة",
|
||||
"xrayMetricsHint": "أضف كتلة metrics على المستوى الأعلى في إعدادات xray مع tag باسم metrics_out و listen على 127.0.0.1:11111، ثم أعد تشغيل xray.",
|
||||
"xrayObservatoryEmpty": "لا توجد بيانات Observatory بعد",
|
||||
"xrayObservatoryHint": "أضف كتلة observatory إلى إعدادات xray مع قائمة وسوم outbound للفحص، ثم أعد تشغيل xray.",
|
||||
"xrayObservatoryTagPlaceholder": "اختر outbound",
|
||||
"xrayObservatoryAlive": "نشط",
|
||||
"xrayObservatoryDead": "غير متصل",
|
||||
"xrayObservatoryLastSeen": "آخر مشاهدة",
|
||||
"xrayObservatoryLastTry": "آخر محاولة",
|
||||
"connectionCount": "إحصائيات الاتصال",
|
||||
"ipAddresses": "عناوين IP",
|
||||
"toggleIpVisibility": "بدل إظهار IP",
|
||||
@@ -191,18 +152,6 @@
|
||||
"panelUpdateUnknownTitle": "تعذّر التأكد من اكتمال التحديث",
|
||||
"panelUpdateUnknownDesc": "لم تُبلغ اللوحة بنتيجة في الوقت المحدد. أعد تحميل الصفحة للتحقق من الإصدار الحالي، أو تحقق من سجلات الخادم.",
|
||||
"dontRefresh": "التثبيت شغال، متعملش Refresh للصفحة",
|
||||
"logs": "السجلات",
|
||||
"accessLogs": "سجلات الوصول",
|
||||
"autoUpdate": "تحديث تلقائي",
|
||||
"amneziawgLogs": "سجلات AmneziaWG",
|
||||
"amneziawgHandshake": "آخر مصافحة",
|
||||
"amneziawgInterface": "الواجهة",
|
||||
"amneziawgInbound": "الوارد",
|
||||
"amneziawgEndpoint": "نقطة الاتصال",
|
||||
"amneziawgIdle": "خامل",
|
||||
"amneziawgEvents": "الأحداث",
|
||||
"amneziawgNoPeers": "لا يوجد أقران AmneziaWG نشطون حاليًا",
|
||||
"amneziawgNoEvents": "لم تُسجَّل أحداث AmneziaWG بعد",
|
||||
"config": "الإعدادات",
|
||||
"backupTitle": "نسخ احتياطي واستعادة",
|
||||
"exportDatabase": "اخزن نسخة",
|
||||
@@ -219,25 +168,14 @@
|
||||
"importDatabasePgDesc": "انقر لاختيار ورفع نسخة احتياطية من PostgreSQL (.dump) أو قاعدة بيانات SQLite (.db) أو ملف ترحيل SQLite لاستعادة قاعدة البيانات. سيؤدي هذا إلى استبدال جميع البيانات الحالية.",
|
||||
"migrationDownload": "تنزيل ملف الترحيل",
|
||||
"migrationDownloadPgDesc": "انقر لتنزيل قاعدة بيانات SQLite بامتداد .db مبنية من بيانات PostgreSQL الخاصة بك، جاهزة لتشغيل هذه اللوحة على SQLite.",
|
||||
"avg": "متوسط",
|
||||
"peak": "ذروة",
|
||||
"free": "متاح",
|
||||
"openSockets": "مقابس مفتوحة",
|
||||
"throughputSub": "إجمالي الواجهة",
|
||||
"avgWindow": "متوسط الفترة",
|
||||
"healthWarm": "{list} — مرتفع قليلاً",
|
||||
"healthCritical": "{list} — حرج",
|
||||
"panel": "اللوحة",
|
||||
"threads": "الخيوط",
|
||||
"uptime": "مدة التشغيل",
|
||||
"logLevelDebug": "Debug",
|
||||
"logLevelInfo": "Info",
|
||||
"logLevelNotice": "Notice",
|
||||
"logLevelWarning": "Warning",
|
||||
"logLevelError": "Error",
|
||||
"accessDirect": "DIRECT",
|
||||
"accessBlocked": "BLOCKED",
|
||||
"accessProxy": "PROXY",
|
||||
"importKeepHostSettings": "الاحتفاظ بإعدادات هذا الجهاز",
|
||||
"importKeepHostSettingsDesc": "يحتفظ بعناوين الاستماع والمنافذ والمسار الأساسي والشهادات وهوية العقدة الخاصة بهذه اللوحة بدلًا من أخذها من الملف المرفوع."
|
||||
},
|
||||
@@ -970,7 +908,19 @@
|
||||
"pinnedCertPlaceholder": "SHA-256 بصيغة base64 أو hex",
|
||||
"fetchPin": "جلب",
|
||||
"pinFetched": "تم جلب شهادة العقدة الحالية",
|
||||
"pinFetchFailed": "تعذّر جلب الشهادة"
|
||||
"pinFetchFailed": "تعذّر جلب الشهادة",
|
||||
"nodeType": "Node Type",
|
||||
"nodeTypeTraditional": "Traditional Panel Node",
|
||||
"nodeTypeAgent": "Agent Lightweight Node",
|
||||
"agentHint": "Agent nodes connect out to the master; no address, port or API token needed. An install command is generated on creation.",
|
||||
"agentTokenTitle": "Agent Node Setup",
|
||||
"agentTokenCreated": "Node {{name}} created successfully",
|
||||
"agentTokenHint": "Copy the command below and run it on the node machine. This token is shown only once!",
|
||||
"agentTokenInstructions": "The command downloads the installer, configures the master URL and token. The node comes online in ~30s.",
|
||||
"agentTokenCopied": "Install command copied",
|
||||
"agentTokenCopyFailed": "Copy failed, please copy manually",
|
||||
"copyToken": "Copy Install Command",
|
||||
"agentMasterUrlHint": "Master URL (used by agent to reach the master; change to public address if behind proxy):"
|
||||
},
|
||||
"settings": {
|
||||
"defaultTag": "افتراضي",
|
||||
@@ -1725,4 +1675,4 @@
|
||||
"noIpRecord": "❗ لا يوجد سجل IP!"
|
||||
},
|
||||
"email": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user