Commit Graph

14 Commits

Author SHA1 Message Date
Adam Warner
a978ab6b31 linting fixes
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-11-17 22:55:21 +00:00
Adam Warner
be6dae6088 box -> card
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-11-17 22:40:46 +00:00
yubiuser
16fee67983 Use /flush/network instead of /flush/arp
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-30 13:47:11 +02:00
yubiuser
ba0fb42363 settings-system : Avoid division by zero in DNS metrics (#3533) 2025-06-26 05:58:35 +02:00
Rob Gill
ce991b2434 settings-system : Avoid division by zero in DNS metrics
Don't attempt to calculate a percentage if there are no replies yet

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2025-06-26 09:09:56 +10:00
Adam Warner
f683631afd Use proper Object methods (#3441) 2025-05-19 18:26:44 +01:00
XhmikosR
d219e436cb settings-system: fix typo
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-15 10:40:03 +03:00
XhmikosR
453b017905 settings-system.js: remove unused overlay code
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-13 18:43:25 +03:00
XhmikosR
ba3b76421b Use proper Object methods
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-12 18:46:36 +03:00
XhmikosR
756239a6dd xo: enable strict mode
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 20:50:12 +03:00
XhmikosR
f8a0a1d4ec Tighten xo rules
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 07:53:13 +03:00
DL6ER
b524a2f4b6 Always use document.body.dataset.apiurl instead of the intermediate const apiUrl
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-31 22:00:16 +02:00
DL6ER
a7f1ca7800 Allow path prefix multiplexing the dashboard and API. See https://github.com/pi-hole/FTL/pull/2319 for further details
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-02 20:20:10 +01:00
yubiuser
1e922a8b29 Move all files from /scripts/pi-hole/ to /scripts/
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-28 20:22:09 +01:00