Commit Graph

918 Commits

Author SHA1 Message Date
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
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
DL6ER
4e1f7c23a1 Merge branch 'devel' into update/dnsmasq-v2.86 2021-07-04 12:58:23 +02: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
762aba21ec Add note when a BOGUS result was sent down from upstream (we cannot say why it failed in this case)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-07-03 09:37:25 +02:00
DL6ER
a120e72524 Add EDE if available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-06-28 20:35:51 +02:00
DL6ER
122146fcc6 Update styling of scripts/pi-hole/js/settings.js
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-06-26 15:28:11 +00:00
DL6ER
df9bf15e75 Query Log: Show if a query was already answered or was only sent to an upstream (and we're still awaiting the reply)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-06-26 11:00:49 +02:00
DL6ER
fb2b87e833 Add new DNSSEC reply type
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-06-23 11:43:14 +02:00
DL6ER
0d0a8dba67 Change prettier option trailingComma from "none" to the new default "es5" (see https://prettier.io/docs/en/options.html#trailing-commas)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-06-23 11:26:43 +02:00
Adam Warner
1488af490b Merge pull request #1809 from pi-hole/master
resync Dev with Master
2021-05-19 21:06:14 +01:00
XhmikosR
cf6a59d63f Disable a few xo rules for now.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2021-04-13 19:25:35 +00:00
Adam Warner
074621be54 use textContent instead ot innerHTML to prevent possible xss attack
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-04-11 20:04:34 +01:00
DL6ER
187e9ddae6 Merge pull request #1673 from pi-hole/new/gravity_adlist_infos
Add details to adlist table
2021-03-17 20:35:40 +01:00
DL6ER
78672fdbec Avoid 1970 date if list was never updated. 2021-03-17 16:55:27 +01:00
yubiuser
e045ec3d32 Fix prettier complains
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-02-18 20:24:03 +01:00
yubiuser
cc2030968d Don't count new status types as blocked queries
Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-02-17 22:55:27 +01:00
DL6ER
bc108ea834 Add status icon tooltip
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-02-07 11:27:34 +01:00
DL6ER
ba3acbbade Do not create links for file:// adlists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-02-07 11:24:49 +01:00
DL6ER
894ea0a8fa Open adlists in new tabs and allow sorting by status.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-02-07 11:24:42 +01:00
DL6ER
9be0c61050 Always inform about any invalid domains on a list using exclamation-triangle and bold-red text in the invalid domains column
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-02-07 11:24:38 +01:00
DL6ER
9b821dd481 Use distinct icons for getting more information on the first look
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-02-07 11:24:33 +01:00
DL6ER
5533b4fc9e Improve formatting and make status texts more human-friendly
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-02-07 11:24:23 +01:00
DL6ER
a39010582c Add additional information children to adlist table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-02-07 11:24:00 +01:00
DL6ER
2d02855830 Add interpretation of new query status 14 = already forwarded
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-01-24 10:38:22 +01:00
DL6ER
cfce364c84 Change tooltip wording to "% of shown items" to be more universal
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-01-19 08:04:22 +01:00
DL6ER
02389490dc Also compute and show share of displayed quantities in the doghount charts (only if some items are hidden)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-01-19 07:59:07 +01:00
DL6ER
92dbd9dd37 Only add link to Query Log when filtering property is available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-01-19 07:11:11 +01:00
Dan Schaper
2976254bbc unicorn/no-lonely-if
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2021-01-02 20:53:20 -08:00
Dan Schaper
e763993574 unicorn/prefer-dom-node-append
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2021-01-02 20:33:14 -08:00
Dan Schaper
3bd702563c Date.now() fixes
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2021-01-02 20:33:14 -08:00
Fabian Preuß
54dfc54a61 Fix sorting by replies in query log
Signed-off-by: Fabian Preuß <preuss_fabian@gmx.de>
2020-12-27 04:45:24 +01:00
Adam Warner
a28f4e4f18 Prevent malformed DNS queries executing JS on querylog/long term query log
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-12-23 18:11:14 +00:00
DL6ER
835f12ddec Merge pull request #1594 from yubiuser/tweak/colors
Change color of blocked queries in dashboard piechart forward destination to red
2020-12-10 22:08:35 +01:00
dnhp
ef6a740370 Fix issue 1643 - quote numbers in switch case
Signed-off-by: dnhp <34394848+dnhp@users.noreply.github.com>
2020-12-01 12:04:16 +00:00
Adam Warner
68351a3a91 Merge pull request #1634 from pi-hole/new/unlink_DHCP_lease
Add button to remove dynamic DHCP leases
2020-11-28 16:32:37 +00:00
Adam Warner
483f5037db Merge pull request #1625 from pi-hole/tweak/replace_domains
Add new replace_domain action to allow adding domain(s) exclusively to a specific list
2020-11-28 16:25:38 +00:00
DL6ER
6e0e1bbb41 Add button to remove dynamic DHCP leases. They are immediately removed both from FTL and the dhcp.leases file (FTL takes care of updating the file!) WITHOUT the need for a restart of the DHCP/DNS resolver.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-23 13:35:40 +01:00
DL6ER
1ea21911cf Merge pull request #1630 from pi-hole/new/mesage_dnsmasq_config_errors
Print fatal dnsmasq errors
2020-11-18 00:11:32 +01:00
DL6ER
5e808765e3 Print fatal dnsmasq errors
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-17 22:41:00 +01:00
DL6ER
4ee491115a Show upstream destination a query was sent to in the Query Log (both standard and long-term)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-13 01:01:49 +01:00
DL6ER
0de0edcc9b Merge branch 'devel' into tweak/replace_domains 2020-11-09 22:28:13 +01:00
DL6ER
a3b24e08aa Reduce code-duplication by moving the addFromQueryLog() function into utils.js. This also fixes non-visible modals on the long-term query log page.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-09 21:33:09 +01:00