Björn Bohman 22a99bdbcf Let getAllQueries() return ordered JSON hash.
Make getAllQueries() take an optionally argument that can be any of:

* orderByClientDomainTime
* orderByClientTimeDomain
* orderByTimeClientDomain
* orderByTimeDomainClient
* orderByDomainClientTime
* orderByDomainTimeClient
* ANY THING ELSE

If argument is one of orderBy* make getAllQueries() return with JSON
hash that is structured by the way the argument sets.

This does not break the originally function of getAllQueries() and is backwards compatible.
2016-12-08 10:58:42 +01:00
2016-03-28 22:49:23 -04:00
2016-05-27 20:58:24 +10:00
2016-10-31 15:35:31 +00:00
2016-07-05 23:36:02 -05:00
2016-11-21 13:05:45 +00:00
2016-02-05 17:34:53 +00:00
2016-11-24 21:59:04 +01:00
2016-11-21 10:57:19 +01:00
2015-02-07 16:01:45 -05:00
2016-11-22 16:38:28 +01:00
2016-07-20 13:34:53 +01:00

Pi-hole Admin Dashboard

Join the chat at https://gitter.im/pi-hole/AdminLTE

Donate

Using AdminLTE, this project will create a Web interface for the ad-blocking Pi-hole: a black hole for Internet advertisements.

From this interface, you will be able to see stats on how well your Pi-hole is performing. You will also be able to update the lists used to block ads.

Pi-hole Web interface Fully responsive

API

A read-only API can be accessed at /admin/api.php. With either no parameters or api.php?summary it returns the following JSON:

{
	"domains_being_blocked": "136,708",
	"dns_queries_today": "18,108",
	"ads_blocked_today": "14,648",
	"ads_percentage_today": "80.9"
}

There are many more parameters, such as summaryRaw, overTimeData, topItems, recentItems, getQueryTypes, getForwardDestinations, getQuerySources, and finally getAllQueries.

Description
Pi-hole Dashboard for stats and more
Readme EUPL-1.2 85 MiB
Languages
JavaScript 52.9%
CSS 47.1%