Commit Graph

6707 Commits

Author SHA1 Message Date
yubiuser
0bcdec2a28 Fix Local CNAME records records mistake
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-31 17:02:26 +02:00
yubiuser
d7a516e964 Streamline actions, format and switch to Node.js 22 (#3357) 2025-03-30 20:14:32 +02:00
Adam Warner
e01b4bc3d9 Sync master back into development (#3360) 2025-03-30 18:31:04 +01:00
Adam Warner
1eaddca8db Pi-hole Web v6.1 (#3354) v6.1 2025-03-30 17:54:52 +01:00
XhmikosR
a5349439b4 Update Dockerfile
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-30 17:57:53 +03:00
yubiuser
919b96e117 Regenerate package-lock.json with npm 10.9 (#3356) 2025-03-30 13:27:24 +02:00
Dominik
fb86db5d30 Remove meta http-equiv="cache-control" (#3353) 2025-03-30 10:40:53 +02:00
XhmikosR
1f54434e28 Regenerate package-lock.json with npm 10.9
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-30 11:20:02 +03:00
XhmikosR
d28a5e7019 Streamline actions, format and switch to Node.js 22
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-30 11:13:02 +03:00
yubiuser
8049d5fdd8 Bump github/codeql-action from 3.28.12 to 3.28.13 (#3355) 2025-03-29 21:41:40 +01:00
yubiuser
b1f081a9d4 index: remove useless empty title attributes (#3352) 2025-03-29 21:24:18 +01:00
XhmikosR
d1cb55cfa9 index: remove useless empty title attributes
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-29 15:35:25 +02: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
dependabot[bot]
7e64091277 Bump github/codeql-action from 3.28.12 to 3.28.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.12 to 3.28.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3.28.12...v3.28.13)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-29 10:43:29 +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
39846a3531 Remove meta http-equiv="cache-control"
This is set in FTL to `no-cache, no-store, must-revalidate, private, max-age=0` so this is redundant

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-29 10:32:44 +02:00
XhmikosR
ac24b73312 Use pretty URLs when possible
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-29 09:54:05 +02:00
Dominik
409ab0a7e4 Fix typo in advanced DNS help text (#3350) 2025-03-28 16:52:59 +01:00
yubiuser
eec7622ef4 Fix typo in advanced DNS help text
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-28 16:16:06 +01:00
yubiuser
621ec801e9 Use modernized waitMe plugin
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-27 22:01:58 +01:00
Dominik
7dd1cf3c09 Queries: escape querystatus.fieldtext (#3348) 2025-03-27 19:39:31 +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
Dominik
071e5edb4a sidebar: switch to a real button (#3342) 2025-03-27 13:19:36 +01:00
Dominik
596478f940 Logout: fix redirect (#3304) 2025-03-27 13:15:35 +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
Dominik
e3ead702ce queries: switch to a real button (#3339) 2025-03-23 19:06:35 +01:00
Dominik
ebb219bff4 Refactor assets loading (#3295) 2025-03-23 19:05:02 +01:00
Dominik
e25554d213 login.lp: remove mention of sudo (#3334) 2025-03-23 19:01:41 +01:00
XhmikosR
1262c83499 Queries: actually switch to a real button
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-23 19:46:52 +02:00
XhmikosR
5036b1df13 Navigation: switch to a real button
Better for accessibility

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-23 19:19:57 +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
XhmikosR
1acb80536b Refactor assets loading
* move fonts first
* move CSS and JS along with the rest
* move default auto theme media checks to the HEAD instead of imports

Also, use `script defer`. This makes the JS files non-blocking.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-23 07:08:37 +02:00
Dominik
877d5f8cb9 Allow path prefix multiplexing the dashboard and API (#3269) 2025-03-22 20:46:37 +01:00
yubiuser
f45ef294fc Bump github/codeql-action from 3.28.11 to 3.28.12 (#3335) 2025-03-22 13:15:49 +01:00
yubiuser
ebe606df36 Bump actions/setup-node from 4.2.0 to 4.3.0 (#3336) 2025-03-22 13:14:02 +01:00
dependabot[bot]
45fb609ae4 Bump actions/setup-node from 4.2.0 to 4.3.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-22 10:31:45 +00:00
dependabot[bot]
c0a1ce2974 Bump github/codeql-action from 3.28.11 to 3.28.12
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.11 to 3.28.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3.28.11...v3.28.12)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-22 10:31:43 +00:00
yubiuser
a4fc758356 Add missing rel="noopener" for external links (#3333) 2025-03-21 20:32:06 +01:00
XhmikosR
6a5b40f7bf Add missing rel="noopener" for external links
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-21 16:54:22 +02:00
XhmikosR
d68169d0e0 login.lp: remove mention of sudo
This is now consistent with the other `pihole` command references and Pi-hole already suggests using `sudo` when needed.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-21 16:51:13 +02:00
Adam Warner
983dbc2244 Update fonts (#3309) 2025-03-20 17:03:49 +00: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