Commit Graph

981 Commits (4cfe463dfaf2be13dc499e3b9b9dab79e45b56a1)

Author SHA1 Message Date
Rob Gill 20ccb7b558
move & clarify comments
6 years ago
Rob Gill 8cfe89604a
user-facing messages
6 years ago
Rob Gill c400b914e5
Update basic-install.sh
6 years ago
Rob Gill a431c829cb
Regex & case fix
6 years ago
Rob Gill 25d0e125e5
relocate as function
6 years ago
Rob Gill b89a78ce17
message text
6 years ago
Rob Gill adf2275018
unbind resolved on ubuntu 18.04
6 years ago
bcambl ec3802c180 add 'which' dependency (missing on Fedora minimal)
6 years ago
Adam Warner 76654c7856
Actually check for dnsmasq's existence before attempting to interact with it's service
6 years ago
Adam Warner a6e4b0fea5
- Test for existence of remote non-master branch of FTL before attemtping to check for update
6 years ago
bcambl 8ad37af70e CentOS install re-worked to include PHP7 via Remi repository
6 years ago
Adam Warner a07891e3e6
0 is not 1!!
6 years ago
Adam Warner e946a35b18
Move dnsmasq check into FTLcheckUpdate
6 years ago
Adam Warner 68d7337f98
switch up dnsmasq detection logic
6 years ago
Adam Warner 8b4198fd8d
Merge pull request #1835 from Fauxsys/development
6 years ago
Adam Warner e17e69604c
Merge branch 'development' into new/RemoveDefaultBlocklists
6 years ago
Adam Warner 0c8a32b9ae
No need to stop services
6 years ago
Adam Warner d8c60aaae7
Merge pull request #2142 from bcambl/fix_fedora_ip_check
6 years ago
Adam Warner 3216d65353
Merge branch 'development' into new/RemoveDefaultBlocklists
6 years ago
bcambl 1d8ea9e869 Fix static IP checking on Fedora
6 years ago
Adam Warner 8ead0b5483
@fourdee dropped this: `/`
6 years ago
Fauxsys 72c081cfd6 Fix for unattended installations #1767 #1768 #1834
6 years ago
Dan acfc49fd41
Merge branch 'development' into Install-Web-Server
6 years ago
Daniel (Fourdee) 60bcca54eb Minor
6 years ago
Daniel (Fourdee) eccea8a911 Minor
6 years ago
Michele Bologna 55fce489bc Fix: add psmisc as dependency
6 years ago
Daniel (Fourdee) c2c1dc7469 Ensuring bot pleasure
6 years ago
Daniel (Fourdee) 47c1071bb8 Minor
6 years ago
Daniel (Fourdee) e401651f09 Update https://github.com/pi-hole/pi-hole/pull/2115
6 years ago
Adam Warner 7455ac9bfb
Run chooseBlocklists on EVERY reconfigure, not only if the adlist file does not esist.
6 years ago
Adam Warner b6b1dcb275
delete adlists.list if user cancels out of this dialog
6 years ago
Adam Warner 2e4f49a223
Default all to on, change up wording. This commit can be rolled back, it's just an option!
6 years ago
Adam Warner 88d4108f92
- Add new whipstail to choose from example blocklists on new install
6 years ago
Daniel (Fourdee) 3a483a1b20 install_web_server
6 years ago
Adam Warner 310d33b8ee
Merge dev > FTLDNS fix merge conflicts
6 years ago
Mark Drobnak 331472b592
Merge pull request #1999 from pi-hole/tweak/RedundantInstallCode
6 years ago
Adam Warner f37b2bc7c1
move call to `get_binary_name` into `FTLcheckUpdate()` to avoid having to run that first
6 years ago
Adam Warner b1d6c03190
Break out binary name funtion to it's own function
6 years ago
Everett Southwick a8b493cb7d Add support for public Cloudflare DNS servers.
6 years ago
Mark Drobnak a1d6ef04ec
Merge pull request #1758 from mettacrawler/fix-for-RHELish-ifcfg
6 years ago
Adam Warner 238a56cac3
Remove CreateLogFile function, as this is handled by the FTL service
6 years ago
Adam Warner 51765b1f65
chown pihole log to pihole:pihole, rather than pihole:root
6 years ago
Mark Drobnak e131395cce
Merge pull request #2037 from justinamcafee/master
6 years ago
Adam Warner d26ea2b948
remove trailing whitespace
6 years ago
Adam Warner e2e8b733a8
tidy up function
6 years ago
Adam Warner f18bf35b20
use `systemctl is-enabled` to check enabled status of service
6 years ago
Adam Warner 44d8cb77e3
Kill off `mask_service` function
6 years ago
Adam Warner b92ccb2de4
Additionally `mask` the dnsmasq service on systems with systemctl
6 years ago
justinamcafee 30af6e73be
added ;; to line 825
6 years ago
justinamcafee 2895b9bfb7
Added support for FamilyShield from OpenDNS
6 years ago
Adam Warner 84bd86f1ee
- Test to see if dnsmasq service is enabled before stopping and disabling it.
6 years ago
Adam Warner 7193f40b87
remove libnettle, missed a >/dev/null
6 years ago
Adam Warner acd69fa4b0
silence push/popd
6 years ago
Adam Warner 6584933e92
fix stickler complaints
6 years ago
Adam Warner 8cf8da4c78
- Check file /etc/pihole/ftlbranch for current FTL branch, download from github if master, or pi-hole.net if other
6 years ago
Adam Warner cadab61a21
Merge branch 'development' into FTLDNS
6 years ago
Dan Schaper 3425b9a82e
Fix mktmp > mktemp
6 years ago
DL6ER fcdc85eab8
Remove dnsmasq from dependencies
6 years ago
Dan Schaper 4606693e62
Use pushd/popd and create random temporary directory to prevent potential backdoor binary injection.
6 years ago
Adam Warner e61d8e4fb8
adlists.default no longer used. No need to reference it.
6 years ago
DL6ER 8b79017d0f
Always replace pihole-FTL.service
6 years ago
DL6ER 5465ac9ba0
Merge pull request #1929 from pi-hole/fix/flushDB
6 years ago
Mark Drobnak 3472241289
Merge pull request #1962 from floek/master
6 years ago
Florian Freund a944b6ff79 Fixes https://github.com/pi-hole/pi-hole/issues/1772
6 years ago
Sebastian Pucilowski c5a2ca5c98 Trivial spelling mistakes in basic-install.sh comments
6 years ago
Elias Ojala 2b6d9c34c9 Fixed a typo
6 years ago
DL6ER 158ea1d43b
Add sqlite3 dependency
6 years ago
Mark Drobnak 535b8458d4
Merge pull request #1901 from bcambl/epel_check
6 years ago
Dan Schaper 9543203610
Echo the right location for the log.
6 years ago
Dan Schaper cacfe4d387
Linting changes
6 years ago
Dan Schaper a7f0137e5f
Use more secure installation log process.
6 years ago
Dan Schaper b2eb364a4b
Update header
6 years ago
Dan Schaper bb3b1bc6ba
Move ascii berry to after root check, stops the double berry for the sudo refire.
6 years ago
bcambl cc47bf8f6c Fix epel-release install for CentOS
6 years ago
DL6ER a154f1540f
Merge pull request #1778 from loganaden/development
6 years ago
DL6ER 677033afca
Force update of "remote" part in th update checker (may take up to 24hrs for new installs otherwise)
6 years ago
Adam Warner 95e5baa967
Source setup vars before we attempt to do anything on an update/repair
6 years ago
DL6ER f89f7ecd3e
Randomize GitHub API update check time
7 years ago
Dan Schaper 29ee8250e9
Change package install notification from CROSS to TICK.
7 years ago
Dan Schaper 863ea7294f
Merge pull request #1815 from pi-hole/release/3.2
7 years ago
bcambl f89d69b081 check NetworkManager status prior to using the cli (#1653)
7 years ago
Adam Warner 79aada0b87
travis didn't like that
7 years ago
Adam Warner 69dc22c10f
fix some codacy and intelliJ idea complaints
7 years ago
Adam Warner dd6a9a0b84
supress output of `which command` on centos/fedora as per https://github.com/pi-hole/pi-hole/pull/1776#discussion_r155156819
7 years ago
Adam Warner 945dcc6c2b
Indent two spaces as per https://github.com/pi-hole/pi-hole/pull/1776#discussion_r155157116
7 years ago
Adam Warner f60791ac7c
Add dependencies as per https://github.com/pi-hole/pi-hole/pull/1776#discussion_r155149349
7 years ago
Adam Warner b64155a165
Add in an extra check to enable lighttpd.
7 years ago
Loganaden Velvindron 9c8526db49 Add secondary quad9 server
7 years ago
Terror 616962200a
Update the list size to show all the options
7 years ago
Terror eb9c44a347
Add support for Quad9 secure dns server
7 years ago
Jacob Salmela f63267a7f9
Merge pull request #1757 from Mausy5043/development
7 years ago
Jacob Salmela 9631519eb1
Merge pull request #1752 from pi-hole/new/bashupdatechecker
7 years ago
mettacrawler 35dc4800e0
basic-install.sh - no CIDR in ifcfg-*
7 years ago
Mausy5043 ec4e4d3b72 fix indentation
7 years ago
Mausy5043 63312ac4b8 removed duplicate word
7 years ago
Mausy5043 d158a7d51e spelling corrected
7 years ago
Mausy5043 209a2ab3ec grammar corrected (double negative)
7 years ago
DL6ER 06764d0f36
Randomize gravity update time between 03:01 - 04:58 (excluding 04:00)
7 years ago
DL6ER 7362416afb
Force an update of the updatechecker after update/install
7 years ago
DL6ER c34c3eb016
Shift randomized time interval from 00:00-01:59 to 02:00-03:59
7 years ago
DL6ER 85d159bdd1
Randomize gravity update time
7 years ago
WaLLy3K a9ad8d67aa Remove superseded index.js
7 years ago
Mcat12 7884423e05 Merge pull request #1719 from 19wolf/patch-1
7 years ago
Eric Wolf 1615fa63e3 Update basic-install.sh
7 years ago
WaLLy3K feb2150d9b Fix `LIGHTTPD_ENABLED` dupes in `setupVars.conf`
7 years ago
Adam Warner a0bd517380 Merge pull request #1694 from pi-hole/fix/qf-opt
7 years ago
WaLLy3K 911596daf8 Start and enable FTL prior to running Gravity
7 years ago
WaLLy3K d56beedd7a Add idn2 dependency
7 years ago
Adam Warner 5f4be0de35
adjust lighttpd config depending on whether or not custom.php exists
7 years ago
Adam Warner 6c605f55f9
always overwrite default blockpage, so that changes can be rolled out
7 years ago
Adam Warner 6b6d105c2f Merge branch 'development' into sqlite-dependency
7 years ago
WaLLy3K 2f36acae49 Remove errornous space
7 years ago
Adam Warner 64f29120c8
indent nested function in basic-install.sh
7 years ago
Adam Warner d92434b1e9
Merge branch 'development' into sqlite-dependency
7 years ago
Adam Warner 01cd056bcc
Work out correct SQLITE version for php-sqlite
7 years ago
Adam Warner 56f2ea3ec2
Add Fedora/Centos dependency
7 years ago
WaLLy3K fdf2649f2f Clean up known remaining colour output issues (#1613)
7 years ago
Mcat12 b09c660833 Always process DNS and DHCP settings in installer (#1630)
7 years ago
Adam Warner c02a24cf71 Fix/unbreak development (#1635)
7 years ago
Mcat12 a77136bd1d Merge pull request #1600 from pi-hole/tweak/OnlyDownloadFTLNew
7 years ago
Adam Warner a293b5a371
prevent `./automated install/basic-install.sh: line 1886: /usr/bin/pihole-FTL: No such file or directory` on new install, or if pihole-FTL is missing for whatever reason.
7 years ago
Adam Warner 1c93868ae1
Adjust wording of echos
7 years ago
WaLLy3K c9a98b68c8 Avoid reactivating a deactivated lighttpd service (#1485)
7 years ago
Adam Warner edb594461d
Remove CIDR from IPv6 address when detecting it in the install script
7 years ago
Adam Warner bf70c2c660
initial changes to tests to take into account changes to strings
7 years ago
Adam Warner 74b912a0b7
Check if FTL is already installed, do not download if it is detected, and the sha1sum matches the remote
7 years ago
Dan Schaper 2778d88e8a Fix missing `then` clause
7 years ago
Jacob Salmela e7ad972783
fix thre spelling errors
7 years ago
Jacob Salmela 2f939d8c56
fix two spelling errors
7 years ago
Jacob Salmela aad39c5ffc
add comments for nearly every line of code.
7 years ago
WaLLy3K c6ba03802f Add "php5-sqlite" to dependencies
7 years ago
Adam Warner b3eb5c4f0e Colour Tweaks (#1549)
7 years ago
Adam Warner ab1a6d8829 Fix install script using IPv6 CIDR notation (#1570)
7 years ago
Mcat12 0de15f7a97 Merge branch 'development' into patch-1
7 years ago
Adam Warner 536585b846 Colourise Core Output Text (#1471)
7 years ago
Adam Warner ecde222512 [Staging] 3.1 (#1502)
7 years ago
Terror 5b472ff67c Add support for PowerPC architecture
7 years ago
DL6ER 3d7582faec
Delete temporary files after installing the FTL binary. Fixes #1525
7 years ago
DL6ER 8ef64dbe74 Add weekly logrotation of FTL's log (#1509)
7 years ago
DL6ER 01e091fd17 Prefer ULA over GUA addresses [IPv6] (#1508)
7 years ago
WaLLy3K 98fdb95645 Merge pull request #1491 from pi-hole/fix/ResetInRepoDir
7 years ago
DL6ER 3035c9a366 Refine output of password status in basic-install.sh:displayFinalMessage(). Fixes #1488 (#1490)
7 years ago
Dan Schaper 5004cf331a
No need to `cd $PWD` as it doesn't affect flow of caller script.
7 years ago
DL6ER 74eb8c8622
Change directory before trying to reset repository. Fixes #1489
7 years ago
WaLLy3K 2ef87ad110 Retrieve local repos on repair (#1481)
7 years ago
DL6ER c655e6ea73 Install loopback firewall rules for FTL (#1419)
7 years ago
Dan Schaper c793295be0 Merge pull request #1446 from pi-hole/tweak/install_lockcheck
7 years ago
Dan Schaper dfc32b26a6
We test for dpkg lock on line 830 directly, no need for the check also
7 years ago
Adam Warner 89fd962615 Revert "Ensure any changes to blocking page are updated."
7 years ago
Adam Warner a928cd3fa1 Merge pull request #1437 from pi-hole/blockPage
7 years ago
Adam Warner 525a1228c3
clarify
7 years ago
Adam Warner 19fd25c7cd
revert line, looks tidyer
7 years ago
Adam Warner 5b0927ca4b
tidy up output
7 years ago
Adam Warner 324d4433c3
even further simplify
7 years ago
Adam Warner 615ca56ea3
fix inteliJ IDEA complaints
7 years ago
Adam Warner 41dd163453
further simplify
7 years ago
Adam Warner 5cd2c77d98
simplify
7 years ago
Adam Warner f270f7430c
Update block page. Allow for setupVars setting of CUSTOMBLOCKPAGE (bool) to prevent it being overwritten
7 years ago
Dan Schaper 99b23627d0 Update basic-install.sh
7 years ago
Adam Warner b13171cc45
$1 is not $pw. Seriously, who let me onto this project
7 years ago
Adam Warner 9c645e2010
Seriously.
7 years ago
Adam Warner bb6f409e89
dropped a "
7 years ago
Adam Warner 61ec7723f6
use function in install script
7 years ago
Adam Warner 9c136a5579
functionise Hashing
7 years ago
Adam Warner a5733508ae
Double hash the password directly in the install script
7 years ago
Dan Schaper 8c657910ae Merge pull request #1280 from technicalpyro/development
7 years ago
Mcat12 57e8b7f924 Merge pull request #1355 from pmo3/development
7 years ago
DL6ER 474881e4c7 Merge pull request #1346 from pi-hole/varChanges
7 years ago
Flo 7e0aa822b6 Match the Pi-hole brand (#1358)
7 years ago
Patrick O'Brien 94f15f1b3c Merge remote-tracking branch 'upstream/development' into development
7 years ago
Patrick O'Brien ee296f36c1 mask password input on command line
7 years ago
Dan Schaper af1d1bd9c2
One more change
7 years ago
Dan Schaper f32ad7699d Merge pull request #1320 from georou/development
7 years ago
Dan Schaper 79294bb6ca Merge pull request #1332 from pi-hole/varChanges
7 years ago
Dan Schaper 2834f2ccc2
Let `ip` determine which links are candidates.
7 years ago
georou 0d794226ab Removed unsupported POSIX brace expansion
7 years ago
Adam Warner 83662c9e50
additional requested changes
7 years ago
Adam Warner 6c1d52199f
Merge branch 'master' of https://github.com/jftuga/pi-hole into jftuga-master
7 years ago
John Taylor 76bd53ef1f replace instances of "/etc/.pihole" with ${PI_HOLE_LOCAL_REPO}
7 years ago
georou e45559da20 Use Firewalld services instead of ports
7 years ago
Jacob Salmela 5e16487ef6
add ascii berry to beginning of installer
7 years ago
DL6ER f2fe84c9d3 Merge pull request #1292 from pi-hole/master
7 years ago
DL6ER f626406685
Revert #1273
7 years ago
Dan Schaper 8776b822db Merge pull request #1287 from pi-hole/fix/update_fail
7 years ago
DL6ER fc76b1a6a3 Merge pull request #1244 from pi-hole/new/FTL-binary
7 years ago
DL6ER 9502356980
Move test_dpkg_lock to initial UPDATE_PKG_CACHE. There was unpredictable interference with debconf-apt-progress
7 years ago
DL6ER a535ca9db4
Some tweaks to the new dpkg lock detector
7 years ago
DL6ER 2c762899de
Add loop to wait if package manager is blocked externally
7 years ago
Dan Schaper 24fd23493d
Exit script immediately if we can't update package cache.
7 years ago
DL6ER 66b7d04b82
Merge branch 'development' into new/FTL-binary
7 years ago
Technicalpyro 93dea7b942 Moved to installers dependencies
7 years ago
Dan Schaper ca24f7c143 Merge pull request #1273 from pi-hole/new/no_fixed_interface
7 years ago
Technicalpyro 697b0295f3 fixes missing dialog package from some ditros
7 years ago
DL6ER ae24f1255f
Bugfix: Delete INSTALL_WEB line before adding new one
7 years ago
DL6ER ec7e75a6e3
Don't save `interface=` line to `dnsmasq`s config file
7 years ago
Jacob Salmela 7a1a2dec67
update license to EUPL on core files
7 years ago
DL6ER af2893d2ce
Updater implementation for FTL
7 years ago
Dan Schaper 4dcee5cd84
`arch` is not portable.
7 years ago
DL6ER 1645677c3a
Cosmetics
7 years ago
DL6ER 77b3764481
Remove resundant code (FTL will later be enabled by enable_service)
7 years ago