Commit Graph

161 Commits

Author SHA1 Message Date
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
DL6ER
58616bc8af Remove remaining hard-coded /admin/ paths in the webinterface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-31 21:43:57 +02:00
XhmikosR
edbe014542 login.js: fix deprecated submit() usage
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-31 17:33:16 +03:00
XhmikosR
510b3c84c9 groups-lists: remove unneeded HTML escape
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-30 15:39:07 +03:00
Adam Warner
a73e95e17d Query Log: Add QUERY_EXTERNAL_BLOCKED_EDE15 rules (#3347) 2025-03-29 10:52:29 +00:00
Adam Warner
6bef3707ac Use modernized waitMe plugin (#3213) 2025-03-29 10:52:17 +00:00
Adam Warner
c23315da0d Use pretty URLs when possible (#3351) 2025-03-29 10:45:09 +00:00
Adam Warner
51fc14a4db Set an upper limit on the number of rows returned for the query log (#3346) 2025-03-29 10:34:08 +00:00
XhmikosR
ac24b73312 Use pretty URLs when possible
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-29 09:54:05 +02:00
yubiuser
621ec801e9 Use modernized waitMe plugin
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-27 22:01:58 +01:00
XhmikosR
85ac52adfe Queries: escape querystatus.fieldtext
Even though right now the API doesn't include any HTML code, it's a better practice to be defensive here.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-27 16:41:22 +02:00
Dominik
af26dbbbf7 Queries: user fieldtext directly (#3343) 2025-03-27 14:38:09 +01:00
XhmikosR
e8e60880ba Queries: use fieldText directly
It no longer includes raw HTML, so it should be fine to use it directly

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-27 15:32:44 +02:00
Dominik
7c72c0cc7f parseQueryString: switch to URLSearchParams and remove unused param (#3340) 2025-03-27 13:29:44 +01:00
DL6ER
d43fcd7658 Query Log is missing a rule for colorization of QUERY_EXTERNAL_BLOCKED_EDE15
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-27 11:58:19 +01:00
Adam Warner
572dcbf110 Remove "All" option from query log, max to 1000 (add in an additional step between 100 and 1000)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-03-26 21:35:52 +00:00
XhmikosR
6c29d5dab8 Logout: fix redirect
Without this, we were getting into a loop with keep alive enabled
when using Firefox.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-24 08:29:40 +02:00
XhmikosR
1801e9535b parseQueryString: switch to URLSearchParams and remove unused param
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-23 18:34:49 +02:00
XhmikosR
bd693fad80 Queries: fix potential DOM text reinterpreted as HTML issue
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-23 18:32:09 +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
Adam Warner
1624bcd269 Use em instead of i and strong instead of b (#3321) 2025-03-17 18:12:10 +00: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
XhmikosR
4c6b927cd3 Update browserslistc
Aligns better with what's actually supported

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-13 08:40:06 +02:00
XhmikosR
c003548906 Remove trailing slash from void elements
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-10 22:15:01 +02:00
XhmikosR
f7710ebc76 Fix a few CodeQL issues
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-09 22:03:13 +02:00