Mcat12
c382bb67e6
Keep a trailing newline in the regex list when deleting an item
...
Fixes #874
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-12-15 20:50:36 -05:00
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
fbe9516cbe
Fix incorrect regex removal code
...
If you had these in the regex list:
- example\.com
- example
- ^example.*
And you removed "example", then the list would look like this:
- \.com
- ^.*
This behavior is fixed.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-07-08 16:27:38 -04:00
DL6ER
e8b2cbe698
Tag regex filters as "regex" to avoid the domain validation (otherwise regex lines could not get removed). Also ensure that deleting the first wildcard/regex does not hide the first exact blocking domain (this bug has been in since the very beginning of wildcard blocking)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2018-06-30 14:42:52 +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
Mcat12
aef5f7c7ce
Keep trailing newline in regex file after removal
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2018-06-28 23:16:11 -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
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