yubiuser
53a88352c2
footer: drop redundant addAdvancedInfo() call ( #3467 )
2025-05-18 20:38:01 +02:00
yubiuser
7046a9f3d9
Use text()/textContent when we don't need HTML ( #3464 )
2025-05-18 17:18:51 +02:00
XhmikosR
a2908d86d8
footer: drop redundant addAdvancedInfo() call
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-18 09:58:06 +03:00
Dominik
cb6da5677f
settings-api: fix wrong code ( #3463 )
2025-05-17 15:09:39 +02:00
XhmikosR
907441ca92
charts.j: use textContent when we don't need HTML
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-17 08:40:47 +03:00
XhmikosR
f389c5a0ea
footer: use text() when we don't need HTML
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-17 08:27:55 +03:00
XhmikosR
7b6408df6e
network: use textContent when we don't need HTML
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-16 21:56:48 +03:00
Adam Warner
d078d1fd09
utils: improve readability for validateIPv* functions ( #3423 )
2025-05-16 17:22:14 +01:00
XhmikosR
a69a65d95e
utils: improve readability for validateIPv* functions
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-16 11:33:34 +03:00
XhmikosR
c72b7b872f
settings-api: fix wrong code
...
`ids` is an array so `id` is the value when using a for...of loop.
Also, switch to Number.isInteger since we expect the IDs to be numbers
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-16 11:19:37 +03:00
Adam Warner
a05e93bf34
utils: remove the unused objectToArray util ( #3462 )
2025-05-15 18:06:48 +01: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
Adam Warner
3d99693dd6
Hide top tables depending on privacy level ( #3362 )
2025-05-15 18:02:51 +01:00
Adam Warner
ecb512a0ea
queries: improve link to search page ( #3422 )
2025-05-15 18:00:31 +01:00
XhmikosR
c03c740710
utils: remove the unused objectToArray util
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-15 18:23:24 +03:00
XhmikosR
f69df08a08
Fix deprecated ready function
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-15 18:17:31 +03:00
XhmikosR
d219e436cb
settings-system: fix typo
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-15 10:40:03 +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
yubiuser
de1e27c782
settings-advanced: remove unused code ( #3454 )
2025-05-14 09:01:09 +02: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
3ddb41db79
settings-advanced: remove unused code
...
There's no such button with id=save
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-13 18:32:40 +03:00
XhmikosR
f9f6969dc5
queries.js: link to CNAME if available
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-11 18:00:16 +03:00
RD WebDesign
263d01a866
Use the same default interface used by FTL if none is set in pihole.toml
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2025-05-04 15:47:19 -03:00
XhmikosR
7de8aea119
queries: replace the deprecated jQuery.parseJSON with JSON.parse
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-04 20:14:31 +03:00
yubiuser
78f135703a
gravity: remove the unused ?go code ( #3426 )
2025-05-04 10:43:50 +02:00
yubiuser
6d65c185fa
settings-api: fix deprecated keyup() function ( #3424 )
2025-05-03 19:41:25 +02:00
XhmikosR
7342abc169
gravity: remove the unused ?go code
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-01 21:19:26 +03:00
XhmikosR
6f12b88ad1
login: fix deprecated submit() function
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-01 20:00:07 +03:00
XhmikosR
612a110109
settings-api: fix deprecated keyup() function
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-01 19:59:09 +03:00
XhmikosR
7ad15ec82f
queries: don't add a link to search if the domain is hidden
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-01 19:20:31 +03:00
yubiuser
f48ff7191b
Remove deprecated <center>
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-04-30 20:26:10 +02:00
yubiuser
fbaa0c38fe
Hide tables based on privacy level
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-04-26 22:52:11 +02:00
yubiuser
a0cc072c3d
Hide top tables if no data is available
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-04-26 22:18:59 +02:00
Adam Warner
d9a7acf3c3
Modernize JS and tighten things ( #3388 )
2025-04-24 18:17:04 +01:00
XhmikosR
756239a6dd
xo: enable strict mode
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-23 20:50:12 +03:00
Adam Warner
4b33fbc91b
use optional chaining for logout button event listener - ensures error not thrown when password is empty
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2025-04-23 18:09:59 +01: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
yubiuser
7487abd385
Allow free input in upstream filter
...
Signed-off-by: yubiuser <github@yubiuser.dev >
2025-04-21 14:40:30 +02:00
XhmikosR
1fbbb91f51
Remove icheckbox related-code except for primary
...
v6 doesn't support changing this like v5
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-21 12:07:06 +03:00
XhmikosR
a95f6c88ae
utils: fix typo in showAlert()
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-21 11:15:16 +03:00
Dominik
7433144b63
Replace remaining i element cases with em ( #3381 )
2025-04-05 17:05:29 +02:00
XhmikosR
2ea1a6bf0b
group-domains: fix uncaught TypeError due to invalid URLs
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-05 08:00:12 +03:00
Adam Warner
fd5322c0df
login.js: fix deprecated submit() usage ( #3380 )
2025-04-04 18:47:10 +01:00
Adam Warner
d6c78f5475
groups-lists: remove unneeded HTML escape ( #3379 )
2025-04-04 18:46:18 +01:00
XhmikosR
addad5495a
Replace remaining i element cases with em
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-03 07:59:44 +03:00
Adam Warner
1e8baebb08
Fix concurrency issue about const apiUrl ( #3371 )
2025-04-02 18:09:14 +01: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