From 3ccb165658d925aebbcd809a7f402dac7c8c058b Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sun, 6 Apr 2025 08:40:25 +1000 Subject: [PATCH] docs + code checks + deviceDetails delay --- .github/workflows/code_checks.yml | 2 +- docs/PLUGINS.md | 5 ++++- front/deviceDetailsEdit.php | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 70a5a6ec..7dda0c13 100755 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -1,4 +1,4 @@ -name: URL Path Check +name: Code checks on: push: branches: diff --git a/docs/PLUGINS.md b/docs/PLUGINS.md index ef764a6b..09c8aac6 100755 --- a/docs/PLUGINS.md +++ b/docs/PLUGINS.md @@ -22,6 +22,9 @@ NetAlertX supports additional plugins to extend its functionality, each with its Device-detecting plugins insert values into the `CurrentScan` database table. The plugins that are not required are safe to ignore, however, it makes sense to have at least some device-detecting plugins enabled, such as `ARPSCAN` or `NMAPDEV`. +> [!NOTE] +> See tables below for a description of what the icons in the below Plugins table mean. + | ID | Type | Description | Features | Required | Data source | Detailed docs | |---------------|---------|--------------------------------------------|----------|----------|--------------|---------------------------------------------------------------------| @@ -36,7 +39,7 @@ Device-detecting plugins insert values into the `CurrentScan` database table. T | `DHCPLSS` | 🔍/📥/🆎| Import devices from DHCP leases | | | Script | [dhcp_leases](https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/dhcp_leases/) | | `DHCPSRVS` | ♻ | DHCP servers | | | Script | [dhcp_servers](https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/dhcp_servers/) | | `FREEBOX` | 🔍/♻/🆎| Pull data and names from Freebox/Iliadbox | | | Script | [freebox](https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/freebox/) | -| `ICMP` | 🔍 | ICMP (ping) status checker | | | Script | [icmp_scan](https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/icmp_scan/) | +| `ICMP` | ♻ | ICMP (ping) status checker | | | Script | [icmp_scan](https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/icmp_scan/) | | `INTRNT` | 🔍 | Internet IP scanner | | | Script | [internet_ip](https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/internet_ip/) | | `INTRSPD` | ♻ | Internet speed test | | | Script | [internet_speedtest](https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/internet_speedtest/) | | `IPNEIGH` | 🔍 | Scan ARP (IPv4) and NDP (IPv6) tables | | | Script | [ipneigh](https://github.com/jokob-sk/NetAlertX/tree/main/front/plugins/ipneigh/) | diff --git a/front/deviceDetailsEdit.php b/front/deviceDetailsEdit.php index 47605d9c..01668d96 100755 --- a/front/deviceDetailsEdit.php +++ b/front/deviceDetailsEdit.php @@ -266,7 +266,7 @@ }) - }, 1); + }, 100); }); } @@ -338,6 +338,7 @@ // ----------------------------------------------------------------------------- + // Save device data to DB function setDeviceData(direction = '', refreshCallback = '') { // Check MAC if (mac === '') {