Commit Graph

413 Commits

Author SHA1 Message Date
DL6ER 5b47e9caa5 Fix a typo
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-06 23:49:04 +02:00
DL6ER d1d9d7faff Use htmlentities() to mitigate XSS (this function is identical to htmlspecialchars() in all ways, except with htmlentities(), all characters which have HTML character entity equivalents are translated into these entities)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-06 23:47:06 +02:00
DL6ER a50525d72b Clean up after import
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-06 23:43:19 +02:00
DL6ER 67855df5c5 Minor corrections
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-06 23:42:49 +02:00
DL6ER 6bb6c6d29f Finished Teleporter 2.0
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-10-06 21:13:07 +02:00
DL6ER 80b37a7c81 Merge branch 'devel' into tweak/Teleporter_v2.0 2017-10-06 20:26:21 +02:00
WaLLy3K 2789b69460 Decrease doughnut animation time on first load 2017-09-29 23:12:20 +10:00
DL6ER 0ed1901a8e Apply proper sorting whilst preserve the color order for the doughnut forward destinations chart
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-27 17:03:00 +02:00
WaLLy3K 0bafeabe49 Allow full stop in top list wildcard exclusions
* Fix #580
2017-09-22 18:19:04 +10:00
DL6ER a18a45e6b8 Detect ${OVER} and mirror its effect properly on the web interface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-21 20:23:38 +02:00
DL6ER aef4159f44 Add tooltips to dognuth charts
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-20 22:28:46 +02:00
DL6ER e7fc65b684 Simplify function updateForwardedOverTime() as data obtained from API is already normalized
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-20 22:15:19 +02:00
DL6ER b89c40d63f Simplify function updateQueryTypesOverTime() as data obtained from API is already normalized
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-20 22:11:54 +02:00
DL6ER 6eb450a3a6 Show detected number of cores not only when hovering the icon, but also when hovering the Load text
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-16 16:18:51 +02:00
J den Hartog 76891ef43d Whitelisting withOUT password not supported
*White*listing with password not supported
should be:
*White*listing without password not supported
in my opinion.
2017-09-16 10:39:21 +02:00
DL6ER 5ab4430ef0 halt -> poweroff
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-09-08 20:30:59 +02:00
DL6ER f2b77c0bf4 Merge pull request #470 from gedetil/devel
Add shutdown option
2017-09-08 20:26:19 +02:00
Adam Warner fb9bbd97e0 Merge branch 'devel' into elegantize-custom_time_modal 2017-08-28 20:16:58 +01:00
Adam Warner 194b00e783 Merge branch 'devel' into release/3.2 2017-08-28 08:46:16 +01:00
TheME 8ab2148437 footer.php: elegantize 'Disable Custom time' modal 2017-08-27 21:24:02 +02:00
Adam Warner 2390017f8a Merge branch 'devel' into tweak/blockpage 2017-08-27 11:30:16 +01:00
Mcat12 fdbd68b655 Merge pull request #565 from eddturtle/master
Fix arrow positions in sidebar to be vertically centered
2017-08-16 15:25:50 -04:00
Edd Turtle 41f5e3fe1b Fix final sidebar button (from devel branch) 2017-08-16 20:03:21 +01:00
Mcat12 4f959ab83f Merge branch 'devel' into master 2017-08-15 22:27:27 -04:00
Edd Turtle fe35ca3f02 Fix arrow positions in sidebar to be vertically centered 2017-08-15 19:03:12 +01: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 7f33b102df Re-implement Teleporter with PharData. The advantage is that we don't have to rely on php-zip being installed.
This commit implements only the re-written Export. The import feature has still to be coded.

Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-08-06 17:56:59 +02:00
Mcat12 2b5a4d8989 Fix undefined variable $timestamp 2017-08-02 21:16:55 -04:00
Adam Warner 789f111348 Merge branch 'devel' into patch-1 2017-07-30 16:05:39 +01:00
Flo 60b11c376b Simplify info-box links 2017-07-30 16:50:32 +02:00
Adam Warner f9f69cc19a Merge branch 'devel' into tweak/blockpage 2017-07-29 16:44:01 +01:00
DL6ER 849b987ad9 Move update checker from header into footer (#553)
* Move update checker from header into footer

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

* Remove version output in dropdown menu.

Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-07-27 23:13:33 +01:00
DL6ER fe3e8fcb08 Ensure excess whitespace is split when white/blacklisting multiple domains 2017-07-28 00:01:18 +10:00
Mcat12 1ae7247213 Change success check to a more stable indicator
Fixes #540
2017-07-26 22:16:32 -04:00
WaLLy3K 3a17f9da13 Rebase off devel to only add "-bp" functionality
* Included pcre.recursion_limit as a safety cutoff measure
2017-07-19 00:29:47 +10:00
DL6ER a13b7bd692 Add an apply button to the new Audit log page (#532)
* Add an apply button to the new Audit log page

* The button is not actually called "Apply"
2017-07-14 22:50:09 +02: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
DL6ER a540c851c9 Add hostname in header (#541)
* Add hostname in header

* Removed class attribute of <li> element and replaced <tt>
2017-07-08 20:24:26 +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 94bdb18fe1 Fix domain validation function (#538) 2017-07-01 21:38:04 +10: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
TheME dd101b3b0a header.php: set 'Tools' menu active correctly 2017-06-30 12:07:34 +02:00
DL6ER d4bcede042 Accept underscores when validating domain names (#533) 2017-06-30 17:43:30 +10: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
DL6ER 99ffef6c8e Don't update list after each click but in regular intervals (once per second) (#534)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2017-06-29 20:37:57 +02:00
TheME 74a6dc3276 Fix glow effect (#528)
* index.js: fix glow effect

* header.php: fix glow effect rule
2017-06-28 23:26:47 +01:00
DL6ER 557ebbbc7c Merge pull request #479 from pi-hole/new/audit-log
Audit log
2017-06-27 10:53:31 +02:00