Commit Graph

5204 Commits

Author SHA1 Message Date
DL6ER d7eada8156 Remove "Remember me for 7 days" checkbox. Each user gets their own independent session. By default, the session will expire after 5 minutes of no web interface being open (otherwise, it is continuously prolonged because of all the background API activity while refreshing the statistics). This timeout, however, can be set freely in pihole.toml and soon also in the web interface so this checkbox has stoped being useful.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-03 18:07:11 +01:00
DL6ER ccced4c1a8 Fix "undefined" hit counts on the dashboard
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-02 20:57:10 +01:00
DL6ER cb90e604e8 Add system information on first tab of the settings page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 22:59:12 +01:00
DL6ER 9464cf5d9b Remove db_queries.php. The Query Log has now builtin support for arbitrary time intervals
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 22:43:52 +01:00
DL6ER afd08593dd Use FTL-provided fileversion() function
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 22:39:43 +01:00
DL6ER 8ddebe8f14 Query Log: Use responsive design for query details
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 22:18:43 +01:00
DL6ER 590fec8bce Query Log: Use status icon instead of full-row colors to increase accessibility
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 22:09:10 +01:00
DL6ER c5989768dd Port Query Log to v6.0 API. The new query log offers extensive filtering abilities and uses server-side pagination
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 21:59:12 +01:00
DL6ER fb158191ff Port Pi-hole diagnosis system ("messages") to the new v6.0 API
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-01 21:31:07 +01:00
DL6ER 4eb9a4cf29 Port dashboard landing page to v6.0 API
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-31 20:41:12 +01:00
DL6ER 4cf7a82713 First steps into the v6.0 world. Login and logout is now possible and all pages load without PHP errors (even when they are mostly empty until we added all the new API methods)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-31 20:10:53 +01:00
yubiuser ef5dc34de6 Sync master back into development (#2513) 2023-01-25 22:29:48 +01:00
Adam Warner fb1b5c317e Hotfix v5.18.3 (#2512) v5.18.3 2023-01-25 21:25:18 +00:00
Adam Warner 8025a38aca Fix PHP-CS-Fixer complaints 2023-01-25 19:00:20 +00:00
Adam Warner a998f51f2b Merge pull request from GHSA-33w4-xf7m-f82m
Fix Improper Session Handling vulnerability of "Remember me for 7 days" functionality
2023-01-25 18:53:00 +00:00
4n4nk3 d31cf9d156 Fix insecure persistent login token
Signed-off-by: 4n4nk3 <47717886+4n4nk3@users.noreply.github.com>
2023-01-22 23:55:54 +01:00
Adam Warner 30cddcaa7d Sync master back into development (#2510) 2023-01-22 17:15:20 +00:00
Adam Warner c3c230ae29 Pi-hole web v5.18.2 (#2509) v5.18.2 2023-01-22 17:08:14 +00:00
Adam Warner 124d12ea37 Do not return 'false' if IDNA<->UNICODE conversion fails (#2479) 2023-01-22 14:10:50 +00:00
Adam Warner 1f194ef628 remove hard-coded /admin/ path (#2461) 2023-01-22 13:50:27 +00:00
Glenn Strauss d94d86bad8 remove hard-coded /admin/ path; relocatable
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-01-22 12:46:34 +00:00
yubiuser ec7b7536c6 Attenuate non-domain warning (#2507) 2023-01-21 19:26:58 +01:00
yubiuser 7a4be9e1b9 Tweak deleting message (#2498) 2023-01-21 19:26:08 +01:00
Christian König 4bc3d73acd Remove warning triangle
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-01-21 15:18:26 +01:00
Christian König 0155c366d1 Attenuate non-domain warning
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-01-21 14:54:14 +01:00
yubiuser f594d82403 Bump phpstan/phpstan from 1.9.11 to 1.9.14 (#2506) 2023-01-21 14:28:44 +01:00
dependabot[bot] 232731b6fd Bump phpstan/phpstan from 1.9.11 to 1.9.14
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.9.11 to 1.9.14.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.10.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.9.11...1.9.14)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-21 10:01:33 +00:00
Christian König 68ac05fb7e Do not fail if IDNA<->UNICODE conversion fails
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-01-20 17:04:30 +01:00
Christian König 4473955291 Don't use idstring in messages when it's not necessary
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-01-20 16:57:34 +01:00
Christian König acac90f79d Tweak deleting message
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-01-20 16:57:34 +01:00
yubiuser 92a5154c79 Show two decimals on doughnutTooltip if total share shown is less than 1% (#2502) 2023-01-19 21:50:52 +01:00
Christian König 9f7a04a37c Show two decimals on doughnutTooltip if total share shown is less than 1%
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-01-18 22:29:00 +01:00
yubiuser 678d7b935d Add default value for $ver in func.php (#2497) 2023-01-17 07:10:30 +01:00
Christian König a5eb854129 Add default value for $ver in func.php
Signed-off-by: Christian König <ckoenig@posteo.de>

Co-authored-by: ElectronicsTinkerer <ElectronicsTinkerer@users.noreply.github.com>
2023-01-16 23:02:24 +01:00
Adam Warner 35f7f36481 Sync master back into development (#2495) 2023-01-15 20:07:22 +00:00
Adam Warner 30668d4d67 v5.18.1 (#2493) v5.18.1 2023-01-15 20:02:01 +00:00
Adam Warner 72d12ff7b5 Sync master back into development (#2494) 2023-01-15 17:45:31 +00:00
Adam Warner 99755cef01 Add action to close stale PR (#2473) 2023-01-15 17:43:49 +00:00
yubiuser 9c6b2322d3 Bump phpstan/phpstan from 1.9.7 to 1.9.11 (#2491) 2023-01-14 13:51:47 +01:00
dependabot[bot] 4d636d3a8d Bump phpstan/phpstan from 1.9.7 to 1.9.11
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.9.7 to 1.9.11.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.10.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.9.7...1.9.11)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-14 13:49:00 +01:00
yubiuser b510723be3 Bump prettier from 2.8.1 to 2.8.3 (#2490) 2023-01-14 13:45:01 +01:00
dependabot[bot] c1a63fdb8e Bump prettier from 2.8.1 to 2.8.3
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.1 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.1...2.8.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-14 10:00:34 +00:00
RD WebDesign 9006c41191 Avoid browser cache issues using last modified time (#2489) 2023-01-13 23:14:20 -03:00
RD WebDesign 302a402277 Avoid caching issues using last modified time
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-13 23:10:15 -03:00
RD WebDesign 854e7e926d Adding option to show all results for queryads (#2487) 2023-01-13 23:09:50 -03:00
RD WebDesign 839836d848 Highlight the searched text
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-13 15:15:17 -03:00
RD WebDesign 9c62cc5225 Remove unused/dead old code
- "quiet" option and related functions (used by blocking page);
- "adlist" option (used by blocking page).

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-13 14:42:40 -03:00
RD WebDesign 393302efbc Fix buttons position on small screens
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-13 14:15:01 -03:00
RD WebDesign 2814556c16 Adding option to show all results for queryads
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-13 14:14:52 -03:00
yubiuser 56ab0bdede Regenerate package-lock.json (#2485) 2023-01-08 22:31:00 +01:00