Commit Graph

232 Commits

Author SHA1 Message Date
DL6ER
8796583818 Implement finer grained external blocking displaying
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-02-04 17:45:30 +01:00
Mcat12
f19a538e7f Clarify wording of DNSSEC Unknown status
Previously, unknown DNSSEC status was marked with a question mark. FTL
loads queries from the database and sets the DNSSEC status to unknown,
because that information is not stored in the database:
https://github.com/pi-hole/FTL/pull/461

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-01-26 13:11:08 -08:00
Mcat12
b1549f1da8 Fix whitelisting from the query log (and DB query log)
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-08-26 12:38:50 -04:00
Mark Drobnak
ec96282fd8 Merge pull request #824 from pi-hole/tweak/blocked_instead_of_Piholed
Change "Pi-holed" to "Blocked" on the Query Log
2018-08-17 12:49:33 -04:00
DL6ER
511b42352a Do not show whitelist button for externally blocked domains as whitelisting these domains has not yet been implemented
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-17 18:26:21 +02:00
DL6ER
9646468022 +Show whitelisting button for regex blocked queries as pihole-FTL can actually whitelist regex filtered domains
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-16 14:24:32 +02:00
DL6ER
c6b6edae05 Change "Pi-holed" to "Blocked" on the Query Log. Also add a new "Blocked (external)" status that will be used by a future version of FTL. I also removed the addition of the dnssec status to the "Blocked (gravity)" status as requests answered from the blocking lists do not have a DNSSEC status.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-16 14:16:30 +02:00
DL6ER
6fb2dab5bc Extend query log and API to be able to handle requests limited to specific forward destinations and query types
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-15 14:36:37 +02:00
DL6ER
afc97b1004 :codacy: review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-09 18:20:09 +02:00
DL6ER
5360bfae9d Add RRNAME as reply type for TXT queries
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-09 18:07:40 +02:00
DL6ER
f2cf9ab8d7 Add further reply types
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-09 17:46:50 +02:00
DL6ER
423084dc3b Restructure long chain of "if" statements into a set of "switch" statements. No functional change!
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-08-09 17:44:26 +02:00
DL6ER
cca2f6fc69 Always start with empty search field on Query Log page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-07-16 18:35:30 +02:00
Mark Drobnak
6fd0709f72 Merge pull request #763 from pi-hole/query-log/remove_DNSSEC_extra_column
Query Log: Remove DNSSEC column
2018-06-14 20:37:37 -04:00
DL6ER
881d80b7f7 Don't append DNSSEC status if wildcard blocked
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-14 17:25:22 +02:00
DL6ER
c93fe7a93f Fix syntax
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-03 12:29:28 +02:00
DL6ER
65cb428f35 Codacy forces { } even for single lines
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-03 12:24:15 +02:00
DL6ER
965a8f31c7 Remember last selected "Show X entries" in Query Log
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-03 12:11:55 +02:00
DL6ER
2df0c21753 Remove extra DNSSEC column. Instead, we integrate the DNSSEC result into the STATUS column if available.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-03 11:32:33 +02:00
Rob Gill
0fd0061e73 Fix query sorting by Reply, DNSSEC and Action
orderData added to column specifications, allowing sorting to work when storage and display columns do not match.

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2018-05-26 20:25:34 +10:00
DL6ER
5e8f4b2584 Merge branch 'devel' into FTLDNS 2018-04-01 16:46:35 +02:00
DL6ER
dca374bfcd Simplify NODATA reply type (no need to show A/AAAA here as we show that in the second column) and add reply time if available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-04-01 16:39:54 +02:00
DL6ER
517fa24fe3 Show "N/A" for queries where the reply has not yet reached the Pi-hole
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-03-25 13:44:48 +02:00
DL6ER
937a76bf9b Remove color from reply column
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-16 21:01:05 +01:00
DL6ER
5d38af4332 Add reply type column
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-16 20:51:14 +01:00
DL6ER
e6a112c54e Remove TTL display, highlight NODATA and NXDOMAIN with different colors
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-16 20:34:43 +01:00
DL6ER
dda0bed8ee :codacy: doesn't like non-curly ifs
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-11 18:00:52 +01:00
DL6ER
0c72e06314 Also display TTL if available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-11 17:51:23 +01:00
DL6ER
c62daea621 Remove unnecessary options variable
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-10 16:32:29 +01:00
DL6ER
1db322b963 Show most recent 100 queries instead of queries within most recent 10 minutes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-10 14:10:55 +01:00
DL6ER
b549a5228d Distinguish between NODATA-IPv4 and NODATA-IPv6
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-08 21:58:36 +01:00
DL6ER
37b8d59340 Don't show details for blocked queries
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-08 21:01:09 +01:00
DL6ER
aec42487de Add IP display
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-08 20:55:12 +01:00
DL6ER
a2f6b7d7a0 Make sure to not mix spaces and tabs :codacy:
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-08 20:50:27 +01:00
DL6ER
c5931ee746 Show more details for forwarded queries
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-08 20:38:15 +01:00
Mark Drobnak
63061fa826 Merge pull request #616 from Th3M3/AddToList_Modal
replace Alerts with Modal on queries.php page
2018-01-20 11:12:33 -05:00
Mark Drobnak
1e96f5d6dd Merge branch 'devel' into mobile-query-log2 2018-01-12 11:03:48 -05:00
DL6ER
6500d46289 Unspecified is no error, so make it black
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-31 17:20:41 +01:00
DL6ER
f5930e134c Add ABANDONED result
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-31 17:19:21 +01:00
DL6ER
d9d477f7fb Add "BOGUS" and unknown ("?")
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-31 16:50:31 +01:00
DL6ER
b5adf6d28a Show DNSSEC result in Query Log (if available)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-31 16:41:27 +01:00
Mark Drobnak
224bb79dbf Merge branch 'devel' into mobile-query-log2 2017-12-22 12:44:30 -05:00
DL6ER
cfa9bfbbd2 :codacy:
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-17 21:08:58 +01:00
DL6ER
ff66f4af97 Merge branch 'devel' into release/3.2 2017-12-16 20:50:20 +01:00
TheME
ca868ca4b3 optimize query-log for small screens
Signed-off-by: Th3M3 <the_me@outlook.de>
2017-12-10 15:15:38 +01:00
DL6ER
7a93fa6470 :codacy: says: "Strings must use doublequote"
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-10 12:43:59 +01:00
DL6ER
848f59787a Add checkbox on Query Log to be able to disable filtering on click
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-10 12:31:54 +01:00
Adam Warner
9c97c97504 Update queries.js
Add a space to the header to force codacy to move on from the current commit in this PR
2017-12-07 00:44:25 +00:00
DL6ER
aa42f3d282 :codacy:
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-12-02 11:16:20 +01:00
TheME
cd08ae7141 reduce nasting, as suggested 2017-11-20 20:40:22 +01:00