Commit Graph

310 Commits

Author SHA1 Message Date
mcattle edb93db3ce Add Quad9 DNS Servers to DNS Servers List
I've added the Quad9 DNS servers (IPv4 and IPv6) to the DNS Servers list.  (https://www.quad9.net/)  I've opted not to also add their non-secure alternate servers, as those mainly exist for diagnostics of false positives, and are not the primary focus of the Quad9 service.  They do not offer secondary servers, as their primary servers are already geographically distributed and redundant.
2017-11-16 23:08:35 -07:00
Adam Warner f204b71707 [Staging] 3.1 (#514)
* Remove double click handler

* ~Today~ Over Last 24 Hours

* Rename Top Advertisers to Top Blocked Domains

* percentage should be a float instead of an integer

* Define $over_time as array. Fixes #501

* Add hover/hit radius for Forward Destinations over Time graph

* Add custom callback for tooltips and disable legend for Forward Destinations over Time graph

* Remove legend, add tooltips and increase hit/hover radius for Query Types over Time graph. Fixes #502

* Don't hide detailed graphs on small screens any longer

*  🌮 is the new :shipit: squirrel

* revise wording on main page

shorter text to fit in one line on smaller screens

* Show warning in browser when fopen() failed

* open links in new tab

* open links in new tab

* Update header.php

* select 'Login' in Navbar when showing loginpage

using the same term as it is already used to show up the loginpage (in line 565)

* set the mainbox wider on smaller screens

solves issue of overlapping text with loginbutton when using smaller screens

* also fix overlapping loginpage on footerbar

* remove border on logo

* add link feedback (on hover)

* sessiontimer in bold letters

* use AdminLTE function to toggle dropdown-menu

AdminLTE has already an implemented function to toggle the user menu.
So there is no need to use an own script in footer.js
 
Benefit: The dropdown-menu closes if you click on a blank Place

* align donate-url with url in footerbar

* remove function to open user menu

AdminLTE has already an implemented function to toggle the user menu.
So there is no need to use an own script in footer.js

Benefit: The dropdown-menu closes if you click on a blank Place

* Update LICENSE of the project to EUPL v1.2

* Major overhaul of update checker - checks only every 30 minutes to reduce number of GitHub API requests

* Add version info to dropdown menu (top right) for viewing on small screens. Addresses #333 partially

* Fix typo

* footer.php: improve and clean up

move animation-stylesheet to pi-hole.css (Have you noticed that there is even a text- and text-shadow animation set, but for webkit-browsers only)
added <!-- Version Infos -->
correct continuous hide of version info (AdminLTEs classed widths as `xs` > `sm` > `md` > `lg`)
display Donate-text alwas in one line (do not wrap in between when version info string gets very long)

* pi-hole.css: pasted animation stylesheet

and improved the text-shadow-animation to work correctly with and without -webkit-prefix
(for me this wasn't working until now)

* header.php: some corrections & improvements

pull dropdown-menu always to right side
changed <!-- Update alerts --> to <!-- Version Infos --> (just like it is in footer)
hide version infos in dropdown-menu if it gets shown in footer
repaired update-urls, they also should open up in new tab & gets underlined on hover
`background:none` is needed because AdminLTE adds dark bg on hover to links when using it on smallscreen (xs)

* Minor change to make the dashboard's javascript compatible with escaped characters (like apostrophe) in client names

* Add the same for the top domains

* ... and Top Ads

* Minor change to comments

* footer.php: edited as discussed

* header.php: edited as discussed

* Update queryads.js

* Update list.js

* queryads.js: codacy fixes

* list.js: codacy fixes

* list.js: small correction

* queryads.js: small correction

* Be able to interpret status 5

* Sort list entries (black-/whitelist) alphabetically before creating the table

* queryads.js: Update*

* removed double comment and updated code to center and separate the buttons on small screens, like in my last screenshot.

* list.js: update*

updated code to center and separate the buttons on small screens, like in my last screenshot.
2017-06-20 22:17:37 +01:00
Mcat12 8fa40923be Escape tail output
Fixes #486
2017-05-01 20:02:09 -04:00
Mcat12 81727a36d0 Fix spelling mistake 2017-04-30 14:07:07 -04:00
Mcat12 a94412a914 Increase max domain length
Max length is 253 chars according to:
https://blogs.msdn.microsoft.com/oldnewthing/20120412-00/?p=7873/
2017-04-30 14:06:39 -04:00
DL6ER 31f368494a Codacy 2017-04-29 22:09:10 +02:00
DL6ER 4fa1cb6bac Clip too long domain names. Fixes #464 2017-04-29 20:52:58 +02:00
Mcat12 76218a7c36 Merge pull request #481 from pi-hole/fix/unauthorized-access-to-teleporter
Temporarily store the teleporter file
2017-04-29 11:51:33 -04:00
DL6ER 631f050440 Create temporary file with write/read permissions only for the PHP user 2017-04-29 13:10:53 +02:00
Adam Warner 768196060e Embolden the hole. 2017-04-27 18:34:59 +01:00
Mcat12 9454563123 Temporarily store the teleporter file
Store under /etc/pihole instead of the web server, and delete
after sending.
2017-04-24 21:29:44 -04:00
Mcat12 3f04b346cb Merge pull request #476 from pi-hole/tweak/dashboard
Tweaks for the dashboard
2017-04-24 19:02:02 -04:00
DL6ER f2415a590d Don't skip line if there are no queries, simply set its contribution to zero 2017-04-21 22:28:23 +02:00
DL6ER 3364f989cf Don't show IP addresses in addition to hostnames of forward destinations to save some space in the legend 2017-04-21 15:50:30 +02:00
DL6ER 4d7eef2d55 Improve behavior if socket connection does not work because, e.g. pihole-FTL is not listening: don't wait until socket timeout, but define our own timeout of 3 seconds 2017-04-20 13:40:23 +02:00
DL6ER 3e88e72557 Bugfix: updateQueriesOverTime() has been called twice, but updateQueryTypesOverTime() hasn't been called at all 2017-04-20 13:24:52 +02:00
DL6ER b3cbd29ed7 Don't rely on PID file, but try to detect FTL PID ourselves (has shown to be very effective in the update service file) 2017-04-20 13:20:36 +02:00
Mcat12 52a5fb62ff Merge pull request #466 from pi-hole/fix/csrf-security
Add CSRF token
2017-04-06 16:22:18 -04:00
Mcat12 acc83345fd Merge pull request #252 from pi-hole/customizeadlists
Manage adlists
2017-04-06 16:16:05 -04:00
Adam Warner 892bc5f1c5 :codacy: 2017-04-06 18:45:26 +01:00
Patrick O'Brien cd4b25ceec update change password examples 2017-04-05 12:40:35 -04:00
Mcat12 1e748446df Require CSRF token for Teleporter 2017-04-04 21:02:48 -04:00
Mcat12 21bd036af6 Merge remote-tracking branch 'origin/devel' into fix/csrf-security 2017-04-04 20:40:31 -04:00
DL6ER 7e68fdecff Make sure license comment is only outputted after header.php has prepared all the stuff that need to be done beforehand. Fixes #450 2017-04-03 10:17:05 +02:00
Mcat12 fe7f3d3873 Require CSRF token when changing settings 2017-04-02 20:04:39 -04:00
Mcat12 4d9d9dc949 Require CSRF token for debug log generation 2017-04-02 19:23:03 -04:00
Mcat12 d956c35c24 Expose a CSRF token when logged in 2017-04-02 19:20:05 -04:00
Mcat12 7a5c8e899e Use button to remove lists 2017-03-31 20:16:58 -04:00
Mcat12 86d8869867 Handle deletion of list in savesettings.php 2017-03-31 18:42:00 -04:00
Adam Warner c11172d7c4 modify to work with changes in pihole#1365 2017-03-31 21:05:53 +01:00
DL6ER 5092133719 Merge pull request #462 from pi-hole/new/QueryTypesoverTime
Add Query Types over Time
2017-03-29 11:35:29 +02:00
DL6ER f8d9d9dcf1 Merge pull request #460 from flokX/devel
Match the Pi-hole brand
2017-03-28 22:17:21 +02:00
DL6ER 6e5b55e5ac Only load data if context is available to prevent JS errors 2017-03-28 22:02:40 +02:00
DL6ER 29c6c07af6 Add Query Types over Time 2017-03-28 14:51:19 +02:00
Mcat12 fce406b72d Merge pull request #459 from pi-hole/new/FTLupdatenotification
Show FTL version and update notification (if available) in footer
2017-03-26 19:01:44 -04:00
DL6ER 77468ac541 Fix logic 2017-03-26 22:19:41 +02:00
Flo 146184824f Update savesettings.php 2017-03-26 14:56:21 +02:00
Flo 61870cf342 Update loginpage.php 2017-03-26 14:55:40 +02:00
DL6ER 30b7b0d63a Show FTL version and update notification (if available) in footer 2017-03-26 13:42:29 +02:00
DL6ER 57e2039a39 Don't add glow property for percentage if not changed 2017-03-25 12:45:07 +01:00
Mcat12 108f7f34fe Merge pull request #454 from pi-hole/fix/dns-servers-undefined-var
Fix undefined variable when setting DNS servers
2017-03-24 19:11:34 -04:00
DL6ER 8b91c8c12e Codacy and changed text 2017-03-24 17:21:15 +01:00
DL6ER 0043c229d5 Change logic 2017-03-24 16:21:30 +01:00
DL6ER 8d4864eb17 Add delay of 0.5 sec before trying to load all data 2017-03-24 16:01:58 +01:00
DL6ER ebef61614d Handle FTL offline notification and instant refresh when it becomes available 2017-03-24 15:57:44 +01:00
DL6ER 17fb960a01 Update statistics every second 2017-03-24 15:35:16 +01:00
DL6ER 35dcb9b5ed Improve fallback handling of the dashboard for when FTL is not running 2017-03-24 15:30:03 +01:00
Mcat12 c182834e55 Fix undefined variable when setting DNS servers 2017-03-21 18:35:32 -04:00
Anthony Giorgio 44d5b9653e Fix spelling 2017-03-18 08:05:06 -04:00
DL6ER 540cc8208e Merge pull request #448 from pi-hole/tweak/pihole-case
Change capital "H" to lower
2017-03-17 08:02:06 +01:00