Commit Graph

6412 Commits

Author SHA1 Message Date
jokob-sk
e7f0be30e9 typos 2026-06-19 22:50:27 +00: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
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
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 @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
01d37fac13 Merge pull request #1669 from Arvuno/feat/setting-value-default
feat(server): optional default for get_setting_value
2026-06-04 08:49:12 +10:00
jokob-sk
995fcab2ad DOCS: performance logs cleanup 2026-06-04 06:41:22 +10:00
Arvuno
6819f14448 feat(server): optional default for get_setting_value
get_setting_value returns an empty string when a key is not found,
which forces every call site to remember to treat '' as a sentinel
and provide its own fallback. The fallback is sometimes a hard-coded
default and sometimes a different code path entirely, leading to
inconsistent handling across the codebase.

Add an optional  argument that defaults to '' (preserves
the existing behaviour for every call site) and is returned when
the key is not present. New call sites can opt into a more
meaningful default without changing the function's signature for
existing callers.

Refs #1626.
2026-06-03 19:54:35 +00:00
Jokob @NetAlertX
52defd2424 Merge pull request #1668 from netalertx/next_release
DOCS: formatting
v26.6.3
2026-06-03 09:38:50 +10:00
jokob-sk
41ccff5f1c DOCS: formatting 2026-06-03 09:15:21 +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
8f1da100ec Merge pull request #1649 from natecj/feat/adguard-export-plugin
feat: add adguard_export plugin
2026-05-30 09:18:56 +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-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
1ede51c908 Merge pull request #1658 from netalertx/next_release
Next release
2026-05-27 09:18:13 +10: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
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