Mcat12
b8545eb1df
Merge pull request #1074 from pi-hole/development
...
[RELEASE] Pi-hole Core 2.11
2017-01-02 16:36:55 -05:00
Mcat12
76531da340
Merge pull request #1067 from pi-hole/fix/firewall_redux
...
Fix/firewall redux
2017-01-02 11:36:38 -05:00
Adam Warner
12bec1df68
Merge pull request #1048 from pi-hole/tweak/simplify_webpage.sh
...
Major simplification of webpage.sh + extend DHCP to IPv6
2017-01-02 14:28:26 +00:00
DL6ER
ad61852804
Test against empty string
2017-01-02 11:10:38 +01:00
DL6ER
dbd8aee4ee
Add 'local' domain if not set in setupVers.conf
2017-01-02 11:08:54 +01:00
DL6ER
677694b01a
Set 24h lease time if settings was empty before
2017-01-02 11:05:40 +01:00
DL6ER
85f0241c0d
Reprocess DHCP settings after update
2017-01-02 10:50:59 +01:00
Dan Schaper
ade2185a9f
Merge pull request #1073 from pi-hole/tweak/quidsup
...
Comment out QuidsUp
2017-01-01 15:35:55 -08:00
Dan Schaper
0d27005dda
Comment out QuidsUp
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-01-01 15:31:17 -08:00
Dan Schaper
8ee2bdec4d
Plain grep, escape the special characters.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-01-01 14:38:10 -08:00
Dan Schaper
de6ce276d0
Merge branch 'development' of github.com:pi-hole/pi-hole into fix/firewall_redux
2017-01-01 14:13:32 -08:00
Dan Schaper
fbea81dcd7
Merge pull request #1068 from pi-hole/fix/anti_glob
...
Misc tweaks to the installer script. Defensive git cloning, and ability to source the installer script.
2017-01-01 14:10:55 -08:00
Dan Schaper
502c349b8b
Merge branches 'development' and 'fix/firewall_redux' of github.com:pi-hole/pi-hole into fix/firewall_redux
2017-01-01 13:47:56 -08:00
Adam Warner
5fb0aa70de
Merge pull request #1008 from pi-hole/feature/track_pre-installed_packages
...
Feature/track pre installed packages
2017-01-01 20:29:02 +00:00
Dan Schaper
7750e1344c
DRY displayFinalMessage
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-01-01 07:10:14 -08:00
Dan Schaper
8be37130e9
Move first check to main()
, basic-install.sh
can now be sourced.
...
Set `PH_TEST=true` then `source basic-install.sh`. Careful for `set -e`.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-01-01 06:45:03 -08:00
Dan Schaper
fa055481a7
Shellcheck screen size
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-01-01 06:32:49 -08:00
Dan Schaper
d080e5d7a8
Merge branch 'fix/anti_glob' of github.com:pi-hole/pi-hole into fix/anti_glob
2017-01-01 00:18:37 -08:00
Dan Schaper
ad07655630
Defensive git cloning
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-01-01 00:14:12 -08:00
Dan Schaper
7cceb8615a
make_repo
more defensive.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-01-01 00:13:51 -08:00
Dan Schaper
ab9c8f4859
make_repo
more defensive.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2017-01-01 00:00:48 -08:00
Dan Schaper
ffb8a74111
Defensive is_repo
...
`is_repo` defended
Document return codes for `is_repo()`
`is_repo` tested for 128,1,0 return values.
2017-01-01 00:00:20 -08:00
Dan Schaper
45587194e5
Regex fun
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-31 21:33:05 -08:00
Dan Schaper
ccbf391913
More intelligence in iptables rulesets. Account for Policy ACCEPT, with
...
default rule DROP or REJECT as last rule.
Regex the conditions to make sure we are getting the right conditions.
Reframe the logic to simplify the chains and rules
Reframe the logic to simplify the chains and rules
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-31 21:16:22 -08:00
Mcat12
7765efa6c4
Merge pull request #1063 from pi-hole/fix/chmod_scripts
...
All scripts set executable
2016-12-31 12:01:10 -05:00
DL6ER
02d4b6794c
Merge pull request #1066 from dgnthr/patch-1
...
Fixed a typo in the installation script
2016-12-31 17:30:56 +01:00
Dominik G
836b717346
Fixed a typo in the installation script
2016-12-31 17:25:48 +01:00
Dan Schaper
fc596e41d4
All scripts set executable
2016-12-30 18:35:16 -08:00
Mcat12
1f9b0f7cef
Merge pull request #1061 from pi-hole/fix/blockpage-whitelist-path
...
Adjust blocking page paths from admin restructure
2016-12-30 15:43:39 -05:00
Mcat12
7bcc15e416
Adjust blocking page paths from admin restructure
2016-12-30 15:36:53 -05:00
DL6ER
1a3bdbaabf
Merge pull request #1057 from pi-hole/new/whitelistonblockingpage
...
Allow whitelisting from blocking page
2016-12-30 21:07:34 +01:00
Mcat12
5e35fdbc52
Save blocking page CSS to pihole directory instead of admin
2016-12-30 14:42:15 -05:00
Mcat12
ab2c486f25
Fix password Enter handling
...
Also remove extranious form information, since JS handles that
2016-12-30 14:13:15 -05:00
Mcat12
7fd7430d38
Use pi.hole when getting js and css
...
If a user is able to get to this page, they must be using Pi-hole
2016-12-30 13:43:29 -05:00
Mcat12
089b98430f
Fix formatting
2016-12-30 12:59:05 -05:00
DL6ER
5c7fc05a32
Enable DHCP logging by default
2016-12-30 16:31:57 +00:00
Mcat12
ced0d3c2c0
Merge pull request #1055 from pi-hole/fix/firewall_check
...
Restructure firewall detection and application.
2016-12-30 11:23:30 -05:00
Mcat12
1afc5d351d
Merge pull request #1058 from pi-hole/cleanup/remove_swap
...
Delete swapfile generator, haven't used this in a long time.
2016-12-30 11:12:28 -05:00
DL6ER
09bbc81470
Add notice that the user might have to flush his DNS cache
2016-12-30 12:27:33 +00:00
Dan Schaper
f7274addcd
Delete swapfile generator, haven't used this in a long time.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-30 04:08:32 -08:00
DL6ER
09bfa2ef77
Add whitelisting on blocking page feature
2016-12-30 12:03:45 +00:00
Dan Schaper
a48518d234
Update test rig for new firewalld
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-29 16:11:13 -08:00
Dan Schaper
a4a9879643
Restructure firewall detection and application.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-29 15:57:29 -08:00
Dan Schaper
d1ccd7a460
Merge pull request #1052 from pi-hole/fix/missing_modules
...
Detect missing kernel modules
2016-12-29 14:51:35 -08:00
DL6ER
9181a4a1d8
Apply dhcp lease time also for IPv6
2016-12-29 14:26:23 +00:00
DL6ER
3268e1611a
Backend accept and apply dhcp lease time
2016-12-29 14:19:44 +00:00
Dan Schaper
ea9ec384c6
Disambiguate nested ifs.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-29 01:35:52 -08:00
Dan Schaper
bbb958b7ed
Detect RPF breaking kernel updates.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-29 01:34:49 -08:00
DL6ER
cf724176dc
Do stateful DHCPv6 and SLAAC
2016-12-28 20:02:48 +00:00
DL6ER
18d1c98f08
Merge pull request #1051 from pi-hole/fix/status
...
Test if DNS service is listening on local port 53 when reporting status
2016-12-28 20:47:37 +01:00
DL6ER
d0cd39a25f
Added space behind :53 to only match port 53
2016-12-28 20:32:56 +01:00
DL6ER
03d4fcd17d
Don't actually have to reapply DHCP settings since we are going to save it in a different file we don't replace by a template
2016-12-28 16:32:24 +00:00
DL6ER
02d658be65
Look for DHCP / DNS server settings which would have to be reapplied after updating (since we overwrite 01-pihole.conf)
2016-12-28 16:31:55 +00:00
DL6ER
1e627c7e8f
Make webpage.sh fully library style
2016-12-28 16:25:14 +00:00
DL6ER
9170488b0a
Test if DNS service is listening on local port 53
2016-12-28 15:58:48 +00:00
Dan Schaper
b02730a5ad
Merge branches 'development' and 'feature/track_pre-installed_packages' of github.com:pi-hole/pi-hole into feature/track_pre-installed_packages
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
# Conflicts:
# automated install/basic-install.sh
2016-12-27 22:50:00 -08:00
DL6ER
9af26cbaac
Major simplification of webpage.sh
2016-12-28 02:14:47 +00:00
Dan Schaper
73741f1518
Merge pull request #1046 from pi-hole/tweak/subshells
...
Tweak/subshells
2016-12-27 16:00:07 -08:00
Dan Schaper
9a9cb61345
Shift epel-release
to installer dependencies for CentOS
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-27 12:59:53 -08:00
Dan Schaper
6abd6d8879
Merge pull request #991 from pi-hole/webUIprivacymode
...
Backend for privacyMode on webUI
2016-12-27 12:46:54 -08:00
Dan Schaper
c3b51b4ceb
Merge branch 'development' into feature/track_pre-installed_packages
2016-12-27 12:37:19 -08:00
DL6ER
321ea8a3a9
Merge branch 'development' into webUIprivacymode
2016-12-27 21:27:11 +01:00
Dan Schaper
4d6263872d
Merge branch 'development' of github.com:pi-hole/pi-hole into tweak/subshells
2016-12-27 12:25:49 -08:00
Dan Schaper
fcdd58ac94
Merge pull request #1033 from pi-hole/updater_rewrite
...
update.sh code refactoring
2016-12-27 12:22:17 -08:00
Dan Schaper
ef8292d371
Merge branch 'development' into updater_rewrite
2016-12-27 11:59:52 -08:00
Dan Schaper
bc6a985f7c
Merge branch 'development' of github.com:pi-hole/pi-hole into tweak/subshells
2016-12-27 11:53:46 -08:00
Dan Schaper
7320fc11d2
Check command -v directly, instead of subshelling out.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-27 11:53:23 -08:00
Dan Schaper
51f6d75db4
Merge pull request #1045 from pi-hole/tweak/always_update
...
Always update package cache where we can.
2016-12-27 11:51:00 -08:00
Dan Schaper
a328326e39
Formatting
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-27 11:41:07 -08:00
Dan Schaper
4eedf8a746
Always update package cache where we can.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-27 10:59:24 -08:00
Dan Schaper
c5f5252145
Merge pull request #961 from pi-hole/customblockpage
...
Custom Pi-Hole block page
2016-12-27 10:25:03 -08:00
Mcat12
7fadd469c9
Merge pull request #1038 from pi-hole/fix/IPV6_detection
...
Check IPv6 routing
2016-12-27 11:42:23 -05:00
Mcat12
823e874d20
Merge pull request #1037 from pi-hole/tweak/IPv4_multi_address
...
Smarter pick of IPv4 address
2016-12-27 11:42:00 -05:00
Adam Warner
739aaafa9a
Merge pull request #1041 from pi-hole/development
...
[RELEASE] Pi-Hole Core 2.10.2
2016-12-25 23:43:35 +00:00
Dan Schaper
62d001225a
Merge pull request #1040 from pi-hole/fix/updater_git-C
...
Remove git -C from update.sh
2016-12-25 12:28:42 -08:00
DL6ER
e50947eb58
mend
2016-12-25 21:26:06 +01:00
DL6ER
ca056d32d2
Remove git -C
2016-12-25 21:22:59 +01:00
DL6ER
63a455f4f7
Merge pull request #1039 from pi-hole/revert_crontab_change
...
Revert PR #1018
2016-12-25 18:35:59 +01:00
DL6ER
a0e0465036
Revert "Merge pull request #1018 from pi-hole/diginc-patch-1"
...
This reverts commit ff3c36a7a2
, reversing
changes made to 9355a8ad0e
.
2016-12-25 17:32:59 +01:00
Dan Schaper
d174a9d015
Merge branch 'feature/track_pre-installed_packages' of github.com:pi-hole/pi-hole into feature/track_pre-installed_packages
2016-12-24 17:01:38 -08:00
Dan Schaper
7eb6124721
Don't call for package installs if there are no packages to install.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 16:57:07 -08:00
Dan Schaper
f458780ba7
Rebase onto development
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 16:56:31 -08:00
Dan Schaper
8ad52806de
Quiet DNF
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 16:54:23 -08:00
Dan Schaper
dc22a50dcc
Fedora dependency installer overhaul
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
Modify Fedora dependency installer
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
Fedora now installs and arrays only non-installed packages. Fedora also noops the cache update, since it updates at every dnf call anyays.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 16:54:20 -08:00
Dan Schaper
852341c601
Check for installation status within the parent function.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 16:54:16 -08:00
Dan Schaper
d5ed6c1901
Find which packages already exist and only install new packages. Set up for unintall to know what packages we installed for later removal.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 16:54:13 -08:00
DL6ER
e15548cbf5
Add --quiet to git fetch in GitCheckUpdateAvail()
2016-12-25 01:18:58 +01:00
DL6ER
5e28e6b9ac
Removed remaining git -C
2016-12-25 01:17:46 +01:00
DL6ER
c78d43f640
Merge pull request #1032 from pi-hole/fix/emptypassword
...
Save empty password
2016-12-25 00:51:21 +01:00
Dan Schaper
da41383476
Check IPv6 to see if the route is reachable, if not, don't use.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 15:26:05 -08:00
Dan Schaper
6ff79835da
If only one interface available, don't show whiptail, just use that interface.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 15:08:39 -08:00
Dan Schaper
1d608b204a
Only allow UP interfaces to be selected. (DOWN interfaces would have not given IP addresses anyways.)
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 14:50:50 -08:00
Dan Schaper
c2b8bed3a8
Get the IP address that is the source for the default route out. Fixes interfaces with multiple IP's assigned getting the wrong IPv4 chosen.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 14:43:57 -08:00
Dan Schaper
3365ef7aaa
is_repo()
returns values to caller, silence function.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 11:54:04 -08:00
Dan Schaper
68c17b26dc
Bashisms
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 11:41:42 -08:00
Dan Schaper
e647efd471
Shell script, not javascript
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-24 11:24:20 -08:00
DL6ER
15db1ffdd5
Remove variables not needed any more
2016-12-24 15:48:43 +01:00
DL6ER
4632b0f797
Updated updater logic
2016-12-24 15:40:31 +01:00
DL6ER
65c35a5530
Use new subroutine to determine if updates are available
2016-12-24 15:32:25 +01:00
DL6ER
c449a1c0e0
Added GitCheckUpdateAvail()
2016-12-24 15:19:39 +01:00
DL6ER
b020010f0d
Removed some of the &> /dev/null
2016-12-24 15:08:30 +01:00
DL6ER
0276c72fe2
replace 'git -C' with long version (see #1009 )
2016-12-24 15:05:57 +01:00
Dan Schaper
e4aec05d0f
Merge branch 'feature/track_pre-installed_packages' of github.com:pi-hole/pi-hole into feature/track_pre-installed_packages
2016-12-23 16:54:25 -08:00
Dan Schaper
2919f852ad
Import checkSelinux
from master
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-23 16:30:26 -08:00
Dan Schaper
a6e3b9de37
Merge branch 'master' of github.com:pi-hole/pi-hole into feature/track_pre-installed_packages
2016-12-23 16:28:41 -08:00
DL6ER
04a9791be2
Save empty password
2016-12-23 23:41:40 +01:00
Dan Schaper
cb8df06685
Merge branch 'development' into feature/track_pre-installed_packages
2016-12-23 14:10:01 -08:00
Adam Warner
bfe5506cc1
Merge pull request #1021 from pi-hole/development
...
[RELEASE] Pi-Hole Core 2.10.1
2016-12-23 21:57:02 +00:00
Dan Schaper
b64066fec7
Merge conflict
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-23 13:23:09 -08:00
Mcat12
ffd31d8330
Merge pull request #1031 from pi-hole/templates
...
replace 1-10 checkboxes to tidy up appearance
2016-12-23 16:06:29 -05:00
Promofaux
d89254fedf
replace 1-10 checkboxes to tidy up appearance
2016-12-23 19:49:39 +00:00
Mcat12
a771ddf667
Merge pull request #1030 from pi-hole/readmeTypos
...
Accidentally a word.
2016-12-23 14:43:56 -05:00
Promofaux
ce2e410468
Accidentally a word.
...
Updated link
2016-12-23 19:39:37 +00:00
Adam Warner
c1982c04ff
Merge pull request #1029 from pi-hole/bogusDNS_BOGUS_PRIVentries
...
remove `DNS_BOGUS_PRIV` from setupVars.conf
2016-12-23 19:32:13 +00:00
Promofaux
9a62026830
remove DNS_BOGUS_PRIV
from setupVars.conf
2016-12-23 19:27:02 +00:00
Adam Warner
d12efccd0b
Merge pull request #1028 from pi-hole/bcambl-selinux_notification
...
Bcambl selinux notification
2016-12-23 17:36:33 +00:00
Mcat12
54afffed19
Remove newline
...
Issue was already fixed
2016-12-23 12:30:33 -05:00
Mcat12
fc8fcdbece
Add newline
2016-12-23 12:28:18 -05:00
Promofaux
abd1fedc9d
.
2016-12-23 17:25:55 +00:00
Promofaux
9725985037
printf to echo. idgaf
2016-12-23 17:24:33 +00:00
Promofaux
754f3359ec
too many echos spoil the branch
2016-12-23 17:22:31 +00:00
Promofaux
4c131b8c28
newlines
2016-12-23 17:21:23 +00:00
Promofaux
15c674ba29
verbosity
2016-12-23 17:20:33 +00:00
Promofaux
00aff6a906
maybe
2016-12-23 17:16:03 +00:00
Promofaux
c45c3a72b5
words words words
2016-12-23 17:06:33 +00:00
Promofaux
662d450651
adjust size of whiptail dialog
2016-12-23 16:58:58 +00:00
Promofaux
a8897becd2
Make sure whiptail is installed...
2016-12-23 16:55:56 +00:00
Mcat12
d0126f4454
Merge pull request #1027 from pi-hole/Mcat12/fix/alignUpdatingRepo
...
Align installer output for updating repo
2016-12-23 11:54:34 -05:00
Promofaux
fdb64a5702
untested convert user prompt to whiptail
2016-12-23 16:53:42 +00:00
Mcat12
73a80ff7dc
Align installer output for updating repo
2016-12-23 11:51:34 -05:00
Promofaux
a795fd698d
Merge branch 'selinux_notification' of https://github.com/bcambl/pi-hole into bcambl-selinux_notification
2016-12-23 16:48:16 +00:00
bcambl
2fb0dc0a4a
add warning if SELinux is Enforcing
2016-12-23 10:27:52 -06:00
DL6ER
5b4653cf39
Merge pull request #1023 from pi-hole/fix/fedora_sudo
...
Fix Fedora sudo permissions
2016-12-23 17:13:57 +01:00
DL6ER
aa8e1497a3
Fixed error
2016-12-23 17:12:38 +01:00
DL6ER
eb13d846ef
Merge pull request #1024 from pi-hole/fix/grep_case_insensitive
...
Make grep case insensitive
2016-12-23 17:07:08 +01:00
DL6ER
c674a175ee
Make grep case insensitive
2016-12-23 17:02:56 +01:00
DL6ER
afabf30ec6
Fix Fedora web UI support
2016-12-23 16:57:51 +01:00
DL6ER
420158494d
Merge pull request #1022 from pi-hole/fix/adlists.default
...
Internal (/etc/pihole/adlists.default)
2016-12-23 16:08:06 +01:00
DL6ER
6b7b0e0eb3
Test if /etc/pihole/adlists.default exists
2016-12-23 16:00:48 +01:00
Adam Warner
ad70db7e0e
Merge pull request #1020 from bcambl/setDNS_before_ifcfg
...
Set dns before ifcfg (Fixes #1019 )
2016-12-23 12:12:05 +00:00
Adam Warner
ef1ce66793
Merge pull request #1013 from pi-hole/fix/chronometer
...
Fix chronometer.sh
2016-12-23 11:12:20 +00:00
DL6ER
c364fd80b6
Merge pull request #994 from pi-hole/errorsshouldnotescapeblackholes
...
Errors should not escape black holes
2016-12-23 12:05:54 +01:00
Adam Warner
3bc5d1bae0
Merge pull request #989 from pi-hole/APIresolveclientsandupstream
...
Implement backend for AdminLTE/#253
2016-12-23 10:37:48 +00:00
Adam Warner
e4e34acba1
Merge pull request #1017 from bcambl/ensure_repo_directory
...
is_repo: ensure directory exists
2016-12-23 09:44:19 +00:00
Adam Warner
ff3c36a7a2
Merge pull request #1018 from pi-hole/diginc-patch-1
...
pihole.cron reduce duplication
2016-12-23 09:41:48 +00:00
bcambl
1e7e3259b5
choose dns servers prior to interface configuration
...
upstream DNS servers must be chosen prior interface configuration.
Fixes #1019
2016-12-22 22:42:32 -06:00
Adam Hill
5e53f484be
Update pihole.cron
...
Stop repeating the path.
2016-12-22 22:00:17 -06:00
bcambl
513bc32d87
is_repo: ensure directory exists
2016-12-22 20:00:45 -06:00
Dan Schaper
e7c944ff0b
Merge branches 'development' and 'feature/track_pre-installed_packages' of github.com:pi-hole/pi-hole into feature/track_pre-installed_packages
2016-12-22 12:25:07 -08:00
Dan Schaper
9355a8ad0e
Merge pull request #1011 from pi-hole/fix/sudoers
...
Fix: Dynamic instead of static sudoers file
2016-12-22 12:20:01 -08:00
Dan Schaper
a74e48a138
Merge pull request #1014 from pi-hole/fix/Gravity_in_shell
...
Execute gravity in same shell as installer, don't subshell it.
2016-12-22 12:07:12 -08:00
Dan Schaper
ea5ee7b0f9
Execute gravity in same shell as installer, don't subshell it.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-22 11:30:36 -08:00
DL6ER
bc8cf1b2d8
Fixed wrong indentation
2016-12-22 19:23:06 +01:00
DL6ER
bb28d94884
Merge branch 'development' into customblockpage
...
Conflicts:
automated install/basic-install.sh
2016-12-22 19:22:09 +01:00
DL6ER
a4f58b0a22
Look for "query[" instead of "query" to avoid false-positives, like listed below
...
root@raspberrypi:/etc/.pihole# grep 'query' /var/log/pihole.log | grep -v 'query\['
Dec 22 16:29:50 dnsmasq[30801]: forwarded code.jquery.com to 208.67.222.222
Dec 22 16:29:50 dnsmasq[30801]: reply code.jquery.com is <CNAME>
Dec 22 16:29:50 dnsmasq[30801]: reply code.jquery.netdna-cdn.com is 94.31.29.54
Dec 22 16:29:50 dnsmasq[30801]: reply code.jquery.netdna-cdn.com is 23.111.11.3
Dec 22 16:29:50 dnsmasq[30801]: reply code.jquery.netdna-cdn.com is 198.232.125.113
2016-12-22 19:09:37 +01:00
DL6ER
bcf8139708
Removed cat where we don't need it
2016-12-22 18:55:14 +01:00
DL6ER
9b0390c9da
Space to Tab
2016-12-22 18:53:44 +01:00
DL6ER
e88f58c34e
Remove grpping for today's log entries, because we flush the log every day
2016-12-22 18:45:53 +01:00
Blayne Campbell
8f402f5c77
Merge pull request #1009 from bcambl/fix_1004
...
replace 'git -C' with long version
2016-12-22 11:44:08 -06:00
DL6ER
60054da582
Add lighttpd user (OS dependent) to sudoers file
2016-12-22 13:26:11 +01:00
DL6ER
4626b8ced5
Removed fixed username from sudoers file
2016-12-22 13:18:38 +01:00
Dan Schaper
ab7d193f98
Still causing problems with Fedora and CentOS
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-22 03:21:37 -08:00
bcambl
cbf84c1840
replace subshell with command chain
2016-12-22 04:32:42 -06:00
Dan Schaper
420fb69166
Merge pull request #1005 from pi-hole/fix/create_install_directories
...
Create /opt/pihole before trying to install into it.
2016-12-22 01:47:07 -08:00
bcambl
c9c28cb59a
replace 'git -C' with long version
...
The -C argument was introduced in git 1.8.4. CentOS 7.3 at the time of this commit provides v1.8.3.1.
see: https://git.kaarsemaker.net/git/commit/44e1e4d67d5148c245db362cc48c3cc6c2ec82ca/
Fixes #1004
2016-12-22 03:37:34 -06:00
Dan Schaper
9073f34b30
Quiet DNF
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-22 00:44:10 -08:00
Dan Schaper
fb5578c0d4
Fedora dependency installer overhaul
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
Modify Fedora dependency installer
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
Fedora now installs and arrays only non-installed packages. Fedora also noops the cache update, since it updates at every dnf call anyays.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-22 00:29:04 -08:00
Dan Schaper
4244f716e0
Create /opt/pihole before trying to install into it.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-21 23:04:57 -08:00
Dan Schaper
07a4f970d4
Check for installation status within the parent function.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-21 22:57:42 -08:00
Dan Schaper
2335097c99
Find which packages already exist and only install new packages. Set up for unintall to know what packages we installed for later removal.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-21 22:20:23 -08:00
Adam Warner
bef0a2fef0
Merge pull request #987 from pi-hole/development
...
Pi-Hole Core release v2.10
2016-12-21 18:21:59 +00:00
DL6ER
c48e6c91f5
Merge pull request #999 from pi-hole/fix/install_deps_exit
...
Fix/install deps exit
2016-12-21 16:00:48 +01:00
DL6ER
f082b5ba54
Merge pull request #1001 from pi-hole/cleanup/remove_legacy_detect
...
Remove v1 legacy detection code.
2016-12-21 13:49:34 +01:00
DL6ER
8841bdd252
Reset the if's
2016-12-21 12:57:02 +01:00
DL6ER
58261098fb
We should not call a function that Dan deleted
2016-12-21 12:07:44 +01:00
DL6ER
9432d3035a
Merge branch 'development' into cleanup/remove_legacy_detect
...
Conflicts:
automated install/basic-install.sh
2016-12-21 12:01:58 +01:00
DL6ER
9907fc2770
Merge branch 'development' into fix/install_deps_exit
...
Conflicts:
automated install/basic-install.sh
2016-12-21 11:54:52 +01:00
DL6ER
d42caa8672
Merge pull request #1000 from pi-hole/fix/tab_space
...
Tabs to spaces and formatting.
2016-12-21 11:41:30 +01:00
Dan Schaper
8117ec8e20
Remove v1 legacy detection code.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-20 17:50:44 -08:00
Dan Schaper
ff2783f9fc
Tabs to spaces and formatting.
...
Signed-off-by: Dan Schaper <dschaper@ganymeade.com >
2016-12-20 17:22:57 -08:00
Dan Schaper
156a51c945
Remove extra display only variable.
...
Signed-off-by: Dan Schaper <dschaper@ganymeade.com >
2016-12-20 17:04:46 -08:00
Dan Schaper
c72ffae4a2
Don't install extra packages (openresolv was installed over resolvconf). No longer need --fix-missing.
...
Signed-off-by: Dan Schaper <dschaper@ganymeade.com >
2016-12-20 17:02:51 -08:00
Dan Schaper
7f3b0030ea
LF
...
Signed-off-by: Dan Schaper <dschaper@ganymeade.com >
2016-12-20 16:47:43 -08:00
Dan Schaper
9a626948f8
Use debconf for Deb/Ubu package installations.
...
Signed-off-by: Dan Schaper <dschaper@ganymeade.com >
Alphabetic sort of dependency names
Signed-off-by: Dan Schaper <dschaper@ganymeade.com >
2016-12-20 16:22:31 -08:00
Dan Schaper
5c43df66a8
Remove spinner function, masked return values.
...
Signed-off-by: Dan Schaper <dschaper@ganymeade.com >
2016-12-20 16:22:08 -08:00
Dan Schaper
d0e3c546f8
CRLF to CR (Win to Unix line endings)
...
Signed-off-by: Dan Schaper <dschaper@ganymeade.com >
2016-12-20 15:00:37 -08:00
DL6ER
a9cb93d801
Merge pull request #998 from pi-hole/LordKelvin
...
Lord Kelvin
2016-12-20 17:54:52 +01:00
DL6ER
ee8f29d178
Fixed typo, extended help text
2016-12-20 16:28:28 +01:00
DL6ER
da363070c7
Added Kelvin
2016-12-20 12:21:08 +01:00
DL6ER
50cf891e01
Merge pull request #996 from pi-hole/allowemptysecondDNSserver
...
Allow disabling second DNS server
2016-12-19 19:30:27 +01:00
DL6ER
715838cf89
Allow disabling second DNS server
2016-12-19 13:42:42 +01:00
DL6ER
cd0c3f9418
Better output if file has not been downloaded because it has not been changed
2016-12-17 23:46:28 +01:00
DL6ER
efaee2b68b
Improvements for gravity (errors shouldn't be able to escape the black hole if even light cannot do this!)
2016-12-17 23:33:09 +01:00
DL6ER
372c699cc6
Merge pull request #993 from pi-hole/fix/one_step_refactor
...
Rename variables in one step
2016-12-17 00:15:20 +01:00
Dan Schaper
8cb01cdd29
One step to rename variables.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-16 15:08:30 -08:00
DL6ER
7a243f890e
Backend for privacyMode on webUI
2016-12-16 17:33:01 +01:00
Adam Warner
10982a0f45
Merge pull request #990 from pi-hole/dontkillsetupVars.conf
...
Don't kill setupVars.conf on update/fresh install
2016-12-16 13:55:33 +00:00
DL6ER
d4c378ed5d
Remove PIHOLE_INTERFACE if already set (not PIHOLE_DOMAIN)
2016-12-16 13:20:25 +01:00
DL6ER
7872f68a45
Only try to remove parts inthe file if the file already exists
2016-12-16 13:13:35 +01:00
DL6ER
ec8c848106
Don't kill already existing setupVars.conf on update (and fresh install)
2016-12-16 12:53:00 +01:00
Mcat12
3b50ce8c54
Merge pull request #977 from pi-hole/activatewebUIpw
...
Add password to webUI after update if there is none
2016-12-15 14:05:11 -05:00
DL6ER
afabb5957b
Implement backend for https://github.com/pi-hole/AdminLTE/pull/253
2016-12-15 18:55:40 +01:00
DL6ER
1eeaa01234
Always put the information that we added a password if we did (not only on update but also on fresh install)
2016-12-15 15:22:44 +01:00
DL6ER
e2898217d2
Made message shorter
2016-12-15 15:20:41 +01:00
DL6ER
f81dadc5d0
Fix final message
2016-12-15 14:10:55 +01:00
Mcat12
a0019d86c5
Merge pull request #983 from pi-hole/cronpath
...
Fix missing path information for cron
2016-12-15 07:01:20 -05:00
DL6ER
3c4a9bba78
Minor change
2016-12-15 10:38:24 +01:00
Adam Warner
4348653431
Merge pull request #985 from pi-hole/pi.hole
...
A man has no name. Even though his name is Jaqen H'ghar
2016-12-15 08:49:22 +00:00
Dan Schaper
09cfa9bb20
Merge pull request #986 from pi-hole/autoCompletes
...
add missing pihole autocomplete commands
2016-12-14 12:58:50 -08:00
Promofaux
e7713a9028
add missing pihole autocomplete commands
2016-12-14 19:53:40 +00:00
Promofaux
906a1753be
specifically comment out gravity.list addn-host
2016-12-14 19:42:20 +00:00
Promofaux
a3d519b671
no need to remove list, because of echo >
2016-12-14 19:33:15 +00:00
Promofaux
8591f9d576
check for list before removing it
2016-12-14 19:31:57 +00:00
Promofaux
c10ec5548f
remove code that replaces tokens in 01-pihole.conf
2016-12-14 19:29:44 +00:00
Promofaux
684ac98c8e
Remove hostname and pi.hole entries, move to /etc/pihole/local.list
2016-12-14 19:28:01 +00:00
Promofaux
db89fa9881
initial support for additional hosts file
2016-12-14 19:26:55 +00:00
Adam Warner
9a80421d73
Merge pull request #981 from pi-hole/quiet-dhcp
...
Improvement of backend of web UI Settings page
2016-12-14 19:11:49 +00:00
Mcat12
2ddacf40c0
Merge pull request #984 from pi-hole/Mcat12-auto-ipv6
...
Automatically enable IPv6
2016-12-14 13:59:55 -05:00
Mcat12
92f4824884
Automatically enable IPv6
2016-12-14 13:52:14 -05:00
DL6ER
9a2ffabc33
Fix missing path information
2016-12-14 17:33:20 +01:00
DL6ER
2977168da1
dnsmasq "bogus-priv" property
2016-12-14 16:16:25 +01:00
DL6ER
85e3f37503
dnsmasq "domain-needed" property
2016-12-14 16:09:57 +01:00
DL6ER
ba015c1918
Set domain name via Settings page
2016-12-14 14:24:09 +01:00
DL6ER
1556adb678
Also remove quiet-dhcp setting when disabling/enabling the Pi-Hole DHCP server
2016-12-14 12:12:36 +01:00
Adam Warner
6bfe729112
Merge pull request #979 from pi-hole/wwwdatapassword
...
Prevent web UI password change by web user
2016-12-13 16:33:41 +00:00
DL6ER
c340668870
Merge pull request #976 from pi-hole/websettingspage
...
Add necessary backend for the new "Settings" page of the web UI
2016-12-13 17:32:18 +01:00
DL6ER
207422f83a
Added a missing space
2016-12-13 15:54:41 +01:00
DL6ER
004ba28378
Prevent web UI password change by web user
2016-12-13 15:52:28 +01:00
DL6ER
6f38801ed8
Add "Interface appearence" option
2016-12-13 14:59:52 +01:00
Adam Warner
1509eb7d82
Merge pull request #978 from pi-hole/Mcat12-adzhosts-list
...
Update ADZHOSTS list
2016-12-13 12:13:37 +00:00
DL6ER
b8d2bfc890
Wait 5 seconds before rebooting so the web UI can finish loading before being unreachable due to the reboot
2016-12-13 12:42:40 +01:00
Mcat12
8a2ee95e4a
Update ADZHOSTS list
2016-12-12 15:30:47 -05:00
DL6ER
bc91716082
Suppress logging of DHCP actions to /var/log/pihole.log
2016-12-12 17:14:52 +01:00
DL6ER
a00034a6a7
Add password to webUI after update if there is none
2016-12-12 17:03:53 +01:00
DL6ER
8dc0dc4d69
Add DHCP-Server backend
2016-12-12 15:34:05 +01:00
DL6ER
2f4b7ce3dd
Update dnsmasq file when changing upstream DNS servers and restart the service to get it active
2016-12-12 14:17:02 +01:00
DL6ER
d4f83cb1d4
Be able to set API_QUERY_LOG_SHOW
2016-12-12 13:15:07 +01:00
DL6ER
aaab3306a8
Add restart DNS capability
2016-12-12 10:38:21 +01:00
DL6ER
2bafa2f2ac
Add reboot option
2016-12-11 22:33:27 +01:00
DL6ER
9ac378ae09
Set domains and clients which are excluded by the API
2016-12-11 19:30:04 +01:00
DL6ER
bf867bd9fd
Set DNS servers from web UI
2016-12-11 16:54:27 +01:00
Adam Warner
7fd9ff43af
Merge pull request #970 from trinapicot/fix/remove_lighty_conf
...
Update uninstall.sh for check on lighttpd installation
2016-12-09 23:40:50 +00:00
Adam Warner
bebb569c43
Merge pull request #964 from pi-hole/queryadsonlyexactmatches
...
pihole -q: Add option to show all partial or only exact matches
2016-12-09 23:25:15 +00:00
Mcat12
74e33bb1a0
Merge pull request #973 from pi-hole/taillog
...
Add tail argument to automatically "tail -f" pihole.log
2016-12-08 16:40:17 -05:00
Mcat12
b591df55b0
Tell user how to exit tail command
2016-12-08 16:35:50 -05:00
Mcat12
bddf31443c
Merge pull request #974 from pi-hole/Mcat12-add-reconfigure-help
...
Add Reconfigure command to Pi-hole's list of commands
2016-12-08 15:55:36 -05:00
Mcat12
b9e0e88fe9
Update pihole
2016-12-08 15:47:30 -05:00
DL6ER
5120d9ec33
Add tail option
2016-12-08 21:15:03 +01:00
trinapicot
0a423ffd40
Fix check for lighttpd install before configuration directory removal
2016-12-07 20:31:34 -07:00
DL6ER
505c9e8979
Minor change
2016-12-06 14:08:45 +01:00
DL6ER
75deb02961
Don't query pihole if page is hidden anyhow
2016-12-06 14:05:48 +01:00
DL6ER
480211033d
Detect if blocking page is loaded within frame or iframe. If so, hide everything
2016-12-06 14:05:02 +01:00
DL6ER
c0886cb5c6
pihole -q <domain> is partial matching (as before), pihole -q <domain> -exact is exact matching (new behavior)
2016-12-06 13:18:01 +01:00
DL6ER
294df8690c
Do only one grep on each of the lists and count the number of non-empty lines in the result. Improves speed by factor of 2x
2016-12-06 09:55:17 +01:00
DL6ER
5374f652dd
No need to modify lighttpd config file, since we overwrite it anyways
2016-12-06 08:43:24 +01:00
DL6ER
fb72ac9904
Show only exact matches for pihole -q
2016-12-06 08:18:49 +01:00
Mcat12
b6639d9e7e
Merge pull request #962 from pi-hole/queryblacklist
...
Also query blacklist with pihole -q
2016-12-05 18:11:26 -05:00
DL6ER
74cb79252c
Only looking for blocking entries (do not scan whitelist.txt)
2016-12-05 17:12:28 +01:00
DL6ER
6cd3c93472
Also query white- and blacklist
2016-12-05 17:09:49 +01:00
DL6ER
eb63e75379
No need for pipe here
2016-12-05 17:06:20 +01:00
DL6ER
ca9321624c
Added padding for ad list results
2016-12-05 14:40:48 +01:00
DL6ER
40f18df90f
Simplified CSS, removed external contents
2016-12-05 14:39:07 +01:00
DL6ER
0d63cfd6c3
Add 1x1 pixel GIF image. Can apparently be used to trick some of the please-don't-use-adblocker pages as many of them contain code like if ($('Ad').height() == 0) { prevent access to this page; }
2016-12-05 12:34:30 +01:00
DL6ER
3d6b22de6c
Update index.php to include more detailed output
2016-12-05 12:12:01 +01:00
DL6ER
fc233fcdd3
Fixed typo
2016-12-05 12:10:05 +01:00
DL6ER
20370d4348
Update CSS file
2016-12-05 11:26:21 +01:00
DL6ER
0f90671241
Updated index.php to use CSS file unter admin/
2016-12-05 10:51:41 +01:00
DL6ER
a866c4e388
Place blockingpage.css (former index.css) unter admin/ so we can load it also from some blocked sub-directories
2016-12-05 10:50:19 +01:00
DL6ER
e7241a989c
Include CSS file
2016-12-04 22:20:51 +01:00
DL6ER
6e788668f9
Updated index.php
2016-12-04 22:17:33 +01:00
DL6ER
b246dba7e7
Rename index.html to index.php
2016-12-04 21:41:26 +01:00
Mcat12
f98de3d5db
Merge pull request #941 from DL6ER/caseinsensitive
...
Improvements for black-/whitelist scripts
2016-12-04 14:33:10 -05:00
Mcat12
fab7d60373
Merge pull request #960 from unseen1980/patch-1
...
Ad blocker with armbian and orange pi
2016-12-04 14:20:48 -05:00
Christos Koutsiaris
b4e5358145
Ad blocker with armbian and orange pi
2016-12-04 18:40:01 +00:00
Adam Warner
486db1e797
Merge pull request #956 from trinapicot/development
...
Add check for lighty.conf before trying to move it
2016-12-03 17:11:16 +00:00
DL6ER
78cb43d0dc
Revert "Simplified EscapeRegexp()"
...
This reverts commit 509cfd15f2
.
2016-12-03 00:32:37 +01:00
trinapicot
870454330d
Add check for lighty.conf before trying to move it
2016-12-02 13:54:11 -07:00
DL6ER
509cfd15f2
Simplified EscapeRegexp()
2016-12-02 14:17:34 +01:00
DL6ER
2061daa902
Don't forget to escape also the slash "/"
2016-12-02 14:11:17 +01:00
DL6ER
629ca970a1
Changed from single quoted filter expression to double quotes as reqeusted by codacy
2016-12-02 14:08:54 +01:00
DL6ER
c8ad6f23a8
Properly escape any special characters before using them in regexp manner
2016-12-02 12:57:04 +01:00
Mcat12
d8912fd0a7
Merge pull request #952 from pi-hole/fix/exit_codes
...
Fix/exit codes
2016-12-01 18:24:30 -05:00
Dan Schaper
925c80edd4
Catch more 1's
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-01 15:10:06 -08:00
Dan Schaper
2f6afd375b
Merge pull request #942 from pi-hole/PromoFaux-patch-2
...
Update gravity.sh
2016-12-01 14:00:38 -08:00
Dan Schaper
d92646324c
Double worded
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-01 13:59:58 -08:00
Dan Schaper
c9fe62a691
Clarify what the command is doing.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-01 13:58:40 -08:00
Dan Schaper
cb52ad3ba3
Revert other branch chages.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-01 13:31:35 -08:00
Dan Schaper
2ec4acfe52
Begin fixing exit values.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net >
2016-12-01 12:21:08 -08:00
Mcat12
1c64f1d0cf
Merge pull request #940 from pi-hole/PromoFaux-patch-1
...
Update .pullapprove.yml
2016-11-22 17:20:57 -05:00
Mcat12
48f4f44289
Merge pull request #944 from pi-hole/feature/Issue_template
...
Update ISSUE_TEMPLATE.md
2016-11-22 16:23:36 -05:00
Dan Schaper
80c19cbf7d
Update ISSUE_TEMPLATE.md
2016-11-22 12:05:19 -08:00
Adam Warner
c97cfde9f9
Update gravity.sh
...
Only include domain part of lines that contain `/` e.g `www.fakenewswatch.com/megynkelly`
2016-11-21 22:51:59 +00:00
DL6ER
7b26b308ad
No need for echo and pipe here!
2016-11-21 15:50:05 +01:00
DL6ER
4c10634d85
Convert domain names to lower case before checking validity of the domain
2016-11-21 15:49:11 +01:00
Mcat12
3ba7d7640f
Merge pull request #933 from DL6ER/delayedreactivation
...
Add possiblity for delayed reactivation of blocking
2016-11-21 08:26:26 -05:00
Adam Warner
907995a221
Update .pullapprove.yml
...
reflect new approvers team
2016-11-21 13:13:39 +00:00
DL6ER
7bf0985a57
Extended help text of main pihole command
2016-11-21 11:30:34 +01:00
Dan Schaper
3ca21d8c8a
Merge pull request #931 from pi-hole/update_tests
...
Add piholeDebug to CI Travis tests
2016-11-20 15:51:14 -08:00
Dan Schaper
a3a87c8883
Merge pull request #937 from pi-hole/feature/README
...
README updates
2016-11-20 15:23:49 -08:00
Adam Warner
de4401823e
Merge pull request #924 from DL6ER/webpage.sh
...
Add webpage.sh
2016-11-20 21:43:44 +00:00
Adam Warner
3ee10f5983
Merge pull request #938 from DL6ER/another_done
...
Another done
2016-11-20 19:21:58 +00:00
Dan Schaper
0fc8ac8d4d
Codacy Badge for Master
2016-11-20 09:44:39 -08:00
Dan Schaper
41bb53a29f
Remove CC Badge, Link Vortex to Discourse
2016-11-20 09:42:45 -08:00
DL6ER
cdee6d55d3
Minor change
2016-11-20 17:40:22 +01:00
DL6ER
e5a1afaa26
Added another missing "done"
2016-11-20 17:31:27 +01:00
DL6ER
f50cbe74cb
Changed -web (webpage) to -a (admin)
2016-11-20 15:15:27 +01:00
Dan Schaper
5dbbf91917
Link to AdminLTE
2016-11-19 15:08:35 -08:00
Mcat12
7424a29960
Update wiki link
2016-11-19 15:03:32 -08:00
Dan Schaper
eb22ca2467
Reset Code Stylings to group defalut
2016-11-19 15:03:12 -08:00
Dan Schaper
ddbcbe5458
Merge in git method instructions from other branch.
...
Move some bits around.
Start adding in logos to media links
More logos
Add BC logo
Change static images to use Asset server
Add and center control panel image
2016-11-19 15:01:56 -08:00
Dan Schaper
6e54cfd2ac
Further refinements.
...
Trying to find a good flow for information and layout.
2016-11-19 14:57:49 -08:00
Mcat12
fc3d4b3def
Update README.md
2016-11-19 14:57:38 -08:00
Jacob Salmela
df55b2c516
relocate and wordsmith donations
2016-11-19 14:57:29 -08:00
Jacob Salmela
4d9fb57e22
above the fold verbage
...
Try to let the user know in two sentences what Pi-hole can do for them.
Also, linked to Discourse hw/sw requirements.
fixed DO referral code.
2016-11-19 14:57:02 -08:00
Dan Schaper
3ed08b5c39
Add New Logo and other changes
...
Remove extra break
Center Badges and move DO Slug
Bump Vortex up a bit.
Last change for now.
Move things around a bit.
Pull overlay off black hole image
2016-11-19 14:55:52 -08:00
Dan Schaper
d715471426
Center Global
2016-11-19 14:47:46 -08:00
Dan Schaper
486a4929da
Add click instructions
2016-11-19 14:46:30 -08:00
Dan Schaper
aacddb745b
Swap Global Image
...
Global image, no berry, no overlay
2016-11-19 14:46:30 -08:00
Dan Schaper
924f499303
Add DO Slug and Copy to README
2016-11-19 14:46:30 -08:00
Dan Schaper
e863a200e8
Remove CC badge
2016-11-19 14:44:43 -08:00
Dan Schaper
bb7f8ae69d
Add git clone method to installers
2016-11-19 14:44:13 -08:00
DL6ER
33b6fe72da
Extended help text
2016-11-19 21:57:42 +01:00
DL6ER
733919be4a
Implement possibility to remove password using "pihole -web -p"
2016-11-19 21:50:15 +01:00
Dan Schaper
4333e5487b
Merge pull request #932 from pi-hole/feature/debug_timeout
...
feature/debug_timeout
2016-11-19 12:25:38 -08:00
Dan Schaper
22ead933b6
Merge pull request #936 from pi-hole/Mcat12-patch-1
...
Fix typo
2016-11-19 11:08:20 -08:00
Dan Schaper
d53a3af191
Merge pull request #899 from diginc/configureFirewall_unittest
...
Configure firewall unittest
2016-11-19 11:07:38 -08:00
Mcat12
08e7b7e0ad
Fix typo
2016-11-19 14:00:56 -05:00
Dan Schaper
68cb0782c0
Add countdown timer
2016-11-18 13:27:06 -08:00
Adam Warner
0e5a8e0033
Merge pull request #934 from DL6ER/gravity.sh-done
...
Added missing "done." output to gravity.sh
2016-11-18 20:10:50 +00:00
DL6ER
4945f33254
Added "-n" to first echo call
2016-11-18 17:39:34 +01:00
DL6ER
3fa05293fc
Fixed file permissions
2016-11-18 17:37:13 +01:00
DL6ER
27e5f2798d
Added missing "done." output
2016-11-18 17:33:46 +01:00
DL6ER
291ca0874a
Fixed two more typos
2016-11-18 12:16:26 +01:00
DL6ER
96f2aa1803
fixed typo
2016-11-17 23:36:53 +01:00
DL6ER
c6857501aa
Removed check for availability of nohup
2016-11-17 23:31:11 +01:00
DL6ER
3aba1607b2
Removed debug echos
2016-11-17 23:04:46 +01:00
DL6ER
f667298b64
Added possiblity for delayed reactivation of blocking
2016-11-17 22:58:00 +01:00
Dan Schaper
0f4c8d4923
Set default timeout to 60 seconds
2016-11-17 11:00:11 -08:00
Dan Schaper
6d2c5b2312
Add debug timeoute
2016-11-17 10:58:58 -08:00
Dan Schaper
a95ce11ca6
Add debug timeoute
2016-11-17 10:39:51 -08:00
Dan Schaper
808503d526
Add piholeDebug to tests
2016-11-17 10:28:51 -08:00
Adam Warner
d4b6fb9214
Merge pull request #929 from pi-hole/cleanup/PR_template
...
Small change in template
2016-11-17 12:43:54 +00:00
Dan Schaper
9bce5a09f3
Small change in template
...
Just a space, and italicize
2016-11-16 21:42:54 -08:00
Mcat12
bd61f38169
Merge pull request #926 from zbholman/patch-2
...
Added removal of pihole user to the uninstall.sh
2016-11-16 17:31:56 -05:00
zbholman
cac9c63325
Added removal of pihole user to the uninstall.sh
...
Not sure if I should have created a variable for the username or if the echo is necessary. And this is my first time doing a pull request, hopefully it works out lol.
2016-11-16 17:06:30 -05:00
Adam Warner
e6d555ac31
Merge pull request #925 from pi-hole/feature/style_guide
...
Add GSG/Shell link
2016-11-16 22:03:18 +00:00
Dan Schaper
fd0dd9f54c
Add GSG/Shell link
2016-11-16 13:55:29 -08:00
DL6ER
88c161769d
Capitalized variable names.
2016-11-16 22:33:28 +01:00
DL6ER
01bf1ae92d
Compute double hashes to avoid rainbow table vulnerability
2016-11-16 22:13:47 +01:00
DL6ER
9193c71cff
Minor change
2016-11-16 21:36:19 +01:00
DL6ER
db278d81e4
Added webpage.sh
2016-11-16 21:34:43 +01:00
Dan Schaper
bdad454a0d
Merge pull request #920 from pi-hole/PromoFaux-patch-1
...
Update piholeDebug.sh
2016-11-16 11:22:04 -08:00
Adam Warner
ac8064c754
Merge pull request #918 from nlamirault/patch-2
...
Add Pi-Hole exporter for Prometheus
2016-11-16 18:53:00 +00:00
Dan Schaper
736e963cef
Merge pull request #919 from haydenknowles/development
...
moved newline to correct place
2016-11-15 18:40:00 -08:00
Adam Warner
b191cd73a7
Update piholeDebug.sh
...
wording
2016-11-15 13:28:18 +00:00
Hayden Knowles
86d3ca48ae
moved newline to correct place
2016-11-15 22:40:57 +13:00
Nicolas Lamirault
fd7e4f2268
Add Pi-Hole Prometheus exporter project
2016-11-15 09:27:16 +01:00
Dan Schaper
e9475a9739
Merge pull request #887 from brontide/dependancy_cleanup
...
Dependancy cleanup
2016-11-07 21:45:23 -08:00
Dan Schaper
d4270e02e9
Merge pull request #902 from elpatron68/master
...
Added Link to blink1_pi-hole.py
2016-11-07 21:44:28 -08:00
Mcat12
b9a263ecb2
Merge pull request #907 from pi-hole/bugfix/chronometer-interface
...
replace hardcoded interface with var
2016-11-07 21:35:09 -05:00
Dan Schaper
4929d415a6
Merge pull request #906 from pi-hole/Fix/send-frs-into-orbit
...
Direct users to Discourse for FRs
2016-11-07 17:32:28 -08:00
Dan Schaper
b9e1f518aa
Merge pull request #909 from bcambl/fix_ifcfg_append
...
Fedora: write interface config instead of append
2016-11-07 17:23:50 -08:00
bcambl
0caa44e979
write ifcfg instead of appending
2016-11-07 12:54:31 -06:00
Jacob Salmela
ca56ca5bd8
promo-tweak
...
Better logic introduced by @PromoFaux
2016-11-06 11:16:48 -06:00
Jacob Salmela
a0f0dff88e
replace hardcoded interface with var
...
setupVars.conf is already sourced, so we just need to replace the
hardcoded value with the variable name.
2016-11-06 08:18:57 -06:00
Jacob Salmela
e5cc38a210
Direct users to Discourse for FRs
...
It's a better platform for it because users can vote and we can have
easier discussions for it.
2016-11-06 08:08:58 -06:00
Adam Warner
6cb5bb7200
Merge pull request #903 from pi-hole/feature/PRGuide
...
PR against Development guide
2016-11-04 21:17:20 +00:00
Dan Schaper
563696e291
PR against Development guide
...
PA will tag PR to Master with -1 approval in the next release. That will deny any PR's against Master from users and changing branches after the PR is started does not appear to modify the PA actions.
2016-11-04 14:01:01 -07:00
Markus Busche
c755b3c49e
Added Link to blink1_pi-hole.py
2016-11-04 21:56:14 +01:00
diginc
b9f3493dbc
move PH_TRUE to Dockerfiles to DRY
2016-11-03 22:34:04 -05:00
Dan Schaper
8c08e9e473
Merge pull request #891 from pi-hole/bugfix/chronometer-domain-count
...
Bugfix/chronometer domain count
2016-11-03 13:55:29 -07:00
Adam Hill
c2930b0ca5
remove the debug print in mock_command
2016-11-03 08:34:44 -05:00
Adam Warner
4300759287
Fix logic. If both v6 and v4 divide by two, else dont.
2016-11-03 08:01:25 +00:00
Adam Warner
fc1854cadd
Merge pull request #897 from pi-hole/feature/travisDevBadge
...
Update README.md
2016-11-03 07:49:30 +00:00
Adam Warner
933973b12c
Merge pull request #898 from pi-hole/fix/removeCC
...
Remove CodeClimate yaml, Travis new ShellChecker
2016-11-03 07:48:36 +00:00
diginc
5b54b9cb11
update Pihole fixture comment
2016-11-03 00:05:19 -05:00
diginc
d2f815bba7
no longer need to write bash test scripts
2016-11-03 00:02:28 -05:00
diginc
a5a067d50f
switching testinfra's Docker run from dash to bash
2016-11-02 23:58:54 -05:00
diginc
699e299345
add a comment about bash vs dash. future refact needed
2016-11-02 23:40:50 -05:00
diginc
05e114173d
update comments, add configureFirewall test
...
* Comments to clarify some of the existing tests
* mock_command to allow recording of calls and mocking return calls in bash
* new configureFirewall test (only the first one of it's many paths)
2016-11-02 23:25:13 -05:00
Dan Schaper
d958b3ff65
Remove CodeClimate yaml, Travis new ShellChecker
2016-11-02 20:14:04 -07:00
diginc
0d7e06a141
remove old pytest output file
2016-11-02 22:13:39 -05:00
diginc
633095aee1
switch to consistent style
2016-11-02 22:13:05 -05:00
Dan Schaper
a4aeb9a1dd
Update README.md
2016-11-02 20:07:51 -07:00
Eric Warnke
71005e1db3
Merge with change of spacing in development
2016-11-02 19:01:34 -04:00
Promofaux
d7d6d6f991
Update to use new Var name
2016-11-02 21:46:30 +00:00
Adam Warner
5986121cfc
Merge pull request #896 from pi-hole/bugfix/649
...
Check for missing index.html, replace if missing.
2016-11-02 21:27:45 +00:00
Promofaux
c452a4569e
.js
2016-11-02 21:17:00 +00:00
Promofaux
a182a208dc
Tidy up output
2016-11-02 21:06:12 +00:00
Promofaux
d273b4b48b
Check for missing index.html, replace if missing.
2016-11-02 20:57:56 +00:00
Adam Warner
afed7d4af0
Merge pull request #890 from pi-hole/feature/defensiveTweaks
...
Feature/defensive tweaks
2016-11-02 20:23:04 +00:00
Promofaux
b429e890ad
move web interface message inside "if not update" block. Check for pi-hole deps AFTER whiptails
2016-11-02 20:16:36 +00:00
Promofaux
2f976504e8
switch out -eq for ==
2016-11-02 20:06:21 +00:00
Dan Schaper
b5fc88227b
Merge .gitignore
2016-11-02 12:36:00 -07:00
Dan Schaper
4b7b859db9
Gotta catch 'em all...'
2016-11-02 12:29:55 -07:00
Dan Schaper
f7d0de53bb
Compare string to string.
2016-11-02 12:11:34 -07:00
Dan Schaper
603ec997ba
Remove testing block.
2016-11-02 12:09:33 -07:00
Dan Schaper
f7266ef4c8
Version remote check returns -1 on failure to detect curl silent failing. Update detects loss of contact to GitHub or fallthrough condition and reports to user.
2016-11-02 12:07:59 -07:00
Dan Schaper
3d43e1568c
Use explicit calls for function to self-document
2016-11-02 11:39:22 -07:00
Dan Schaper
3cf6a65da9
Remove *.yml ignoring
...
Travis YAML might not be good to ignore.
2016-11-02 11:32:53 -07:00
Dan Schaper
c1a3f003e8
Rename the only utilty function left that didn't say repo
2016-11-02 11:18:13 -07:00
Dan Schaper
3f61aea7fc
Utility functions fully quiet now. Calling functions have the echos.
2016-11-02 11:09:53 -07:00
Dan Schaper
bd68db51e0
ShellCheck split local declaration and assignment.
2016-11-02 11:01:50 -07:00
Dan Schaper
b8a5ed710e
Take echos out of utility functions and move up a level.
2016-11-02 10:51:09 -07:00
Dan Schaper
34be601dd7
Test for lexicographically less than tag version.
2016-11-02 10:42:05 -07:00
Dan Schaper
1d64ad1ccd
Stash all changed files, clean directory and pull updates.
2016-11-02 10:39:27 -07:00
Dan Schaper
dfb4ac0365
Keep .yml's from going to user local repos.
2016-11-02 09:52:15 -07:00
Dan Schaper
f2d7a3d26d
Merge branch 'feature/defensiveTweaks' of https://github.com/pi-hole/pi-hole into feature/defensiveTweaks
2016-11-02 09:48:00 -07:00
Dan Schaper
6d415a7384
Merge pull request #894 from diginc/InstallFixes_UnitTests
...
Unit tests framework and some basic tests
2016-11-02 09:42:20 -07:00
Dan Schaper
0ef8832b04
whitespace
2016-11-02 09:36:30 -07:00
Dan Schaper
e42a037b7d
Grep -i instead of cat.
2016-11-02 09:28:00 -07:00
Dan Schaper
fe18d69b65
Grep should start at the beginning of line to make sure it doesn't fire on #
beginning lines.
2016-11-02 09:25:32 -07:00
Dan Schaper
a1a9a7fa9e
Clarify which DNS entry we are modifying.
2016-11-02 08:52:23 -07:00
Dan Schaper
07029f93e3
Match team convention in naming.
2016-11-02 08:34:56 -07:00
Dan Schaper
e99ef9c093
Cap the variables and echo out the proper environment.
2016-11-02 08:22:45 -07:00
Dan Schaper
fef9ab674e
Pi-hole CORE installer variables are being changed to standardize scripts.
2016-11-02 07:53:02 -07:00
Adam Warner
ee37c37cab
fix update output logic. version number variables should not be read only!
2016-11-02 14:29:20 +00:00
Dan Schaper
b636c1e1f8
Whitespace.
2016-11-02 07:00:43 -07:00
Dan Schaper
8b9f0487c0
Merge branch 'feature/defensiveTweaks' of https://github.com/pi-hole/pi-hole into feature/defensiveTweaks
...
# Conflicts:
# advanced/Scripts/update.sh
# automated install/basic-install.sh
2016-11-02 06:57:33 -07:00
Adam Warner
a6cbd5a2fd
Merge pull request #895 from pi-hole/Feature/defensiveTweaks
...
Further tweaks to local repo handling
2016-11-02 13:42:24 +00:00
Dan Schaper
ece1667fb0
Refactor and move some bits.
2016-11-02 06:41:51 -07:00
Adam Warner
50bd8b4a09
Further tweaks to local repo handling
2016-11-02 13:34:57 +00:00
Dan Schaper
93d91353a1
All tabs now spaced
2016-11-02 05:49:33 -07:00
Dan Schaper
8dc9143b34
Just delete, no need to cd there first.
2016-11-02 05:45:29 -07:00
Dan Schaper
a0d9a1133c
Factoring and combining functions
2016-11-02 05:34:39 -07:00
Dan Schaper
7740e4268c
Consistency and standards basic-install start.
2016-11-02 05:17:28 -07:00
Adam Warner
f36e4ba336
Cherry picking 3f049fa79
, conflict fix
2016-11-02 04:34:02 -07:00
Adam Warner
3df2ef8587
Cherry picking f6f6f6d
, conflict fix
2016-11-02 04:31:28 -07:00
Adam Warner
354309fcad
set QUERY_LOGGING default to true
2016-11-02 04:28:58 -07:00
Dan Schaper
e832bfc61e
Merge branch 'feature/defensiveTweaks' of github.com:pi-hole/pi-hole into feature/defensiveTweaks
2016-11-02 04:22:29 -07:00
Adam Warner
99057ed859
Update var names from setupVars.conf in gravity.sh
2016-11-02 04:21:54 -07:00
Adam Warner
c47c5e466f
consistency
2016-11-02 04:18:52 -07:00
Adam Warner
edd00e8e70
consistency
2016-11-02 04:12:37 -07:00
Adam Warner
82e7de2aaa
Account for variable name changes
2016-11-02 04:12:21 -07:00
Adam Warner
b723714c0c
Convention : https://google.github.io/styleguide/shell.xml?showone=Constants_and_Environment_Variable_Names#Constants_and_Environment_Variable_Names
2016-11-02 04:12:06 -07:00
Adam Warner
a2903b6e63
Consistency
2016-11-02 04:11:54 -07:00
Dan Schaper
9a1876571b
Prototype whiptails
so they don't fall to shell. Need to do this to all functions.
2016-11-02 04:11:41 -07:00
Dan Schaper
c07d7165ab
Global variables CAP'ed
2016-11-02 04:11:27 -07:00
Dan Schaper
d695c5972f
local
variables just to be safe and make sure they stay in this function.
2016-11-02 04:11:09 -07:00
Dan Schaper
bbc09ed313
Swap variable names.
2016-11-02 04:10:57 -07:00
Promofaux
1d21b0da9a
enable or disable logging from pihole command
2016-11-02 04:10:43 -07:00
Promofaux
617a147706
Wording adjustment
2016-11-02 04:10:29 -07:00
Promofaux
d4dccfdb2d
Cherry pick 229439c
2016-11-02 04:08:53 -07:00
Dan Schaper
035e4bf727
Move value checks to if
calls.
2016-11-02 03:55:04 -07:00
Dan Schaper
9ec5bbd560
Actually get is_repo
to return a value and have it expected.
2016-11-02 03:38:35 -07:00
Dan Schaper
34482c5ed6
Modified is_repo
2016-11-02 03:09:59 -07:00
Dan Schaper
7d414b5628
Move version messages to main function, check for repos.
2016-11-02 01:12:02 -07:00
Dan Schaper
d9528dfd09
Bash is funny with returns.
2016-11-02 00:51:38 -07:00
Dan Schaper
12f5f8ba00
Begin to bring code up to Pi-hole conventions. Block installScripts and begin factoring out redundant code.
2016-11-02 00:14:25 -07:00
Dan Schaper
db0f3307e0
Only take out scripts in the directory, don't remove the directory as a whole. Need this for the future installs.
2016-11-01 22:48:30 -07:00
Dan Schaper
9c83825cb8
Merge branch 'feature/defensiveTweaks' of https://github.com/pi-hole/pi-hole into feature/defensiveTweaks
2016-11-01 22:20:32 -07:00
Dan Schaper
7a22471787
New naming convention, and reorder functions as bash would prefer them to be.
2016-11-01 22:19:40 -07:00
diginc
7548d9a8fe
point shellcheck at update.sh instead
2016-11-01 23:56:46 -05:00
diginc
26789f9b36
add travis and python requirements
2016-11-01 23:53:11 -05:00
diginc
b4524839bb
Merge branch 'development' of https://github.com/pi-hole/pi-hole into InstallFixes_UnitTests
2016-11-01 23:52:20 -05:00
Dan Schaper
6605c269cf
Merge pull request #893 from diginc/feature/defensiveTweaks
...
Feature/defensive tweaks tweaks
2016-11-01 21:35:20 -07:00
diginc
c30478bf4a
cleanup and use sentintel in is_repo
2016-11-01 23:21:50 -05:00
diginc
d986746ef9
missing quote added
2016-11-01 23:07:20 -05:00
diginc
a8fa061f2e
quote all the assignments prevent accidental glob splitting
2016-11-01 23:02:06 -05:00
diginc
72015b0226
reduce complexity and un needed cat
2016-11-01 23:00:14 -05:00
Jacob Salmela
f8e9726922
source setupVars and check for the correct variable
2016-11-01 19:01:48 -05:00
Jacob Salmela
884363bd05
remove ipv6 check since it's already in setupVars
2016-11-01 19:01:28 -05:00
Dan Schaper
bdd240ecb6
Shellcheck catch for always true expansion.
2016-11-01 15:36:27 -07:00
Dan Schaper
04da292df9
Missed one spinner, updated and exit script if github is unreachable.
2016-11-01 12:17:38 -07:00
Dan Schaper
85b8676b8e
Remove spinner, no functions here should last that long, and it masks a few potential exit avenues.
2016-11-01 12:16:46 -07:00
Dan Schaper
114bc13c23
Specify path, cron may not know where the files are located.
2016-11-01 12:03:26 -07:00
Dan Schaper
5fef5f1ed4
Break down is_repo
to make sure it does what is expected.
2016-11-01 11:54:14 -07:00
Dan Schaper
807b60b0e6
Missed the second reinstaller....
2016-11-01 11:44:16 -07:00
Dan Schaper
fbc800e556
If unattened reinstall fails, notify user and exit script immediately.
2016-11-01 11:42:18 -07:00
Dan Schaper
1991ee7a7d
Google Style Guide. readonly
and cap constants.
2016-11-01 11:36:44 -07:00
Dan Schaper
ffbfadbccf
Detail what the script does.
2016-11-01 11:33:04 -07:00
Dan Schaper
c3e2bce956
Variables declared as strings, make sure they are strings when we use them in functions.
2016-11-01 11:26:57 -07:00
Dan Schaper
0c9520d7e3
Protect against unexepcted return values (GitHub not responding as we'd expect.) And make sure bash doesn't maul the variables and cause firing of unattended reinstall of application when values returned aren't as expected.
2016-11-01 11:18:41 -07:00
Dan Schaper
1e7e5230cc
Clarify what exactly is being called and the expected returned value format
2016-11-01 11:15:21 -07:00
Dan Schaper
f1efc97357
Clairfy condition to make sure they operate as per the specs of the logic flow layout.
2016-11-01 11:04:33 -07:00
Eric Warnke
fb5ac6d6d7
We should prefer the php metapackage if it's there, falling back on php5 if it's not
2016-10-31 21:31:13 -04:00
Eric Warnke
4e7ca51beb
Added dependancy for ping and lsof used in debug scripts
2016-10-31 21:24:57 -04:00
Adam Warner
d561600a31
Merge pull request #863 from brontide/wheezy_fix2
...
[Test] Wheezy install fix by selecting appropriate deps, made the php check …
2016-10-31 22:35:46 +00:00
Adam Warner
024e843998
Merge pull request #884 from pi-hole/PromoFaux-patch-2
...
Update pullapprove into master
2016-10-30 17:17:53 +00:00
Adam Warner
126f275e18
Update pullapprove into master
...
Requires approval of ALL members of the `admin` team.
2016-10-30 17:15:35 +00:00
Dan Schaper
c65e5ff8e0
Merge pull request #882 from pi-hole/feature/DiscourseREADME
...
Feature/discourse readme
2016-10-30 08:05:48 -07:00
Dan Schaper
ef13e67572
Update README.md
2016-10-30 07:11:34 -07:00
Dan Schaper
7920fcbb5e
Add linux.die.net links
...
Add links for online manpages.
2016-10-30 07:09:03 -07:00
Dan Schaper
fa36fdeb03
Update README
...
Add discourse links, remove last of Optimal, bring Other Devices up to the top, update alternate install instructions.
2016-10-30 07:06:27 -07:00
Adam Warner
c143b5ccb4
Merge pull request #881 from pi-hole/feature/doc-update
...
Update last modified date for adlist
2016-10-30 14:04:30 +00:00
Dan Schaper
05c8406fca
Update last modified date for adlist
2016-10-30 06:37:36 -07:00
Dan Schaper
69e3a45083
Merge pull request #874 from pi-hole/development
...
Next release 2.9.5
2016-10-29 17:01:51 -07:00
Dan Schaper
45259b6ec6
Merge branch 'master' into development
2016-10-29 16:59:02 -07:00
Adam Warner
d6fe48112c
Merge pull request #857 from pi-hole/feature/debugUpdate
...
Debug Updates
2016-10-29 23:15:07 +01:00
Dan Schaper
dcf6e6b14d
Clarify user action required to end the scripts.
2016-10-29 12:24:22 -07:00
Dan Schaper
908697a963
User token instructions, and small bugfix for missing separator.
2016-10-29 12:04:18 -07:00
Dan Schaper
bdaf961196
Merge pull request #876 from brontide/list_fix
...
[bug] Grep was leaking a file not found if blacklist didn't exist
2016-10-29 07:15:22 -07:00
Dan Schaper
6bd5d9b1a4
Merge pull request #879 from pi-hole/PromoFaux-patch-2
...
Update README.md
2016-10-29 07:13:26 -07:00
Adam Warner
beb0dae5a7
Update README.md
...
Add code climate badge
2016-10-29 14:46:09 +01:00
Dan Schaper
fad2d6b1d1
Return values start showin up now. Logic operators too...
2016-10-28 15:53:18 -07:00
Dan Schaper
9cd830b6aa
Start to refine tests and clean up code.
2016-10-28 15:37:45 -07:00
Dan Schaper
d9a16b0ff4
Clear up bottom half of script with fewer redundenicies.
2016-10-28 15:25:06 -07:00
Dan Schaper
cb5c94ef5e
Sorry, left that gravity.list parser in. Big debug files. Cleared that up.
2016-10-28 15:13:04 -07:00
Dan Schaper
85fbd66871
Good commit point, number of changes
2016-10-28 14:52:08 -07:00
Eric Warnke
3da75d6125
Grep was leaking a file not found if blacklist didn't exist
2016-10-28 17:28:04 -04:00
Dan Schaper
d4a3a5c180
Trying to implement The Brontide Idiom for design.
2016-10-28 10:42:30 -07:00
Eric Warnke
65e0fcbf10
Merge branch 'development' of https://github.com/pi-hole/pi-hole into wheezy_fix2
2016-10-28 13:14:00 -04:00
Dan Schaper
e22aca49c8
Merge pull request #813 from das7pad/development
...
Create missing directory for lighttpd
2016-10-28 10:05:08 -07:00
Dan Schaper
71e3a473d6
Fix = underbar
2016-10-28 07:16:16 -07:00
Dan Schaper
c2cfc09f63
Clean up more of the UX and log. Lots to go.
2016-10-28 07:06:05 -07:00
Dan Schaper
cbfad28f7e
Merge pull request #873 from pi-hole/PromoFaux-patch-2
...
Create .codeclimate.yml
2016-10-28 07:04:53 -07:00
Adam Warner
6a4a468022
Create .codeclimate.yml
2016-10-28 15:02:03 +01:00
Dan Schaper
01f10b56e8
Refactor out some more reudndant code.
2016-10-28 06:51:30 -07:00
Dan Schaper
90ec0a610e
Tricorder is introduced.
2016-10-28 04:42:45 -07:00
Dan Schaper
42bff1ce1b
Move parse utility to be near other parsing functions.
2016-10-28 03:53:53 -07:00
Dan Schaper
e3c7a1f31f
Top half user output updated.
2016-10-28 03:49:03 -07:00
Dan Schaper
0debbffa70
Add a couple of parsing utility functions.
2016-10-28 03:45:07 -07:00
Jacob Salmela
473b58d26d
Merge pull request #704 from stonedbovines/development
...
lighttpd.conf templates change
2016-10-27 20:22:46 -05:00
Adam Warner
7e9498f04c
Merge pull request #869 from pi-hole/feature/listen-address-1
...
Remove `listen-address` directive
2016-10-27 19:59:58 +01:00
Dan Schaper
300001e766
Remove listen-address
directive
...
Since we declare an `interface` `dnsmasq` should ignore the `listen-address` directive thus making redundant. Removed.
2016-10-27 11:56:16 -07:00
Adam Warner
21fc6344bf
Merge pull request #849 from pi-hole/aManHasNoNameResolution
...
[BugFix] A man has no name resolution
2016-10-27 19:41:07 +01:00
Adam Warner
a38edd891f
Merge pull request #867 from pi-hole/gravTweaks
...
No need to reference script that does not exist...
2016-10-27 18:09:28 +01:00
Promofaux
794fa21137
install uninstall.sh...
2016-10-27 12:44:21 +01:00
Eric Warnke
977d1d1998
Merge branch 'development' of https://github.com/pi-hole/pi-hole into wheezy_fix2
2016-10-27 07:37:40 -04:00
Promofaux
cde003bc98
\ all the /s!
2016-10-27 11:13:00 +01:00
Promofaux
9e4e1d1cb2
improve comments
2016-10-27 11:09:24 +01:00
Promofaux
60142cd960
remove reference to whitelist.sh (no longer exists) replace with pihole -w
2016-10-27 11:06:11 +01:00
Dan Schaper
f9570a82cc
Remove glitchy daemon detection.
2016-10-27 00:58:24 -07:00
Dan Schaper
36285ead57
Just becuase this is bugging me, but I'll fix it later.
2016-10-27 00:32:18 -07:00
Dan Schaper
13e488dace
Daemon check for lighttpd and dnsmasq.
2016-10-27 00:30:51 -07:00
Dan Schaper
f169da8fd0
Set for quiet temporarily.
2016-10-26 14:48:11 -07:00
Dan Schaper
60741298b7
Cut more verbosity. Prep for lsof
parsing and daemon tests.
2016-10-26 14:33:47 -07:00
Dan Schaper
f73734acb0
Only check IPv6 Gateway if it exists.
2016-10-26 13:57:57 -07:00
Dan Schaper
fc360abe43
Only check IPv6 if system is enabled.
2016-10-26 12:22:20 -07:00
Adam Warner
3996e11425
Merge pull request #859 from pi-hole/ImproveWhitelistBlacklist
...
Improvements to White and Blacklists
2016-10-26 19:52:16 +01:00
Eric Warnke
3a4fe3e391
Wheezy install fix by selecting appropriate deps, made the php check the same
2016-10-26 14:47:29 -04:00
Dan Schaper
98db002770
Tighten IP test reponse to user.
2016-10-26 11:38:19 -07:00
Dan Schaper
7c89b6934a
Merge pull request #860 from brontide/screen_detection
...
Screen detection, sane minimums for whiptail dailogs
2016-10-26 11:06:43 -07:00
Adam Warner
380a19274d
Merge pull request #861 from brontide/lighttpd_bug2526_fix
...
[test] fix known bug with older lighttpd syntax
2016-10-26 19:04:20 +01:00
Eric Warnke
f1c1caf7bd
url.rewrite does not work in $HTTP block lighttpd bug #2526
2016-10-26 11:49:42 -04:00
Eric Warnke
e2997b8135
Due to lighttpd bug 2526 the url.rewrite for javascript must be placed
...
outside of the $HTTP block or it will never evaluate.
2016-10-26 11:49:31 -04:00
Eric Warnke
4ed6e4d016
Tiny screens get sane minimums
2016-10-26 11:15:02 -04:00
Eric Warnke
ac8d24a1ce
Even with no detected screen size, it should presume 80x24
2016-10-26 11:14:54 -04:00
Eric Warnke
fc776921d5
stty is more compatible and does not require any additional dependancies for busybox
2016-10-26 11:14:46 -04:00
Adam Warner
55a653aca4
clear out /opt/pihole folder before installing scripts
2016-10-26 10:00:00 +01:00
Adam Warner
0d6a6b97f9
remove whitelist and blacklist scripts
2016-10-26 09:56:45 +01:00
Adam Warner
469ff45f01
create list.sh. Combines whitelist and blacklist scripts in an effort to reduce code duplication.
...
update pihole script to reflect new white/blacklist command.
2016-10-26 09:36:02 +01:00
Dan Schaper
bc077acfb8
Merge pull request #853 from pi-hole/gravFix
...
Gravity fix
2016-10-25 21:57:47 -07:00
Dan Schaper
4269626f5d
Attribute source for bashism.
2016-10-25 21:53:41 -07:00
Dan Schaper
8fa897aadb
Add back in sourcing files (setupVars.conf) and tweak ip_check
2016-10-25 21:39:28 -07:00
Dan Schaper
f549618d12
Move environment IPv6 interface check to ip_check
and fix IPv6 source routing issue.
2016-10-25 21:25:57 -07:00
Dan Schaper
2fa47aaf31
Source routing is deprecated by RFC5095
2016-10-25 20:53:18 -07:00
Dan Schaper
b0874fb23a
Temporarily get rid of gateway sourcing from setupVars, temporarily.
2016-10-25 19:53:00 -07:00
Dan Schaper
fb70fd77e8
Prototype version_check, add helper functions for logging and echo.
2016-10-25 17:50:14 -07:00
Dan Schaper
01f17f9cbb
Reduce header verbosity. New header writer.
2016-10-25 17:19:33 -07:00
Promofaux
4c853defb2
add if traps to check for existence of whitelist.txt / blacklist.txt
2016-10-25 22:27:35 +01:00
Adam Warner
bd0db56ba0
actually fix up logic
2016-10-25 15:29:02 +01:00
Adam Warner
95f0b3710d
fix up logic
2016-10-25 15:27:13 +01:00
Adam Warner
e0ac109dd1
remove hostname insertion into gravity.list from gravity.sh
2016-10-25 15:07:29 +01:00
Adam Warner
86349527e7
replace HOSTNAME tokens in 01-pihole.conf
2016-10-25 15:06:37 +01:00
Adam Warner
18005ceee8
add hostname lines in 01-pihole.conf
2016-10-25 15:03:49 +01:00
Adam Warner
7653b3d088
Remove pi.hole references in gravity.sh
2016-10-25 15:01:16 +01:00
Adam Warner
911053f63f
Replace IPv4 and IPv6 tokens in 01-pihole.conf for pi.hole resolution.
2016-10-25 15:00:18 +01:00
Adam Warner
eb52f81a5c
add pi.hole entries to 01-pihole.conf
2016-10-25 14:54:10 +01:00
Adam Warner
4839953328
Merge pull request #844 from pi-hole/EnforceTemplate
...
Update ISSUE_TEMPLATE.md
2016-10-25 17:57:06 +06:00
Adam Warner
aba0d93fda
Merge pull request #814 from pi-hole/promoTweaksTheSecond
...
Various tweaks and fixes: Part 2 (Plus Pause/Resume button functionality!)
2016-10-25 17:43:40 +06:00
Adam Warner
0de74c0448
Merge pull request #848 from pi-hole/PromoFaux-patch-1
...
Update .pullapprove.yml
2016-10-25 17:38:04 +06:00
Adam Warner
ee927346b7
Update .pullapprove.yml
...
Update to V2. Only require 2 approvers on development, and 3 on master
2016-10-25 12:36:05 +01:00
Dan Schaper
2f8015cbca
Update PULL_REQUEST_TEMPLATE.md
2016-10-24 14:50:47 -07:00
Dan Schaper
f3bf7c4b38
Update ISSUE_TEMPLATE.md
2016-10-24 14:48:38 -07:00
Adam Warner
e37c4d57da
Merge pull request #842 from pi-hole/Fix/template-spacing
...
fix check box spacing
2016-10-25 02:32:34 +06:00
Jacob Salmela
acff90c000
fix check box spacing
...
I have seen several issues/PRs with the extra space. removing the
extra whitespace might help to keep the formatting when being submitted.
2016-10-24 14:58:13 -05:00
Adam Warner
5f9e72dd71
Merge pull request #835 from pi-hole/debugFixes
...
Debug script tweaks.
2016-10-24 19:40:27 +06:00
Adam Warner
be0bcb8f7d
Merge pull request #838 from airencracken/hotfix-missing-newline
...
Fix missing newline
2016-10-24 15:48:53 +06:00
Adam Warner
44c3d56439
Merge pull request #836 from pi-hole/UdemyAttribution
...
Udemy attribution
2016-10-24 13:54:14 +06:00
Marcus Hildum
519d731ddd
Fix missing newline
...
My mistake
2016-10-23 16:45:51 -07:00
Dan Schaper
119c00c22a
Merge pull request #837 from pi-hole/UdemyAttribution-1
...
Update PULL_REQUEST_TEMPLATE.md
2016-10-23 15:53:27 -07:00
Dan Schaper
12596dd697
Update PULL_REQUEST_TEMPLATE.md
2016-10-23 15:50:59 -07:00
Dan Schaper
cb38f5f0d7
Move attribution to bottom since our bots quote from top
...
Bot's keeps quoting the attribution line in snippets (Discourse, GitLab, Mattermost)
2016-10-23 15:50:03 -07:00
Promofaux
b49384ffe4
intent
2016-10-23 22:44:21 +01:00
Promofaux
7fb622638b
flip reload logic. Do not reload if there are not changes made to blacklist.txt
2016-10-23 22:44:06 +01:00
Promofaux
bd0cc134bf
MERGE FAIL :ashamed_face:
2016-10-23 22:43:11 +01:00
Promofaux
476fd1f695
indentation
2016-10-23 22:38:18 +01:00
Promofaux
96053d13be
Flip reload logic. Do not reload lists if no changes made to whitelist.txt
2016-10-23 22:38:06 +01:00
Promofaux
c958bed418
Consistency changes. Replace MOST uses of echo >> ${DebugLog}
with usage of log_write
function
2016-10-23 22:31:20 +01:00
Promofaux
2b2c240d39
Fix shebang line broken in #831
...
Remove root check and references to ${SUDO}
Check for /etc/pihole/setupVars.conf and use piholeInterace in IPv6 checks as suggest by @jacobsalmela https://github.com/pi-hole/pi-hole/pull/831#issuecomment-255606854
2016-10-23 22:15:10 +01:00
Adam Warner
1f0ae16216
Merge pull request #831 from airencracken/development
...
Consistent Style in Bash
2016-10-23 20:03:30 +01:00
Promofaux
b79392ba2c
exit after displaying white/blacklist
2016-10-23 19:49:51 +01:00
Promofaux
8ee98f0a4a
remove a space
2016-10-23 19:47:31 +01:00
Promofaux
82e78fb651
Add output to pihole disable
and pihole enable
2016-10-23 19:44:40 +01:00
Promofaux
d0826b2c33
Merge branch 'development' of https://github.com/airencracken/pi-hole into airencracken-dev
2016-10-23 19:33:28 +01:00
Promofaux
ff588200c0
Merge branch 'promoTweaksTheSecond' of https://github.com/pi-hole/pi-hole into promoTweaksTheSecond
2016-10-23 19:11:36 +01:00
Marcus Hildum
5d6072524c
Consistency
...
Missed one
2016-10-22 10:26:00 -07:00
Marcus Hildum
07a66a70fc
Consistency
...
More of the same
2016-10-22 10:12:05 -07:00
Marcus Hildum
69ba8a3c2f
Consistency
...
Again trying to move the repo to one style. Doesn't matter if it's
changed afterwards, but one style instead of about five seems
saner.
2016-10-22 10:01:15 -07:00
Marcus Hildum
a30c75ef71
Consistency
...
Cleanup!
2016-10-22 00:35:44 -07:00
Marcus Hildum
d0b3727c5d
Consistency
...
Yet more cleanup
2016-10-22 00:32:36 -07:00
Marcus Hildum
6e94bf5b6d
Consistency
...
You know the drill
2016-10-22 00:14:38 -07:00
Marcus Hildum
0f04e270a7
consistency
...
Just more cleanup
2016-10-22 00:10:25 -07:00
Marcus Hildum
ec4f5007e7
remove bad {
2016-10-21 23:59:31 -07:00
Marcus Hildum
21b906e0e0
Consistency
...
More of the same
2016-10-21 23:57:47 -07:00
Marcus Hildum
7ebaf8e843
Consistency
...
Now with block indents!
2016-10-21 23:23:31 -07:00
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)
2016-10-21 23:17:14 -07:00
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
2016-10-21 23:11:17 -07:00
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.
2016-10-21 23:02:45 -07:00
Marcus Hildum
5ebfa5ecf7
heredoc for helpfunc in pihole
2016-10-21 22:53:04 -07:00
Marcus Hildum
12e041c9ef
Merge remote-tracking branch 'upstream/development' into development
2016-10-21 22:49:21 -07:00
Marcus Hildum
54913f06a3
Merge remote-tracking branch 'upstream/master' into development
2016-10-21 22:49:13 -07:00
Adam Warner
44a36368a2
Merge pull request #822 from pi-hole/ChangeWarning
...
Add file change warning to header
2016-10-21 11:24:12 +01:00
Adam Warner
8f9ff930b3
Merge pull request #823 from tuplink/EnableOrDisable
...
Enable or disable
2016-10-21 11:02:10 +01:00
tuplink
e199f6db87
spelling updates
2016-10-20 21:15:11 -04:00
tuplink
c83dd3ccd7
change spacing
2016-10-20 18:45:27 -04:00
tuplink
78fbafa1cd
test out new status logic
2016-10-20 18:40:03 -04:00
Promofaux
c0012540ed
Re-add shebang
2016-10-20 21:08:07 +01:00
Promofaux
9ab6df0e54
Merge branch 'development' into promoTweaksTheSecond
...
# Conflicts:
# advanced/Scripts/blacklist.sh
# advanced/Scripts/whitelist.sh
2016-10-20 21:06:28 +01:00
Tommy Huff
685b775b68
rework status if statments
2016-10-20 11:24:34 -04:00
Tommy Huff
9056a5a7b6
fix spelling / replace tabs with spaces in help
2016-10-20 11:05:49 -04:00
Tommy Huff
e1c56bcbfe
remove a commit in whitelist
2016-10-20 10:19:03 -04:00
Tommy Huff
15d68467a1
attempt to fix
2016-10-20 10:12:02 -04:00
Tommy Huff
3b6ecc573e
fix conflict
...
Merge remote-tracking branch 'upstream/promoTweaksTheSecond' into EnableOrDisable
2016-10-20 10:09:23 -04:00
Tommy Huff
9427b1e594
Merge branch 'promoTweaksTheSecond' into EnableOrDisable
2016-10-20 09:55:22 -04:00
Tommy Huff
3ca3eaa62c
change restartdnsmasq to restartdns
2016-10-20 09:40:45 -04:00
Tommy Huff
dda448e050
use finction in pihole to restart dnsmasq
2016-10-20 09:15:03 -04:00
Tommy Huff
60873144ea
make last line of script return a new line been bugging me for awhile
2016-10-20 09:09:35 -04:00
Tommy Huff
a9d17c96be
include status at end of gravity so if it is disabled you will see it when running
2016-10-20 09:03:20 -04:00
Tommy Huff
aaee895b2b
add pihole status web option to return 1 or 0 for easy use with php
2016-10-20 08:58:36 -04:00
Tommy Huff
7d7e17b351
add toggle to enable or disable pi-hole
2016-10-20 08:45:20 -04:00
Adam Warner
c71a976e76
kill off an old ugly hack
2016-10-20 13:37:07 +01:00
Adam Warner
3623183072
Remove reference to non-existent script
2016-10-20 13:29:12 +01:00
Dan Schaper
e6bd979aeb
Can't spell
...
Fix spelling error
2016-10-20 04:27:12 -07:00
Adam Warner
266c160108
Merge pull request #818 from airencracken/development
...
Standardize function declaration
2016-10-20 12:01:41 +01:00
Dan Schaper
b5b6350cc7
Add file change warning to header
2016-10-20 03:42:25 -07:00
tuplink
bbcf4800de
use pihole instead of direct path
2016-10-20 06:30:48 -04:00
tuplink
41056ace02
use pihole instead of direct path
2016-10-20 06:29:53 -04:00
Dan Schaper
60a80dd678
Merge pull request #819 from pi-hole/adlistremoval
...
Remove problem list, sends in Unicode - Not adware
2016-10-20 02:41:22 -07:00
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.
2016-10-19 20:46:37 -07:00
Dan Schaper
8819e58882
Remove problem list, sends in Unicode - Not adware
...
Fixes #816
2016-10-19 20:15:36 -07:00
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.
2016-10-19 19:47:45 -07:00
tuplink
74bfcea6a8
add blacklistScript var
2016-10-19 22:00:03 -04:00
tuplink
16f1d7fad9
Blacklist unwhitelisted
2016-10-19 21:50:34 -04:00
Promofaux
9aa38cf0ae
mv patternbuffer instead of cp, then no need to clean up
2016-10-19 23:57:43 +01:00
Promofaux
a7fa7466fb
remove no longer needed code
2016-10-19 23:54:43 +01:00
Promofaux
3f73c61cee
cache event horizon before white/blacklists are applied for quicker processing on white/blacklist calls of gravity
2016-10-19 23:52:54 +01:00
Promofaux
a64f4cd871
whitelist script now only directly edits whitelist.txt. DOES NOT TOUCH HOST FILE, instead calls gravity with a no download argument
2016-10-19 23:17:20 +01:00
Promofaux
a41eff1276
Blacklist script now only directly edits blacklist.txt. DOES NOT TOUCH HOST FILE, instead calls gravity with a no download argument
2016-10-19 23:16:52 +01:00
Promofaux
b88fe572fe
Whitelist/Blacklist domains directly in the Event Horizon.
2016-10-19 23:15:05 +01:00
Promofaux
59ba6f8aec
add flag to skip download of lists
2016-10-19 22:06:19 +01:00
Promofaux
25343da6b7
wrong variable name
2016-10-19 20:03:29 +01:00
Promofaux
60d17b97f5
spacing
2016-10-19 19:51:32 +01:00
Promofaux
8cb72d87e4
make IPv4/IPv6 checking more robust in gravity
2016-10-19 19:50:21 +01:00
Jakob Ackermann
8872594ab9
create upload dir for lighttpd
...
directory is missing in the installation process but is used in the
lighttpd.conf
2016-10-19 14:27:17 +02:00
Jakob Ackermann
b50584119b
Merge remote-tracking branch 'refs/remotes/pi-hole/development' into development
2016-10-19 14:24:02 +02:00
Jakob Ackermann
975f4f2a17
Merge remote-tracking branch 'refs/remotes/pi-hole/development' into development
2016-10-19 14:15:06 +02:00
Dan Schaper
16e4f79f09
Merge pull request #809 from pi-hole/PromoTweaks
...
Promo tweaks
2016-10-18 17:37:52 -07:00
Adam Warner
76cae20c33
Merge pull request #803 from pi-hole/attributes
...
Create .gitattributes
2016-10-18 19:51:44 +01:00
Adam Warner
b66f23cfd0
account for new update script
2016-10-18 14:19:44 +01:00
Adam Warner
27d6e5d8cf
Complete overhaul of update logic. Moved to seperate script
2016-10-18 14:19:25 +01:00
Adam Warner
ff5d5b97c3
stash any changes in local repo
2016-10-18 13:54:09 +01:00
Adam Warner
ce46c4dec4
remove prematurely added code
2016-10-18 12:11:02 +01:00
Adam Warner
77e8be09a1
handle passing arguments to version script
2016-10-18 12:07:42 +01:00
Adam Warner
013d77488a
complete overhaul of version script. Now with optional arguments!
2016-10-18 12:07:11 +01:00
Adam Warner
29ad2496b6
don't output "elevating with sudo" in pihole script, just do it.
2016-10-18 12:05:48 +01:00
Adam Warner
97a013b2b7
Add direction to change upstream servers in setupVars.conf
2016-10-18 10:35:22 +01:00
Adam Warner
77808223dc
remove stock comments from 01-pihole.conf and add warning to the top
2016-10-18 10:05:10 +01:00
Jacob Salmela
fc89851ce9
Merge pull request #805 from pi-hole/development
...
Hotfix for installer bug, MASTER
2016-10-17 22:41:02 -05:00
Dan Schaper
c4c6555814
Merge branch 'master' into development
2016-10-17 19:57:05 -07:00
Dan Schaper
df0087fb23
Merge pull request #804 from pi-hole/hotfix/curlRefire
...
Refire with curl
2016-10-17 19:27:46 -07:00
Dan Schaper
ef3c13fe2b
Refire with curl
2016-10-17 19:22:56 -07:00
Dan Schaper
0ad704e532
Update .gitattributes
2016-10-17 18:31:06 -07:00
Dan Schaper
2220d2dab8
Create .gitattributes
2016-10-17 18:28:38 -07:00
Promofaux
49f48e2aaa
wrong word. #admincrimes
2016-10-17 22:24:59 +01:00
Adam Warner
dce24df379
Merge pull request #794 from pi-hole/development
...
[RELEASE] v2.9.3
2016-10-17 15:45:21 +01:00
Adam Warner
b59136c262
Merge pull request #800 from bcambl/ifcfg_backup
...
fix typo
2016-10-16 22:15:39 +01:00
bcambl
fb9664b636
fix typo
2016-10-16 15:11:47 -06:00
Adam Warner
5b736ae05e
Merge pull request #799 from bcambl/ifcfg_backup
...
use an excluded extension for ifcfg backup
2016-10-16 20:50:54 +01:00
bcambl
ee114b3075
use an excluded extension for ifcfg backup
2016-10-16 13:28:14 -06:00
Adam Warner
123b16991b
Merge pull request #798 from pi-hole/dnsmasqrestartchange
...
Some bug fixes before release
2016-10-16 17:25:30 +01:00
Promofaux
5792fc0bef
change wording depending on choice
2016-10-16 17:23:26 +01:00
Promofaux
42c93917ef
bug I forgot to fix before piholeUpdate was merged to development
2016-10-16 17:19:44 +01:00
Promofaux
8c0f860601
Use systemctl/service calls instead of killall to restart/reload dnsmasq
2016-10-16 17:16:59 +01:00
Adam Warner
df30a4c0d1
Merge pull request #779 from bcambl/fedora_fixes
...
Fedora fixes
2016-10-16 15:46:50 +01:00
Adam Warner
9ce13f0035
Merge pull request #790 from pi-hole/piholeUpdate
...
Various refactoring.
2016-10-15 23:51:07 +01:00
Promofaux
3884b01503
Forgot a
2016-10-15 23:21:13 +01:00
Promofaux
a84c3adeab
if uniformity then dan = happy
2016-10-15 23:19:26 +01:00
Promofaux
a65b784907
repeat after me: repetition is a bit repetitive.
2016-10-15 21:26:41 +01:00
Promofaux
05dadad2e1
repair sounds better than refresh
2016-10-15 21:22:46 +01:00
Promofaux
3a9b39b842
adjust text in update_dialogs() whiptail
2016-10-15 21:12:13 +01:00
Promofaux
e612003293
handle arguments better, convert to flags, echo when they're set to true.
2016-10-15 20:52:20 +01:00
Promofaux
a43577fa26
add reconfigure flag to -r command
2016-10-15 20:43:03 +01:00
Promofaux
7e10dcdcf0
update pihole bash-completion
2016-10-15 20:12:16 +01:00
Promofaux
7ee1110351
ugh. pihole.conf.
2016-10-15 20:09:38 +01:00
Promofaux
51c4c51d9e
Add trap to check existence of setupVars
2016-10-15 20:03:33 +01:00
Promofaux
fc4fe54099
standardise function naming
2016-10-15 20:02:57 +01:00
Dan Schaper
b5b240d0be
Merge pull request #789 from pi-hole/legacy_setupVars
...
reflect name change of some of the variables in setupVars
2016-10-15 11:41:58 -07:00
Promofaux
4c42f00a86
remove uses of ${SUDO} and root check from gravity. As this is handled by pihole
command.
2016-10-15 18:42:53 +01:00
Promofaux
090fbd04af
Remove ${SUDO} usages and root checks from scripts called by pihole
command as they should not be called directly.
2016-10-15 17:54:04 +01:00
Promofaux
461de48625
function declarations as per basic-install.sh
2016-10-15 17:25:17 +01:00
Promofaux
9352ba6e4a
about time we exit 0'd
2016-10-15 17:16:44 +01:00
Promofaux
5e883239f9
remove calls for ${SUDO} as per basic-install.sh.
2016-10-15 17:15:59 +01:00
Promofaux
5ea08a2120
add -r to reconfigure pihole (basically runs basic-install.sh from /etc/.pihole)
2016-10-15 17:07:08 +01:00
Promofaux
a6fa60868b
spacing
2016-10-15 15:41:48 +01:00
Promofaux
99878ae7d6
reflect name change of some of the variables in setupVars
2016-10-15 15:40:12 +01:00
bcambl
26202014a2
stdout formatting
2016-10-12 20:35:08 -06:00
bcambl
f4f8b96788
remove systemd selinux rules on init systems
...
fixes the failing SELinux policy compile on init based systems
2016-10-12 20:35:08 -06:00
bcambl
e5ede16749
update yum/dnf package count grepfu
...
see pull #774
2016-10-12 20:33:13 -06:00
bcambl
fbe3547129
EPEL is not required on Fedora
...
epel-release installs the EPEL package repository (Extra Packages for Enterprise Linux)
Dependencies from this repository should available by default on Fedora
2016-10-12 20:26:48 -06:00
Dan Schaper
23f7363c70
Merge pull request #774 from pi-hole/InstallFixes2
...
InstallFixes2
2016-10-12 11:47:15 -07:00
diginc
97c44042e1
Adding failing shellcheck test and results
...
Should be useful for showing others why other changes were made in the next commit.
2016-10-10 23:28:34 -05:00
diginc
a03caea549
setupVar tests passing for debian & centos
2016-10-10 23:14:39 -05:00
Promofaux
aa23fb1d56
choose*
2016-10-10 22:34:12 +01:00
Promofaux
4f35aac6dd
transpose $
and "
2016-10-10 22:32:30 +01:00
Dan Schaper
4418ca9e9f
Missing quote replacement.
2016-10-10 11:41:29 -07:00
Dan Schaper
570611fc09
CentOS Firewall fix
2016-10-10 11:30:15 -07:00
Dan Schaper
94dd5b1ebe
More CentOS fixes.
2016-10-10 11:05:29 -07:00
Dan Schaper
74524e024d
Always check PIHOLE_dependencies.
2016-10-10 10:36:19 -07:00
Adam Warner
324e00194f
Merge pull request #766 from pi-hole/Mcat12-move-contributor
...
Move contributer file
2016-10-10 17:35:22 +01:00
Dan Schaper
e42b6dcc8e
create_pihole_user update @diginc.
2016-10-10 09:21:28 -07:00
Dan Schaper
d71b799e75
More cleanups, localize variables, clean formatting.
2016-10-10 08:23:14 -07:00
Dan Schaper
87e7121332
Gravity.sh checks for null value for variables, obliging that expectation.
2016-10-10 07:32:16 -07:00
Dan Schaper
94f6354c94
Spinner blocks set -e
trying to get it in functions that won't crash out...
2016-10-10 07:25:43 -07:00
Dan Schaper
b79059ebdb
Start to add the spinner back in!
2016-10-10 06:46:30 -07:00
Dan Schaper
07b7e8a1a6
Track down a couple more variable name changes.
2016-10-10 06:33:56 -07:00
Dan Schaper
7ae2fc37c0
Match up descriptive variable names with setupVars.conf
. Rectifies Ubuntu 16.04 gravity.list
bug.
2016-10-10 06:23:17 -07:00
Dan Schaper
4f98c1bebb
Boolean operators inside quotes don't work well...
2016-10-10 06:16:00 -07:00
Dan Schaper
2feec01e10
Add start_service
and enable_service
functions to handle restating services and setting services to start on reboot.
2016-10-10 06:06:34 -07:00
Dan Schaper
72b95e192e
Fix logic bug in setup_user
, update how setupVars are sourced so they will only be used if the user selects update
and not if they select install
.
2016-10-10 05:45:37 -07:00
Dan Schaper
47aad254d8
localized some more variables
2016-10-10 03:56:03 -07:00
Dan Schaper
bc14074d2a
Tighten up Update Whiptail appearance.
2016-10-10 03:39:32 -07:00
Dan Schaper
5ab5b1a190
Overhaul dnsmasq version 3 way handshake configuration files.
2016-10-10 03:23:52 -07:00
Dan Schaper
b055f190f5
Factor out interfaces detection.
2016-10-10 03:16:22 -07:00
Dan Schaper
84b8953352
Remove quiet flags from package managment variables. Set quiets in functions by redirecting output.
2016-10-10 02:58:38 -07:00
Dan Schaper
93a591d487
Linting from ShellCheck
2016-10-10 02:57:04 -07:00
Dan Schaper
e6c0f38a7c
Monolithic changes in one commit again.
2016-10-10 02:24:03 -07:00
Dan Schaper
d169305e5d
Merge branch 'Fix/installerIssues' into development
2016-10-10 09:08:35 +00:00
Dan Schaper
f107ae4f9b
Merge conflict resolution
2016-10-10 09:08:25 +00:00
Dan Schaper
bad7a08804
Refactor and rename create_pihole_user
. Now to actually use the user created...
2016-10-10 01:51:19 -07:00
Dan Schaper
25cbf4cb35
Factor out legacy location script removal.
2016-10-10 01:43:10 -07:00
Dan Schaper
7f179f9a58
Remove sourcing bash completion, would fall off as soon as the subshell terminated.
2016-10-10 01:40:56 -07:00
Dan Schaper
5287ea8537
Refactor stopServices
into stop_service
and accept arguments for service to stop. Quiet output from a few other functions.
2016-10-10 01:25:11 -07:00
Dan Schaper
43e2aaebf0
rename updateDialogs
to update_dialogs
2016-10-10 01:04:59 -07:00
Dan Schaper
e60eb66283
UpdateDialogs are now a Whiptail Menu, self-explanatory.
2016-10-10 01:04:03 -07:00
Dan Schaper
ca59b808d8
Git clone/update now occurs right after installer dependency checks. Allows for inclusion of installer source files in the repo. Passes set -e
2016-10-10 00:02:50 -07:00
Dan Schaper
8a15fd44d5
Update is_repo()
to use git status
for validity checks.
2016-10-09 23:53:18 -07:00
Dan Schaper
dac2b8942e
Typo fix to generate commit.
2016-10-09 22:38:00 -07:00
Dan Schaper
54a1c5b63a
Revert inadvertent commits
...
IDLE keeps committing direct to development.
2016-10-09 22:35:14 -07:00
Dan Schaper
61b02bf6d3
Add OR TRUE to PKG_COUNT so that a 0 package to update doesn't grep -c to an exit value of 1.
2016-10-09 22:27:37 -07:00
Dan Schaper
9d048b2fdf
Move Pi-hole dependency checks to main()
and out of duplicated install
and update
functions. Bring them up a level in the subshells.
2016-10-09 22:24:13 -07:00
Dan Schaper
d9e28a7422
factor out installer_dependencies
2016-10-09 22:05:06 -07:00
Dan Schaper
1fecdf42ca
Move git
to installer deps, refactor some functions.
2016-10-09 22:00:23 -07:00
Dan Schaper
d4bf85b67c
Self contain package_check
into package_check_install
. Passes set -e
test.
2016-10-09 21:44:45 -07:00
Dan Schaper
7131ff27c3
Attempt to set -e
2016-10-09 21:32:25 -07:00
Dan Schaper
a30f78c1c8
Oneliner php version check, passes set -e
check.
2016-10-09 21:31:36 -07:00
Dan Schaper
7e0afffca8
Revert inadvertent commits
2016-10-09 19:41:32 -07:00
Dan Schaper
293c60fb9c
Exit script on failure to install dependent package.
2016-10-09 13:52:36 -07:00
Dan Schaper
f5be8b2a5e
Single dependency package check function, will exit if any errors with message to update cache.
2016-10-09 13:43:01 -07:00
Dan Schaper
6772603c15
Relocate cache check to its own function
2016-10-09 12:34:53 -07:00
Jacob Salmela
a22904f99b
Merge pull request #769 from pi-hole/Fix/PackageCacheFresh
...
Fix/package cache fresh
2016-10-09 09:00:52 -05:00
Jacob Salmela
6710d2852f
Merge pull request #770 from pi-hole/Fix/InstallerWrap
...
#admincrimes Fix/installer wrap
2016-10-09 08:41:47 -05:00
Dan Schaper
b157bc5cd7
Fixes #768 Check the staleness of the package index instead of the package cache.
2016-10-08 13:47:35 -07:00
Dan Schaper
10e1a03c76
runGravity
is called after finalExports
in the Debian install side.
2016-10-08 12:58:42 -07:00
Dan Schaper
d20df92e9f
Script will now run as root, removed sudo
from function calls.
2016-10-08 12:56:26 -07:00
Dan Schaper
44170207ac
Add main
function and fire script from main
call. Prevents script from running before it is entirely downloaded.
2016-10-08 12:17:04 -07:00
Mcat12
9354799a26
Move contributer file
...
This will make it more visible to a user and fixes the link in the PR template.
2016-10-08 12:06:23 -04:00
Dan Schaper
33745be745
Merge pull request #753 from pi-hole/feature/RemoveBarePHP
...
Remove bare php package from dependencies
2016-10-07 21:32:07 -07:00
Adam Warner
6a28070017
Too many -
s
2016-10-07 13:09:27 +01:00
Dan Schaper
91b948332e
Merge pull request #754 from pi-hole/fix/bashConditional
...
fix/bashConditional
2016-10-07 03:42:22 -07:00
Dan Schaper
d1a7fe2d44
fix/bashConditional
2016-10-07 03:36:34 -07:00
Adam Warner
8224ef20a4
Merge pull request #748 from das7pad/development
...
add mimetype for .svg
2016-10-07 10:52:02 +01:00
Dan Schaper
a4c3464bc8
Merge pull request #749 from pi-hole/feature/installMethod
...
Change installScripts to use install
2016-10-07 02:51:33 -07:00
Adam Warner
5966d76e9a
Merge pull request #729 from pi-hole/development
...
Pi-hole version 2.9.2
2016-10-07 10:49:06 +01:00
Dan Schaper
c39324d11f
Remove bare php package from dependencies
...
`php5` package can trigger install of Apache2. Without this package in deps, PHP is still installed and operational.
2016-10-07 00:24:25 -07:00
Dan Schaper
8c151c62ce
echo's don't need sudo
2016-10-05 10:46:10 -07:00
Dan Schaper
50d16d8215
Finish install
conversion for installScripts()
2016-10-05 10:45:17 -07:00
Dan Schaper
3bbac9a5f2
install
pihole
2016-10-05 10:19:47 -07:00
Dan Schaper
3600fd277e
Don't need sudo
to echo to term.
2016-10-05 10:16:56 -07:00
Dan Schaper
e8bb4a7e36
Continue migration to install
2016-10-05 10:14:36 -07:00
Dan Schaper
36987cb1cc
Continue migration to install
2016-10-05 09:57:48 -07:00
Dan Schaper
5382b4fa37
Change installScripts to use install
...
Use the install program instead of copying files and directories in installScripts function.
2016-10-05 09:42:15 -07:00
Jakob Ackermann
28ef8068c8
add mimetype for .svg
...
Chrome does not display .svg-images without the correct mimetype
2016-10-05 01:20:30 +02:00
Jacob Salmela
ca0cbd68d6
Merge pull request #743 from pi-hole/whatDuplicates
...
What duplicates
2016-10-04 08:53:51 -05:00
Promofaux
c281b47905
Mover {SUDO} mkdir -p /etc/pihole/ back to the beginning.
2016-10-02 12:44:33 +01:00
Promofaux
aca5064743
--force seems to light. lets try --i_do_not_follow_recommendations
2016-10-02 11:16:48 +01:00
Promofaux
6f780316c4
remove whiptail dependency from verifyFreeDiskSpace.
...
Add argument detection to skip disk space. This is because curling to bash does not support waiting for user input.
2016-10-02 11:09:14 +01:00
Promofaux
4e262d81f0
wrap these vars in {} to matcht he rest of the script
2016-10-02 10:39:09 +01:00
Promofaux
6c2ff950ee
remote duplicate ${SUDO} mkdir /etc/pihole
2016-10-02 10:33:59 +01:00
Promofaux
7684069d0b
verifyFreeDiskSpace BEFORE installing any dependencies
2016-10-02 10:33:04 +01:00
Promofaux
73c85ae68a
remove duplicate calls to installConfigs
2016-10-02 10:30:55 +01:00
Dan Schaper
911e39ba09
Merge pull request #726 from pi-hole/DebugUpdate
...
DebugUpdate
2016-10-01 13:47:15 -07:00
Dan Schaper
9a421d510a
Ignore comments in adlists.list section.
2016-10-01 13:16:58 -07:00
Adam Warner
3bc7172e5e
Merge pull request #738 from pi-hole/updateFix
...
Add check at the beginning of update script to check for existence of…
2016-10-01 17:03:31 +01:00
Promofaux
1a83988e26
Add check at the beginning of update script to check for existence of local repos. If not, redirect user to run install command again.
2016-10-01 16:56:03 +01:00
Adam Warner
0d0fc2504a
Merge pull request #735 from diginc/patch-1
...
Update README.md
2016-10-01 04:54:19 +01:00
Adam Hill
0d4402ee0c
Update README.md
...
Updating the old x86 only reference on the link to my docker project.
2016-09-30 17:01:44 -05:00
Adam Warner
722def9362
Merge pull request #734 from pi-hole/phpVerCheckFix
...
Fix the php version check command (Thanks @diginc!)
2016-09-30 22:48:39 +01:00
Promofaux
6a8bef83b3
Fix the php version check command (Thanks @diginc!)
2016-09-30 22:40:43 +01:00
Dan Schaper
a9c3e2c7ba
Add log_write function. Update version_check to use logical conditionals.
2016-09-28 13:09:38 -07:00
Dan Schaper
7fcb40739d
Close IF statement
2016-09-28 10:25:37 -07:00
Dan Schaper
5a3d319677
Add fail check to dig local and remote.
2016-09-28 10:24:44 -07:00
Dan Schaper
8466d0b681
Change NSLOOKUP to dig for resolver tests, add dnsmasq specific records check
2016-09-28 10:14:47 -07:00
Dan Schaper
5de179f1eb
Remove blacklist comparison.
2016-09-28 09:52:11 -07:00
Dan Schaper
36e10595cc
Change netstat to lsof.
2016-09-28 09:51:14 -07:00
Jacob Salmela
78c8723629
Merge pull request #708 from pi-hole/github-templates
...
Update Github templates
2016-09-27 22:12:36 -05:00
Dan Schaper
edd7f28104
Add internet checks to IP section
2016-09-27 19:39:28 -07:00
Dan Schaper
dba1ab3fc0
Remove compareWhitelist
2016-09-27 19:31:21 -07:00
Dan Schaper
3df9c48012
Include ping statistics in default gateway checks.
2016-09-27 19:30:37 -07:00
Jacob Salmela
6f6450bcff
simplify a bit more
...
Removed a few checkboxes. I really don't want to deter people from
submitting issue because of a wall of text, but some of this
information we really can use to be more helpful.
2016-09-27 08:23:52 -05:00
Jacob Salmela
1f34203167
Merge pull request #722 from pi-hole/BugFix718
...
Fix #718
2016-09-27 08:08:42 -05:00
Jacob Salmela
fed20648c6
Merge pull request #727 from pi-hole/BugFix725
...
Fix 725 and 653
2016-09-27 08:07:34 -05:00
Adam Warner
3fc3c5cae4
Add iproute2 to fix #653
2016-09-27 11:15:46 +01:00
Adam Warner
daa5366b57
Check if php5 is available in apt-cache, if so install it, else just install php
2016-09-27 11:11:47 +01:00
Dan Schaper
ac1c299369
Revert overzealous renaming of Pi-hole in pihole.log detection.
2016-09-26 20:54:05 -07:00
Dan Schaper
5bbb3ac49a
Standardize Pi-hole naming.
2016-09-26 20:50:03 -07:00
Dan Schaper
014bdf911a
Add open port detection
2016-09-26 20:39:39 -07:00
Dan Schaper
874853fe18
Add lighttpd to version check
2016-09-26 19:23:30 -07:00
Dan Schaper
274b71f8bc
Relocate hostname checks
2016-09-26 18:52:12 -07:00
Dan Schaper
c41d543d81
Handle lack of IPv6 gracefully.
2016-09-26 18:27:02 -07:00
Dan Schaper
7729ddab30
Mode code realignment. Handle lack of IPv6 gateway gracefully.
2016-09-26 18:21:58 -07:00
Dan Schaper
60c0e59a83
Add IPv6 intelligence to debug
2016-09-26 18:06:31 -07:00
Adam Warner
ac49e639bd
Fix #718
2016-09-26 11:58:07 +01:00
Adam Warner
f01b20c2af
Merge pull request #711 from pi-hole/EggPatch-1
...
Egg patch 1
2016-09-22 10:50:56 +01:00
Dan Schaper
a0d47be088
Merge conflict resolution
2016-09-21 17:20:25 -07:00
Dan Schaper
521374e238
Update .pullapprove.yml
2016-09-21 16:53:50 -07:00
Jacob Salmela
34806ee2c2
1-10 codebase familiarity
...
Also tried to simplify the language a bit so as not to deter people
from submitting issues. We may need to simplify it more
2016-09-21 08:39:32 -05:00
Jacob Salmela
4a0d5138a1
move CONTRIBUTING.MD to .github
2016-09-20 15:30:27 -05:00
Jacob Salmela
e6a3758899
new template based on udemy-dl
2016-09-20 15:29:20 -05:00
Jacob Salmela
fcb7d9111e
new template based on udemy-dl
2016-09-20 15:14:15 -05:00
Jacob Salmela
d907731027
new template based on udemy-dl
2016-09-20 15:10:34 -05:00
Dan Schaper
ac8d295bb9
Merge pull request #668 from bcambl/dns-hostname-fixes
...
Dns hostname fixes
2016-09-20 10:16:15 -07:00
Jacob Salmela
a963beb96e
Merge pull request #703 from pi-hole/PromoFaux-patch-1
...
Add additional instruction.
2016-09-20 08:34:04 -05:00
Steve Dobinson
737b510116
Update lighttpd.conf.fedora
...
Allow for password protection (or other user-initiated options) without clobbering already chosen user options.
2016-09-20 10:38:58 +01:00
Steve Dobinson
47cba83450
Update lighttpd.conf.debian
...
Allow for password protection (or other user-initiated options) without clobbering already chosen user options.
2016-09-20 10:34:21 +01:00
bcambl
21d4199a38
Merge branch 'development' into dns-hostname-fixes
2016-09-19 17:33:32 -06:00
Adam Warner
655c422c3c
Add additional instruction.
...
Include "(Press space to select)" on ChooseInterface
2016-09-19 22:17:58 +01:00
Adam Warner
b6f8bd408f
Merge pull request #702 from pi-hole/PromoFaux-patch-1
...
Change reset_on_push to false
2016-09-19 21:12:33 +01:00
Adam Warner
a3edd0b976
Change reset_on_push to false
...
So we don't have to reapprove every time the branch is updated.
2016-09-19 21:06:28 +01:00
Adam Warner
8e8efa5caf
Merge pull request #695 from pi-hole/gravTweak
...
Enable support for /etc/pihole/setupVars.conf in gravity
2016-09-19 20:57:51 +01:00
Adam Warner
a41b8f62a2
Merge branch 'development' into gravTweak
2016-09-19 20:55:58 +01:00
Dan Schaper
452ee8c2df
Merge pull request #692 from pi-hole/PromoFaux-patch-1
...
Update piholeDebug.sh
2016-09-19 12:55:26 -07:00
Dan Schaper
5ca6599ca9
Merge branch 'development' into gravTweak
2016-09-19 12:54:58 -07:00
Adam Warner
dcedf6bfd0
Merge branch 'development' into PromoFaux-patch-1
2016-09-19 20:54:04 +01:00
Adam Warner
1f4b43645b
Merge pull request #679 from pi-hole/updateTweaks
...
Make `pihole -up` a bit more intelligent
2016-09-19 20:46:22 +01:00
Promofaux
3d5140458b
Change cron job
2016-09-19 20:43:04 +01:00
Promofaux
f16574085f
remove code made redundant by the existence of /etc/pihole/setupVars.conf
2016-09-16 23:09:14 +01:00
Promofaux
3ed62d45f5
Source IP addresses from /etc/pihole/setupVars.conf
2016-09-16 23:05:08 +01:00
Adam Warner
b1a7b0a186
Update piholeDebug.sh
...
I can spell, honest.
2016-09-15 15:16:06 +01:00
Promofaux
ec0c68621c
add blank line after Current version display
2016-09-12 19:40:34 +01:00
Promofaux
a0977af081
remove references to UpdateDashboard.sh
2016-09-12 19:10:12 +01:00
Promofaux
a3ef9efd2f
remove updateDashboard script
2016-09-12 19:09:19 +01:00
Promofaux
d58f7c6ec9
Remove references to dashboard update Script
2016-09-12 19:08:33 +01:00
Promofaux
d124c2c12e
Expand to check web admin versions
2016-09-12 18:57:19 +01:00
Promofaux
0229f70761
Make updatePiholeFunc a bit smarter. Only run update if version is not the latest.
2016-09-12 18:29:04 +01:00
Promofaux
dde9281139
Only pull master branch, the rest aren't needed!
2016-09-12 18:12:31 +01:00
Adam Warner
6eedfb572e
Merge pull request #676 from pi-hole/development
...
2.9.1
2016-09-12 14:56:25 +01:00
Adam Warner
edf81a232d
Merge pull request #671 from pi-hole/PromoFaux-patch-1
...
Add cron to apt-get dependencies
2016-09-09 20:23:34 +01:00
Adam Warner
c2cb92a0b0
Add cron to apt-get dependencies
2016-09-08 23:42:05 +01:00
bcambl
640af300cb
additional hostname checks in gravity.sh
...
- Test if /etc/hostname exists before attempting to cat the file.
- Add alternative hostname discovery via hostname command
- Add an error message to stdout if unable to determine host fqdn
2016-09-07 21:16:52 -06:00
bcambl
6c0c6182e9
fix newline in configureSelinux stdout
2016-09-07 21:16:52 -06:00
bcambl
05ad4445b5
add dns to sysconfig interface configuration
2016-09-07 21:16:51 -06:00
bcambl
1dd9f0747e
add gateway to interface configuration
...
pi-hole@9cb4e8b broke #593
original commit 8550b76
2016-09-07 21:16:36 -06:00
Dan Schaper
150e01be8b
Merge pull request #667 from pi-hole/piholeBashCompletionUpdate
...
Add the newer pihole command tags to the bash auto complete!
2016-09-06 15:02:13 -07:00
Promofaux
95ee3216c4
Add the newer pihole command tags to the bash auto complete!
2016-09-06 21:57:17 +01:00
Adam Warner
3b5e409b38
Merge pull request #666 from pi-hole/PromoFaux-patch-1
...
Change log flush time to 00:00
2016-09-06 19:30:36 +01:00
Adam Warner
eb201b614a
Change log flush time to 00:00
2016-09-06 19:29:30 +01:00
Adam Warner
162a6b8b5c
Merge pull request #665 from pi-hole/FleshOutPiholeQ
...
Make the output of pihole -q a bit clearer. Bye Bye nifty one-liner!
2016-09-06 19:25:03 +01:00
Promofaux
4ec01769cb
Appease Jacob.
2016-09-06 19:21:56 +01:00
Promofaux
19b656132d
Make the output of pihole -q a bit clearer. Bye Bye nifty one-liner!
2016-09-06 19:16:04 +01:00
Adam Warner
6305c7e2ab
Merge pull request #663 from pi-hole/Bugfix660
...
Switch fedora and debian install check order
2016-09-05 18:32:55 +01:00
Promofaux
04c60e8a1c
Switch fedora and debian install check order
2016-09-05 15:52:09 +01:00
Adam Warner
b6ceb06a32
Merge pull request #655 from pi-hole/PromoFaux-patch-1
...
Replace `truncate` command with `echo " " >`
2016-09-02 19:34:50 +01:00
Adam Warner
8cb2f85a08
Replace truncate
command with echo " " >
2016-09-02 16:39:34 +01:00
Adam Warner
7ccfb6ea88
Merge pull request #651 from pi-hole/PromoFaux-patch-1
...
Remove defunct list from adlists.default
2016-09-02 14:12:32 +01:00
Adam Warner
531398b532
Remove defunct list from adlists.default
...
See issue #650
2016-09-02 11:27:13 +01:00
Adam Warner
ec6ecf0d60
Merge pull request #639 from pi-hole/development
...
2.9
2016-08-30 21:46:04 +01:00
Dan Schaper
fdb0e31a78
Merge pull request #625 from pi-hole/UpdateMethod
...
Forget all existing attempts at an update method... this is the one.
2016-08-30 11:47:36 -07:00
Promofaux
01a9534729
Merge branch 'development' into UpdateMethod
...
# Conflicts:
# automated install/basic-install.sh
2016-08-30 19:32:40 +01:00
Adam Warner
921278c5ea
Merge pull request #636 from pi-hole/QueryCommand
...
Query command
2016-08-30 19:17:50 +01:00
Promofaux
d938f73207
Fix line endings
2016-08-26 23:10:22 +01:00
Promofaux
344e63c2dc
Add undocumented argument to install script ("pihole") which allows the pihole command to run the update script without prompting the user. Useful for update automation
2016-08-26 23:06:35 +01:00
Promofaux
681144b2a3
Change the switched for updateDashboard and updatePihole(was updateMain)
2016-08-26 22:52:44 +01:00
Promofaux
e4295f5d3c
Move exporting the setupConf files to a function to be run at the end of the script only. If script is cancelled, then they are not written. Simples.
...
Also I'm surprised nobody noticed the duplicate installPihole() function :S
2016-08-26 22:45:38 +01:00
Adam Warner
77135ca3c7
Actually pass through the argument to the function
2016-08-26 10:09:39 +01:00
Adam Warner
29b548f07c
Add queryfunc
2016-08-26 09:39:27 +01:00
Dan Schaper
cb33ef77f7
Merge pull request #635 from Fourdee/development
...
Minor - Corrected var names
2016-08-25 12:14:12 -07:00
Daniel (Fourdee)
49ded54306
Minor - Update descriptions
...
Apply to whiptail descriptions also.
2016-08-25 12:17:36 +01:00
Daniel (Fourdee)
6c0a8a4337
Minor - Corrected var names
...
Kilobyte values are used, not Bytes.
2016-08-25 12:11:54 +01:00
Daniel (Fourdee)
e9a0ddf798
Merge remote-tracking branch 'refs/remotes/pi-hole/development' into development
2016-08-25 12:09:54 +01:00
Promofaux
d217626318
If an existing install is detected, offer the user a choice of Updating or Installing with a radio list whiptail.
2016-08-24 22:52:11 +01:00
Dan Schaper
4f5fcc2a37
Merge pull request #626 from victmo/development
...
Added window.close() to index.html
2016-08-22 16:43:49 -07:00
Promofaux
ed94f4b1df
Create directory before trying to create a blank file in it....
2016-08-22 22:06:33 +01:00
Promofaux
a57b097afc
Change echos at the end of install depending on install or update
2016-08-21 18:00:41 +01:00
Promofaux
eb42b894c4
Delete setupVars.conf if user cancels out of install process.
2016-08-21 17:57:11 +01:00
Dan Schaper
af666e2209
Escape space in updateMainFunc
...
Legacy space in path strikes again!
2016-08-20 18:37:35 -07:00
Promofaux
2f2e746e56
Add update function to pihole script
2016-08-21 02:23:11 +01:00
Promofaux
b3e7619048
curly brackets all the variables!
2016-08-21 02:12:02 +01:00
Victor Marquez
0121136498
Added window.close() to index.html
...
Adding window.close() will automatically close any pop-ups that might get loaded with a blocked ad.
2016-08-19 20:45:17 -04:00
Promofaux
7eb43a0b47
Expand update dialog text
2016-08-19 23:25:04 +01:00
Promofaux
c0430a2248
It wouldn't be me if there weren't loads of commits for simple mistakes.
2016-08-19 23:10:56 +01:00
Promofaux
6796b8bdad
pass argument from pihole command to gravity for -f check
2016-08-19 23:06:56 +01:00
Promofaux
475d016029
hmmm
2016-08-19 22:52:55 +01:00
Promofaux
201304e678
fix variables in gravity to stop it using -f wether it's set or not
2016-08-19 22:51:09 +01:00
Promofaux
fdb104348c
Add updatePihole method
2016-08-19 22:45:24 +01:00
Promofaux
f54828352d
remove spaces from update bool set
2016-08-19 22:42:04 +01:00
Promofaux
cc157def63
remove --defaultyes from update whiptail
2016-08-19 22:40:27 +01:00
Promofaux
8fc83655ab
correct filename spelling mistake
2016-08-19 22:38:16 +01:00
Promofaux
9fb549293a
APPEND
2016-08-19 22:34:50 +01:00
Promofaux
e4cc5b5b70
testing a new update method by detecting the existence of vars saved from install
2016-08-19 22:31:11 +01:00
Dan Schaper
6f0b659b38
Merge pull request #623 from pi-hole/AddForceClearToGravity
...
Add force clear to gravity
2016-08-17 11:32:35 -07:00
Dan Schaper
652bdf1518
Merge branch 'development' into AddForceClearToGravity
2016-08-17 11:32:26 -07:00
Promofaux
f6ac0d73b4
Add force delete option
2016-08-17 19:08:55 +01:00
Promofaux
ae47be0ce9
Add HelpFunc
2016-08-17 18:59:00 +01:00
Mcat12
491c37eafe
Merge pull request #613 from goldbattle/development
...
Added - Readme Windows Tray App
2016-08-14 17:20:25 -04:00
Patrick Geneva
3ade7a8b0e
Added - Readme Windows Tray App
2016-08-14 17:18:24 -04:00
Dan Schaper
3c7738b6d0
Merge pull request #619 from Fourdee/development
...
Free Disk Space check standardization
2016-08-13 19:44:40 -07:00
Daniel (Fourdee)
037318e2ff
Provide non-zero exit code, as per existing sourcecode.
2016-08-12 13:20:30 +01:00
Daniel (Fourdee)
a9a499939e
Fourdee - See notes:
...
https://github.com/pi-hole/pi-hole/issues/602
+ Improve available free disk space check.
+ Option to override if the free disk space check is not a valid
integer.
2016-08-12 12:44:45 +01:00
Daniel (Fourdee)
7e5bcd2ec3
Merge remote-tracking branch 'refs/remotes/pi-hole/development' into development
2016-08-12 12:11:55 +01:00
Adam Warner
f49ca48a22
Merge pull request #607 from pi-hole/Debug_Options
...
Debug options
2016-08-05 12:54:55 +01:00
Promofaux
9cb4e8bde8
Merge remote-tracking branch 'origin/Debug_Options' into Debug_Options
...
# Conflicts:
# automated install/basic-install.sh
2016-08-05 12:53:08 +01:00
Adam Warner
95edb49bb8
Add option for uploading debug log to termbin
2016-08-05 12:47:57 +01:00
Dan Schaper
fb69bf551e
Merge pull request #593 from bcambl/sysconfig_gateway
...
add gateway to interface configuration
2016-08-04 00:26:07 -07:00
bcambl
fe8d0f8ea8
Merge branch 'development' into sysconfig_gateway
2016-08-03 19:26:53 -06:00
Mcat12
acc5fa2a95
Merge pull request #609 from pi-hole/CLI_VersionCheck
...
Cli version check
2016-08-03 21:21:30 -04:00
Mcat12
f2e33f8581
Merge branch 'development' into CLI_VersionCheck
2016-08-03 21:21:23 -04:00
Adam Warner
4748cdc2c9
Merge pull request #599 from pi-hole/PullApprove
...
Add PullApprove configuration
2016-08-04 00:14:00 +01:00
Promofaux
2bc364023a
Remove erroneous space in chmod command
...
Fix spacing in help function
2016-08-02 23:51:53 +01:00
Dan Schaper
3070f61e20
Merge branch 'development' into PullApprove
2016-08-02 14:55:47 -07:00
Promofaux
57df56dc62
Add version.sh to the install script
2016-08-02 20:08:21 +01:00
Promofaux
e11ef5a7f0
Add version display script. Also checks current version on web and reports version.
2016-08-02 20:07:09 +01:00
Promofaux
6a17a3eeec
Add command to pihole script
2016-08-02 19:44:11 +01:00
Promofaux
66ff9a24c6
Add piholeDebug to the chmod 755 command in install script. Not sure how that went missing...
2016-08-01 21:54:42 +01:00
Adam Warner
a3b3a7a34d
Add option for uploading debug log to termbin
2016-08-01 21:43:13 +01:00
Mcat12
c04b3559d0
Merge pull request #584 from diginc/development
...
Only re-block whitelist deletions if in adlists
2016-07-31 14:39:05 -04:00
Dan Schaper
e642b41b5b
Add PullApprove configuration
2016-07-29 16:35:26 -07:00
Dan Schaper
ba6881d685
Merge pull request #595 from pi-hole/fix/README_Update
...
Typo/Linter fix
2016-07-29 13:13:24 -07:00
Dan Schaper
20d8c9053b
Remove defunct Optimal link
...
Optimal has discontinued it's app program. Removing dead link
2016-07-29 13:05:15 -07:00
Dan Schaper
0749e4ed70
Move BountySource to top position
2016-07-27 18:58:05 -07:00
Dan Schaper
b0cc69ff80
Merge Conflict resolution
2016-07-27 18:54:41 -07:00
Dan Schaper
02c4669e95
Typo/Linter fix
...
Fix a few typo's, run through linter for format corrections.
2016-07-26 20:46:43 -07:00
bcambl
8550b76e23
add gateway to interface configuration
2016-07-24 22:42:06 -06:00
Adam Warner
fdf27e3d24
Merge pull request #573 from bcambl/centos-nc
...
fix centos nc dependency
2016-07-22 19:02:29 +01:00
Adam Warner
069023fca2
Merge pull request #589 from pi-hole/PromoFaux-patch-1
...
Update README.md
2016-07-22 14:14:07 +01:00
Adam Warner
1fd6648db1
Merge pull request #591 from pi-hole/master
...
Out of Sync with master
2016-07-22 12:04:15 +01:00
Adam Warner
7a08c8b694
Merge pull request #590 from pi-hole/revert-588-master
...
Revert "Development out of sync with master."
2016-07-22 12:03:17 +01:00
Adam Warner
60aad3f19b
Revert "Development out of sync with master."
2016-07-22 11:59:19 +01:00
Adam Warner
51dcc2bc0f
Update README.md
...
Add badge for bountysource to show avtive bounties.
2016-07-22 11:56:54 +01:00
Adam Warner
941525d1e0
Development out of sync with master. ( #588 )
...
* adding links to optimal.com
Also added image of Pi-hole's stats from Optimal.com and a bitcoin donation address per some user requests.
* simplified and new additions
I tried to simplify the readme page a bit. I also added some new links to some helper videos and added some screenshots of the whitelist editor.
* updated dashboard pic
* Update README.md
* simplified donation section
* forgot to remove the old donation stuff
* Hosts-file.net moved to https
* removed pihole berry from images
also added adafruit livestream video
* Update README.md
update "How does it work" video
2016-07-22 11:54:17 +01:00
diginc
5fb6c5b012
Making the whitelist re-block echo consistent with other WL/BL echos
2016-07-20 12:53:31 -05:00
diginc
3affa73257
Only re-block whitelist deletions if in adlists
...
* Prevent blocking benign/untracked domains deleted off whitelist
* Issue #581
2016-07-20 12:43:30 -05:00
Blayne Campbell
c647e27e15
Merge branch 'development' into centos-nc
2016-07-19 08:48:54 -06:00
Dan Schaper
f696ed48b3
Merge pull request #570 from pi-hole/bugfix/dhcpcd_comments
...
Change comment to hash
2016-07-18 16:32:12 -07:00
Adam Warner
73645f299a
Merge branch 'development' into bugfix/dhcpcd_comments
2016-07-18 14:37:38 +01:00
Mcat12
6aeb5f1172
Merge pull request #575 from pi-hole/bugfix/distrib_vers_check
...
Remove trailing slash on os-release check
2016-07-17 07:37:55 -04:00
Dan Schaper
ce8f07750f
Remove trailing slash on os-release check
...
Fixes #CLOSED
Remove trailing slash that would cause an os-check to always fail out.
2016-07-15 22:46:21 -07:00
bcambl
a32ad0dbf2
fix centos nc dependency
2016-07-15 21:43:23 -06:00
Promofaux
61ff12e8d4
Change header to match the rest of the scripts.
2016-07-15 21:17:16 +01:00
Adam Warner
02b0e96db8
Merge pull request #572 from pi-hole/development
...
Dan forgot this : `}`
2016-07-15 21:13:10 +01:00
Promofaux
e942440bb7
Dan forgot this : }
2016-07-15 21:11:10 +01:00
Dan Schaper
a27f1f17de
Merge pull request #563 from pi-hole/development
...
Push to release 2.8 - Gold
2016-07-15 12:05:20 -07:00
Promofaux
e106ff0fef
Add netcat to dependencies for termbin.com. Should be installed by default, but JUST IN CASE.
2016-07-15 19:58:26 +01:00
Promofaux
6f068e0b9c
Replace sprunge.us with termbin, which appears to be more reliable.
2016-07-15 19:32:49 +01:00
Dan Schaper
ada531c88a
Merge pull request #568 from pi-hole/feature/Distro-Check
...
Add distribution Check
2016-07-15 11:05:54 -07:00
Dan Schaper
f0a2248c81
Change comment to hash
...
Change format of comment to hash/octothorpe to clearly delineate that it's a comment. Looks better than `:::` which causes confusion.
2016-07-15 10:27:40 -07:00
Sander
11f2524b9b
Instead of an or, cat *release
2016-07-14 20:47:27 +02:00
Dan Schaper
b011e5f838
Add os-release check
2016-07-14 11:35:52 -07:00
Dan Schaper
f45eb84d6b
Add distribution Check
2016-07-14 11:27:47 -07:00
Adam Warner
412c0a172d
Update README.md
...
update "How does it work" video
2016-07-08 22:58:27 +01:00
Jacob Salmela
c1d8496b93
removed pihole berry from images
...
also added adafruit livestream video
2016-07-06 08:37:30 -05:00
Mcat12
4657959790
Merge pull request #559 from dan019/repair-apt
...
Repairs apt-get incorrect options
2016-07-04 16:22:36 -04:00
Daniel
2b0ba281a4
Repairs apt-get incorrect options
2016-07-04 15:35:46 -04:00
Mcat12
325a41c598
Merge pull request #558 from dan019/easy-log
...
Upload log to sprunge.us
2016-07-03 22:08:25 -04:00
Daniel
9b8efe1b27
Upload log to sprunge.us
2016-07-03 19:50:42 -04:00
Dan Schaper
024b741552
Merge pull request #490 from bcambl/fedora-armhf7
...
Fedora Support
2016-06-29 14:25:23 -07:00
Mcat12
4e95f4678f
Merge pull request #540 from pi-hole/bugfix/curl-redirect
...
Have `curl` auto-redirect
2016-06-26 13:42:40 -04:00
Mcat12
a86b982591
Merge pull request #537 from pi-hole/piholeIP-Permissions
...
Missing permissions when writing to piholeIP
2016-06-26 13:23:28 -04:00
Mcat12
ec8da00485
Merge pull request #545 from mat1th/feature/new-block-list
...
Feature/new blocklist url
2016-06-26 13:20:25 -04:00
Dan Schaper
bcfe130d51
Merge pull request #544 from pi-hole/Fix/MahaUA
...
Mahakala User Agen modernization
2016-06-25 13:20:04 -07:00
Matth
0e143f7275
Update adlists.default
2016-06-25 15:45:51 +02:00
Dan Schaper
7670b4e380
Mahakala User Agen modernization
...
Update Curl User Agent for Maha list.
2016-06-25 06:00:49 -07:00
Dan Schaper
636a9123b8
Have curl
auto-redirect
...
This should solve the redirection issue if a list is moved.
2016-06-23 18:37:45 -07:00
Dan Schaper
caaee40889
Hosts-file.net moved to https
2016-06-23 17:38:26 -07:00
Mcat12
1f130b6550
Fix missing permissions on piholeIP
...
Without sudo/root privileges, the echo command is unable to write
to the file.
2016-06-21 19:16:11 -04:00
Jacob Salmela
2ce47f49b1
forgot to remove the old donation stuff
2016-06-20 15:55:23 -05:00
Jacob Salmela
0250e03b86
simplified donation section
2016-06-20 15:47:05 -05:00
Adam Warner
ce110aab90
Merge pull request #536 from fhemberger/development
...
Fix link for spam404scamlist.txt
2016-06-20 18:47:12 +01:00
Frederic Hemberger
fd92752f52
Fix link for spam404scamlist.txt
...
The redirect `http://spam404bl.com/spam404scamlist.txt ` resolves to `https://raw.githubusercontent.com/spam404scamlist.txt/Dawsey21/Lists/master/main-blacklist.txt `, which is wrong.
Instead, use `https://raw.githubusercontent.com/Dawsey21/Lists/master/main-blacklist.txt `directly.
2016-06-20 19:37:58 +02:00
Adam Warner
3c4a305976
Update README.md
2016-06-17 16:05:17 +01:00
Adam Warner
791e5bbd55
Merge pull request #531 from pi-hole/malwareList
...
Update adlists.default
2016-06-16 10:12:30 +01:00
Adam Warner
46df6e7dd3
Update adlists.default
...
Add C&C malware list from #528
2016-06-16 10:11:55 +01:00
Jacob Salmela
9ccf9d57a8
updated dashboard pic
2016-06-13 06:49:03 -05:00
bcambl
fa89bd830a
re-order when SELinux gets configured
...
configure SELinux *after* git clone/pull & file setup and *before* service configuration
2016-06-11 22:33:44 -06:00
bcambl
3ba05d0274
configure static IP on Fedora via sysconfig script
2016-06-11 22:10:12 -06:00
bcambl
0d9a8d70bf
configureSelinux prior to installPihole
2016-06-11 17:28:57 -06:00
bcambl
5c79184d3b
add ifconfig dependency for Fedora install
2016-06-11 17:17:12 -06:00
bcambl
3d619d9ccc
fix iptables udp rule
...
fixes dmesg: ip_tables: udp match: only valid for protocol 17
2016-06-11 17:04:45 -06:00
bcambl
afdf3ae7a1
add sudo package to PIHOLE_DEPS
2016-06-11 16:10:31 -06:00
bcambl
943f7c06b5
uninstaller support for Fedora/CentOS
2016-06-11 15:58:49 -06:00
bcambl
27a9642090
check for sudo via 'command -v' instead of dkpg-query
2016-06-11 15:58:49 -06:00
bcambl
d0b6ff2d08
add udp port 53 to iptables/firewalld configuration
2016-06-11 15:58:49 -06:00
bcambl
97737ee9e3
move SELinux config to installPihole() for logging
2016-06-11 15:58:49 -06:00
bcambl
5e27ccc37c
firewalld: specify ports and use default zone
2016-06-11 15:58:49 -06:00
bcambl
682113892a
enable SELinux boolean for httpd server side includes (SSI)
2016-06-11 15:58:49 -06:00
bcambl
376eb81181
SELinux Support
2016-06-11 15:58:49 -06:00
bcambl
4fc40d96d9
ensure firewalld is running before configuration
2016-06-11 15:58:49 -06:00
bcambl
e6634531c7
basic firewalld/iptables configuration
2016-06-11 15:58:49 -06:00
bcambl
66724826f5
moved php-fastcgi.socket to /tmp on Fedora
...
fastcgi is spawned by lighttpd (lighttpd user).
/var/run is owned by root, so we will put the socket in /tmp
2016-06-11 15:58:49 -06:00
bcambl
04e375a523
enable lighttpd and dnsmasq via systemd
2016-06-11 15:58:49 -06:00
bcambl
65638973ea
correct dhcpcd package name to dhcpcd5
...
move dhcpcd5 to installer dependencies
2016-06-11 15:58:49 -06:00
bcambl
9c26bdd676
ensure fastcgi socket directory and permissions
2016-06-11 15:58:49 -06:00
bcambl
b31931c907
add epel-release for CentOS support
2016-06-11 15:58:49 -06:00
bcambl
c74af2c21f
warn if lighty-enable-mod utility is not available
...
Fastcgi can be enabled via lighttpd configuration.
This step may not be required for all distributions.
2016-06-11 15:58:49 -06:00
bcambl
c160b2e54b
fix lighttpd user/group variables
2016-06-11 15:58:48 -06:00
bcambl
c4234f4542
ensure ownership/existence of /var/cache/lighttpd/compress
2016-06-11 15:58:48 -06:00
bcambl
62fa9c0f6e
fixing whitespace
2016-06-11 15:58:48 -06:00
bcambl
8198f06073
ensure dnsmasq conf-dir is configured for /etc/dnsmasq.d
2016-06-11 15:58:48 -06:00
bcambl
6f2117d786
append '.debian' to lighttpd.conf for compatability
2016-06-11 15:58:48 -06:00
bcambl
b3ec3b487c
add Fedora dependency: lighttpd-fastcgi
2016-06-11 15:58:48 -06:00
bcambl
d67957d015
add fedora lighttpd.conf template
2016-06-11 15:58:48 -06:00
bcambl
94f131a0b7
update deps and package manager variables
2016-06-11 15:58:48 -06:00
bcambl
7af0029175
check for systemctl for systemd service management
2016-06-11 15:58:48 -06:00
bcambl
f4228b04f8
additional fedora dependancies
...
based on current fedora (23 at this moment) docker image
2016-06-11 15:58:48 -06:00
bcambl
ffaf243160
split dependency installations into two separate functions
...
- installerDependencies:
- updates the package manager list/cache
- installs dependencies for install script
- checkForDependencies:
- install dependencies for Pi-Hole
2016-06-11 15:58:48 -06:00
bcambl
29d48bbd9a
move IP/route discovery to a function
...
Defer use of 'ip' utility until after install script dependencies have been satisfied.
2016-06-11 15:58:48 -06:00
bcambl
37dda79db2
install dependencies for install script
2016-06-11 15:58:48 -06:00
bcambl
063e3e85e1
Fedora compatibility variables and dependencies
2016-06-11 15:58:41 -06:00
bcambl
42afaa9f66
remove dpkg-query dependency from sudo check
2016-06-11 15:53:46 -06:00
Jacob Salmela
366fcf76f6
simplified and new additions
...
I tried to simplify the readme page a bit. I also added some new links to some helper videos and added some screenshots of the whitelist editor.
2016-06-11 15:05:11 -05:00
Jacob Salmela
72e8ec7d93
Merge pull request #515 from pi-hole/development
...
Next Release 2.7
2016-06-11 13:53:58 -05:00
Jacob Salmela
13a479a9f6
tell user to run as root
...
since you can't install sudo as a non-root user, the script needs to be
run as root in order to install it.
2016-06-11 13:21:08 -05:00
Jacob Salmela
1194e48bd8
install sudo
...
sudo is needed for the sudoers file to work, which is how the Web
interface executes the pihole commands.
2016-06-11 13:08:43 -05:00
Jacob Salmela
1e0666d1ef
make folder so file can be deployed
2016-06-10 18:51:38 -05:00
Jacob Salmela
1c53ad6876
mcat is smarter than me
...
He already added this.
2016-06-10 18:20:53 -05:00
Jacob Salmela
dc2a537f6b
copy sudoers file
...
necessary for Web interface white/black list functionality.
2016-06-10 17:47:27 -05:00
Adam Warner
a5d3022e9f
Merge pull request #522 from crazy-max/development
...
Update URL for Windows 10 Telemetry list
2016-06-03 16:22:58 +01:00
crazy-max
4541da1f17
Update URL for Windows 10 Telemetry list
2016-06-03 17:10:36 +02:00
Mcat12
a16cd9aef7
Merge pull request #469 from pi-hole/web-sudo
...
Give WebUI permissions to run pihole commands
2016-05-26 18:45:04 -04:00
Mcat12
6cf446032f
Show web interface URL after install
2016-05-25 18:55:36 -04:00
Mcat12
3fda2d9ac3
Fix helpfunc not found error
2016-05-25 17:07:12 -04:00
Mcat12
c03268707a
Merge pull request #489 from pi-hole/development
...
Next Release
2016-05-22 20:46:40 -04:00
Mcat12
7829e907c9
Merge pull request #511 from crazy-max/development
...
Update URL for Windows 10 Telemetry list
2016-05-22 20:23:04 -04:00
crazy-max
b5529e5138
Update URL for Windows 10 Telemetry list
2016-05-22 01:30:32 +02:00
Adam Warner
d601afcebc
Merge pull request #509 from crazy-max/development
...
New URL for Windows 10 Telemetry list.
2016-05-15 20:12:49 +01:00
crazy-max
892a90bf51
New URL for Windows 10 Telemetry list.
2016-05-15 13:51:35 +02:00
Mcat12
d52a8f08ed
Merge pull request #501 from davidtorcivia/development
...
Fix basic install for Proxmox LXC
2016-05-11 19:12:37 -04:00
David Torcivia
b7e27bf6b4
Fix basic install for Proxmox LXC
...
Fixed basic installer to properly bind to eth0 when install to a Proxmox LXC.
2016-05-11 18:24:43 -04:00
Mcat12
9ee96d6176
Merge pull request #500 from yoosi/remove-toilet
...
Replace toilet with echo in chronometer.sh
2016-05-11 16:53:38 -04:00
Carter Maxwell
c0e1772e21
Replace toilet with echo
2016-05-07 11:44:18 -07:00
Mcat12
62dc160c65
Merge pull request #491 from pi-hole/dont-frame-me
...
Make sure web interface can't be loaded into a frame
2016-05-06 14:30:13 -04:00
Mcat12
f03303e5aa
Add X-Pi-hole header
2016-05-03 11:58:13 -04:00
Mcat12
7bc2844b9d
Remove X-Pi-hole header
...
Also adds `X-Frame-Options: DENY` for the admin directory, so that
an ad can't load it into a frame
2016-05-02 18:51:02 -04:00
Mcat12
ba283755be
Merge pull request #472 from jim-liu/development
...
Save custom IP
2016-05-02 09:32:35 -04:00
Jacob Salmela
2209beff8a
adding links to optimal.com
...
Also added image of Pi-hole's stats from Optimal.com and a bitcoin donation address per some user requests.
2016-04-29 21:09:41 -05:00
Jim Liu
00cc480bc1
Update basic-install.sh
2016-04-26 16:10:51 +08:00
Jacob Salmela
d7de5b2afa
link to pihole menubar
2016-04-23 15:56:14 -05:00
Jim Liu
221b72439b
Update basic-install.sh
2016-04-22 01:46:27 +08:00
Jim Liu
08e6f60941
Update blacklist.sh
2016-04-22 01:42:43 +08:00
Jim Liu
10066209e7
Update whitelist.sh
...
Change piholeIPfile to a permanent location.
2016-04-22 01:41:11 +08:00
Jim Liu
08e95ed606
Update gravity.sh
...
Change piholeIPfile to a permanent location.
2016-04-22 01:40:42 +08:00
Jim Liu
a5ad48aa18
Update gravity.sh
2016-04-21 23:40:44 +08:00
Jim Liu
81fdfcba22
Update whitelist.sh
2016-04-21 23:40:38 +08:00
Mcat12
24de6d6fc9
Allow sudoers file to be uninstalled
2016-04-20 21:43:01 -04:00
Mcat12
aec6fcd00b
Merge branch 'BugFix463' into development
2016-04-20 15:55:26 -04:00
Mcat12
619082dbed
Merge branch 'development' into BugFix463
...
Conflicts:
advanced/Scripts/blacklist.sh
advanced/Scripts/whitelist.sh
2016-04-20 15:54:58 -04:00
Mcat12
09cdf5081c
Install sudoer file
2016-04-17 23:03:12 -04:00
Mcat12
d7abbbfac4
Change mode of sudoer file
2016-04-17 22:49:47 -04:00
Mcat12
c714196647
Add Sudoer file for WebUI
2016-04-17 22:46:06 -04:00
Adam Warner
b702c1d9a8
Merge pull request #468 from mayurkr/mayur-bugfix
...
fixed non execution of the function helpFunc
2016-04-17 17:32:56 +01:00
Mayur Raiturkar
56ac04c48e
fixed helpFunc 2
2016-04-17 18:22:06 +05:30
Mayur Raiturkar
b58519b974
fixed helpFunc 1
2016-04-17 18:21:32 +05:30
Promofaux
ad574f5e90
Replace kill with killall
2016-04-16 15:52:38 +01:00
Promofaux
4941a657bf
remove -s switch, as it turns out it worked afterall.
2016-04-16 12:59:40 +01:00
Promofaux
3d4bff9414
Add -s switch to kill command to increase compatability
2016-04-16 10:56:49 +01:00
Adam Warner
2d03616c10
Merge pull request #460 from pi-hole/LighttpdDebugLogging
...
Added lighttpd error.log to debug output
2016-04-15 21:56:58 +01:00
Adam Warner
fcb9ba08a8
Merge pull request #452 from notracking/patch-2
...
Added hosts-blocklists lists
2016-04-15 21:56:23 +01:00
Adam Warner
77f4126f9b
add root check to whitelist script
2016-04-13 15:51:48 +01:00
Adam Warner
4c890ab202
Add root check to blacklist script
2016-04-13 15:50:48 +01:00
Adam Warner
d10e9b1b6e
add pihole/webui version numbers
2016-04-12 08:47:30 +01:00
Adam Warner
a6bee76581
add location of debug log output file!
2016-04-12 08:24:34 +01:00
nate
2f4f5a6ad2
Added lighttpd error.log to debug output
2016-04-11 18:35:44 -05:00
Adam Warner
3853997295
Merge pull request #451 from pi-hole/development
...
Development of Next release
2016-04-11 12:54:15 +01:00
Adam Warner
76899c9ac5
Merge pull request #459 from pi-hole/BugFix409
...
remove all mentions of spinner
2016-04-11 12:41:42 +01:00
Adam Warner
99a5b3a98a
remove all mentions of spinner
2016-04-11 11:29:14 +01:00
Adam Warner
219aff9a93
Merge pull request #457 from pi-hole/BigFix453
...
Fix whitespace
2016-04-10 21:44:26 +01:00
Promofaux
b6e1b3bff0
Last one, promise! tabs are behaving strangely here...
2016-04-10 21:43:12 +01:00
Promofaux
1ce888e828
more whitespace fixes......
2016-04-10 21:41:46 +01:00
Promofaux
1c10a801dc
Fix whitespace...
2016-04-10 21:39:44 +01:00
Promofaux
48fa83c9ac
Fix whitespace
2016-04-10 21:36:33 +01:00
Adam Warner
31ea3a2757
Merge pull request #456 from pi-hole/BigFix453
...
Fixes issue #453
2016-04-10 21:20:46 +01:00
Promofaux
05e0003555
Fixes issue #453
2016-04-10 21:17:58 +01:00
notracking
be79281418
Added hosts-blocklists lists
...
The hosts-blocklist is a semi-automatically updated list, based on various well known public sources, for more details read: https://github.com/notracking/hosts-blocklists/
Please be aware that one file is for domain blocking and the other file for hostname based blocking, these lists are complimentary and should therefore be used simultaneously.
2016-04-10 16:12:40 +08:00
Adam Warner
01f53f6d6c
Merge pull request #450 from pi-hole/SmallFixesToWhitelistBlacklist
...
Small fixes to whitelist blacklist
2016-04-08 23:03:30 +01:00
Promofaux
107e0404de
Move exit 1
outside of if
block on verbose check to stop dnsmasq reloading
2016-04-08 23:01:13 +01:00
Promofaux
ab99e80333
indent
2016-04-08 23:00:46 +01:00
Promofaux
3154a378a6
Remove clear in DisplayWlist and force verbose to false to tidy up output.
2016-04-08 20:12:30 +01:00
Promofaux
8e04f1c03e
Remove clear in DisplayBlist and forse verbose to false to tidy up output.
2016-04-08 20:11:39 +01:00
Promofaux
c0aadeab3d
fix spelling in name of variable ($versbose -> $verbose)
2016-04-08 20:10:27 +01:00
Promofaux
6c87698f1a
fix spelling in name of variable ($versbose -> $verbose)
2016-04-08 20:10:10 +01:00
Adam Warner
db2e9f8bf3
Merge pull request #447 from 7h3ju57/issue#442
...
Add list option to blacklist and whitelist
2016-04-08 20:07:24 +01:00
Justin Theberge
9a4c5cef86
fix indentations
2016-04-08 10:14:17 -04:00
Justin Theberge
bdfc86f850
fix formatting
2016-04-07 21:58:57 -04:00
Justin Theberge
70dadfba28
add list options requested from issue#442
2016-04-07 21:52:47 -04:00
Adam Warner
01e1e34874
Merge pull request #441 from pi-hole/development
...
Pihole v2.6.1.2. Closes #439
2016-04-06 09:44:04 +01:00
Adam Warner
28a3cbfa87
Merge pull request #440 from pi-hole/Bugfix439
...
fixes #439
2016-04-06 09:42:07 +01:00
Adam Warner
0b480c2d3f
remove redundant else, add ! to if logic.
2016-04-06 09:36:41 +01:00
Adam Warner
391dea445a
Move help output to function, add -h argument
2016-04-06 09:34:05 +01:00
Adam Warner
e074c72130
Move help output to function helpFunc, add -h argument.
2016-04-06 09:32:36 +01:00
Adam Warner
96f3f863e5
Clean up output. Commented out un-needed root/sudo notification
2016-04-06 09:28:24 +01:00
Adam Warner
3877f6fd94
Fix arguments not being passed through to chronometer.sh
2016-04-06 09:27:46 +01:00
Adam Warner
cbbc6df05a
Merge pull request #425 from PiHoleController
...
Fixes spacing issues in whiptail dialogs
2016-04-05 22:26:02 +01:00
Adam Warner
32ff7fb321
Merge pull request #437 from pi-hole/development
...
Hotfix 2.6.1.1 - closes #434
2016-04-05 14:32:32 +01:00
Adam Warner
5537e57eec
Merge pull request #436 from pi-hole/2611Hotfix
...
Fixes #432 . Thanks to @VDRrulez and @jradwan for pointing it out...
2016-04-05 14:30:16 +01:00
Promofaux
9c94af04cc
Fixes #432 . Thanks to @VDRrulez and @jradwan for pointing it out...
2016-04-05 14:22:10 +01:00
nate
834bf30a10
Merged branch development into PiHoleController
2016-04-03 18:05:19 -05:00
nate
22ea384ac8
Fix whiptail spacing
2016-04-03 18:05:11 -05:00