Commit Graph

1700 Commits

Author SHA1 Message Date
David Beitey effcd907cd Make entire Forgot Password box header clickable (#1917)
This adjusts the markup for the Forgot Password box such that the entire
box header (the text, whitespace and plus/minus icon) is interactive.
Previous behaviour of clicking the icon remains the same.

This also improves the markup/spacing inside the box's content.

Signed-off-by: David Beitey <david@davidjb.com>
2021-10-06 22:43:56 +01:00
Lion Ralfs 7462904c60 fix: row background colors in query log (#1906)
Signed-off-by: Lion Ralfs <lion.ralfs@gmail.com>
2021-10-05 14:48:54 +01:00
yubiuser 57bf116e47 Unescape German umlauts (#1914)
* Unescape German umlauts

Signed-off-by: Yubiuser <ckoenig@posteo.de>
2021-10-04 21:30:21 +01:00
Adam Warner d64818c7a5 Merge pull request #1892 from a1346054/fixes
Simple maintenance improvements
2021-09-29 21:17:25 +01:00
Adam Warner 5f52259c7e Merge pull request #1897 from yubiuser/lift_subnet_limitation
Lift prefix limitaion for --rev-server
2021-09-29 21:11:44 +01:00
DL6ER 8de314f919 Merge pull request #1886 from yubiuser/delete_messages2
Add delete button to message table
2021-09-27 08:10:20 +02:00
yubiuser 7f13dda4a8 Fix regex
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-09-21 19:59:24 +02:00
Adam Warner e3a69aff6a Add background colors on Query log + switchable text coloring (as before) (#1893)
* Add subtle background colour to the rows depending on query status

* Do the same for long term query log (and also apply changes missed on last release

* Add per-browser setting for Query Log colorization

Signed-off-by: DL6ER <dl6er@dl6er.de>

Co-authored-by: DL6ER <dl6er@dl6er.de>
2021-09-21 09:39:49 -07:00
yubiuser 2d41191ac3 Lift prefix limitaion for --rev-server
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-09-21 09:25:31 +02:00
a1346054 26f0203137 Trim excess whitespace
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-09-15 21:23:01 +00:00
a1346054 48c63c0a0b Fix spelling
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-09-15 21:22:59 +00:00
a1346054 a8ab8c811f Use english name for control key
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-09-15 21:22:58 +00:00
a1346054 7517028c64 Add final newline
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-09-15 21:22:56 +00:00
yubiuser e0ba6ded2a Address review comments
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-09-12 19:42:34 +02:00
yubiuser 086a8dabbb Fix xo
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-09-12 19:42:25 +02:00
DL6ER 4faa77da39 Add interpretation for Pi-hole message type RATE_LIMIT
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-09-12 19:42:14 +02:00
yubiuser 29fbb3379f Fix prettier
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-09-12 19:41:30 +02:00
yubiuser 9aaa45a034 Add delete button to message table
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-09-12 19:41:15 +02:00
DL6ER 1cefaf98ab Merge pull request #1884 from yubiuser/target_blank2
Add forgotten target_blank
2021-09-12 15:39:35 +02:00
yubiuser 3889c0733f Add forgotton target _blank
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-09-12 12:30:45 +02:00
XhmikosR f9506c5484 Autofix issues
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2021-09-12 10:26:14 +03:00
Adam Warner 2e9bb78472 Merge pull request #1882 from pi-hole/master
Sync Master back to Dev
2021-09-11 22:39:57 +01:00
DL6ER 438c5be2f3 Merge pull request #1854 from pi-hole/XhmikosR-patch-1
footer.php: move FTL before Web Interface
2021-09-11 22:01:02 +02:00
Adam Warner 42c4ed8e66 Merge pull request #1871 from pi-hole/tweak/non_cached_replies
Add BLOB reply type
2021-09-11 21:00:46 +01:00
Adam Warner 293bc97b49 Merge pull request #1872 from pi-hole/tweak/color
Less color for the Query Log
2021-09-11 20:59:49 +01:00
Adam Warner 25df783378 Apply htmlentities in a couple of places to prevent xss
Co-authored-by: wtwver <wtwver@users.noreply.github.com>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-11 20:03:05 +01:00
Adam Warner cf8602eedd set httponly to true when calling setcookie. the ini_set option above doesn't actually seem to do anything... (but not removing it just in case
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-09-11 19:36:18 +01:00
DL6ER 5db2fc2786 Remove coloring of the domain names
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-09-09 20:51:16 +02:00
DL6ER b174bad770 Less color for the Query Log
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-09-09 20:34:05 +02:00
DL6ER b9645ff6c5 Add new BLOB reply type
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-08-27 15:14:33 +02:00
DL6ER 487ac38435 Show response time only when reply is not N/A
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-08-27 15:13:55 +02:00
DL6ER 224f906069 Merge pull request #1869 from pi-hole/tweak/blocking_while_busy
Add new blocked by database status and NONE reply type
2021-08-23 20:19:19 +02:00
DL6ER a2ff50851c Merge pull request #1867 from pi-hole/devel
Import two fixes
2021-08-19 06:58:18 +02:00
DL6ER b4a26d3d59 Add new blocked by database status and NONE reply types
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-08-18 11:24:59 +02:00
MichaIng bea1d91be3 Fix TypeError if no extended DNS error is available
If no extended DNS errors are available, the "ede" variable is assigned an undefined array value, hence "ede" is undefined. Since the length method is not available on undefined variables, a TypeError is thrown later in the script, which breaks the DNS queries view in the admin panel.

This commit solves the issue by assigning an empty string, if no EDE is available (data[11] is undefined).

Signed-off-by: MichaIng <micha@dietpi.com>
2021-08-16 23:23:44 +02:00
Fabian Preuß 196e226e2c Add padding between if statements
Signed-off-by: Fabian Preuß <preuss_fabian@gmx.de>
2021-08-10 21:21:12 +02:00
Fabian Preuß 48ee7abbe8 Stop timer when user reenabled blocking early
Signed-off-by: Fabian Preuß <preuss_fabian@gmx.de>
2021-08-10 21:02:05 +02:00
DL6ER c77f104072 Add interpretation for Pi-hole message type RATE_LIMIT
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-08-06 21:35:51 +02:00
Adam Warner a7ec9510b5 re-implement fix introduced in 1664090a01
Release v5.5.1 (based on `master`) has fixed this in `savesettings.php`, but the functionality has since been moved to `func.php` in `devel`, and so the fix needs applying here, too.

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-08-04 20:44:20 +01:00
Adam Warner 647eba40d3 Merge branch 'release/v5.6' into devel 2021-08-04 20:32:59 +01:00
Adam Warner dacdb3d72c Merge pull request #1857 from pi-hole/master
Sync Master -> Dev
2021-08-04 20:21:44 +01:00
Adam Warner 7aa8057df7 Merge pull request from GHSA-5cm9-6p3m-v259
Fix (Authenticated) Remote Code Execution Possible in Web Interface 5.5
2021-08-04 18:13:35 +01:00
Adam Warner 8066069a1f Prevent arbritary js code from beign returned from the database
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-08-04 17:29:57 +01:00
XhmikosR 26ec74a75a footer.php: move FTL before Web Interface
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2021-07-31 21:13:01 +03:00
DL6ER 559150bb1f Fix inverse logic when adding domains on the group management pages.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-07-25 19:03:34 +02:00
DL6ER 03920e3595 Move validation functions into func.php and use the same validation in all cases.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-07-25 16:59:16 +02:00
DL6ER 4e1f7c23a1 Merge branch 'devel' into update/dnsmasq-v2.86 2021-07-04 12:58:23 +02:00
Adam Warner 68034029b7 Merge pull request #1822 from adyanth/devel
Adding CORS support via environment variable
2021-07-04 11:49:01 +01:00
DL6ER f5b59d141b Hide blackbutton for internally generated DNSSEC queries (they cannot be blocked)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-07-04 11:37:10 +02:00
DL6ER 0e25554cab Merge pull request #1844 from pi-hole/tweak/chartjs294
Update Charts.js from 2.9.3 to 2.9.4
2021-07-04 10:17:26 +02:00