Commit Graph
6828 Commits
Author SHA1 Message Date
jokob-sk 27aa36620e FE+DOCS: review fixes 2026-10-03 09:01:21 +10:00
Jokob @NetAlertX e663368698 Merge pull request #1820 from Svestis/fix/app-conf-string-escaping
Escape backslashes in string settings written to app.conf
2026-10-03 08:26:40 +10:00
jokob-sk 067a6a15ef FE+BE: review fixes #1828 #1826 2026-10-02 23:05:02 +10:00
jokob-sk bf20e89768 Merge branch 'next_release' of github.com:netalertx/NetAlertX into next_release 2026-10-02 22:44:23 +10:00
jokob-sk af79016ac8 PLG: FREEBOX presence L3 fix #1828 2026-10-02 22:44:11 +10:00
Jokob @NetAlertX 4ff4b331ca Merge pull request #1829 from netalertx/main
sync
2026-10-02 22:19:28 +10:00
jokob-sk 729e9cc481 FE: timestamp fix #1826 2026-10-02 22:08:56 +10:00
jokob-sk da6fbbbcb8 FE: timestamp fix #1826 2026-10-02 22:08:48 +10:00
jokob-sk ebf12bfb66 DOCS: readme cleanup 2026-10-01 20:40:26 +10:00
jokob-sk 7ca46a5c0d DOCS: skill cleanup 2026-10-01 20:37:19 +10:00
anton garcias b7a52b3b8f Translated using Weblate (Catalan)
Currently translated at 99.7% (851 of 853 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/ca/
2026-10-01 04:51:26 +02:00
Massimo Pissarello 84522a3596 Translated using Weblate (Italian)
Currently translated at 100.0% (853 of 853 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/it/
2026-10-01 04:51:24 +02:00
Sylvain Pichon 3c469e7cdd Translated using Weblate (French)
Currently translated at 98.3% (839 of 853 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/fr/
2026-10-01 04:51:22 +02:00
Jokob @NetAlertX 19aa886432 Merge pull request #1823 from netalertx/next_release
Next release
v26.10.0
2026-10-01 07:49:21 +10:00
jokob-sk 06d9ae9613 BE: Fix: NIC-Covered Parent Devices Miss Connected/Down Reconnected Events #1821 2026-10-01 07:41:17 +10:00
jokob-sk fbbdefb898 BE: Fix: NIC-Covered Parent Devices Miss Connected/Down Reconnected Events #1821 2026-09-30 22:01:04 +10:00
jokob-sk 5ac9c53142 BE: Fix: NIC-Covered Parent Devices Miss Connected/Down Reconnected Events #1821 2026-09-30 21:49:00 +10:00
jokob-sk 97379194fc Merge branch 'next_release' of github.com:netalertx/NetAlertX into next_release 2026-09-30 21:33:48 +10:00
jokob-sk b18fc0688a BE: Fix: NIC-Covered Parent Devices Miss Connected/Down Reconnected Events #1821 2026-09-30 21:33:33 +10:00
Jokob @NetAlertX 2cb149c7e1 Merge pull request #1822 from netalertx/main
sync
2026-09-30 07:54:34 +10:00
jokob-sk 4f7448b3c9 BE: NICs presence fixes orphan disconnect events for parent #1821 2026-09-30 07:53:07 +10:00
Panagiotis Koilakos 1c3139bb7b BE: address app.conf escaping review feedback
Keep encode_python_string() in front/php/server/util.php, replacing
encode_single_quotes() in place, and remove the standalone
app_conf_encode.php helper file and its require.

Rework the regression test to dispatch the real util.php savesettings
path through the PHP CLI against temporary synthetic config, API and
session directories, covering both scalar string and array string
settings: the generated app.conf must compile with warnings as errors
and parse back to the typed values.

The existing {s-quote} lifecycle is preserved (single quotes are still
written as {s-quote} and converted back by the same consumers), and the
app.conf readers in initialise.py and plugin_helper.py are unchanged.
2026-09-29 23:11:07 +02:00
Jokob @NetAlertX 04c07182f1 Merge pull request #1819 from netalertx/next_release
Next release
2026-09-29 14:40:48 +10:00
Massimo Pissarello e04a528314 Translated using Weblate (Italian)
Currently translated at 100.0% (841 of 841 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/it/
2026-09-29 01:51:24 +00:00
Marco Rios a4094cfce8 Translated using Weblate (Spanish)
Currently translated at 100.0% (841 of 841 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/es/
2026-09-29 01:51:22 +00:00
Ettore Atalan 2f94a2d8eb Translated using Weblate (German)
Currently translated at 87.7% (738 of 841 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/de/
2026-09-29 01:51:21 +00:00
Panagiotis Koilakos 6dbd3f8f29 BE: escape backslashes when serializing string settings to app.conf
app.conf is written by util.php saveSettings() as Python source and later
compiled/exec'd by the backend. String settings were emitted into
single-quoted Python literals with only ' encoded (as {s-quote}), so
backslashes were written raw. A regex such as 192\.0\.2\..* then produced
"SyntaxWarning: invalid escape sequence '\.'", valid Python escapes such as
\n were silently reinterpreted, and a trailing backslash made the file fail
to compile.

Move the encoder into a side-effect-free helper, app_conf_encode.php, as
encode_python_string(). It now doubles backslashes before the existing
{s-quote} replacement, so backslashes round-trip unchanged through app.conf
serialization and Python parsing, while single quotes keep using the legacy
{s-quote} placeholder. Both scalar string and array string serialization use
the helper.

Add regression tests that run the real PHP helper through the PHP CLI,
compile the generated source with warnings promoted to errors, and check
the scalar and array round trips.
2026-09-28 19:54:45 +02:00
jokob-sk 0d60071d49 BE+FE: System info -> Performance section 2026-09-28 21:32:16 +10:00
jokob-sk 66d13bd55c BE+FE: System info -> Performance section 2026-09-28 15:11:24 +10:00
jokob-sk 4aa2a0dddb BE+FE: System info -> Performance section 2026-09-28 14:40:11 +10:00
jokob-sk 491b60b49e DOCS: skill update 2026-09-28 13:29:00 +10:00
Jokob @NetAlertX d731838772 Merge pull request #1817 from netalertx/next_release
Next release
2026-09-28 07:58:55 +10:00
jokob-sk f0a833ccc8 BE: docstrings 2026-09-28 07:44:29 +10:00
jokob-sk c5081ba4c1 PLG: MQTT sanitization of input #1816 2026-09-28 07:38:33 +10:00
jokob-sk 8473fd82ee BE: fix conflict 2026-09-28 07:33:22 +10:00
jokob-sk fa5c62c9c3 BE: Stats Logging for Down Devices corrected #1818 2026-09-28 07:27:06 +10:00
jokob-sk 6d5760405b PLG: MQTT refactor 2026-09-28 07:03:55 +10:00
jokob-sk 81b28cb15e PLG: MQTT add devVLan devSSID #1816 2026-09-27 09:25:58 +10:00
jokob-sk 2b748bbcd3 DOCS: skill update 2026-09-27 08:57:35 +10:00
jokob-sk 2cb637485d FE+LANG: Add Alert Events, Can Sleep and Static IP as selectable Device columns #1815 2026-09-27 08:54:00 +10:00
Jokob @NetAlertX f6010e0c11 Merge pull request #1814 from netalertx/next_release
Next release
2026-09-27 08:39:42 +10:00
Pavel Borecki 9c97ee5cc6 Translated using Weblate (Czech)
Currently translated at 100.0% (838 of 838 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/cs/
2026-09-26 11:51:40 +00:00
jokob-sk 6d7517eb8a DOCS+PLG: skill updates, PIHOLEMON corrected source 2026-09-26 10:06:37 +10:00
jokob-sk 127e2c92ee DOCS+PLG: skill updates, ADGUARDIMP more accurate presence determination #1813 2026-09-26 09:41:20 +10:00
jokob-sk 28eced2a25 DOCS: skill updates, WIFICANARY updates 2026-09-26 08:58:46 +10:00
jokob-sk 591b1fadbe Merge branch 'next_release' of github.com:netalertx/NetAlertX into next_release 2026-09-26 07:49:26 +10:00
jokob-sk c04213eb23 PLG: FREEBOX and FRITZBOX didn't respect SET_ALWAYS due to non-matching plugin name in config #1812 2026-09-26 07:49:11 +10:00
Jokob @NetAlertX 23d2ed3612 Merge pull request #1811 from netalertx/main
sync
2026-09-25 14:31:47 +10:00
Jokob @NetAlertX d838376e9e Merge pull request #1809 from mauricio-camayo/add-wificanary-plugin
Add WIFICANARY plugin - passive WiFi rogue-AP detection
2026-09-25 14:19:37 +10:00
Mauricio CamayoandClaude Sonnet 5 41efcbc971 Address jokob-sk review: dedupe rogue detections, add iw to remaining Dockerfiles
check_trusted_aps() evaluated a rogue AP once per trusted_aps entry sharing
its SSID, so the documented main-AP+extender pattern (same SSID, two
entries) produced duplicate (bssid, motor) rows for a real clone - a
problem once next_release's per-plugin identity-hash dedup guard lands in
main, since it drops a plugin's entire batch on any internal duplicate.
Fixed by deduping once in main() after collecting from all check_*
functions. Also added iw + its setcap to Dockerfile.debian and
.devcontainer/Dockerfile, which the original PR missed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011meLPKCzVpdZyAUfv5U6mm
2026-09-24 20:10:12 -05:00