Ashtin
31806c707f
Fixed, Again
...
Fixes #1088 again. turns out that same thing is used twice. same fix applied
2025-06-20 01:25:04 -04:00
Ashtin
2a4198c2c8
Sanitize device fields and prevent crash with numeric hostnames
...
This patch improves the resilience of the guess_icon function by sanitizing mac, vendor, and name fields to avoid crashes caused by unexpected data types (e.g., numeric hostnames).
Specifically:
mac is now cast to a string before being uppercased, with a newly added fallback to "00:00:00:00:00:00" if empty or invalid.
vendor is sanitized to a string before lowercasing, still defaulting to "unknown".
name is cast to a string before lowercasing, still falling back to "(unknown)" when empty.
This change not only resolves the error caused by numeric-only hostnames (which triggered an AttributeError due to calling .lower() on an int), but also proactively prevents similar crashes from malformed or unexpected input in the future.
References: Fixes issue #1088 and also let's me sleep a little easier tonight.
2025-06-20 00:46:24 -04:00
jokob-sk
0034e49c1a
case insentive sorting #1087
2025-06-20 09:32:06 +10:00
jokob-sk
5676b50d5d
docs, has_update_devices fix, docs
2025-06-07 09:00:56 +10:00
jokob-sk
503027c06e
debug Online_History #1020
Code checks / check-url-paths (push) Waiting to run
docker / docker_dev (push) Waiting to run
Deploy MkDocs / deploy (push) Waiting to run
2025-06-01 15:40:17 +10:00
jokob-sk
f4a3717859
FQDN, Dig refactor, docs #1065
2025-06-01 13:59:54 +10:00
jokob-sk
481e236faf
various fixes
2025-05-29 13:20:08 +10:00
jokob-sk
01f7a18dce
Auto delete in-app notifications #1052
2025-05-10 14:33:27 +10:00
jokob-sk
4d7a55e4f6
enable multiple to emails SMTP #1061
2025-05-08 08:12:18 +10:00
jokob-sk
27443c441a
docs,MQTT alert_down #1057
2025-05-04 11:24:54 +10:00
jokob-sk
46cbf85584
LOG_LEVEL fix, WEBMON timeout multiplier, docs, fix for watched-changed #1053
2025-05-04 08:52:13 +10:00
Jan Grewe
8b617ffb8d
properly indent HTML tables in report emails to fix broken links
2025-05-01 12:08:24 +02:00
jokob-sk
a12da278c6
docs + #1042
URL Path Check / check-url-paths (push) Waiting to run
docker / docker_dev (push) Waiting to run
Deploy MkDocs / deploy (push) Waiting to run
2025-04-05 08:04:31 +11:00
Joseba Fuentes
599603d9ff
Update manager.py
2025-04-04 10:25:41 +02:00
jokob-sk
2889be28e4
wf work
2025-04-03 07:51:59 +11:00
jokob-sk
2c445ccaeb
wf work + docs
2025-03-31 18:04:56 +11:00
jokob-sk
d86c2a5023
Move ObjectGUID to the end
2025-03-31 08:12:32 +11:00
jokob-sk
3f74173245
wf work
2025-03-30 10:25:03 +11:00
jokob-sk
f2e218230e
SQL query fix
URL Path Check / check-url-paths (push) Waiting to run
docker / docker_dev (push) Waiting to run
Deploy MkDocs / deploy (push) Waiting to run
2025-03-29 12:55:24 +11:00
jokob-sk
76419db0e3
wf work
2025-03-29 12:46:27 +11:00
jokob-sk
929964f9e2
wf work
2025-03-29 12:31:29 +11:00
jokob-sk
7e5373b2cd
wf work
2025-03-27 21:23:11 +11:00
jokob-sk
3b869f5365
stop devParentMAC overwrite if specified #1021
URL Path Check / check-url-paths (push) Has been cancelled
docker / docker_dev (push) Has been cancelled
Deploy MkDocs / deploy (push) Has been cancelled
2025-03-23 15:24:47 +11:00
jokob-sk
e996c9eccc
stop devParentMAC overwrite if specified #1021
2025-03-23 15:24:01 +11:00
jokob-sk
393904c91f
stop devParentMAC overwrite if specified #1021
2025-03-23 15:12:07 +11:00
jokob-sk
8d9a4d23d1
stop devParentMAC overwrite if specified #1021
2025-03-23 13:23:39 +11:00
jokob-sk
ba300f7023
stop devParentMAC overwrite if specified #1021
docker / docker_dev (push) Waiting to run
Deploy MkDocs / deploy (push) Waiting to run
2025-03-20 11:12:29 +11:00
jokob-sk
0512ddd143
wf work
2025-03-18 06:32:44 +11:00
jokob-sk
1efdf66c19
wf work
2025-03-15 13:19:58 +11:00
jokob-sk
432a4d9d69
Initial commit on next_release branch
2025-03-10 07:42:44 +11:00
jokob-sk
458577e071
mqtt and newdev name regex
2025-02-20 07:57:28 +11:00
jokob-sk
780b818815
treeviz flatdata experiment + better invalid TZ handling
2025-02-08 07:59:55 +11:00
jokob-sk
5779fd34c5
treeviz flatdata experiment + better invalid TZ handling
2025-02-08 07:52:13 +11:00
jokob-sk
4443c69d31
Filters UI_columns_filters #953
2025-01-25 11:37:05 +11:00
jokob-sk
c63f424c7d
LOADED_PLUGINS docker variable #975
docker / docker_dev (push) Waiting to run
2025-01-24 20:05:42 +11:00
jokob-sk
dd1580e536
asus and logging #972
2025-01-24 18:58:10 +11:00
jokob-sk
c8a40920b4
cleanup, faster devices screen update #967 #923
2025-01-20 23:42:24 +11:00
jokob-sk
4363e083d5
prevent 401 in ingress #961
2025-01-19 16:05:58 +11:00
jokob-sk
e766b19d8c
css, pluginsCore, less verbose debug fixes
docker / docker_dev (push) Waiting to run
2025-01-19 15:05:26 +11:00
jokob-sk
f70bb40ef4
INTERNET ip check curl #937
2025-01-19 13:41:48 +11:00
jokob-sk
6b390b66de
report cleanup + #960
2025-01-19 12:56:00 +11:00
jokob-sk
b29dcbfa98
CHECKMK script
docker / docker_dev (push) Waiting to run
🤖Automation - Update Sponsors Table / update-table (push) Has been cancelled
2025-01-08 23:32:14 +11:00
jokob-sk
540f8e850b
DUMMY as new device source plugin
2025-01-08 23:00:03 +11:00
jokob-sk
3da5af1b7c
cleanup
docker / docker_dev (push) Waiting to run
2025-01-04 14:46:59 +11:00
jokob-sk
90dd8e3198
cleanup
2025-01-04 13:40:08 +11:00
jokob-sk
f2a0018982
docs + cleanup
2025-01-04 13:20:18 +11:00
jokob-sk
19441a4431
graphql_schema logging too noisy #917
2025-01-03 22:34:19 +11:00
jokob-sk
729c24029f
docs + fixes to CustomProps
2025-01-02 10:15:58 +11:00
jokob-sk
e52601e062
ENCRYPTION_KEY, docs
2024-12-31 10:14:01 +11:00
jokob-sk
4fef6e156b
Archived devices were shown #920
2024-12-28 09:19:25 +11:00