Commit Graph

87 Commits

Author SHA1 Message Date
yubiuser
8062eae6f1 Add note to query log that pi.hole queries are not logged (#1913)
* Add note to query log that pi.hole is never logged

Signed-off-by: yubiuser <ckoenig@posteo.de>
2021-10-04 21:35:46 +01:00
DL6ER
fa2279d473 Add SVCB and HTTPS types and reduce code duplication
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-12-31 10:54:01 +01:00
Fabian Preuß
0b125b06c9 Added more query types to title of Query Log
Signed-off-by: Fabian Preuß <preuss_fabian@gmx.de>
2020-12-27 21:32:35 +01:00
DL6ER
632addf41e Add modal close button
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-11-09 22:55:16 +01:00
Adam Warner
e6e3be489b Add altKey to modifiers when clicking on query log
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-11-08 14:58:58 +00:00
Adam Warner
0db41baa23 Simplify query log filter.
Don't require modifier keys to interact (now works on mobile)
Hold modifier key to enable selection for copying domain (long press on mobile)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-10-12 17:41:38 +01:00
Tony
0a4ebe14e3 Add cache busting to all custom scripts and common css
Signed-off-by: Tony Jeffree <tjeffree@gmail.com>
2020-08-17 08:30:00 +01:00
DL6ER
ebe6527ab7 Merge pull request #1541 from pi-hole/fix/wording_query_log_links
Fix a few UI issues
2020-08-15 13:07:37 +02:00
DL6ER
d914e09941 Be a bit more specific about the upstream destination if it is the blocklist or the cache.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-08-02 19:54:54 +02:00
DL6ER
64a2419fa9 Add ability to filter for blocked queries in conjunction the client filter in the Query Log. Request such filtered data when clicking on a client in the Top Clients (blocked only) table on the dashboard.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-08-02 19:54:54 +02:00
DL6ER
39a4532374 Add specific titles in Query Log when opened with special links for upstream server or query type filtering.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-08-02 19:54:54 +02:00
Adam Warner
e0cd37b781 Merge branch 'release/v5.1' into ip-sorting-query 2020-07-16 18:38:53 +01:00
Adam Warner
606568054a enable IP sorting on the query/long-term query pages. Appears to work with a mixture of hostnames/IP's
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-06-07 11:09:20 +01:00
DL6ER
c90fbc28cc Reduce agressiveness of highlight color.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-04 10:14:23 +02:00
DL6ER
68e03df011 Simplify button by removing the description of what we are filtering.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-04 09:44:22 +02:00
DL6ER
55ab4f179f Minor style changes for the dark theme.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-03 15:51:39 +02:00
DL6ER
9b8946ee9f Merge branch 'devel' into tweak/exact_searching
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-03 15:21:12 +02:00
DL6ER
0e4d1e4e7f Implement per-browser checkbox and radio button styling using icheck-material.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-06-02 16:17:28 +01:00
XhmikosR
c108f7eef0 Remove duplicate token div
This is already added in header.php

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-29 07:54:58 +03:00
DL6ER
621e65b9bb Merge pull request #1367 from pi-hole/clean-table-classes
Clean table classes
2020-05-25 20:33:48 +02:00
DL6ER
184c8e47e1 Merge pull request #1332 from pi-hole/tweak/dhcp_save_state
Remember last used sort column/direction on DHCP lease tables
2020-05-25 20:05:45 +02:00
XhmikosR
b7540de7d0 Revert "Remove the invalid width="100% attribute"
This reverts commit 59ea121e07.

Apparently, we are doing something weird in the settings tables and this doesn't work. We should revisit this later.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 17:14:04 +03:00
XhmikosR
59ea121e07 Remove the invalid width="100% attribute
Also, add the missing `table` class in a network table.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:13:43 +03:00
XhmikosR
d3cd52b992 Remove the obsolete cellspacing="0" attribute.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:07:46 +03:00
XhmikosR
de71dd0fb5 Clean up table classes.
These are DataTables classes which we don't use since we use Bootstrap.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-24 16:05:24 +03:00
XhmikosR
e70e108cce Use .hidden/.show for showing/hiding the reset buttons
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-23 13:04:13 +03:00
XhmikosR
821b283cf2 Fix queries Clear Filters button
Now it should look like the rest of the buttons

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-23 11:23:11 +03:00
Adam Warner
3957e9eef1 Move some duplicated code to utils.js
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-23 11:04:30 +03:00
XhmikosR
bfd944e41c Switch to the plain chart.js build and moment.js to v2.24
This avoids including moment.js twice since chart.js bundle included moment.js

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 23:05:59 +03:00
XhmikosR
43151d3c43 Add type="button" to all buttons.
The default is `type="submit"`.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-11 21:40:26 +03:00
DL6ER
c463e15ba6 Fix wording
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-28 17:55:41 +00:00
DL6ER
6c26852295 Use classes for highlighting to ensure the alternate row colors are not lost when removing a column from the selection.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-26 21:51:38 +00:00
DL6ER
4d9409e708 Apply filtering events only on Ctrl/Command/Shift + Click.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-25 15:20:58 +02:00
DL6ER
f8ca9d4173 Replace / by "or".
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 16:21:04 +02:00
DL6ER
b74816d8f6 Improve wording
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 08:41:37 +02:00
DL6ER
2439c3c76a Add comment that holding down [Ctrl] can do something magical
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 15:38:46 +02:00
DL6ER
8c1503cac5 Show filtering details on clear button.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 11:20:17 +02:00
DL6ER
e328f51e17 Remember last state of the "Apply filtering" checkbox on the Query Log page. Store this browser- not server-wise so individual users can use their own prefered settings.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-03-31 20:20:17 +00:00
Mcat12
3b635e0245 Move script tags inside html tag
Fixes #863

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-11-10 13:51:14 -05:00
Adam Warner
342a53ed99 Remove duplicate of the word "queries" on the query log page
Signed-off-by: Adam Warner <adamw@rner.email>
2018-07-01 13:10:38 +01: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
DL6ER
5e8f4b2584 Merge branch 'devel' into FTLDNS 2018-04-01 16:46:35 +02:00
DL6ER
c278428b28 Change header texts, move "show all" hyperlink out of the parentheses
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-03-08 09:56:28 +01:00
DL6ER
5d38af4332 Add reply type column
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-02-16 20:51:14 +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
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
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
TheME
ca868ca4b3 optimize query-log for small screens
Signed-off-by: Th3M3 <the_me@outlook.de>
2017-12-10 15:15:38 +01:00