From 39bbc036cdc643999649c975819fa7351fd78903 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 31 Mar 2026 19:38:23 +0200 Subject: [PATCH] update system-logs.tsx --- AppImage/components/system-logs.tsx | 6 +++--- AppImage/scripts/flask_notification_routes.py | 2 +- AppImage/scripts/notification_manager.py | 2 +- AppImage/scripts/startup_grace.py | 2 +- AppImage/scripts/test_real_events.sh | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/AppImage/components/system-logs.tsx b/AppImage/components/system-logs.tsx index 0166dc58..54610810 100644 --- a/AppImage/components/system-logs.tsx +++ b/AppImage/components/system-logs.tsx @@ -794,8 +794,8 @@ export function SystemLogs() { - -
+ +
{displayedLogs.map((log, index) => { // Generate a more stable unique key const timestampMs = new Date(log.timestamp).getTime() @@ -806,7 +806,7 @@ export function SystemLogs() { return (
{ if (log.eventData) { setSelectedEvent(log.eventData) diff --git a/AppImage/scripts/flask_notification_routes.py b/AppImage/scripts/flask_notification_routes.py index 9307a7e8..7c3294b7 100644 --- a/AppImage/scripts/flask_notification_routes.py +++ b/AppImage/scripts/flask_notification_routes.py @@ -855,7 +855,7 @@ def proxmox_webhook(): resp.headers['Retry-After'] = '60' return resp, 429 - # ��─ Layers 2-5: Remote-only checks ── + # ── Layers 2-5: Remote-only checks ── if not is_localhost: # Layer 2: Shared secret try: diff --git a/AppImage/scripts/notification_manager.py b/AppImage/scripts/notification_manager.py index d6174d30..f131cbae 100644 --- a/AppImage/scripts/notification_manager.py +++ b/AppImage/scripts/notification_manager.py @@ -1858,7 +1858,7 @@ class NotificationManager: return {'checked': False, 'migrated': False, 'message': str(e)} -# ─── Singleton (for server mode) ───────────────────────────────── +# ─── Singleton (for server mode) ────────────────────────────────��� notification_manager = NotificationManager() diff --git a/AppImage/scripts/startup_grace.py b/AppImage/scripts/startup_grace.py index 33a92df8..eaf65ec2 100644 --- a/AppImage/scripts/startup_grace.py +++ b/AppImage/scripts/startup_grace.py @@ -21,7 +21,7 @@ import time import threading from typing import Set, List, Tuple, Optional -# ─── Configuration ─────────────────────────────────────────────────────────── +# ─── Configuration ───────────────────────���─────────────────────────────────── # Grace period durations (seconds) STARTUP_VM_GRACE_SECONDS = 180 # 3 minutes for VM/CT start aggregation diff --git a/AppImage/scripts/test_real_events.sh b/AppImage/scripts/test_real_events.sh index 8e377f76..41a457d4 100644 --- a/AppImage/scripts/test_real_events.sh +++ b/AppImage/scripts/test_real_events.sh @@ -34,7 +34,7 @@ LOG_FILE="/tmp/proxmenux_real_test_$(date +%Y%m%d_%H%M%S).log" log() { echo -e "$1" | tee -a "$LOG_FILE"; } header() { echo "" | tee -a "$LOG_FILE" - echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}" | tee -a "$LOG_FILE" + echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━��━━━━━━━━━━━━━${NC}" | tee -a "$LOG_FILE" echo -e "${BOLD} $1${NC}" | tee -a "$LOG_FILE" echo -e "${BOLD}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}" | tee -a "$LOG_FILE" } @@ -684,7 +684,7 @@ show_menu() { echo -ne " Select: " } -# ── Main ──────────────────────────────────────────────────────── +# ── Main ────────────────────────────────────────���─────────────── main() { local mode="${1:-menu}"