Commit Graph

68 Commits

Author SHA1 Message Date
TheME
3e5b45df42 fix heading on Whitelist site
Signed-off-by: Th3M3 <the_me@hotmail.de>
2019-12-03 19:42:58 +01:00
XhmikosR
e68e7719fc Specify rel=noopener for external links.
See https://developers.google.com/web/tools/lighthouse/audits/noopener for more information

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-11-24 23:00:02 +02:00
Adam Warner
344c1263b6 suggestions from dl6er
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2019-11-14 22:05:46 +00:00
Adam Warner
862cd04d3b variable column size depending on boxed layout or not
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2019-11-12 23:00:47 +00:00
Adam Warner
07195fb4e7 Allow user to add in a comment next to domain entry
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2019-10-14 21:55:29 +01:00
DL6ER
fcc49e3928 Wrap addition and removal of domains in a transaction + deliver a more detailed success message to the user specifying how many domains are actually added (in case some already existed).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-08-27 19:26:51 +02:00
DL6ER
c9f5c9500a Directly modify gravity tables from the lists pages.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-08-05 21:55:08 +02:00
DL6ER
31d0b32103 Only show headings when we have domains for the respective list (regex / exact).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-07-22 21:35:42 +02:00
DL6ER
dfcfafd6d9 Implement whitelist regex support to web interface.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2019-07-22 21:15:50 +02:00
Mcat12
db68782f62 Replace fa-refresh with fa-sync
Font Awesome 5 replaced the refresh icon from 4 with fa-sync:
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes

Fixes #941

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2019-05-19 14:16:55 -07:00
Mark Drobnak
193e43c186 Merge pull request #865 from pi-hole/fix/script-outside-html
Move script tags inside html tag body
2018-12-10 16:48:00 -05:00
DL6ER
bd84160d4f Show different warning in the case that at least one of the domains to be added were already present
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-11-29 19:47:57 +01:00
DL6ER
21ab29dedc Use shell_exec() instead of exec() to obtain the full script output (and not only the last line!)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-11-29 18:39:23 +01:00
Mcat12
3b635e0245 Move script tags inside html tag
Fixes #863

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2018-11-10 13:51:14 -05:00
Dan Schaper
098a002270 Link to docs is 404. Add target landing page.
Add `/overview/` to URL.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2018-07-29 16:16:20 -07:00
DL6ER
dc5ab22ff5 Show link to Pi-hole's Regex documentation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-30 14:54:10 +02:00
DL6ER
ec0afceeed Add new button to allow both regex filters and legacy wildcards (get automatically converted to regex format)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-30 14:19:03 +02:00
DL6ER
d901dc29b3 Fix button label
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-06 19:26:25 +02:00
DL6ER
36930e3834 Add regex support on the web interface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2018-06-05 10:35:41 +02:00
Adam Warner
6ec8dcdc25 remove blurb about default whitelist items.
No longer needed as we do not whitelist anything

Signed-off-by: Adam Warner <adamw@rner.email>
2018-02-17 13:17:17 +00:00
TheME
a3e8ac1a9d list.php: fix path to footer.php...
...if invalid list parameter is used
2017-07-10 21:39:21 +02:00
Mcat12
acc83345fd Merge pull request #252 from pi-hole/customizeadlists
Manage adlists
2017-04-06 16:16:05 -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
DL6ER
e169f1086e Proposed change 2017-03-28 22:11:06 +02:00
Adam Warner
00885265de Add a note about where the default whitelist entries come from, and what they mean. 2017-03-28 19:35:12 +01:00
Dan Schaper
309a6a10a1 Clarify conditions of whitelist/wildcard
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2017-03-06 10:34:49 -08:00
Dan Schaper
302a8a89b4 Can now whitelist wildcard domains.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2017-03-06 09:04:08 -08:00
DL6ER
4f70973cbc EUPL license (#402)
* Move whole project to EUPL, copy MIT license to scripts/vendor/ and style/vendor/

* Added header to main PHP files

* Modified scripts in scripts/pi-hole/php

* Added header to scripts/pi-hole/js files

* Added license header to our custom style script

* Slight reformulation
2017-02-18 14:20:51 +01:00
Mcat12
f53f2e8836 Move buttons out of the way on small screens 2017-01-30 16:52:24 -05:00
DL6ER
b521a8de96 Show notice that whitelisting of wildcard blocking is not possible 2017-01-11 16:50:46 +01:00
DL6ER
bd36baa18b Merge branch 'devel' into wildcard_blacklisting 2017-01-09 14:51:54 +01:00
DL6ER
b6695f9882 Show failure response in error message (e.g. abd<>.de is not a valid domain) 2017-01-08 10:40:21 +01:00
DL6ER
a33301911a Made everything working 2016-12-31 16:24:10 +00:00
DL6ER
05f2df720e Put wildcard blocking entries into their own table 2016-12-31 16:06:21 +00:00
DL6ER
5735a5b9a2 Merge branch 'devel' into customizeadlists 2016-12-30 20:43:07 +00:00
DL6ER
3e8e153cfd Add notice on whitelist page that list domains are automatically added 2016-12-27 20:04:31 +00:00
DL6ER
e5a9826078 Moved more private files out of the root directory 2016-12-21 21:10:21 +01:00
Mcat12
2f65430a4d Move PHP scripts to scripts folder 2016-12-21 21:09:58 +01:00
Promofaux
d0553ef169 Organise folder structure a bit better... Seperates vendor packages from self-written scripts. 2016-12-21 21:09:45 +01:00
DL6ER
e188cb6fbc Revert "Merge pull request #267 from pi-hole/folderStructure"
This reverts commit fba3d10fa4, reversing
changes made to 4ee75f4167.
2016-12-21 17:16:52 +01:00
DL6ER
bb2c2e2244 Moved more private files out of the root directory 2016-12-20 12:52:19 +01:00
Mcat12
d1da1de597 Move PHP scripts to scripts folder 2016-12-19 19:44:51 -05:00
Promofaux
6a13796d99 Organise folder structure a bit better... Seperates vendor packages from self-written scripts. 2016-12-19 18:30:16 +00:00
Mcat12
0dec4b8aa0 Protect Enable/Disable with a CSRF token check
The token is now added for all pages.
2016-12-04 13:16:45 -05:00
Adam Warner
3e6955d4a0 Update list.php 2016-10-30 02:26:08 +00:00
Mcat12
3917000e9b Die on an invalid list parameter
Only accepts "white" and "black"
2016-10-19 19:22:25 -04:00
viemmsakh
4f45f81dbf Update to require header.php instead of header.html 2016-06-20 10:57:59 -04:00
Mcat12
a80d752720 Adjust to CSP 2016-05-21 12:10:27 -04:00
Mcat12
2ef1e3a8c2 Fix fade in bug on empty list
If the list became empty, the "Your $list is empty!"
message would not pop up, since the fadeIn call is
out of that scope.
2016-05-20 16:29:35 -04:00
Mcat12
82e92e99cc Fade alerts and add animation to refresh 2016-05-20 16:08:46 -04:00