Commit Graph

29 Commits

Author SHA1 Message Date
Adam Warner
1d6875e632 Merge pull request #594 from pi-hole/tweak/API_stats_formating
Allow "domains_being_blocked" and "status" to contains non-numeric values
2017-10-31 19:39:54 +00:00
DL6ER
fd766dfdbb Merge pull request #593 from pi-hole/fix/non-local-FTL
Explicitly allow non-local FTL installations
2017-10-23 08:47:02 +02:00
DL6ER
2ade58322d Use exception for number formating in API only if the value returned by FTL is non-numeric (e.g. "N/A")
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-06 17:51:19 +02:00
DL6ER
3df3c5b29c Allow "domains_being_blocked" and "status" to contains something non-numeric
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-05 18:14:30 +02:00
DL6ER
fcf2eb663f Specify one common place for defining the IP of a non-local FTL instance. Fixes #589
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-02 12:19:24 +02:00
DL6ER
076700fc92 Add "Clients (over time)" graph (needs FTL on branch "new/clientsovertime") 2017-09-22 21:11:57 +02:00
DL6ER
874077107e Have API return floats instead of ints for the values that are percentages computed by FTL 2017-09-20 22:09:11 +02:00
DL6ER
93732f12b1 Re-add doughnut charts (#544)
* Re-add doughnut charts as this has been requested by some users

* Smaller optimizations

* Don't use rotation animation for further updates

* Apply attribute to correct graph

* Ask for unsorted list of forward destinations

* :codacy:

* Move setting to correct graph
2017-07-08 20:18:26 +02:00
DL6ER
557ebbbc7c Merge pull request #479 from pi-hole/new/audit-log
Audit log
2017-06-27 10:53:31 +02:00
DL6ER
915ec26547 Define $over_time as array. Fixes #501 2017-05-12 18:11:55 +02:00
DL6ER
f46a1c166f percentage should be a float instead of an integer 2017-05-10 21:02:02 +02:00
DL6ER
349faac048 Implemented also actions for audit log 2017-04-22 16:10:18 +02:00
DL6ER
b2a8ea7fee Add first version of Audit log 2017-04-22 01:44:26 +02:00
DL6ER
29c6c07af6 Add Query Types over Time 2017-03-28 14:51:19 +02:00
DL6ER
3ff43542f9 Require auth for API command overTimeDataForwards 2017-03-24 23:49:49 +01:00
DL6ER
93698f0c00 Fix axis to [0,1] and use unsorted list of forward destinations for the labels 2017-03-13 15:32:15 +01:00
DL6ER
46c451b3d1 New Forwarded over Time graph 2017-03-13 12:33:19 +01:00
DL6ER
fb8f0a081e Move API functions that are neither FTL nor PHP specific (enable, disable) to api.php 2017-03-01 14:05:38 +01:00
DL6ER
43b60829dc Copy disable coutdown timer and new (simplified) API token authentification from PHP API to FTL API 2017-02-28 14:49:43 +01:00
DL6ER
aacc215394 Some simplifications + center 10min interval data in the middle instead of the beginning of the corresponding interval 2017-02-27 17:20:12 +01:00
DL6ER
9471594bdf Move tailLog function into own file 2017-02-23 15:12:23 +01:00
DL6ER
874ec8c9db Implemented tailLog into FTL API 2017-02-23 15:03:53 +01:00
DL6ER
a6a4c944b0 Several optimizations to the new FTL API 2017-02-23 14:20:26 +01:00
DL6ER
bb9c669109 Adapt API versions 2017-02-23 13:17:45 +01:00
DL6ER
e3d791abb6 Add type / version 2017-02-20 12:45:56 +01:00
DL6ER
c3047f76c9 Add api.php?version 2017-02-20 11:33:24 +01:00
DL6ER
dc61eb82d4 Show summary if no arguments are passed to API 2017-02-19 19:10:49 +01:00
DL6ER
8a0839f439 Small security update to the indicidual API files 2017-02-19 19:05:06 +01:00
DL6ER
1975c261d0 Moved FTL API into own file as well 2017-02-19 14:52:28 +01:00