Commit Graph

589 Commits

Author SHA1 Message Date
jokob-sk
2396bb610a DOCS: email update 2026-07-25 08:11:08 +10:00
jokob-sk
056f5ed2a4 PLG+BE: more notification fields + RSTIMP devVlan in SET_ALWAYS #1719 2026-07-24 08:19:37 +10:00
jokob-sk
62bcb077d7 BE: preheader + typo 2026-07-13 19:52:04 +10:00
jokob-sk
e294a1833d BE: review fixes 2026-07-12 10:39:07 +10:00
jokob-sk
1636d155c7 BE+FE: report findinfg fixes + css 2026-07-12 10:26:53 +10:00
jokob-sk
7f4c7907be BE: better notification preview 2026-07-10 12:06:45 +10:00
jokob-sk
2658d5703e BE+FE: less logging bloat + better notification preview + skeletons 2026-07-09 13:34:54 +10:00
jokob-sk
7e6189cbd4 BE+FE: change log 2026-07-06 15:00:41 +10:00
jokob-sk
e0449bed8e BE+FE: change log 2026-07-05 22:38:29 +10:00
Jokob @NetAlertX
18ec0ce96c feat: Implement DevicesHistory feature with triggers and history tracking
- Added db_history.py to manage DevicesHistory table and triggers for INSERT and UPDATE operations.
- Created device_history_instance.py for querying and grouping DevicesHistory records.
- Developed change_history.php for displaying device change history with filtering and pagination.
- Introduced skel_device_details_tab_history.php for skeleton loading state in device details tab.
- Added unit tests in test_device_history.py to validate trigger functionality and history management.
- Implemented filter population and pagination in the change history UI.
2026-07-04 23:34:52 +00:00
jokob-sk
351b6a7d28 BE: unable to exclude loacl_MAC entries #1700 2026-07-04 09:36:24 +10:00
jokob-sk
9b297b218f Merge branch 'next_release' of github.com:netalertx/NetAlertX into next_release 2026-07-02 08:08:46 +10:00
jokob-sk
2eb3f88426 BE: clearer setings initializing message #1696 2026-07-02 08:08:31 +10:00
Jokob @NetAlertX
636b0d9ca7 Add 'not_equals' and 'not_contains' operators; enhance workflow examples and tests 2026-07-01 08:14:00 +00:00
Jokob @NetAlertX
f52e303c19 FE: add 'Wait for settings reload' option to UI settings 2026-06-21 01:08:56 +00:00
Jokob @NetAlertX
102a62c8b7 FE: enhance settings save functionality with reload wait detection and background processing 2026-06-21 00:57:17 +00:00
Jokob @NetAlertX
4075aa469b Merge pull request #1675 from netalertx/next_release
Next release
2026-06-17 15:37:23 +10: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
62c4833d0f Merge pull request #1672 from netalertx/next_release
BE: Removal of stdout.log
2026-06-14 10:58:09 +10:00
jokob-sk
76e7cc7b3d BE: Removal of stdout.log 2026-06-14 10:35:08 +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
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
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-sk
292223e062 BE+FE: timestamps for sessions and emails corrected #1639 2026-05-16 14:21:39 +10:00
jokob-sk
bf4e0b4a7c BE+FE: timestamps for sessions and emails corrected #1639 2026-05-16 14:13:59 +10:00
jokob-sk
13f8858319 BE: Less verbose SYNC plugin #1164 2026-05-14 20:36:23 +10:00
Jokob @NetAlertX
9575692a39 Fix unsupported object format handling in UpdateFieldAction and DeleteObjectAction 2026-05-09 23:39:47 +00:00
jokob-sk
8f7f7eaed7 BE: Trigger failing if object non-existent + emoji removal in upgrade message
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-05-10 08:45:52 +10:00
jokob-sk
48e587f580 BE: DEEP_SLEEP #1555 co-author @legionGer
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-04-24 08:09:47 +10:00
jokob-sk
2fa62a2c0c BE: DEEP_SLEEP #1555 co-author @legionGer
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-04-24 07:47:33 +10:00
jokob-sk
604a8312ee BE: DEEP_SLEEP #1555 co-author @legionGer
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-04-24 07:46:09 +10:00
jokob-sk
f5046ff862 BE: DEEP_SLEEP #1555
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-04-22 21:46:37 +10:00
jokob-sk
7c7beaaf96 BE: empty checks fix
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-04-15 10:43:22 +10:00
jokob-sk
c0462984e7 BE: feedback + unify null / empty checks
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-04-15 10:35:09 +10:00
Jokob @NetAlertX
89139fed60 Add update_sync_hub_node function and corresponding tests for backfilling devSyncHubNode #1609 2026-04-14 20:59:36 +00:00
Jokob @NetAlertX
285bd3ec22 Enhance device filters: support label for dropdown options and improve SQL queries #1611 2026-04-14 20:38:37 +00:00
jokob-sk
4267a5c30c FE+BE: Filters
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-04-15 05:51:04 +10:00
Jokob @NetAlertX
c275bf447d fixes 2026-04-13 13:02:34 +00:00
Jokob @NetAlertX
8abecb7a0d PLG: Implement selective recording for Plugins_History to prevent unbounded growth 2026-04-12 23:09:34 +00:00
Jokob @NetAlertX
c80dc9c36a PLG: Centralize SQL condition to skip forced-online devices in event inserts 2026-04-10 22:13:09 +00:00
Jokob @NetAlertX
50be56c8bb PLG: Enhance device event handling for forced-online status #1602 2026-04-10 21:44:03 +00:00
copilot-swe-agent[bot]
a6d3b85614 Fix set-alias endpoint: return HTTP 200 with normalized error key on failure
Agent-Logs-Url: https://github.com/netalertx/NetAlertX/sessions/05ab18a3-4ac2-492d-bb80-67a1cc089bd9

Co-authored-by: jokob-sk <96159884+jokob-sk@users.noreply.github.com>
2026-04-08 23:28:50 +00:00
copilot-swe-agent[bot]
e3a4c62d5f Fix set_alias 404 check: simplify to match generic updateDeviceColumn pattern
Agent-Logs-Url: https://github.com/netalertx/NetAlertX/sessions/661c66ce-45e8-4f96-b51d-1bb0b918c669

Co-authored-by: jokob-sk <96159884+jokob-sk@users.noreply.github.com>
2026-04-08 23:05:54 +00:00
Jokob @NetAlertX
da8b694a49 Update API documentation and schemas: clarify lock/unlock behavior for device fields and enhance error handling in device alias update 2026-04-08 22:38:43 +00:00
Jokob @NetAlertX
b530a6e635 Enhance API documentation and schemas: add new device field locking/unlocking endpoints and expand allowed column names for updates #1598 2026-04-08 21:57:58 +00:00