Commit Graph

932 Commits

Author SHA1 Message Date
jokob-sk
39cdbfcc18 PLG: add connections attribute to mqtt #1681 2026-06-21 08:10:21 +10:00
jokob-sk
691a57dcd9 DOCS: hero image fix and reorganising 2026-06-21 08:04:05 +10:00
jokob-sk
4f9dd9e81c PLG: acc connections attribute to mqtt #1681 2026-06-21 07:29:43 +10:00
jokob-sk
7630608583 docs 2026-06-19 22:39:09 +00:00
Jokob @NetAlertX
a9b2f4b256 Merge pull request #1678 from netalertx/main
sync
2026-06-17 16:48:40 +10:00
Jokob @NetAlertX
bb29824ac1 Merge branch 'next_release' of https://github.com/netalertx/NetAlertX into next_release 2026-06-17 06:43:51 +00:00
Jokob @NetAlertX
3a206f0996 Add REST Import plugin and corresponding tests
- Implemented the REST Import plugin (rest_import.py) to handle importing data from REST APIs.
- Added functionality for configurable HTTP methods, authentication types, and custom headers.
- Included error handling for various HTTP response statuses and connection issues.
- Created unit tests for the plugin covering header building, path resolution, MAC validation, record mapping, and authentication methods.
- Ensured that module-level side effects are patched during tests to prevent live interactions.
2026-06-17 06:43:26 +00:00
Jokob @NetAlertX
3752d74e7e Merge pull request #1676 from netalertx/next_release
BE: css + docs for WF
2026-06-17 16:06:53 +10:00
jokob-sk
65dc689679 BE: css + docs for WF 2026-06-17 16:04:16 +10:00
Jokob @NetAlertX
3e0850591c Merge pull request #1673 from netalertx/next_release
PLG: linting
2026-06-16 07:37:56 +10:00
jokob-sk
39e72b2459 PLG: linting 2026-06-16 07:27:49 +10:00
Jokob @NetAlertX
62c4833d0f Merge pull request #1672 from netalertx/next_release
BE: Removal of stdout.log
2026-06-14 10:58:09 +10:00
jokob-sk
83b10b4a70 BE: Removal of stdout.log 2026-06-14 10:53:52 +10:00
jokob-sk
76e7cc7b3d BE: Removal of stdout.log 2026-06-14 10:35:08 +10:00
Jokob @NetAlertX
718c2a933c Merge pull request #1670 from netalertx/next_release
Next release
2026-06-04 13:57:46 +10:00
jokob-sk
491225dd83 PLG: more sensible log size, better description #1666 2026-06-04 11:56:33 +10:00
jokob-sk
606dd10f78 PLG: more sensible log size, better description #1666 2026-06-04 08:56:58 +10:00
Jokob @NetAlertX
2ca5a80b29 Merge pull request #1665 from netalertx/next_release
Next release
2026-06-02 21:13:25 +10:00
jokob-sk
f1a9109697 BE+DOCS: ICMP, IPNEIGH handling VLANS #1662 2026-06-02 07:49:06 +10:00
jokob-sk
f9b413d172 PLG: ICMP handling VLANS #1662 2026-05-31 08:51:48 +10:00
Jokob @NetAlertX
727fe0e3e2 Merge branch 'main' into feat/adguard-export-plugin 2026-05-30 08:53:04 +10: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
cc4dd46d17 docs 2026-05-26 22:56:34 +00:00
Jokob @NetAlertX
d3af1bea2a desc 2026-05-26 22:06:24 +00: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-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
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-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
f6b34845e0 BE: ICMP fping with multiple interfaces #1642 2026-05-16 09:42:44 +10:00
jokob-sk
4cac81b5ec PLG: ICMP fping fix for multiple interfaces #1642 2026-05-15 06:37:47 +10: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
void-spark
6d661dd12c I did add a ';' from habit, removed again, must please the bunny :) 2026-05-11 22:29:37 +02:00
void-spark
39068e9824 And 'notes' to README.md 2026-05-11 22:21:10 +02:00
void-spark
76612e5d0e Change default timeout to 10 seconds,
match request timeout to script timeout -1 second.
Always use at least 1 sec. timeout for request.
2026-05-11 22:09:07 +02:00