Commit Graph

3538 Commits

Author SHA1 Message Date
Jokob @NetAlertX
8cb466e722 feat: Implement settings loading skeleton and enhance UI elements 2026-06-20 00:40:01 +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
9c6e6d5f48 fix: Correct comment formatting in modals.php 2026-06-17 06:43:45 +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
4075aa469b Merge pull request #1675 from netalertx/next_release
Next release
2026-06-17 15:37:23 +10:00
jokob-sk
7311ed8dc5 WF: fixes 2026-06-16 23:12:28 +10:00
jokob-sk
3e44fac200 WF: fix suggestions 2026-06-16 22:52:50 +10:00
Jokob @NetAlertX
07f566babf Merge branch 'next_release' of https://github.com/netalertx/NetAlertX into next_release 2026-06-16 11:40:38 +00:00
Jokob @NetAlertX
26b337d6a7 feat(workflows): Enhance device management with query capabilities and conflict resolution
- Added `queryByConditions` method to `DeviceInstance` for flexible device querying based on dynamic conditions.
- Introduced `interpolate_tokens` function to replace placeholders in action values with actual device data.
- Updated `UpdateFieldAction` to handle cross-device updates and archive conflicting MAC addresses.
- Implemented cascade prevention in `WorkflowManager` to avoid processing events for devices modified in the same batch.
- Added unit tests for new functionalities, including token interpolation, condition querying, and action execution.
- Created constants for device column validation to enhance security and maintainability.
- Established a structured research skill specification to guide development practices.
2026-06-16 11:40:28 +00: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
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