37 Commits

Author SHA1 Message Date
sebingel 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 c7399215ec Refactor event and session column names to camelCase
- Updated test cases to reflect new column names (eve_MAC -> eveMac, eve_DateTime -> eveDateTime, etc.) across various test files.
- Modified SQL table definitions in the database cleanup and migration tests to use camelCase naming conventions.
- Implemented migration tests to ensure legacy column names are correctly renamed to camelCase equivalents.
- Ensured that existing data is preserved during the migration process and that views referencing old column names are dropped before renaming.
- Verified that the migration function is idempotent, allowing for safe re-execution without data loss.
2026-03-16 10:11:22 +00:00
jokob-sk d24411fa53 BE: CurrentScan table leanup - column rename
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-25 16:38:45 +11:00
Jokob @NetAlertX 3109b5d253 feat: Update plugin descriptions for authoritative column handling and overwrite conditions 2026-01-21 09:38:53 +00:00
Jokob @NetAlertX 9f1d04bcd4 feat: Update plugin configurations to include additional SET_EMPTY options 2026-01-21 08:48:47 +00:00
Jokob @NetAlertX 478b018fa5 feat: Enhance plugin configurations and improve MAC normalization 2026-01-21 01:58:52 +00:00
jokob-sk 5eaeffca04 DOCS: new URL https://docs.netalertx.com/
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2026-01-13 20:16:43 +11:00
jokob-sk b9d3f430fe FE: regex validation for cron run schedules
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-27 12:10:33 +11:00
jokob-sk ebeb7a07af BE: linting fixes 2
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-22 20:43:36 +11:00
jokob-sk 5c14b34a8b BE: linting fixes
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-22 13:14:06 +11:00
jokob-sk a98bac331d MERGE: resolve conflicts
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-10 10:11:34 +11:00
Adam Outler 5b871865db /data and /tmp standarization 2025-11-09 17:03:25 +00:00
jokob-sk 8483a741b4 BE: LangStrings /graphql + /logs endpoint, utils chores
docker / docker_dev (push) Has been cancelled
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-09 18:50:16 +11:00
jokob-sk 59477e7b38 BE/PLG: TZ timestamp work #1251
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
2025-11-04 19:24:13 +11:00
jokob-sk 10a0921e35 plugins columns cleanup, devDetail cleanup, better icon selector CUSTPROP 2025-07-23 22:25:35 +10:00
jokob-sk 01f7a18dce Auto delete in-app notifications #1052 2025-05-10 14:33:27 +10:00
jokob-sk dd2b872712 Cron Schedule validation 2025-02-08 10:53:43 +11:00
jokob-sk 5562ae7add docs + wf
docker / docker_dev (push) Waiting to run
2025-01-19 23:19:26 +11:00
jokob-sk 6718d054dc #951, small fixes 2025-01-12 11:46:32 +11:00
jokob-sk 8f8264c6fa WOL plugin #887
docker / docker_dev (push) Waiting to run
2024-12-23 13:10:27 +11:00
jokob-sk 7248e73e03 Respecting LOG_LEVEL in plugins
docker / docker_dev (push) Waiting to run
2024-12-22 13:18:08 +11:00
jokob-sk 7b15efa913 last_result.log -> /log/plugins/last_result.PLUGPREF.log 2024-12-13 10:18:35 +11:00
jokob-sk 4c46b27643 🔌Plugins page rebuild with DataTables 2024-10-24 21:51:16 +11:00
jokob-sk dcfeb51aa1 Ignored IPs not applied #836 2024-10-12 10:49:29 +11:00
jokob-sk 45489eadaf 🔌UNIFI work 2024-08-05 09:58:18 +10:00
jokob-sk 1f7a38593d 🔄Cache + Settings work 2024-08-03 21:07:12 +10:00
jokob-sk 1a9b9e3bf7 🔌TZ logging fix
docker / docker_dev (push) Waiting to run
2024-07-20 11:54:08 +10:00
jokob-sk 68fb1b7cbb 🔌Plugin execution order 2024-07-14 20:48:10 +10:00
jokob-sk 578b992c5a ⚙ Settings + 🔧 Maintenance improvements 2024-07-10 17:59:51 +10:00
jokob-sk 6049ba00c7 ⚙ Settings rework 3 - json linter 2024-07-09 21:54:55 +10:00
jokob-sk 6ea3d14480 ⚙ Settings rework 2024-07-07 23:11:30 +10:00
jokob-sk df90060adf 💻 Plugin Boilerplate update 2024-06-30 21:17:52 +10:00
jokob-sk eae93ef6b2 📚Docs + Omada work #708 2024-06-29 10:28:14 +10:00
jokob-sk f065b830e9 🔌OMADA work #708 2024-06-26 11:46:45 +10:00
jokob-sk a52e315732 📚Docs, QoL improvements 2024-06-21 16:44:03 +10:00
jokob-sk 8c4bcbca41 📚 UI not visible docs 2024-06-16 09:11:21 +10:00
jokob-sk 3a1a6c8dac 📃 Plugin __template + OMADA SDN v0.1 #708 2024-06-15 10:54:55 +10:00