diff --git a/VERSION b/VERSION index 77fee73..d615fd0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.9.3 +1.9.4 diff --git a/changelog.json b/changelog.json index 049ef8b..0b1f15c 100644 --- a/changelog.json +++ b/changelog.json @@ -1,5 +1,18 @@ { "versions": [ + { + "version": "1.9.4", + "date": "2026-05-20", + "changes": { + "features": [ + "logs.html: bouton 'WiFi connect logs' qui ouvre un modal affichant le contenu de logs/wifi_connect.log (introduit en v1.9.3), avec bouton Refresh. Permet de récupérer la chronologie complète d'une tentative de connexion WiFi directement depuis l'UI admin, sans passer en SSH" + ], + "improvements": [], + "fixes": [], + "compatibility": [] + }, + "notes": "Complète la v1.9.3 en rendant accessible le nouveau log dédié depuis l'interface admin (le fichier était écrit mais pas affiché dans la page Journal)." + }, { "version": "1.9.3", "date": "2026-05-20", diff --git a/html/logs.html b/html/logs.html index f88605e..60fc562 100755 --- a/html/logs.html +++ b/html/logs.html @@ -51,6 +51,11 @@

Le journal

Le journal des logs permet de savoir si les processus du capteur se déroulent correctement.

+
+ +
@@ -83,6 +88,21 @@
+ + +
@@ -187,6 +207,12 @@ window.onload = function() { }//end onload +function loadWifiLog() { + const container = document.getElementById('card_wifi_content'); + if (!container) return; + displayLogFile('../logs/wifi_connect.log', container, true, 1000); +} + function displayLogFile(logFilePath, containerElement, scrollToBottom = true, maxLines = 0) { // Show loading indicator containerElement.innerHTML = '
Loading log file...
';