Commit Graph

83 Commits

Author SHA1 Message Date
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
DL6ER
5f3bcdac3c Merge branch 'development' into new/web_prefix
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-09 20:15:59 +01:00
DL6ER
e873dfed2b Use document.body.dataset instead of defining a hidden <div>
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-09 20:13:33 +01:00
XhmikosR
4e6105bef9 Switch to Font Awesome CSS
It's lighter than the JS

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-09 20:01:16 +02:00
XhmikosR
3f689d0f55 logout.js: add missing preventDefault call
Without it the target `#` is followed which is not wanted

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-08 22:26:31 +02:00
Dominik
3f19392614 Sort interfaces (#3284) 2025-03-08 19:34:36 +01:00
RD WebDesign
90f71a442e Use an arrow to indicate child interfaces
- Add and format the arrow
- Remove the icon used to indent child interfaces (the arrow is enough)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-08 14:28:10 -03:00
yubiuser
1d38899665 Sort IPv4 before IPv6 addresses on the network overview (#3286) 2025-03-08 14:18:58 +01:00
Dominik
e95c865357 Fix the text and icon used to report end-to-end encryption status (TLS/SSL) on the top menu (#3288) 2025-03-07 11:39:58 +01:00
Dominik
27696fa229 Set default values for each property of versions object (#3268) 2025-03-07 11:39:44 +01:00
RD WebDesign
c3d09c92e9 Use "N/A" if local.version is null to avoid empty version
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-07 01:45:59 -03:00
RD WebDesign
b4bf45d2fd Set icon color to green when SSL/TSL is used
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-07 01:05:11 -03:00
RD WebDesign
516febe461 Use location.protocol top identify if the page uses https protocol
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-07 00:56:45 -03:00
DL6ER
592104b839 Sort IPv4 before IPv6 addresses on the network overview
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 21:40:32 +01:00
Dominik
5519b9d98c Improve HTTPS detection behind reverse proxy (#3285) 2025-03-06 20:11:34 +01:00
DL6ER
a5e2c627a4 Move the decision whether we are showing the no-HTTPS warning from server-side (where no https may be used when a reverse proxy is used) to user-side where this is more definite
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 19:58:57 +01:00
DL6ER
4ee9c83d9c Sort interfaces:
- interfaces that do not depend on others (and have no children) are placed at the top of the treeview
 - interfaces that do have children get them directly assigned below them

Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 18:42:06 +01:00
DL6ER
68933f7a2c Add total/permitted/blocked filtering for domains and clients on the dashboard's top lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 18:33:33 +01:00
DL6ER
afd595de72 Merge branch 'development' into fix/load_not_cpu
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 17:34:14 +01:00
DL6ER
556aa65103 Add total/permitted/blocked filtering for domains and clients on the dashboard's top lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 17:32:15 +01:00
DL6ER
0af76428f5 Show state, not carrier behind interface in the Pi-hole interface overview
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-06 04:24:11 +01:00
XhmikosR
96be2b7363 Use singular if we have one core
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-04 17:43:47 +02:00
DL6ER
9a40f4a7e1 Improve memory unit selection for devices with less than 1 GB of RAM
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-03 09:14:36 +01: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
RD WebDesign
86210b24a4 Use margin-right instead of spaces after dnssec icon in Query Log (#3267) 2025-03-02 04:06:03 -03:00
RD WebDesign
ef74db8a3d Fix the insertion of multiple domains as wildcard (#3259) 2025-03-02 04:05:24 -03:00
RD WebDesign
54e5b29416 Setting default values for each property of versions object
- set Docker versions (local/remote) to `null` if they are empty strings, undefined or null;
- set other components versions to `"N/A"` if they are empty strings, undefined or null;
- set branches and hashes to `null` if they are empty strings, undefined or null;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-02 00:05:01 -03:00
RD WebDesign
f6168a4d03 Use margin-right instead of spaces after dnssec icon in Query Log
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-03-01 01:19:01 -03:00
RD WebDesign
14ea1b8e61 Add a hidden column to the network table to allow filtering by hostnames (#3264) 2025-02-28 17:02:54 -03:00