Commit Graph

10 Commits

Author SHA1 Message Date
Mcat12
afe2f73bef Use triple equals in the other places too
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-01-07 14:20:41 -05:00
Mcat12
322f73fcac Use triple equals
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-01-07 14:13:57 -05:00
Mcat12
081f0bb98c Add timeout warning to database pages
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-01-07 14:04:38 -05:00
Mcat12
cff98f8ebe Remove testing change 2017-08-08 20:49:31 -04:00
Mcat12
127314e98e Fix undefined total in DB top lists 2017-08-08 20:46:01 -04:00
DL6ER
40ae7fb0ca Add long-term graph page (#542)
* Add api_db.php?getGraphData

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Add new DB Graph page

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Adjust x-axis format

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Tweaks to long term stats (#543)

* add maxDate to Datepicker

* remove `GO` Button from datepicker input, instead hook into the apply event to update the graphs/charts when the date range is selected

* :codacy:

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Fix comment + another :codacy:

* Remove duplicated code

* Add click callback to DB graph that sends the user to the DB query log page. This required some re-write of the DB queries page.

* Remove uneeded global variable

* Remove minDate and MaxDate as it is causing issues on fresh installs

* Oh :codacy: ...
2017-07-08 23:42:21 +02:00
Mcat12
220a47f67e Merge pull request #537 from pi-hole/tweak/long_term_24H
Daterangepicker: Display time in 24H modus
2017-06-30 11:11:06 -04:00
DL6ER
76e4cc6a40 Fix datrangepicker for "Today" and "Yesterday". Add "All Time" option. (#535)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-06-30 17:04:10 +02:00
DL6ER
273f9373b2 Display time in 24H instead of 12H mode
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-06-30 13:40:13 +02:00
DL6ER
9f7fb18f31 Long-term statistics implementation (using FTL's database) (#521)
* - Add DB Top Lists
- Add DB Query Log
- Add DB API

* Allow to select only queries that are equal/newer than the oldest entry in the database
2017-06-29 20:57:09 +02:00