Files
NetAlertX/server/plugins
Mauricio CamayoandClaude Sonnet 5 091e648e88 Fix DOCKERDISC_HOST_MAC docs and strengthen case-insensitivity test
resolve_host_mac() returns the manually configured MAC immediately,
with no Socket Proxy /info call at all - the config.json text still
described it as a fallback used only when auto-detection fails.
Reworded both the setting's own description and the parent "Docker
hosts" description to match actual behavior.

The case-insensitivity regression test for lookup_device_mac() stubbed
DeviceInstance.getByMac() to return a fixed row regardless of input,
so it passed even without exercising real collation - functionally a
duplicate of test_lookup_device_mac_found. Replaced it with a
delegation check, and added real SQLite-backed coverage for
DeviceInstance.getByMac()'s case-insensitivity in
test/backend/test_device_instance.py. That surfaced a gap in the
shared db_test_helpers.py fixture: its Devices.devMac column was
missing the COLLATE NOCASE that the real schema declares, so it could
not have exercised this behavior. Fixed the fixture to match.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011meLPKCzVpdZyAUfv5U6mm
2026-09-15 12:57:04 -05:00
..
2026-09-02 07:58:31 +10:00
2026-09-07 09:44:37 +10:00
2026-09-07 09:30:55 +10:00
2026-09-10 09:49:40 +10:00
2026-09-10 09:49:40 +10:00
2026-09-10 09:49:40 +10:00
2026-09-10 09:49:40 +10:00
2026-09-07 08:24:53 +10:00
2026-09-07 09:44:37 +10:00
2026-09-10 09:49:40 +10:00
2026-09-10 22:11:46 +10:00
2026-08-31 10:01:09 +10:00