Andrew Koebbe
cfb3f5070a
Improved performance by not reading the log file in to memory
...
Fixed the ForwardDestinations not setting the first value for a domain as 1
Fixed a bug where when no ads blocked the alignTimeArrays would error on the min and max calls
2016-10-09 11:22:00 -05:00
Adam Hill
b372c2e3d2
Fixes #150
...
During the beginning of the month with the log having two spaces between Month & Day we get 9 values back instead of 8. Stripping double spaces fixes. E.G. `Oct 1` comapred to `Sep 26`
2016-10-01 10:18:52 -05:00
Promofaux
55df44edf3
change $ipv6 value to read from /etc/pihole/setupVars.conf instead of /etc/pihole/.useIPV6
2016-09-16 23:59:59 +01:00
Promofaux
f53a77301f
in findAds: ensure count($exploded) == 8
2016-09-16 23:42:13 +01:00
Promofaux
b35b0dd7a6
Actually set status to "" before checking it!
2016-09-16 23:23:54 +01:00
Adam Warner
f319ec6cfa
Suppress pi.hole and hostname pulled from /etc/hostname from the stats, as they're not really ads.
2016-09-06 09:08:12 +01:00
Promofaux
e79dc2bb0e
Split $host at any whitespace, not just tab.
...
addresses : https://github.com/pi-hole/pi-hole/issues/484
2016-04-28 20:22:27 +01:00
Promofaux
861be94589
actually limit list of sources to 10.
2016-04-18 22:46:49 +01:00
Promofaux
51b13087ca
Switch display order of Hostname IP to be Hostname (IP)
2016-04-16 14:46:44 +01:00
Promofaux
f45d42ca63
Changes to data.php to allow showing Top 10 clients in table
2016-04-16 14:21:34 +01:00
Promofaux
8d03e0c2b5
Merge branch 'devel' of github.com:pi-hole/AdminLTE into HostNames
2016-04-16 14:14:07 +01:00
Promofaux
fa8cec8fa7
add extra check to getAllQueries so that reads of gravity.list are not counted as pi-holed
2016-04-16 02:50:15 +01:00
Promofaux
4499e2f3b9
Remove erroneous space after hostname
2016-04-16 01:07:33 +01:00
Promofaux
c9e840efa9
Add hostname check to Top Clients graph and Query Log page
2016-04-16 00:56:30 +01:00
Promofaux
02f6517b55
Add ability to check for local hostnames
2016-04-16 00:55:19 +01:00
Promofaux
ad2715e23f
Increase complexity of FindAds filter. Removes 'bad name' and host file reload lines from the log whilst parsing
2016-04-15 23:40:40 +01:00
Promofaux
77de621d25
possible fix lighttpd for error where $status was undefined
2016-04-15 21:27:32 +01:00
Promofaux
52281939eb
Create seperate filter for get all queries, as it was messing up the main page.
2016-04-15 21:04:08 +01:00
Promofaux
1028d164dc
revamp the getAllQueries function. The filter now includes the 'forwarded' and '/etc/pihole/gravity.list' lines. Super Zoomy!
2016-04-15 20:40:32 +01:00
Promofaux
6ebe481351
Rename function to make more sense.
2016-04-15 19:12:50 +01:00
Justin Theberge
b540ace987
relevant names
2016-04-06 10:19:07 -04:00
Justin Theberge
63539fa16a
fix linecount
2016-04-06 09:48:50 -04:00
Justin Theberge
096bc06d65
Fix for high CPU usage caused by "PHP Warning" flooding the journal.
...
PHP Warning: fgets() expects parameter 1 to be resource, boolean was given
2016-04-05 08:59:03 -04:00
Adam Warner
4297718527
Merge pull request #64 from pi-hole/apiChanges
...
More API improvements
2016-03-31 23:45:28 +01:00
Promofaux
ba10330960
PHP no longer falls over when reading in a large number of domains from the blocklist
2016-03-31 23:26:19 +01:00
Mcat12
5394118fb6
Fixed status indicator
...
Was still using old indexing
2016-03-17 20:37:18 -04:00
Mcat12
edeaaabbe3
Merge branch 'devel' into fixQueryLog
...
Conflicts:
data.php
2016-03-16 20:55:45 -04:00
Mcat12
b37ed3fa51
Actually fixed query log this time
...
Maybe
2016-03-16 20:35:37 -04:00
Promofaux
e61c189bcc
Vastly improve checking for domain in gravity.list (think 30+ seconds down to 1)
2016-03-08 19:09:38 +00:00
Promofaux
91f2514ea1
Check gravity.list to see if domain is a pi-holed one
2016-03-08 15:34:26 +00:00
Promofaux
8d02575b1a
Fix divide-by-zero error as mentioned in #55
2016-03-08 13:01:27 +00:00
Mcat12
ddb2aa346d
Fix Query Log data
2016-03-01 22:50:18 -05:00
Promofaux
1477a1e804
Remove references to GMT. Causing issues for international users
2016-02-23 22:00:29 +00:00
Brice Johnson
b80c373cfa
Added page to view daily query log history
2016-02-13 00:01:50 -06:00
Brice Johnson
e73ba8b28c
Added fix for time gaps in log for the 'over time' graph
2016-02-12 22:54:09 -06:00
Brice Johnson
4fa6b3dc6b
Added radar graph for top clients
2016-02-11 23:41:31 -06:00
Brice Johnson
0544cfb398
Added forwarding destination chart
2016-02-10 23:40:20 -06:00
Brice Johnson
5d68c72477
Added query types graph
2016-02-10 23:18:11 -06:00
Brice Johnson
f72d28d45e
Changed array indexing to be more robust
2016-02-09 18:50:47 -06:00
Brice Johnson
21741094f1
Moved data retrieval to Ajax call. Fixed ipv6 number. Fixed top
...
domains/advertisers tables.
2016-02-02 22:27:42 -06:00
Brice Johnson
c6c227de43
Added most recent queries
2016-01-25 21:20:53 -06:00
Brice Johnson
740f69f7a7
Removed advertising domains from top domains list
2016-01-25 20:56:39 -06:00
Brice Johnson
6cafb226d5
Fixed bugs in over-time graph
2016-01-25 20:41:46 -06:00
Brice Johnson
81a81c517e
Added chart of queries over time
2016-01-15 23:40:15 -06:00
Brice Johnson
f018e0f6f9
Added lists of top domains/ads. Moved data collection to separate file.
2016-01-15 22:29:18 -06:00