Commit Graph

106 Commits (9e96ff37de2e0e2c1f4d2af76360fffc42c65026)

Author SHA1 Message Date
Mcat12 3077c22e4f
Change help strings from wildcard to regex blacklist
6 years ago
Mcat12 0decc37b5a
Appease stickler
6 years ago
Mcat12 4a953b66e0
Make removing regex domains work correctly
6 years ago
Mcat12 8435eeed4d
Don't validate regex domains
6 years ago
Mcat12 cffb4de83b
Use strict grep instead of regex for duplicates
6 years ago
DL6ER d254d6075a
First step from wildcards to regex lists for blocking
6 years ago
Ludovic Rousseau 47bbea9ba7 Use " " to protect parameter substitution
6 years ago
Ludovic Rousseau b7891f92a5 Create blacklist.txt if not existant
6 years ago
Adam Warner 162a7b56fe
force mode is no longer referenced. Regression. Same with `domToRemoveList`
7 years ago
DL6ER 70ad656af0
Save backup as ".bck~" to prevent reading of the file by dnsmasq
7 years ago
DL6ER f22b83d379
Create a backup before emptying the list
7 years ago
DL6ER 114f84c948
Add --nuke option to list.sh that can be used e.g. by Teleporter to empty out lists before importing new content
7 years ago
WaLLy3K 2d8fff099f Pass correct options to gravity.sh
7 years ago
WaLLy3K 406098e55a Speed up refresh time
7 years ago
DL6ER ec4e9780ed Accept underscores when validating domain names (#1571)
7 years ago
Mcat12 cb09e0bc9a Strip `/*` from the end of the IPv6 address
7 years ago
Adam Warner 536585b846 Colourise Core Output Text (#1471)
7 years ago
WaLLy3K 7453bf2ee6 Fix wildcard help text
7 years ago
WaLLy3K 7d17c652f3 Merge branch 'development' into development
7 years ago
Adam Warner 90119c75d5
more merge conflicts!
7 years ago
WaLLy3K b721ed49ab Update Help Output (#1467)
7 years ago
Dan Schaper 25601b9fcc Document `sed` substitution for user readability
7 years ago
Adam Hill 55f78e3b64 Update list.sh
7 years ago
Mcat12 8fa209f0df Merge pull request #1322 from pi-hole/FixWildCardBlacklisting
7 years ago
Adam Warner 6b862dd9e9 Only remove from wildcard list if domain is being added to whitelist or blacklist
7 years ago
Markus Napp bb7a7d94ef Replace misleading letter variable
7 years ago
Markus Napp 9a475cc010 Rewrite help text for better handling of params
7 years ago
Markus Napp ae30c285a2 Fix handling of wildcard help text
7 years ago
DL6ER 6f8893d950
Merge pull request #1301 from pi-hole/fix/removewildcard
7 years ago
DL6ER cf31561267
Remove wildcard entry when adding the very same domain either the white- or blacklist
7 years ago
Jacob Salmela 7a1a2dec67
update license to EUPL on core files
7 years ago
Markus Napp 01f643e5eb fixup! Fix spacing for wildcard help in list script
7 years ago
Markus Napp 8037f3e332 Fix spacing for wildcard help in list script
7 years ago
Markus Napp afe5176e01 Justify help output to match main script
7 years ago
DL6ER 3d4516dc95
Improve regex
7 years ago
DL6ER 06873fe69e
Remove misplaced start of string expression. Fixes #1191
7 years ago
DL6ER 08cddba200
There should be no echo here
7 years ago
DL6ER 1bf43b0425
Improved regex: Remove all leading points from domain (.....xyz => .xyz). Return not only a part, but fill validated domain
7 years ago
DL6ER 85b3fef08d
Use perl instead of grep?
7 years ago
DL6ER 15037fa888
Typo
7 years ago
DL6ER d595fef18f
Fix regex
7 years ago
DL6ER 1bcf2dd0fc
Tweak CLI domain filter
7 years ago
DL6ER ebf0db4bbf Typo fixed
8 years ago
DL6ER 9ac265980f Add .conf to filename
8 years ago
DL6ER 40798da6b1 Add blacklisting wildcard support
8 years ago
Mcat12 f98de3d5db Merge pull request #941 from DL6ER/caseinsensitive
8 years ago
DL6ER 78cb43d0dc Revert "Simplified EscapeRegexp()"
8 years ago
DL6ER 509cfd15f2 Simplified EscapeRegexp()
8 years ago
DL6ER 2061daa902 Don't forget to escape also the slash "/"
8 years ago
DL6ER 629ca970a1 Changed from single quoted filter expression to double quotes as reqeusted by codacy
8 years ago
DL6ER c8ad6f23a8 Properly escape any special characters before using them in regexp manner
8 years ago
Dan Schaper 2ec4acfe52
Begin fixing exit values.
8 years ago
DL6ER 7b26b308ad No need for echo and pipe here!
8 years ago
DL6ER 4c10634d85 Convert domain names to lower case before checking validity of the domain
8 years ago
Eric Warnke 3da75d6125 Grep was leaking a file not found if blacklist didn't exist
8 years ago
Adam Warner 469ff45f01 create list.sh. Combines whitelist and blacklist scripts in an effort to reduce code duplication.
8 years ago