Commit Graph

787 Commits

Author SHA1 Message Date
DL6ER
58f6406f48 Merge pull request #515 from Th3M3/improve_dropdown-menu
Improve dropdown-menu
2017-06-03 18:57:43 +02:00
DL6ER
49fcaed05a Fix typo 2017-06-03 16:56:41 +02:00
DL6ER
a3e375f92b Add version info to dropdown menu (top right) for viewing on small screens. Addresses #333 partially 2017-06-03 16:40:29 +02:00
DL6ER
2f218ba9eb Major overhaul of update checker - checks only every 30 minutes to reduce number of GitHub API requests 2017-06-03 16:40:25 +02:00
TheME
059600f10c 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
2017-05-31 21:18:44 +02:00
TheME
958f5aa2ba align donate-url with url in footerbar 2017-05-31 21:17:34 +02:00
TheME
4b058ed38b 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
2017-05-31 21:15:09 +02:00
TheME
9d6e0c8292 sessiontimer in bold letters 2017-05-31 21:13:21 +02:00
TheME
2ba80e96a3 add link feedback (on hover) 2017-05-31 21:11:29 +02:00
TheME
db1b054691 remove border on logo 2017-05-31 21:10:07 +02:00
Mcat12
065345d414 Merge pull request #513 from Th3M3/wider_loginbox
set the mainbox wider on smaller screens
2017-05-29 19:34:51 -04:00
TheME
a2f63dc800 also fix overlapping loginpage on footerbar 2017-05-28 11:31:19 +02:00
TheME
b9d0e059c2 set the mainbox wider on smaller screens
solves issue of overlapping text with loginbutton when using smaller screens
2017-05-25 11:40:03 +02:00
DL6ER
bbe0ff4984 Merge pull request #511 from Th3M3/links_in_new_tab
open links up in new tab
2017-05-24 16:35:38 +02:00
TheME
d3fe10152f select 'Login' in Navbar when showing loginpage
using the same term as it is already used to show up the loginpage (in line 565)
2017-05-21 20:38:03 +02:00
TheME
6cf92c10ac Update header.php 2017-05-19 20:47:29 +02:00
TheME
cee8ea22e9 open links in new tab 2017-05-19 20:06:56 +02:00
TheME
eed6c4590f open links in new tab 2017-05-19 20:04:01 +02:00
DL6ER
3e8fe365f4 Show warning in browser when fopen() failed 2017-05-16 18:44:08 +02:00
DL6ER
e659d79da9 Remove legend, add tooltips and increase hit/hover radius for Query Types over Time graph. Fixes #502 2017-05-13 17:34:36 +02:00
DL6ER
7d4bf08853 Add custom callback for tooltips and disable legend for Forward Destinations over Time graph 2017-05-13 17:32:00 +02:00
DL6ER
b49a7b57c5 Add hover/hit radius for Forward Destinations over Time graph 2017-05-13 17:20:18 +02:00
DL6ER
2db45f806b Remove double click handler 2017-05-05 23:29:25 +02:00
WaLLy3K
ab126d94e0 Modifications to support core queryFunc() changes
* Set pcre.recursion_limit, 3x the limit necessary to process a valid 253 character domain name
* Updated validate_domain() to include underscore as a valid character within a domain 
* Run escapeshellarg() on `pihole -q` command in the unlikely event that a maliciously crafted domain query is able to pass validate_domain()
* Known issues: Changes to the output of this file and Pi-hole core's queryFunc() results in `queryads.js` failing to work (Thereby breaking Tools > Query adlists)
2017-05-02 10:47:02 +10: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
870959026b Codacy fixes 2017-04-22 16:19:19 +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
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
gedetil
08f40722c1 Update savesettings.php
Implement "Halt system" button, next to "Restart system" button, on
admin/settings page.  Useful for doing clean shutdown before powering off.

Gilbert Detillieux <gedetil> 2017-04-11
2017-04-11 13:44:18 -05:00
gedetil
aac1b1ba05 Update settings.js
Implement "Halt system" button, next to "Restart system" button, on
admin/settings page.  Useful for doing clean shutdown before powering off.

Gilbert Detillieux <gedetil> 2017-04-11
2017-04-11 13:40:27 -05: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