Marcus Hildum
6e94bf5b6d
Consistency
...
You know the drill
8 years ago
Marcus Hildum
0f04e270a7
consistency
...
Just more cleanup
8 years ago
Marcus Hildum
ec4f5007e7
remove bad {
8 years ago
Marcus Hildum
21b906e0e0
Consistency
...
More of the same
8 years ago
Marcus Hildum
7ebaf8e843
Consistency
...
Now with block indents!
8 years ago
Marcus Hildum
640398ced4
Consistency
...
We went with tabs earlier, may as well make that the "standard".
Easy enough to switch to spaces too if that's desired with expand(1)
8 years ago
Marcus Hildum
ebbe1fc236
More consistency
...
Odd mix of variables quoted with and without no-op parameter expansion
(i.e. ${thing})
More ${thing} than not, make that the standard
8 years ago
Marcus Hildum
aac8e45397
Imbue gravity.sh with some consistency
...
Mish-mash of tabs and spaces used for indentation. Mostly tabs though,
so going with those. Also indenting blocks and enforcing the
loop statement; do
done
style over the newline for do since it seemed to be more common.
8 years ago
Marcus Hildum
5ebfa5ecf7
heredoc for helpfunc in pihole
8 years ago
Marcus Hildum
12e041c9ef
Merge remote-tracking branch 'upstream/development' into development
8 years ago
Marcus Hildum
54913f06a3
Merge remote-tracking branch 'upstream/master' into development
8 years ago
Adam Warner
44a36368a2
Merge pull request #822 from pi-hole/ChangeWarning
...
Add file change warning to header
8 years ago
Adam Warner
8f9ff930b3
Merge pull request #823 from tuplink/EnableOrDisable
...
Enable or disable
8 years ago
tuplink
e199f6db87
spelling updates
8 years ago
tuplink
c83dd3ccd7
change spacing
8 years ago
tuplink
78fbafa1cd
test out new status logic
8 years ago
Promofaux
c0012540ed
Re-add shebang
8 years ago
Promofaux
9ab6df0e54
Merge branch 'development' into promoTweaksTheSecond
...
# Conflicts:
# advanced/Scripts/blacklist.sh
# advanced/Scripts/whitelist.sh
8 years ago
Tommy Huff
685b775b68
rework status if statments
8 years ago
Tommy Huff
9056a5a7b6
fix spelling / replace tabs with spaces in help
8 years ago
Tommy Huff
e1c56bcbfe
remove a commit in whitelist
8 years ago
Tommy Huff
15d68467a1
attempt to fix
8 years ago
Tommy Huff
3b6ecc573e
fix conflict
...
Merge remote-tracking branch 'upstream/promoTweaksTheSecond' into EnableOrDisable
8 years ago
Tommy Huff
9427b1e594
Merge branch 'promoTweaksTheSecond' into EnableOrDisable
8 years ago
Tommy Huff
3ca3eaa62c
change restartdnsmasq to restartdns
8 years ago
Tommy Huff
dda448e050
use finction in pihole to restart dnsmasq
8 years ago
Tommy Huff
60873144ea
make last line of script return a new line been bugging me for awhile
8 years ago
Tommy Huff
a9d17c96be
include status at end of gravity so if it is disabled you will see it when running
8 years ago
Tommy Huff
aaee895b2b
add pihole status web option to return 1 or 0 for easy use with php
8 years ago
Tommy Huff
7d7e17b351
add toggle to enable or disable pi-hole
8 years ago
Adam Warner
c71a976e76
kill off an old ugly hack
8 years ago
Adam Warner
3623183072
Remove reference to non-existent script
8 years ago
Dan Schaper
e6bd979aeb
Can't spell
...
Fix spelling error
8 years ago
Adam Warner
266c160108
Merge pull request #818 from airencracken/development
...
Standardize function declaration
8 years ago
Dan Schaper
b5b6350cc7
Add file change warning to header
8 years ago
tuplink
bbcf4800de
use pihole instead of direct path
8 years ago
tuplink
41056ace02
use pihole instead of direct path
8 years ago
Dan Schaper
60a80dd678
Merge pull request #819 from pi-hole/adlistremoval
...
Remove problem list, sends in Unicode - Not adware
8 years ago
Marcus Hildum
0efda04920
Use heredocs instead of multiple calls to echo
...
There were a lot of places (like in help functions) that used multiple
echo calls instead of heredocs. Personal opinion but this seems cleaner.
8 years ago
Dan Schaper
8819e58882
Remove problem list, sends in Unicode - Not adware
...
Fixes #816
8 years ago
Marcus Hildum
28eeaf201b
Standardize function declaration
...
There were no fewer than three styles of function declaration going
on in these files, so I attempted to standardize them to the typical
myfucn() {
}
style.
8 years ago
tuplink
74bfcea6a8
add blacklistScript var
8 years ago
tuplink
16f1d7fad9
Blacklist unwhitelisted
8 years ago
Promofaux
9aa38cf0ae
mv patternbuffer instead of cp, then no need to clean up
8 years ago
Promofaux
a7fa7466fb
remove no longer needed code
8 years ago
Promofaux
3f73c61cee
cache event horizon before white/blacklists are applied for quicker processing on white/blacklist calls of gravity
8 years ago
Promofaux
a64f4cd871
whitelist script now only directly edits whitelist.txt. DOES NOT TOUCH HOST FILE, instead calls gravity with a no download argument
8 years ago
Promofaux
a41eff1276
Blacklist script now only directly edits blacklist.txt. DOES NOT TOUCH HOST FILE, instead calls gravity with a no download argument
8 years ago
Promofaux
b88fe572fe
Whitelist/Blacklist domains directly in the Event Horizon.
8 years ago
Promofaux
59ba6f8aec
add flag to skip download of lists
8 years ago