Commit Graph

751 Commits

Author SHA1 Message Date
TheME 89864baa76 queryads.js: small correction 2017-06-06 20:48:39 +02:00
TheME 07e2ef6f6d list.js: small correction 2017-06-06 20:47:35 +02:00
TheME 5b6c025de3 list.js: codacy fixes 2017-06-06 19:22:00 +02:00
TheME fb7df298c0 queryads.js: codacy fixes 2017-06-06 19:21:09 +02:00
TheME 4e06783cb2 Update list.js 2017-06-06 18:37:30 +02:00
TheME cfaf12cd63 Update queryads.js 2017-06-06 18:35:19 +02:00
TheME 2de0f4dfb3 header.php: edited as discussed 2017-06-04 18:43:48 +02:00
TheME ceac8cf2d1 footer.php: edited as discussed 2017-06-04 18:41:04 +02:00
DL6ER 9b2f4e4673 Minor change to comments 2017-06-04 13:34:46 +02:00
DL6ER 1ee66f36bd ... and Top Ads 2017-06-04 13:32:35 +02:00
DL6ER 1e1da89a9c Add the same for the top domains 2017-06-04 13:32:09 +02:00
DL6ER f66650be1c Minor change to make the dashboard's javascript compatible with escaped characters (like apostrophe) in client names 2017-06-04 13:29:24 +02:00
TheME f2b4544929 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)
2017-06-04 12:47:45 +02:00
TheME 6b1ecfc31c 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)
2017-06-04 12:12:27 +02:00
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