Commit Graph

17 Commits

Author SHA1 Message Date
yubiuser
ac7b9845b6 Also trim CNAME input fields
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-16 22:03:25 +02:00
yubiuser
d2dc2535bb Trim whitespaces before adding custom DNS record
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-16 22:00:03 +02:00
XhmikosR
4750d61339 settings-dns-records: merge DOMContentLoaded listeners
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-27 17:02:56 +03:00
Adam Warner
46728f90c7 Fix deprecated ready function (#3461) 2025-05-15 18:05:44 +01:00
yubiuser
29f4bff5ea settings-dns-records: fix typo (#3459) 2025-05-15 19:04:22 +02:00
XhmikosR
f69df08a08 Fix deprecated ready function
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-15 18:17:31 +03:00
XhmikosR
b3ac3afd17 settings-dns-records: fix typo
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-15 10:38:37 +03:00
Jakob Lorenz
ae8775898b scripts/js/settings-dns-records.js: fix api url base
Signed-off-by: Jakob Lorenz <onlyJak0b@mailbox.org>
2025-05-14 17:11:33 +02:00
XhmikosR
756239a6dd xo: enable strict mode
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 20:50:12 +03:00
XhmikosR
f598a8e35c Manual xo fixes and suppressions
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 07:53:16 +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
6a6a3911f0 Merge branch 'development' into new/web_prefix
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-18 06:58:10 +01:00
XhmikosR
bca58f6683 Use em instead of i and strong instead of b
They are semantically more correct

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-13 13:04:43 +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
DL6ER
1f6ebdbea3 Accept tabs inside dns.hosts and strip possible trailing comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-02-22 11:27:07 +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