-
Notifications
You must be signed in to change notification settings - Fork 1
Comparing changes
Open a pull request
base repository: morfredus/GatewayLab
base: v1.4.3
head repository: morfredus/GatewayLab
compare: v1.7.0
- 10 commits
- 49 files changed
- 1 contributor
Commits on Jul 11, 2026
-
Enhance logging, topology discovery, and update project versions (#84)
* Mise à jour de la version à 1.0.5, correction du filtre « Favoris uniquement » sur la page Historique pour inclure les adresses IP et mise à jour des fichiers associés. * Mise à jour de la version à 1.0.6, correction du filtre « Favoris uniquement » sur la page Historique pour traiter correctement la réponse de l'API et inclure les adresses MAC et IP. * Ajout: journal de redémarrage temporaire pour le débogage (Patch 7 / v1.0.7) Cette mise à jour introduit un nouveau module de journalisation des redémarrages, permettant de capturer la raison du dernier reset (panic, watchdog, brownout, reset logiciel/externe) ainsi que les derniers logs émis avant le reboot, sans nécessiter de moniteur série. Nouveau module `src/modules/boot_log.h/.cpp` : implémentation d'un buffer circulaire en RAM RTC_NOINIT_ATTR, persistant au reboot suivant dans `/bootlog.json` sur LittleFS (10 derniers démarrages, FIFO). Ajout d'une page `/debug` et d'une API GET/DELETE `/api/bootlog`. Conçu pour un retrait facile après débogage : toutes les modifications sont marquées "DEBOGAGE TEMPORAIRE" dans le code, avec une procédure de retrait documentée dans `docs/DEVELOPMENT.md`. * Refactor code structure for improved readability and maintainability * feat: Update to version 1.0.8 with enhanced boot logging features - Updated version badge in README.md to 1.0.8. - Added detailed logging of boot statistics including boot and crash counts, internal temperature, last known state before reset, and periodic runtime statistics in ROADMAP.md. - Expanded boot log functionality in DEVELOPMENT.md, detailing new features and usage. - Configured new logging parameters in app_config.h for log buffer size and line length. - Enhanced web interface for boot log display, including additional metadata in debug.js. - Updated platformio.ini to reflect new version. - Modified main.cpp to set last task in boot log during network scan and save operations. - Improved boot_log module to capture and persist additional runtime statistics and device counts. - Refactored web_server module to utilize a new route registration method that tracks API calls and page serves for better logging. * Update site tags for consistency across web pages - Changed site tag from "Passerelle réseau locale" to "Topologie du réseau" in topology.html - Updated site tag to "Accueil" in index.html - Modified site tag to "Historique" in history.html - Changed site tag to "Logs de Debug" in debug.html * Ajout d'un en-tête Cache-Control pour éviter le cache du navigateur sur la page de débogage * Fix boot log loading error handling and response parsing - Added error handling for non-OK HTTP responses in loadBootLog. - Changed response handling to first read as text and then parse JSON. - Improved error logging for JSON parsing failures. - Updated footer timestamp display on successful load and error conditions. * Mise à jour de la constante kMagic et ajout d'un message d'erreur pour le montage de LittleFS * feat: ajout du sondage de broker MQTT avec récupération des informations de version et de clients connectés * . * feat: Update project version to 1.1.0 and integrate DHCP passive fingerprinting - Updated project version in platformio.ini from 1.0.9 to 1.1.0. - Added DHCP sniffer module for passive fingerprinting of devices on the network. - Integrated DHCP sniffer into main application flow, allowing for continuous monitoring of DHCP packets. - Enhanced network scanner to utilize DHCP fingerprints for device enrichment. - Updated web interface to display new DHCP source information with appropriate styling. - Added new styles for DHCP and MQTT sources in styles.css. * Ajoute une trace de déconnexion brève pour les mobiles et regroupe les reconnexions en chaîne * feat: add manual topology parent declaration for network devices - Implemented `setTopologyParent` function in NetworkScanner to allow users to manually declare the parent device (AP/repeater/switch) for a network device. - Updated NetworkDevice structure to include `topologyParent` attribute. - Enhanced device enrichment with `applyMeshDetection` to identify mesh WiFi devices based on hostname. - Added API endpoint `/api/topology/parent` to handle topology parent declarations. - Introduced a new topology visualization page with SVG rendering for network devices and their relationships. - Updated web interface to allow users to assign parent devices manually and display the network topology. - Enhanced CSS styles for the topology page for better visual representation. * feat: add topology root management to network scanner - Implemented setTopologyRoot and getTopologyRoot methods in NetworkScanner to manage the root of the network topology. - Added corresponding API endpoints in WebServerModule for setting and getting the topology root. - Enhanced the web interface to allow users to select and display the current topology root. - Updated styles and scripts to support the new topology root selection feature. - Improved tree rendering logic to accommodate user-defined topology roots. * Refactor code structure for improved readability and maintainability * feat: Introduce automatic periodic re-identification for generic devices - Added a periodic rescan feature for devices categorized as "IoT" or "Identification en cours" every 60 minutes. - Implemented a "Rescan non identifiés" button on the Equipment page to manually trigger a deep scan for all currently generic devices. - Centralized the identification of generic categories into a shared helper function `isGenericCategory()`. - Updated the network scanning logic to utilize the new helper for better handling of device categories. - Enhanced the user interface to reflect the new scanning capabilities and provide feedback during rescans. * feat: Ajoute la découverte automatique de la topologie réseau par SNMP (v1.4.0) * feat: Ajoute le taux de confiance pour la découverte automatique de topologie et améliore l'affichage des rattachements dans l'interface * Ajout de la fonctionnalité de scan croisé multi-sous-réseaux pour améliorer la découverte des appareils dans des configurations NAT complexes dasn la ROADMAP * feat: Ajoute la date et l'heure des événements dans le journal de redémarrage et met à jour la version à 1.4.2 * feat: Corrige une fuite de socket potentielle dans le scan de ports et met à jour la version à 1.4.3 * feat: Met à jour la version à 1.4.4 et corrige des incohérences sur la page `/debug` * Bump project version to 1.4.6 and enhance network scanner functionality - Updated project version in platformio.ini to 1.4.6. - Reset device online status before scanning to prevent false positives. - Introduced a new device window to classify devices detected within the last 24 hours. - Added a new filter option for "New" devices in the web interface. - Enhanced the UI to display new device status and updated styles accordingly. - Improved topology visualization to differentiate devices directly connected to the root or access points. * Update project version to 1.4.7 and enhance SNMP topology discovery - Updated PROJECT_VERSION in platformio.ini from 1.4.6 to 1.4.7. - Modified network_scanner.cpp to improve the SNMP topology discovery process: - Changed the logic to query all online devices instead of only those previously guessed as routers or repeaters. - Introduced a new set to track devices that respond with a non-empty bridging table, confirming their role as AP/repeater/switch. - Updated the timeout for SNMP queries to 200ms for better performance. - Added logic to label devices confirmed as AP/repeater based on their bridging table response. * feat: Met à jour la version à 1.4.8 et corrige l'incohérence du compteur « vu Nx » dans le suivi des équipements * feat: Met à jour la version à 1.4.10, ajoute le support pour les caméras X-Sense et corrige le comptage "vu Nx" * feat: Met à jour la version à 1.4.11, ajoute le support pour les caméras Xiaomi et corrige le nombre d'entrées OUI * feat: Met à jour la version à 1.4.12, corrige l'incohérence du compteur « vu 2x » lors du premier scan * feat: Met à jour la version à 1.5.0, ajoute le miroir TCP du moniteur série et améliore la connectivité sans fil * feat: Met à jour la version à 1.5.1, corrige la corruption du flux TCP du moniteur série et ajoute un mutex pour la sécurité des écritures * feat: Met à jour la version à 1.6.0, remplace le miroir TCP du moniteur série par un broadcast UDP pour une meilleure connectivité et une gestion simplifiée des connexions * feat: Ajoute le fichier .gitattributes pour gérer les fins de ligne et le traitement des fichiers texte * Changement du mSDN : gatwaylab.local (a la place de gateway-lab.local)
Configuration menu - View commit details
-
Copy full SHA for ebe891c - Browse repository at this point
Copy the full SHA ebe891cView commit details
Commits on Jul 20, 2026
-
Mise à jour de la documentation : amélioration des instructions d'ins…
…tallation et de configuration, correction des liens et clarification des étapes de compilation.
Configuration menu - View commit details
-
Copy full SHA for 09f3882 - Browse repository at this point
Copy the full SHA 09f3882View commit details
Commits on Jul 21, 2026
-
Ajout d'un fichier VERSION pour gérer la version du projet et mise à …
…jour de platformio.ini pour l'injecter correctement. Création d'un script version.py pour automatiser ce processus.
Configuration menu - View commit details
-
Copy full SHA for a4f3155 - Browse repository at this point
Copy the full SHA a4f3155View commit details -
Mise à jour de la version à 1.7.0 et ajout de l'annonce de présence s…
…ur le LAN via le protocole morfbeacon/1. Ajout de la route GET /status pour la découverte du service. Documentation mise à jour pour refléter ces changements.
Configuration menu - View commit details
-
Copy full SHA for 22243d4 - Browse repository at this point
Copy the full SHA 22243d4View commit details
Commits on Jul 22, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 1192dbd - Browse repository at this point
Copy the full SHA 1192dbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d6a3e - Browse repository at this point
Copy the full SHA 70d6a3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c03285 - Browse repository at this point
Copy the full SHA 5c03285View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f8e496 - Browse repository at this point
Copy the full SHA 0f8e496View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84cca16 - Browse repository at this point
Copy the full SHA 84cca16View commit details
Commits on Jul 24, 2026
-
Ajout de nouveaux modèles de demande de fonctionnalité, de question e…
…t de rapport de bug pour améliorer la documentation des contributions.
Configuration menu - View commit details
-
Copy full SHA for 76274f0 - Browse repository at this point
Copy the full SHA 76274f0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.4.3...v1.7.0