Mike Souza
203d41103a
Add API support for list actions
...
Signed-off-by: Mike Souza <contact@michael-souza.com >
2018-08-26 11:56:44 -04:00
Mcat12
57698ba45a
Fix permissive regex
...
The `\.?` is too permissive, letting in anything that ends in the domain
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-07-31 22:17:25 -04:00
Mcat12
b7ad22c51e
Use simpler regex format for wildcards
...
Use `\.?domain\.com$` instead of `((^)|(\.))domain\.com$`
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-07-31 21:35:27 -04:00
DL6ER
3e4613caf0
Move function add_regex($regex) to func.php
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-07-15 12:48:46 +02:00
Mcat12
2759ec0da5
Add missing break statements
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-06-30 15:18:13 -04:00
DL6ER
4566db2a7c
Use passed argument in new function add_regex()
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-06-30 14:30:45 +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
Mcat12
4259aada78
Don't leave a newline at the end of the regex file
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-06-29 23:03:01 -04:00
DL6ER
c0da231fa6
Force reload of the regex filters in FTLDNS after having added/removed one from the dashboard
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-06-24 12:42:05 +02:00
DL6ER
1935544183
Directly manipulate regex.list from PHP to avoid detour over bash. This needs read/write permissions of the PHP user on "/etc/pihole/regex.list" !
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-06-23 15:50:19 +02:00
DL6ER
349faac048
Implemented also actions for audit log
2017-04-22 16:10:18 +02: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
DL6ER
8080afadac
Make ADD, SUB and GET compatible with the wildcard blocking list
2016-12-31 15:36:47 +00:00
Mcat12
ca9418a245
Merge branch 'devel' into restructureFolders
2016-12-30 14:44:26 -05:00
Mcat12
2f65430a4d
Move PHP scripts to scripts folder
2016-12-21 21:09:58 +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
Mcat12
d1da1de597
Move PHP scripts to scripts folder
2016-12-19 19:44:51 -05:00