Commit Graph

6938 Commits

Author SHA1 Message Date
yubiuser
2cdf4759fe header: move unneeded unauthenticated assets to authenticated (#3536) 2025-06-27 17:59:33 +02:00
XhmikosR
4aaf7fe0e6 header: move unneeded unauthenticated assets to authenticated
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-27 16:43:32 +03:00
yubiuser
ba0fb42363 settings-system : Avoid division by zero in DNS metrics (#3533) 2025-06-26 05:58:35 +02:00
Rob Gill
ce991b2434 settings-system : Avoid division by zero in DNS metrics
Don't attempt to calculate a percentage if there are no replies yet

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2025-06-26 09:09:56 +10:00
Dominik
f58e16904b Add some color to gravity output (#3530) 2025-06-25 21:16:55 +02:00
yubiuser
f11ac8f944 Processs line squentially to always close the right number of <span> once we hit {COL_NC}
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-24 22:32:31 +02:00
yubiuser
9618f327e4 Use mapping
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-24 21:42:03 +02:00
yubiuser
9ad85da4cf Disable eslint prettier/prettier rule for the block too keep it readable
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-24 20:32:39 +02:00
yubiuser
785494e60b Add <span> counter
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-24 20:19:04 +02:00
yubiuser
b884688a84 Replace ANSI escape codes with HTML tags
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-24 19:22:32 +02:00
yubiuser
4e5d4cfa8d Add some color to gravity output
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-24 15:10:42 +02:00
yubiuser
980a589e6e Remove link to rate limit documentation which does not add further etails (#3526) 2025-06-22 22:23:22 +02:00
yubiuser
156a687cf5 Remove link to rate limit documentation which does not add further details
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-21 22:27:46 +02:00
yubiuser
c8ddfaafbd build(deps-dev): bump postcss from 8.5.5 to 8.5.6 (#3524) 2025-06-21 14:32:22 +02:00
dependabot[bot]
57056d78b1 build(deps-dev): bump postcss from 8.5.5 to 8.5.6
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.5 to 8.5.6.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.5...8.5.6)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-21 11:00:05 +00:00
yubiuser
3cbe3c3787 groups-clients.lp: fix invalid HTML (#3522) 2025-06-21 08:36:45 +02:00
XhmikosR
3dd02a9db8 groups-clients.lp: fix invalid HTML
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-21 09:15:36 +03:00
yubiuser
30ff1cd556 Remove superfluous settings-level-expert class (#3503)
Remove superfluosus ettings-level-expert class

Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-20 21:01:07 +02:00
Dominik
a07dacab77 header_authenticated.lp: add the hostname li only if it's greater t… (#3501) 2025-06-20 20:38:59 +02:00
Dominik
20ddeb814c Clarify client description priorities on the groups/client interface (#3521) 2025-06-20 19:58:14 +02:00
DL6ER
1d93f5d78d Clarify client description priorities on the groups/client interface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-06-20 19:39:06 +02:00
XhmikosR
aaa692dc83 footer: remove document.hidden in checkBlocking (#3518)
This is taken care of in utils.setTimer.

Fixes status not showing when opening a new tab. Previously, it was shown after the timer fired.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-19 17:03:00 +02:00
XhmikosR
64b4756640 Update chart.js to v4.5.0 (#3516)
* Update chart.js to v4.5.0

Also, switch to the minified file

Signed-off-by: XhmikosR <xhmikosr@gmail.com>

* Update scripts/lua/header_authenticated.lp

Co-authored-by: yubiuser <github@yubiuser.dev>
Signed-off-by: XhmikosR <xhmikosr@gmail.com>

---------

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: yubiuser <github@yubiuser.dev>
2025-06-16 15:50:47 +02:00
yubiuser
b979fff4b0 Fix a few HTML validation issues (#3517) 2025-06-16 11:43:35 +02:00
yubiuser
538020ee79 header: don't hide advanced info since it's always shown (#3513) 2025-06-16 11:38:17 +02:00
XhmikosR
8529cb067c Fix a few HTML validation issues
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-16 09:32:51 +03:00
yubiuser
c205e230a7 Lowercase doctype (#3515) 2025-06-15 19:18:16 +02:00
XhmikosR
3d7f0d47df Lowercase doctype
It's perfectly valid and it should result in smaller compressed size when gzip is used.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-15 08:18:36 +03:00
XhmikosR
293a84439d header: don't hide advanced info since it's always shown
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-15 08:13:20 +03:00
yubiuser
9f2ffecbd6 build(deps): bump github/codeql-action from 3.28.19 to 3.29.0 (#3510) 2025-06-14 18:08:40 +02:00
yubiuser
f61710ac11 build(deps-dev): bump postcss from 8.5.4 to 8.5.5 (#3512) 2025-06-14 18:07:55 +02:00
dependabot[bot]
095d70333b build(deps-dev): bump postcss from 8.5.4 to 8.5.5
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.4 to 8.5.5.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.4...8.5.5)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-14 10:35:53 +00:00
dependabot[bot]
e41fd81800 build(deps): bump github/codeql-action from 3.28.19 to 3.29.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.19 to 3.29.0.
- [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.19...v3.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-14 10:35:32 +00:00
yubiuser
6ae6222509 Sync master back into development (#3496) 2025-06-09 20:50:21 +02:00
yubiuser
607a42acaf build(deps-dev): bump postcss from 8.5.3 to 8.5.4 (#3498) 2025-06-07 17:11:42 +02:00
yubiuser
b81422f05b build(deps): bump github/codeql-action from 3.28.18 to 3.28.19 (#3507) 2025-06-07 16:33:58 +02:00
dependabot[bot]
1ad69cb62a build(deps): bump github/codeql-action from 3.28.18 to 3.28.19
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.18 to 3.28.19.
- [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.18...v3.28.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-07 10:53:58 +00:00
yubiuser
1eb64c3bf8 Remove superfluosus ettings-level-expert class
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-06-05 12:26:32 +02:00
yubiuser
96cbbce251 footer: use text for sysinfo-cpu (#3502) 2025-06-03 05:52:39 +02:00
XhmikosR
b3e8e40bda footer: use text for sysinfo-cpu
There's no HTML involved.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-02 22:08:31 +03:00
XhmikosR
f78257bd8e header_authenticated.lp: add the hostname li only if it's greater than zero
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-06-02 17:10:47 +03:00
dependabot[bot]
5365cdd0a3 build(deps-dev): bump postcss from 8.5.3 to 8.5.4
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.3 to 8.5.4.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.3...8.5.4)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-30 21:58:12 +00:00
Adam Warner
cc1cc2859e Pi-hole Web v6.2 (#3444) v6.2.1 2025-05-30 22:56:59 +01:00
Adam Warner
abd4d9d3b9 settings-level-expert: hide them by default (#3487) v6.2 2025-05-30 21:35:56 +01:00
yubiuser
8e89ec2361 Add rel="noreferrer" to external hyperlinks (#3495) 2025-05-30 18:51:41 +02:00
casperklein
f3fd182d00 Add rel="noreferrer" to external hyperlinks
Signed-off-by: casperklein <casperklein@users.noreply.github.com>
2025-05-29 22:57:36 +02:00
yubiuser
878d6faf0c index: use sentence case for queries for consistency (#3493) 2025-05-27 21:04:05 +02:00
XhmikosR
62b5a861c4 index: use sentence case for queries for consistency
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-27 21:52:47 +03:00
XhmikosR
a18629193a settings-level-expert: hide them by default
Matches the previous behavior before 8556b65

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-05-27 20:59:05 +03:00
yubiuser
d010d1309e sidebar: move active class outside of class attribute conditional (#3492) 2025-05-27 19:52:45 +02:00