Commit Graph

91 Commits

Author SHA1 Message Date
DL6ER 15baa4be00 Changed definition of callback to method shorthand. Added missing semicolon. 2016-11-20 15:02:22 +01:00
DL6ER 5da4099bd3 Strings -> doublequote 2016-11-20 14:24:32 +01:00
DL6ER d0872cf095 Removed unnecessary semicolon 2016-11-20 14:20:29 +01:00
DL6ER 24670a854b Merge branch 'devel' into moredetailedgraph 2016-11-20 14:19:16 +01:00
DL6ER 5b4a880dea Change how we pad the numbers as codacy complained 2016-11-20 14:15:45 +01:00
DL6ER e3a2c8d5b0 Added a missing semicolon + adjusted wording to comply with updated summary texts 2016-11-20 14:09:38 +01:00
DL6ER 6c497f5960 Added custom tooltip title callback with more details on what we actually show here. 2016-11-20 13:58:29 +01:00
Adam Warner 0e75c8e516 Merge pull request #201 from DL6ER/gravity.sh
Run gravity.sh from web UI
2016-11-20 12:54:58 +00:00
DL6ER 5abc726b57 Changed tooltip format 2016-11-19 23:37:53 +01:00
DL6ER 94656b38e1 Remove normalization to "per hour" units. Now the data is displayed as "per 10 minutes" 2016-11-19 22:16:50 +01:00
DL6ER 288e771d1e Minor bugfix: Also show success if the pi-hole is disabled during the update of the lists. 2016-11-19 22:10:32 +01:00
Adam Warner d0a6c80eec Merge pull request #195 from DL6ER/listallqueries
Add option to show *all* recent queries at once
2016-11-18 16:15:30 +00:00
DL6ER 73ae5b69be Hide "Updating..." box if gravity.sh quits 2016-11-18 15:58:38 +01:00
DL6ER ba811544f8 Okay, once more ... 2016-11-18 15:25:32 +01:00
DL6ER 7a1652c959 Trying one more to satisfy codacy 2016-11-18 15:18:15 +01:00
DL6ER 8ce32d2ee2 Reduce complexity of code as requested by codacy... 2016-11-18 15:11:55 +01:00
DL6ER f9b6d4d887 Make sure that the green "Success" box is only shown if gravity.sh returned "Pi-hole blocking is Enabled" 2016-11-18 15:04:46 +01:00
DL6ER f777ba6735 Fixed codacy issue. 2016-11-18 13:56:13 +01:00
DL6ER d33d53792e Reduce timeout for hiding the info box 2016-11-18 13:46:38 +01:00
DL6ER 41ea8155c1 Minor change 2016-11-18 13:45:11 +01:00
DL6ER 66e4da7724 Run gravity.sh from the web UI 2016-11-18 13:43:05 +01:00
DL6ER 5106c2f8cb Merge remote-tracking branch 'official/devel' into moredetailedgraph
Conflicts:
	js/pihole/index.js
2016-11-18 12:34:28 +01:00
DL6ER be4153b111 Addressed some more of codacy's "issues" 2016-11-18 12:32:55 +01:00
DL6ER 1576bf6bf7 Addressed codacy-bot issues 2016-11-18 12:21:01 +01:00
DL6ER 896f30a56a Skip last datapoint in main diagram 2016-11-17 13:37:59 +01:00
DL6ER fa220266e0 Merge branch 'devel' into moredetailedgraph 2016-11-17 10:56:00 +01:00
DL6ER fe7b91a1cc Changed x axis labels to 24h format (I haven't noticed this since it is still before midday). 2016-11-17 10:54:02 +01:00
DL6ER 3dbbbca39f Merge branch 'devel' into listallqueries
Conflicts:
	js/pihole/queries.js
2016-11-17 10:49:22 +01:00
DL6ER 3f9b1bc81f Changed how we pass the x axis data to Chart.js to allow for meaning full tooltips in between the full hours. 2016-11-17 10:46:06 +01:00
DL6ER 143af82e86 Added a comment for how we could format higher resolution axis labels 2016-11-16 23:43:29 +01:00
DL6ER c67feff90d Reduced pointHitRadius from 20 to 5 2016-11-16 23:39:25 +01:00
DL6ER 118db849ce Add option to show *all* queries at once 2016-11-14 12:47:10 +01:00
DL6ER 80da4b6c9f Minor code cleaning. 2016-11-14 10:57:05 +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 ddb9ca75c8 Named the buttons imperatively 2016-11-13 20:44:45 +01:00
DL6ER b22c92a738 Add individual labels for the black-/whitelisting button 2016-11-13 19:16:57 +01:00
DL6ER 025c22c287 Add possibility to blacklist/whitelist entries on the Queries page. 2016-11-13 18:57:25 +01:00
DL6ER eda94507b4 Reenabled to other API queries 2016-11-09 15:21:21 +01:00
DL6ER 02c8c480b4 Change data resolution from 1h to 10min in the diagram 2016-11-09 15:12:18 +01:00
DL6ER 383ea1f365 Added requested improvements/changes. 2016-11-08 09:09:30 +01:00
DL6ER aa5bec9103 Algorithm used to interpolate a smooth curve from the discrete data points changed to 'monotone'. With the default value, over- and undershoots are easily generated. In contrast, the 'monotone' setting keeps (piecewise) monotonicity and ensures that local extrema stay at data points. 2016-11-08 00:37:24 +01:00
DL6ER b644c4f678 Use Chart.js (bundle) so we can have timelines in the future 2016-11-06 23:00:28 +01:00
DL6ER 110d54bd41 Added pointHitRadius and beginAtZero 2016-11-06 22:41:08 +01:00
DL6ER e51682e5b8 Enhanced doughnut animation 2016-11-06 18:45:07 +01:00
DL6ER 99b37d8ccb Removed two unnecessary commands 2016-11-06 18:44:53 +01:00
DL6ER cd02546416 Changed the look slightly to look closer to the "old" style (v 1.0.1) 2016-11-06 18:44:39 +01:00
DL6ER b8175effe9 Updated script to work with updated version of Chart.js. They redesigned the whole interface and a complete rewrite was necessary. 2016-11-06 18:43:52 +01:00
DL6ER b275846acb Updated Chart.min.js from version 1.0.1 to 2.3.0 (up-to-date version) 2016-11-06 18:43:39 +01:00
Adam Warner a5561c7b66 Add update link to versions in the footer. Don't pop out the pi-hole menu. It's annoying 2016-10-15 01:53:32 +01:00