360 Commits
Author SHA1 Message Date
jokob-sk f37f2c7df7 BE+FE: Plugins -> Sources DevDetails tab 2026-10-09 09:18:04 +11:00
Jokob @NetAlertX 735f51027c Merge pull request #1835 from netalertx/main
sync
2026-10-05 08:44:18 +11:00
Alexander Shevchenko 071a4dded4 fix(frontend): restore network topology rendering in Safari
WebKit paints positioned HTML and opacity layers inside SVG foreignObject
at the SVG origin. Device cards, labels and icons overlap there while
their connections remain at the expected coordinates.

Keep node content in normal flow, place collapse controls with a float
and height-derived negative margin, and use alpha colors for muted icons.
Scope all style changes to the network tree.

Related: #1116
Discussion: https://github.com/netalertx/NetAlertX/discussions/1379
2026-10-04 16:45:18 +02:00
jokob-sk 61e6d81fc3 FE+DOCS: settings pending changes indicator 2026-10-03 11:00:11 +10:00
jokob-sk 067a6a15ef FE+BE: review fixes #1828 #1826 2026-10-02 23:05:02 +10:00
jokob-sk da6fbbbcb8 FE: timestamp fix #1826 2026-10-02 22:08:48 +10:00
jokob-sk 0d60071d49 BE+FE: System info -> Performance section 2026-09-28 21:32:16 +10:00
jokob-sk 66d13bd55c BE+FE: System info -> Performance section 2026-09-28 15:11:24 +10:00
jokob-sk 4aa2a0dddb BE+FE: System info -> Performance section 2026-09-28 14:40:11 +10:00
jokob-sk 2cb637485d FE+LANG: Add Alert Events, Can Sleep and Static IP as selectable Device columns #1815 2026-09-27 08:54:00 +10:00
jokob-sk 0fc6082c73 BE: IP ordering fixes #1797 2026-09-19 09:48:33 +10:00
jokob-sk 6ab220fd8c BE+FE: async event execution 2026-09-14 18:17:06 +10:00
jokob-sk f52de6cbdc FE+BE: performance improvements 2026-09-14 08:29:02 +10:00
jokob-sk b5d62b73c9 FE: Easier icon add in Settings #1773 2026-09-09 08:08:31 +10:00
jokob-sk d478deddc9 FE+DOCS: custom props icon select fix + docs cleanup 2026-09-06 11:13:21 +10:00
jokob-sk 3cd13f2f33 FE+DOCS: extract js into files , cust props clarification 2026-09-05 11:16:32 +10:00
jokob-sk 4d0175c660 BE+FE+DOCS: run plugin from custom props/actions 2026-09-05 10:54:56 +10:00
jokob-sk cddb237cd3 FE+DOCS: Wildcards in custom props #1773 2026-09-05 10:36:19 +10:00
jokob-sk a014140e50 FE: dashed links in network view for non-ethernet connections #1763 2026-08-31 14:57:40 +10:00
jokob-sk 5e615ddff0 FE: dashed links in network view for non-ethernet connections #1763 2026-08-31 14:39:46 +10:00
Jokob @NetAlertX 26404bb5e2 feat(ui): replace atob with safeAtob for decoding device icons 2026-08-21 23:46:20 +00:00
Jokob @NetAlertX 7a8ea5d829 feat(database): add cleanup for dangling parentMAC references and related tests 2026-08-21 23:22:40 +00:00
Jokob @NetAlertX 99897988e4 Merge pull request #1760 from netalertx/main
sync
2026-08-22 08:12:23 +10:00
Valiante 9fedd49e4a Fix: theme reverts to Light after header reload (#943)
Theme was applied on raw $(document).ready, which fires before the async cacheSettings() call has necessarily populated the settings cache. clearCache() (the header reload button) wipes localStorage immediately before reloading, so that reload could read an empty cache and hard-override the theme to Light via setCookie, even with Dark or System configured. Gated the theme application on callAfterAppInitialized(), which is already used elsewhere for this class of race.

Fixes #943
2026-08-21 17:44:21 +01:00
jokob-sk 7a21bad8be FE+BE: Pause/Resume scans #1754 2026-08-20 14:48:42 +10:00
Jokob @NetAlertX 5c4aa85b34 FE: Implement pause/resume functionality for automatic scans with API endpoints and UI updates 2026-08-20 03:09:50 +00:00
jokob-sk 8ecf1ace65 FE: Add devComments to columns selection #1751 2026-08-20 11:17:55 +10:00
Valiante 229755bf56 Fix: clock shows wrong timezone after header reload (#1640)
tz/LOCALE were evaluated once as module-level consts at script-load time. clearCache() (the header reload button) wipes localStorage right before reloading, so that reload could read an empty settings cache, fall back to the hardcoded 'Europe/Berlin' default, and stay locked to that wrong value for the rest of the page's life. Moved the reads inside localizeTimestamp() so they're evaluated fresh on every call instead.
2026-08-12 15:35:23 +01:00
Jokob @NetAlertX 9e38cfd8b4 Add website monitoring plugin and update workflows configuration
- Introduced a new plugin for monitoring website health, including functionality to check URLs and log results.
- Created README and configuration files for the workflows plugin, detailing its purpose and settings.
- Updated import paths in various test files to reflect the new directory structure.
- Ensured compatibility of test cases with the updated plugin architecture.
2026-08-10 02:32:49 +00:00
jokob-sk 1aea4e8216 DOCS: email 2026-07-25 10:25:33 +10:00
jokob-sk 02987fa558 BE+FE: NOTI TEXT template -> textarea 2026-07-25 09:58:15 +10:00
jokob-sk 2396bb610a DOCS: email update 2026-07-25 08:11:08 +10:00
jokob-sk b133d102ab BE: css fixes 2026-07-10 11:57:38 +10:00
jokob-sk 887de65eb9 BE+FE: change log 2026-07-06 13:03:38 +10:00
jokob-sk e0449bed8e BE+FE: change log 2026-07-05 22:38:29 +10:00
Jokob @NetAlertX 1a50a502cb Enhance cacheStrings function: add language tracking for string cache validation; improve stale cache detection logic 2026-07-02 04:45:27 +00:00
Jokob @NetAlertX 35b19cbb51 Refactor cache handling for plugins: update pluginsData initialization and improve fetch logic; enhance UI tests for translation loading 2026-07-02 04:32:01 +00:00
Jokob @NetAlertX 6c593d8879 Enhance plugin string handling and initialization; add UI tests for translation loading 2026-07-02 04:15:00 +00:00
jokob-sk cd0bb8ae6a FE + docs 2026-06-30 17:43:34 +10:00
jokob-sk 214959f5a1 FE: skeleton uplift 2026-06-28 11:07:10 +10:00
jokob-sk 86cc8a3683 FE: skeleton uplift 2026-06-25 07:43:22 +10:00
jokob-sk 3f4d684e06 FE: skeleton uplift 2026-06-24 18:07:35 +10:00
jokob-sk c98e068272 FE: skeleton uplift 2026-06-23 16:03:46 +10:00
Jokob @NetAlertX 8cb466e722 feat: Implement settings loading skeleton and enhance UI elements 2026-06-20 00:40:01 +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 5f62d25e23 Implement XSS prevention by encoding special characters in device names across multiple files 2026-05-21 00:09:07 +00:00
Jokob @NetAlertX 309315defc PLG: Enhance IP sorting in device table for correct numeric order #1606 2026-04-12 00:33:15 +00:00
jokob-sk da9c5f1bc7 DOCS: typos #1596
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-04-08 09:41:19 +10:00
sebingelandClaude Opus 4.6 4c117db463 Fix elementOptions: rename typo 'ordeable' to 'orderable'
The key 'ordeable' in elementOptions was a long-standing typo for the
correct English word 'orderable'. Since the JS check in settings_utils.js
used the same misspelled key, the feature appeared to work — but it was
relying on the consistent propagation of a typo across the entire codebase.

Two pre-existing entries in front/plugins/ui_settings/config.json already
used the correct spelling 'orderable', but these had no effect because the
JavaScript check (option.ordeable === 'true') never matched them. As a
result, orderable behavior was silently disabled for those two settings.

Changes:
- front/js/settings_utils.js: renamed option.ordeable → option.orderable
  and isOrdeable → isOrderable (6 occurrences, lines 792/823/824/880/1079/
  1192/1228). The JS key check is the authoritative definition of the
  elementOptions property name, so this must change atomically with all
  config files.

- server/initialise.py:245: renamed "ordeable" → "orderable" in the
  hardcoded JSON string for LOADED_PLUGINS setting. This string is the
  source-of-truth for that setting's elementOptions and is not auto-
  generated from the plugin config files.

- front/plugins/*/config.json (33 files, 90 occurrences): renamed all
  "ordeable": "true" entries to "orderable": "true" via sed. All plugins
  used the typo consistently; they must be updated in the same commit to
  avoid a broken intermediate state.

The two formerly broken 'orderable' entries in ui_settings/config.json
are now matched by the corrected JS check and work as intended.

Fixes netalertx/NetAlertX#1584

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 18:28:48 +00:00
Jokob @NetAlertX 0a7ecb5b7c Update config.json files to add 'ordeable' option and refactor cacheStrings function for consistency 2026-03-17 09:22:25 +00:00