feat: add authenticated WebSerial log viewer

This commit is contained in:
Yurii committed 2026-10-20 07:05:00 +03:00
1 parent 734615e7b5
commit 959a15c11f
9 files changed
+822 -3

No files matched your search

+26
View File
@@ -505,6 +505,32 @@
}
}
},
"logs": {
"title": "日志 - OpenTherm Gateway",
"name": "日志",
"desc": "实时设备日志。",
"status": {
"connecting": "正在连接...",
"connected": "已连接",
"disconnected": "已断开连接"
},
"autoscroll": "自动滚动",
"limitHistory": "最多保留 1000 条日志",
"historyNote": "不限制历史记录会占用更多浏览器内存。下载包含所有保留的日志,包括被筛选器隐藏的日志。",
"filter": "筛选",
"search": {
"title": "搜索",
"previous": "上一个",
"next": "下一个"
},
"level": {
"note": "此级别适用于设备日志(Serial 和 WebSerial)。下方的筛选器仅影响显示。",
"loadError": "无法加载日志级别,请重试。",
"saveError": "无法保存日志级别,请检查连接后重试。"
},
"clear": "清空",
"download": "下载日志"
},
"upgrade": {
"title": "固件升级 - OpenTherm Gateway",
"name": "固件升级",
+26
View File
@@ -505,6 +505,32 @@
}
}
},
"logs": {
"title": "Logs - OpenTherm Gateway",
"name": "Logs",
"desc": "Device logs in real time.",
"status": {
"connecting": "Connecting...",
"connected": "Connected",
"disconnected": "Disconnected"
},
"autoscroll": "Autoscroll",
"limitHistory": "Keep at most 1000 entries",
"historyNote": "Unlimited history uses more browser memory. Downloads include all retained entries, including those hidden by the filter.",
"filter": "Filter",
"search": {
"title": "Search",
"previous": "Previous",
"next": "Next"
},
"level": {
"note": "The level applies to device logging (Serial and WebSerial). The filter below only changes the display.",
"loadError": "Could not load the log level. Retry the request.",
"saveError": "Could not save the log level. Check the connection and try again."
},
"clear": "Clear",
"download": "Download logs"
},
"upgrade": {
"title": "Upgrade - OpenTherm Gateway",
"name": "Upgrade",
+26
View File
@@ -505,6 +505,32 @@
}
}
},
"logs": {
"title": "Registro - OpenTherm Gateway",
"name": "Registro",
"desc": "Registro del dispositivo in tempo reale.",
"status": {
"connecting": "Connessione in corso...",
"connected": "Connesso",
"disconnected": "Disconnesso"
},
"autoscroll": "Scorrimento automatico",
"limitHistory": "Conserva al massimo 1000 voci",
"historyNote": "La cronologia illimitata usa più memoria del browser. Il download include tutte le voci conservate, anche quelle nascoste dal filtro.",
"filter": "Filtro",
"search": {
"title": "Cerca",
"previous": "Precedente",
"next": "Successivo"
},
"level": {
"note": "Il livello si applica al registro del dispositivo (Serial e WebSerial). Il filtro sottostante cambia solo la visualizzazione.",
"loadError": "Impossibile caricare il livello del registro. Riprovare la richiesta.",
"saveError": "Impossibile salvare il livello del registro. Controllare la connessione e riprovare."
},
"clear": "Cancella",
"download": "Scarica il registro"
},
"upgrade": {
"title": "Aggiornamenti - OpenTherm Gateway",
"name": "Aggiornamenti",
+26
View File
@@ -505,6 +505,32 @@
}
}
},
"logs": {
"title": "Logboek - OpenTherm Gateway",
"name": "Logboek",
"desc": "Apparaatlogboek in realtime.",
"status": {
"connecting": "Verbinden...",
"connected": "Verbonden",
"disconnected": "Verbinding verbroken"
},
"autoscroll": "Automatisch scrollen",
"limitHistory": "Bewaar maximaal 1000 regels",
"historyNote": "Onbeperkte geschiedenis gebruikt meer browsergeheugen. Downloads bevatten alle bewaarde regels, ook de regels die door het filter zijn verborgen.",
"filter": "Filter",
"search": {
"title": "Zoeken",
"previous": "Vorige",
"next": "Volgende"
},
"level": {
"note": "Het niveau geldt voor het apparaatlogboek (Serial en WebSerial). Het onderstaande filter wijzigt alleen de weergave.",
"loadError": "Het logniveau kon niet worden geladen. Probeer opnieuw.",
"saveError": "Het logniveau kon niet worden opgeslagen. Controleer de verbinding en probeer opnieuw."
},
"clear": "Wissen",
"download": "Logboek downloaden"
},
"upgrade": {
"title": "Upgrade - OpenTherm Gateway",
"name": "Upgrade",
+26
View File
@@ -505,6 +505,32 @@
}
}
},
"logs": {
"title": "Журнал - OpenTherm Gateway",
"name": "Журнал",
"desc": "Журнал устройства в реальном времени.",
"status": {
"connecting": "Подключение...",
"connected": "Подключено",
"disconnected": "Нет подключения"
},
"autoscroll": "Автопрокрутка",
"limitHistory": "Хранить не более 1000 записей",
"historyNote": "Без ограничения журнал использует больше памяти браузера. Скачиваются все сохранённые записи, включая скрытые фильтром.",
"filter": "Фильтр",
"search": {
"title": "Поиск",
"previous": "Назад",
"next": "Вперёд"
},
"level": {
"note": "Уровень применяется к журналу устройства (Serial и WebSerial). Фильтр ниже меняет только отображение.",
"loadError": "Не удалось загрузить уровень журнала. Повторите запрос.",
"saveError": "Не удалось сохранить уровень журнала. Проверьте соединение и повторите попытку."
},
"clear": "Очистить",
"download": "Скачать журнал"
},
"upgrade": {
"title": "Обновление - OpenTherm Gateway",
"name": "Обновление",