3515 Commits

Author SHA1 Message Date
Jokob @NetAlertX
727fe0e3e2 Merge branch 'main' into feat/adguard-export-plugin 2026-05-30 08:53:04 +10:00
Safeguard
6845104f41 Translated using Weblate (Russian)
Currently translated at 100.0% (809 of 809 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/ru/
2026-05-29 11:01:01 +02:00
Jokob @NetAlertX
75c266c88e Merge pull request #1660 from netalertx/next_release
Next release
2026-05-28 16:03:30 +10:00
Jokob @NetAlertX
62e40707f9 Fix typos in DEVICE_FILTERS.md and devices.php for clarity and consistency 2026-05-28 05:42:52 +00:00
Jokob @NetAlertX
721cdf0b05 Merge branch 'next_release' of https://github.com/netalertx/NetAlertX into next_release 2026-05-28 05:31:17 +00:00
Jokob @NetAlertX
f0cc4d123c Enhance carbon-copy behavior to prevent overwriting devPresentLastScan in sync operations #1651 2026-05-28 05:31:09 +00:00
jokob-sk
9875411057 BE: better CRON validation regex #1659 2026-05-28 08:41:34 +10:00
jokob-sk
12b104e7fa Device filters docs. link, and less verbose in-app notifications for SYNC 2026-05-27 03:30:43 +00:00
Nathan Jacobson
93e534cef5 refactor: use DeviceInstance model instead of direct SQLite query
Replaces the raw sqlite3 query in get_netalertx_devices() with
DeviceInstance().getAll() as suggested in code review, applying the
archived/offline/new filters in Python. Removes the sqlite3 and
fullDbPath imports. Updates tests to mock DeviceInstance.getAll().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 22:03:14 -04:00
Jokob @NetAlertX
1ede51c908 Merge pull request #1658 from netalertx/next_release
Next release
2026-05-27 09:18:13 +10:00
Jokob @NetAlertX
cc4dd46d17 docs 2026-05-26 22:56:34 +00:00
Jokob @NetAlertX
d3af1bea2a desc 2026-05-26 22:06:24 +00:00
Jokob @NetAlertX
494340aa6c Merge pull request #1655 from netalertx/next_release
SYNC plugin improvements - skipping non-reachable nodes, SYNC_BEHAVIOR
2026-05-27 07:42:02 +10:00
Jokob @NetAlertX
d4fe94fb7a Add error handling for base64 decoding in main function to skip invalid data 2026-05-26 11:30:53 +00:00
Jokob @NetAlertX
cfea848064 Add validation for node response in main function to skip invalid nodes #1657 2026-05-26 10:40:53 +00:00
Jokob @NetAlertX
5ea999fd57 Fix typos in README and test files related to SYNC_BEHAVIOR documentation 2026-05-26 07:51:09 +00:00
Jokob @NetAlertX
f8f7ac3827 Implement SYNC_BEHAVIOR setting to control hub device write modes and update related documentation #1652 2026-05-26 07:42:03 +00:00
Jokob @NetAlertX
bfe5bc0f77 Merge pull request #1654 from netalertx/next_release
BE: SYNC API logging
2026-05-25 17:26:14 +10:00
mid
8e391f503e Translated using Weblate (Japanese)
Currently translated at 100.0% (809 of 809 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/ja/
2026-05-25 09:11:33 +02:00
jokob-sk
813a92d84e BE: SYNC API 2026-05-25 09:03:00 +10:00
jokob-sk
e28ec5ca2e BE: SYNC API 2026-05-25 09:01:17 +10:00
Jokob @NetAlertX
cc5fc0caae Enhance node name extraction logic to robustly handle dots in identifiers for PUSH and PULL modes 2026-05-24 22:25:17 +00:00
Jokob @NetAlertX
fb054e9144 merge 2026-05-24 22:08:06 +00:00
Jokob @NetAlertX
b7cffe8c07 Refactor sync data processing to handle PUSH and PULL modes with improved error handling for JSON payloads 2026-05-24 02:14:11 +00:00
Jokob @NetAlertX
5910a7c2a1 BE: Refactor sync endpoint to accept JSON payloads and update related tests #1652 2026-05-24 01:11:00 +00:00
Jokob @NetAlertX
0cb7ad6332 BE:Fix push mode for plugins #1652 2026-05-24 00:36:23 +00:00
Nathan Jacobson
ca7a699ce3 fix: address PR review feedback on adguard_export plugin
- config.json: add show:true to all visible column definitions so they
  render in the plugin output table
- script.py: fix managed_names adoption bug — update/skip branches no
  longer add unowned clients to managed state; rename tracking now
  scoped to plugin-created clients only
- README.md: fix ADGUARDEXP_URL default (localhost:3000, not local IP),
  add language tags to fenced code blocks, normalise metadata block to
  Other info / Maintainer / DD-Mon-YYYY format
- test_adguard_export.py: add regression test for manual client matched
  by ID not being adopted into managed state

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 14:22:58 -04:00
Jokob @NetAlertX
821594f617 Refine documentation and enhance XSS prevention measures in device details and test scripts 2026-05-21 00:36:59 +00:00
Jokob @NetAlertX
5f62d25e23 Implement XSS prevention by encoding special characters in device names across multiple files 2026-05-21 00:09:07 +00:00
Nathan Jacobson
197e3a3cb6 feat: add adguard_export plugin and tests
Adds a new NetAlertX plugin that syncs known devices from the NetAlertX
database to AdGuard Home as persistent clients, keeping names, MACs, IP
addresses, and device-type tags in sync.

Also fixes the adguard_import config.json description placeholder and a
minor indentation inconsistency in that file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 16:27:25 -04:00
Jokob @NetAlertX
6580c4a953 Merge branch 'next_release' of https://github.com/netalertx/NetAlertX into next_release 2026-05-18 02:45:51 +00:00
Jokob @NetAlertX
bc87e39843 Enhance documentation and improve formatting across multiple files 2026-05-18 02:45:23 +00:00
Jokob @NetAlertX
9eaaf50caf Merge pull request #1647 from npt-1707/fix_CVE-2022-24785
Fix potentially vulnerable cloned function
2026-05-18 12:18:45 +10:00
Jokob @NetAlertX
f0684c66c2 Merge pull request #1646 from npt-1707/fix_CVE-2023-22467
Fix potentially vulnerable cloned function
2026-05-18 12:16:43 +10:00
Jokob @NetAlertX
328e591fcd Merge pull request #1645 from npt-1707/fix_CVE-2016-10735
Fix potentially vulnerable cloned function
2026-05-18 12:15:14 +10:00
npt-1707
80c8a66396 front/lib/datatables/datatables.js: Fix XSS in Alert, Carousel, Collapse, Dropdown and Modal 2026-05-18 06:19:59 +08:00
npt-1707
0517da2405 front/lib/moment/moment.js: fix redos using local backtracking regex 2026-05-18 06:17:10 +08:00
npt-1707
35dc9f9fa0 front/lib/moment/moment.js: Avoid loading path-looking locales from fs 2026-05-18 06:15:43 +08:00
jokob-sk
bf4e0b4a7c BE+FE: timestamps for sessions and emails corrected #1639 2026-05-16 14:13:59 +10:00
jokob-sk
7725697b87 BE: ICMP fping with multiple interfaces #1642 2026-05-16 10:07:37 +10:00
jokob-sk
09744f3acd Merge branch 'next_release' of github.com:netalertx/NetAlertX into next_release 2026-05-16 09:42:55 +10:00
jokob-sk
f6b34845e0 BE: ICMP fping with multiple interfaces #1642 2026-05-16 09:42:44 +10:00
Safeguard
198ca5d410 Translated using Weblate (Russian)
Currently translated at 100.0% (809 of 809 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/ru/
2026-05-15 12:20:33 +02:00
Jokob @NetAlertX
4761a688fc Merge pull request #1643 from netalertx/main
Translated using Weblate (Portuguese (Portugal))
2026-05-15 06:40:15 +10:00
jokob-sk
4cac81b5ec PLG: ICMP fping fix for multiple interfaces #1642 2026-05-15 06:37:47 +10:00
António Oliveira
03938d8c28 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (809 of 809 strings)

Translation: NetAlertX/core
Translate-URL: https://hosted.weblate.org/projects/pialert/core/pt_PT/
2026-05-14 16:11:33 +00:00
jokob-sk
13f8858319 BE: Less verbose SYNC plugin #1164 2026-05-14 20:36:23 +10:00
jokob-sk
f11a63bb7f BE: DIGSCAN could not be disbaled due to default RUN set in config.json #1631 2026-05-13 08:44:29 +10:00
Jokob @NetAlertX
556d104bbb Merge pull request #1638 from netalertx/main
sync
2026-05-12 21:39:10 +00:00
Jokob @NetAlertX
eafbcd52f8 Merge pull request #1636 from void-spark/main
First attempt at kea dhcp support
2026-05-12 21:22:28 +00:00