Commit Graph

6383 Commits

Author SHA1 Message Date
jokob-sk
5ee3a04598 WF: docs 2026-06-16 23:31:36 +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-sk
39e72b2459 PLG: linting 2026-06-16 07:27:49 +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-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-sk
995fcab2ad DOCS: performance logs cleanup 2026-06-04 06:41:22 +10:00
jokob-sk
41ccff5f1c DOCS: formatting 2026-06-03 09:15:21 +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
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
jokob-sk
00bb9433fb Merge branch 'next_release' of github.com:netalertx/NetAlertX into next_release 2026-05-27 11:35:55 +10:00
jokob-sk
dfd7256751 Docs 2026-05-27 01:34:37 +00:00
Jokob @NetAlertX
1094ef3ff7 docs 2026-05-26 23:11:41 +00:00
Jokob @NetAlertX
cc4dd46d17 docs 2026-05-26 22:56:34 +00:00
Jokob @NetAlertX
fccb0b6bdc docs links 2026-05-26 22:18:48 +00:00
Jokob @NetAlertX
d3af1bea2a desc 2026-05-26 22:06:24 +00:00
Jokob @NetAlertX
014e8ffff0 linting 2026-05-26 21:59:54 +00:00
Jokob @NetAlertX
1f2205ff27 Refactor sync endpoint tests to use monkeypatch for environment variables and remove unused imports 2026-05-26 21:59:11 +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 @NetAlertX
c829c4cf5a Enhance node name extraction logic to accurately classify file formats for PUSH and PULL modes 2026-05-25 11:32:59 +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
c20891d176 Refactor storage path initialization in sync endpoint to use environment variable 2026-05-24 21:28:29 +00:00
jokob-sk
c933376deb BE: SYNC API logging 2026-05-24 22:09:09 +10:00
Jokob @NetAlertX
b5d280644e Update code standards to prohibit inline imports and ensure all imports are at the top of the file 2026-05-24 02:21:56 +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
1108534540 Fix formatting inconsistencies in comments for sync endpoint tests 2026-05-24 01:30:33 +00:00
Jokob @NetAlertX
e9879c47a9 Update sync POST test to use encrypted payload string 2026-05-24 01:20:21 +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
Jokob @NetAlertX
87a89f3a28 Add active_labels parameter to resolve_devices for selective strategy execution 2026-05-22 23:00:25 +00:00
Jokob @NetAlertX
88231d97c8 Enhance documentation and implement SET_ALWAYS functionality for device name resolution #1650 2026-05-22 22:50:33 +00: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
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