forked from pi-hole/web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added advanced whitelist/blacklist site
- Accessed under the "Whitelist" tab - Added "Add: " in front of the text box for the simple whitelist - Added "ad.example.com" as a placeholder in the text box Currently www-data needs root access to gravity.sh (for adding to the blacklist). If we get a blacklist.sh, we may be able to get rid of the need for root.
- Loading branch information
1 parent
48952c5
commit 4dff31a
Showing
251 changed files
with
42,043 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,9 @@ | |
TODO | ||
*.zip | ||
test.html | ||
*.log | ||
*.log | ||
|
||
# Intellij IDEA Project Files | ||
*.iml | ||
*.ipr | ||
*.iws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
if(!isset($_GET['domain'], $_GET['list'])) | ||
return; | ||
|
||
if($_GET['list'] == "white") | ||
exec("/usr/local/bin/whitelist.sh ${_GET['domain']}"); | ||
else { | ||
exec("echo '${_GET['domain']}' | sudo tee -a /etc/pihole/blacklist.txt"); | ||
exec("/usr/local/bin/gravity.sh"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "Pi-Hole List", | ||
"description": "Manage the Pi-Hole's Whitelist and Blacklist", | ||
"main": "", | ||
"moduleType": [], | ||
"authors": [ | ||
"Mcat12 <[email protected]>" | ||
], | ||
"license": "MIT", | ||
"homepage": "", | ||
"private": true, | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests", | ||
"*.iml", | ||
"*.ipr", | ||
"*.iws" | ||
], | ||
"dependencies": { | ||
"bootstrap": "~3.3.6" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "bootstrap", | ||
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", | ||
"keywords": [ | ||
"css", | ||
"js", | ||
"less", | ||
"mobile-first", | ||
"responsive", | ||
"front-end", | ||
"framework", | ||
"web" | ||
], | ||
"homepage": "http://getbootstrap.com", | ||
"license": "MIT", | ||
"moduleType": "globals", | ||
"main": [ | ||
"less/bootstrap.less", | ||
"dist/js/bootstrap.js" | ||
], | ||
"ignore": [ | ||
"/.*", | ||
"_config.yml", | ||
"CNAME", | ||
"composer.json", | ||
"CONTRIBUTING.md", | ||
"docs", | ||
"js/tests", | ||
"test-infra" | ||
], | ||
"dependencies": { | ||
"jquery": "1.9.1 - 2" | ||
}, | ||
"version": "3.3.6", | ||
"_release": "3.3.6", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "v3.3.6", | ||
"commit": "81df608a40bf0629a1dc08e584849bb1e43e0b7a" | ||
}, | ||
"_source": "git://github.com/twbs/bootstrap.git", | ||
"_target": "~3.3.6", | ||
"_originalSource": "bootstrap", | ||
"_direct": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Bootstrap uses [GitHub's Releases feature](https://github.com/blog/1547-release-your-software) for its changelogs. | ||
|
||
See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. | ||
|
||
Release announcement posts on [the official Bootstrap blog](http://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release. |
Oops, something went wrong.