Commit Graph

52 Commits

Author SHA1 Message Date
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
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
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
TheME
c0518aea4b remove inline stylesheet *
* to move it to pi-hole.css
2017-11-20 20:50:43 +01:00
TheME
18757e704d small fixes
- changed </list> to </span>
- fixed word-wrapping (it didn't worked on MS Edge)
2017-11-19 19:12:10 +01:00
TheME
ccda9a2630 replace Alerts with Modal *
* and add specific css style-sheet for it
2017-11-15 00:09:47 +01:00
DL6ER
a39bcca322 Move style properties to common CSS file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-24 23:27:24 +02:00
DL6ER
9b12f5f6d1 Make "Clear Filters" button stand out more
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-24 11:59:01 +02:00
DL6ER
b0e16975e4 Show reset button only if one-click filtering is actually used
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-23 13:55:09 +02:00
DL6ER
f1a5ec8953 Add "clear" button
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-23 13:46:28 +02:00
DL6ER
7e68fdecff Make sure license comment is only outputted after header.php has prepared all the stuff that need to be done beforehand. Fixes #450 2017-04-03 10:17:05 +02:00
DL6ER
d58439e0d9 Some cosmetics for fresh installed systems 2017-02-22 11:41:25 +01:00
DL6ER
aabff35bef Squashed commit of the following:
- Dynamically fall back to PHP API functions to ensure API does always repond even if FTL is not runnung for some reason
- Update PHP API from current devel branch
- Increase flexibility in getQueryTypes API call
- Hide top ads list if nothing to display
- Proper display of activated privacy mode
- Remove spinner (would otherwise not be removed for zero results)
- Update tables every 10 seconds
- Update query types and forward destinations plots every 10 seconds
- More verbose output in top lists (total number next to percentage in tooltip)
- Implemented "recentBlocked" keyword for API
- Ensure compatibility with PHP5 version < 5.4
- Adjust output format of overTimeData10mins to comply with PHP API
- Further speedup of Query Log page by showing only the recent 10 minutes by default
- Hide temperature if FTL is not running and show FTL status
- Add information to Settings page
- Adjust error message when loading of query log failed
- Move processing of domainname, clientIP, clientname and time interval filters for the Query Log page to FTL for speed enhancement
- Generate link if pi.hole comes up in the Top Domains list
- Remove resolve DNS names option - this is now enabled by default (daemon will only do it once per day instead of PHP-API which did it on every reloading of the web interface)
- Add socket timeout of 10 seconds + modification to Settings page since FTL backend supports API_EXCLUDE_CLIENTS filtering with both IP addresses and host names (also mixed)
- Improved Query Log page
2017-02-16 08:52:30 +01:00
DL6ER
9b799819bf Added header to main PHP files 2017-02-14 14:57:58 +01:00
DL6ER
9eadc26d30 Add more detailed error output recently added to the lists page to the query log action buttons 2017-01-09 14:40:40 +01:00
Promofaux
8240e2d23b merge devel 2016-12-29 19:59:09 +00:00
DL6ER
a9dec4ba41 Show that privacy mode is enabled 2016-12-27 22:23:56 +00:00
DL6ER
e5a9826078 Moved more private files out of the root directory 2016-12-21 21:10:21 +01:00
Mcat12
2f65430a4d Move PHP scripts to scripts folder 2016-12-21 21:09:58 +01:00
Promofaux
d0553ef169 Organise folder structure a bit better... Seperates vendor packages from self-written scripts. 2016-12-21 21:09:45 +01:00
DL6ER
e188cb6fbc Revert "Merge pull request #267 from pi-hole/folderStructure"
This reverts commit fba3d10fa4, reversing
changes made to 4ee75f4167.
2016-12-21 17:16:52 +01:00
DL6ER
bb2c2e2244 Moved more private files out of the root directory 2016-12-20 12:52:19 +01:00
Mcat12
d1da1de597 Move PHP scripts to scripts folder 2016-12-19 19:44:51 -05:00
Promofaux
6a13796d99 Organise folder structure a bit better... Seperates vendor packages from self-written scripts. 2016-12-19 18:30:16 +00:00
DL6ER
da12f6f16d Change the "none" to "nothing" 2016-12-19 10:44:04 +01:00
DL6ER
afa490cb81 Show information if API_QUERY_LOG_SHOW is set 2016-12-12 13:38:18 +01:00
DL6ER
1747fe16f2 session_start() already called earlier by password.php, leading to "PHP Notice: A session had already been started - ignoring session_start() in /var/www/html/admin/queries.php on line 4" fixed 2016-11-24 12:56:13 +01:00
DL6ER
d7a6412d7a Display which domain will be added to the black-/whitelist 2016-11-14 10:52:54 +01:00
DL6ER
409e189ed1 Added feedback when adding some entry to the black-/whitelist 2016-11-13 21:22:53 +01:00
DL6ER
025c22c287 Add possibility to blacklist/whitelist entries on the Queries page. 2016-11-13 18:57:25 +01:00
Ivan Tsenov
f4b52452e6 Queries table is now "responsive"
The queries table now scrolls horizontally if opened on small mobile screens.
2016-06-30 17:16:25 +03:00
viemmsakh
4f45f81dbf Update to require header.php instead of header.html 2016-06-20 10:57:59 -04:00
Mcat12
d7391dc860 Move main JS into separate files 2016-05-08 13:44:18 -04:00
Mcat12
991d273573 Merge master into devel
Conflicts: data.php
2016-03-23 20:19:26 -07:00
Promofaux
f5eef05ac3 Add an extra column to table to show pi-holed status. Highlight green or red depending on status. 2016-03-08 15:35:39 +00:00
Mcat12
4f20cc6627 Fix query log refresh 2016-03-07 20:59:47 -05:00
Mcat12
61a42111e4 Fix query log refresh 2016-03-07 20:58:00 -05:00