Commit Graph

191 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
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
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
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
f8d9d9dcf1 Merge pull request #460 from flokX/devel
Match the Pi-hole brand
2017-03-28 22:17:21 +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
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
ebef61614d Handle FTL offline notification and instant refresh when it becomes available 2017-03-24 15:57:44 +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
Jacob Salmela
a540e2d320 change H to lowercase to match brand 2017-03-16 20:55:37 -05:00
DL6ER
9ef02a6fbc Merge pull request #433 from pi-hole/new/tail-FTLlog
Add tail pihole-FTL.log
2017-03-16 23:23:03 +01:00
Mcat12
12d56dee13 Change padlock to key in login page 2017-03-16 17:37:30 -04:00
Skittels
7627f35ba5 Update savesettings.php 2017-03-14 20:21:57 +01:00
DL6ER
8a4861c194 Merge pull request #439 from pi-hole/fix/queryads
Allow block page to access queryads
2017-03-10 14:44:56 +01:00
Mcat12
f7420d2786 Merge pull request #432 from pi-hole/tweak/teleporter
Some tweaks for the Pi-hole Teleporter
2017-03-10 14:42:49 +01:00
Mcat12
667acb90ca Allow block page to access queryads
Broken in 276f2c1628
2017-03-10 07:27:27 -05:00
DL6ER
a8deaddc5e Improve FTL information box on the Settings page 2017-03-07 16:45:22 +01:00
Mcat12
1b64678b7f Merge pull request #429 from barisi/devel
Added space between temperature reading and unit
2017-03-06 20:12:40 -05:00
DL6ER
23334b3dbd Add tail pihole-FTL.log 2017-03-05 23:17:34 +01:00
Barisi
2653e52fc8 Added thin space between memory usage reading and unit(%) 2017-03-05 17:55:42 +00:00
DL6ER
39e76afd62 Allow generation of ZIP file via command line 2017-03-05 14:03:37 +01:00
DL6ER
c034798f61 Export also all files found in /etc/dnsmasq.d 2017-03-05 13:54:43 +01:00
DL6ER
e695f490c0 Add datetimestamp to downloaded filename (e.g. "pi-hole-teleporter_2017-03-05_01-37-52.zip") 2017-03-05 13:38:06 +01:00
Barisi
5f4578738f changed whitespace to non-breaking space 2017-03-04 12:59:14 +00:00
Barisi
04a9987cb9 Added space between temperature reading and unit 2017-03-03 23:28:58 +00:00