Commit Graph

2023 Commits

Author SHA1 Message Date
10a30344e5 No need to source setupVars, as basic-install.sh is sourced, which sources setupVars itself. Sourception. 2017-02-05 19:29:56 +00:00
1206dda347 testing putting runGravity at a different part of the script 2017-02-05 19:23:04 +00:00
b764d17c64 comment 2017-02-05 19:18:27 +00:00
ba0abdb88d wrap update logic in admin_installed bool check 2017-02-05 19:12:09 +00:00
1428b58dde source setupVars and only check admin repo if it is enabled 2017-02-05 19:07:04 +00:00
e57425df5f 0.0.0.0 instead of pi-holes IP address for redirect purposes 2017-02-04 15:25:11 +00:00
c31b4383e6 add back in code to stop dnsmasq and lighttpd during install. 2017-01-28 21:37:21 +00:00
35828f9cea Source setupvars earlier in update/repair process 2017-01-28 19:05:55 +00:00
90af12fdb8 Remember the [@] 2017-01-28 18:41:37 +00:00
5fede23cf7 trying another tactic 2017-01-28 18:39:15 +00:00
bc4762f270 no need to stop dnsmasq/lighttpt if we're going to reload them at the end anyway. 2017-01-28 16:27:02 +00:00
01429d59bd more web checks 2017-01-28 15:45:14 +00:00
731d15f9b5 don't display web admin info in final dialog if it's not selected 2017-01-28 15:43:33 +00:00
f0bd7fae5c ) not } 2017-01-28 15:32:07 +00:00
f8322cc2d4 use the web install flag. Could be optimised 2017-01-28 15:25:02 +00:00
dfdb9e393b move repo clone to function 2017-01-28 15:15:42 +00:00
bd07d7f32e Only install web dependenices if flag is true 2017-01-28 15:11:39 +00:00
f588c6f93c introduce web toggle flag 2017-01-28 14:40:47 +00:00
d9ec3d2c22 spelling 2017-01-28 14:28:18 +00:00
e2b87759d8 split out web dependencies 2017-01-28 14:27:08 +00:00
cc7c48237c Merge pull request #1177 from pi-hole/fix/validation
Fix CLI domain validation
2017-01-28 00:22:34 +01:00
15037fa888 Typo 2017-01-28 00:17:32 +01:00
d595fef18f Fix regex 2017-01-28 00:15:06 +01:00
be5fa22b6f Merge pull request #1174 from pi-hole/tweak/logrotate_insecure_directory
Improve logrotate support
2017-01-27 11:18:06 -08:00
a5c6bbeee7 Merge pull request #1173 from pi-hole/tweak/domainfilter
Improve CLI domain filter
2017-01-27 11:16:18 -08:00
094a645e60 Merge pull request #1176 from pi-hole/tweak/remove-pihole-s
remove pihole -s flag
2017-01-27 17:20:12 +01:00
51acdfa633 remove pihole -s flag 2017-01-27 10:12:51 -06:00
2c16a75ef1 Use stat to get owner of /var/log 2017-01-27 14:28:59 +01:00
6fd7e0311c Install customized version of logrotate script 2017-01-27 14:16:24 +01:00
1bcf2dd0fc Tweak CLI domain filter 2017-01-27 00:45:57 +01:00
9a3cf949cf Merge pull request #1149 from pi-hole/tweak/firewall_warning
Add warning to firewall configuration
2017-01-27 00:03:41 +01:00
cec214f900 User decline to install shouldn't be an error return. 2017-01-26 14:38:02 -08:00
dad669d68b Merge pull request #1172 from pi-hole/tweak/readme-youtube
Put new video into README
2017-01-25 21:30:12 -06:00
561f40d97e replace youtube links with new explainer video 2017-01-25 20:19:06 -06:00
0bbe0aed83 Last of the IPTables tests, new test rig is operating. 2017-01-24 20:09:10 -08:00
b16f797317 firewall-cmd --state returns 0 on 'running' non 0 on 'not running',
so check retval and not text returned.

FirewallD conversion to multicall

IPTables test
2017-01-24 19:57:31 -08:00
4bb71ae046 IPtables tests.
mock commands for iptables check.

Test setting IPTables ruleset.

Test setting IPTables ruleset.

Test for already configured IPTables rules.

Test for addition of iptables rules.

Can only mock so deep in the commands.
2017-01-24 13:42:51 -08:00
679b098aa7 No firewall enabled test. 2017-01-24 12:04:45 -08:00
e0e88fdb52 Start IPTables test, get baseline for commands in the container. See
what we have to mock to start testing.
2017-01-24 11:58:22 -08:00
8bba3a257c Merge branch 'tweak/firewall_tests' into tweak/firewall_warning 2017-01-24 11:51:41 -08:00
8529c1287f Full test suite for firewallD configuration. 2017-01-24 11:03:37 -08:00
9c7f7756b4 Revert second test. 2017-01-23 19:03:00 -08:00
f1cfb16bf9 Test firewallD enabled and disabled. 2017-01-23 18:59:48 -08:00
95796e1978 Only expect text output, not the leader ::: 2017-01-23 18:52:05 -08:00
968b981ecb Try mocking whiptail 2017-01-23 18:47:52 -08:00
3aeb378b56 Fix moved incorrect blocks. 2017-01-23 18:21:50 -08:00
28bafe7427 Rename test for firewallD, running state. 2017-01-23 18:14:40 -08:00
1317b67657 Attempt at modifying firewall rules for testing. 2017-01-23 18:13:18 -08:00
3f462c771f Merge pull request #1166 from pi-hole/tweak/momentOfClarity
Transparency in `sudo` refire.
2017-01-23 16:41:21 -08:00
31aa42c35e Transparency in sudo refire. 2017-01-23 14:28:56 -08:00