Commit Graph

  • 72015b0226 reduce complexity and un needed cat diginc 2016-11-01 23:00:14 -05:00
  • f8e9726922 source setupVars and check for the correct variable Jacob Salmela 2016-11-01 19:01:48 -05:00
  • 884363bd05 remove ipv6 check since it's already in setupVars Jacob Salmela 2016-11-01 19:01:28 -05:00
  • bdd240ecb6 Shellcheck catch for always true expansion. Dan Schaper 2016-11-01 15:36:27 -07:00
  • 04da292df9 Missed one spinner, updated and exit script if github is unreachable. Dan Schaper 2016-11-01 12:17:38 -07:00
  • 85b8676b8e Remove spinner, no functions here should last that long, and it masks a few potential exit avenues. Dan Schaper 2016-11-01 12:16:46 -07:00
  • 114bc13c23 Specify path, cron may not know where the files are located. Dan Schaper 2016-11-01 12:03:26 -07:00
  • 5fef5f1ed4 Break down is_repo to make sure it does what is expected. Dan Schaper 2016-11-01 11:54:14 -07:00
  • 807b60b0e6 Missed the second reinstaller.... Dan Schaper 2016-11-01 11:44:16 -07:00
  • fbc800e556 If unattened reinstall fails, notify user and exit script immediately. Dan Schaper 2016-11-01 11:42:18 -07:00
  • 1991ee7a7d Google Style Guide. readonly and cap constants. Dan Schaper 2016-11-01 11:36:44 -07:00
  • ffbfadbccf Detail what the script does. Dan Schaper 2016-11-01 11:33:04 -07:00
  • c3e2bce956 Variables declared as strings, make sure they are strings when we use them in functions. Dan Schaper 2016-11-01 11:26:57 -07:00
  • 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. Dan Schaper 2016-11-01 11:18:41 -07:00
  • 1e7e5230cc Clarify what exactly is being called and the expected returned value format Dan Schaper 2016-11-01 11:15:21 -07:00
  • f1efc97357 Clairfy condition to make sure they operate as per the specs of the logic flow layout. Dan Schaper 2016-11-01 11:04:33 -07:00
  • fb5ac6d6d7 We should prefer the php metapackage if it's there, falling back on php5 if it's not Eric Warnke 2016-10-31 21:31:13 -04:00
  • 4e7ca51beb Added dependancy for ping and lsof used in debug scripts Eric Warnke 2016-10-31 21:24:57 -04:00
  • d561600a31 Merge pull request #863 from brontide/wheezy_fix2 Adam Warner 2016-10-31 22:35:46 +00:00
  • 024e843998 Merge pull request #884 from pi-hole/PromoFaux-patch-2 Adam Warner 2016-10-30 17:17:53 +00:00
  • 126f275e18 Update pullapprove into master Adam Warner 2016-10-30 17:15:35 +00:00
  • c65e5ff8e0 Merge pull request #882 from pi-hole/feature/DiscourseREADME Dan Schaper 2016-10-30 08:05:48 -07:00
  • ef13e67572 Update README.md Dan Schaper 2016-10-30 07:11:34 -07:00
  • 7920fcbb5e Add linux.die.net links Dan Schaper 2016-10-30 07:09:03 -07:00
  • fa36fdeb03 Update README Dan Schaper 2016-10-30 07:06:27 -07:00
  • c143b5ccb4 Merge pull request #881 from pi-hole/feature/doc-update Adam Warner 2016-10-30 14:04:30 +00:00
  • 05c8406fca Update last modified date for adlist Dan Schaper 2016-10-30 06:37:36 -07:00
  • 69e3a45083 Merge pull request #874 from pi-hole/development v2.9.5 Dan Schaper 2016-10-29 17:01:51 -07:00
  • 45259b6ec6 Merge branch 'master' into development Dan Schaper 2016-10-29 16:59:02 -07:00
  • d6fe48112c Merge pull request #857 from pi-hole/feature/debugUpdate Adam Warner 2016-10-29 23:15:07 +01:00
  • dcf6e6b14d Clarify user action required to end the scripts. Dan Schaper 2016-10-29 12:24:22 -07:00
  • 908697a963 User token instructions, and small bugfix for missing separator. Dan Schaper 2016-10-29 12:04:18 -07:00
  • bdaf961196 Merge pull request #876 from brontide/list_fix Dan Schaper 2016-10-29 07:15:22 -07:00
  • 6bd5d9b1a4 Merge pull request #879 from pi-hole/PromoFaux-patch-2 Dan Schaper 2016-10-29 07:13:26 -07:00
  • beb0dae5a7 Update README.md Adam Warner 2016-10-29 14:46:09 +01:00
  • fad2d6b1d1 Return values start showin up now. Logic operators too... Dan Schaper 2016-10-28 15:53:18 -07:00
  • 9cd830b6aa Start to refine tests and clean up code. Dan Schaper 2016-10-28 15:37:45 -07:00
  • d9a16b0ff4 Clear up bottom half of script with fewer redundenicies. Dan Schaper 2016-10-28 15:25:06 -07:00
  • cb5c94ef5e Sorry, left that gravity.list parser in. Big debug files. Cleared that up. Dan Schaper 2016-10-28 15:13:04 -07:00
  • 85fbd66871 Good commit point, number of changes Dan Schaper 2016-10-28 14:52:08 -07:00
  • 3da75d6125 Grep was leaking a file not found if blacklist didn't exist Eric Warnke 2016-10-28 17:28:04 -04:00
  • d4a3a5c180 Trying to implement The Brontide Idiom for design. Dan Schaper 2016-10-28 10:42:30 -07:00
  • 65e0fcbf10 Merge branch 'development' of https://github.com/pi-hole/pi-hole into wheezy_fix2 Eric Warnke 2016-10-28 13:14:00 -04:00
  • e22aca49c8 Merge pull request #813 from das7pad/development Dan Schaper 2016-10-28 10:05:08 -07:00
  • 71e3a473d6 Fix = underbar Dan Schaper 2016-10-28 07:16:16 -07:00
  • c2cfc09f63 Clean up more of the UX and log. Lots to go. Dan Schaper 2016-10-28 07:06:05 -07:00
  • cbfad28f7e Merge pull request #873 from pi-hole/PromoFaux-patch-2 Dan Schaper 2016-10-28 07:04:53 -07:00
  • 6a4a468022 Create .codeclimate.yml Adam Warner 2016-10-28 15:02:03 +01:00
  • 01f10b56e8 Refactor out some more reudndant code. Dan Schaper 2016-10-28 06:51:30 -07:00
  • 90ec0a610e Tricorder is introduced. Dan Schaper 2016-10-28 04:42:45 -07:00
  • 42bff1ce1b Move parse utility to be near other parsing functions. Dan Schaper 2016-10-28 03:53:53 -07:00
  • e3c7a1f31f Top half user output updated. Dan Schaper 2016-10-28 03:49:03 -07:00
  • 0debbffa70 Add a couple of parsing utility functions. Dan Schaper 2016-10-28 03:45:07 -07:00
  • 473b58d26d Merge pull request #704 from stonedbovines/development Jacob Salmela 2016-10-27 20:22:46 -05:00
  • 7e9498f04c Merge pull request #869 from pi-hole/feature/listen-address-1 Adam Warner 2016-10-27 19:59:58 +01:00
  • 300001e766 Remove listen-address directive Dan Schaper 2016-10-27 11:56:16 -07:00
  • 21fc6344bf Merge pull request #849 from pi-hole/aManHasNoNameResolution Adam Warner 2016-10-27 19:41:07 +01:00
  • a38edd891f Merge pull request #867 from pi-hole/gravTweaks Adam Warner 2016-10-27 18:09:28 +01:00
  • 794fa21137 install uninstall.sh... Promofaux 2016-10-27 12:44:21 +01:00
  • 977d1d1998 Merge branch 'development' of https://github.com/pi-hole/pi-hole into wheezy_fix2 Eric Warnke 2016-10-27 07:37:40 -04:00
  • cde003bc98 \ all the /s! Promofaux 2016-10-27 11:13:00 +01:00
  • 9e4e1d1cb2 improve comments Promofaux 2016-10-27 11:09:24 +01:00
  • 60142cd960 remove reference to whitelist.sh (no longer exists) replace with pihole -w Promofaux 2016-10-27 11:06:11 +01:00
  • f9570a82cc Remove glitchy daemon detection. Dan Schaper 2016-10-27 00:58:24 -07:00
  • 36285ead57 Just becuase this is bugging me, but I'll fix it later. Dan Schaper 2016-10-27 00:32:18 -07:00
  • 13e488dace Daemon check for lighttpd and dnsmasq. Dan Schaper 2016-10-27 00:30:51 -07:00
  • f169da8fd0 Set for quiet temporarily. Dan Schaper 2016-10-26 14:48:11 -07:00
  • 60741298b7 Cut more verbosity. Prep for lsof parsing and daemon tests. Dan Schaper 2016-10-26 14:33:47 -07:00
  • f73734acb0 Only check IPv6 Gateway if it exists. Dan Schaper 2016-10-26 13:57:57 -07:00
  • fc360abe43 Only check IPv6 if system is enabled. Dan Schaper 2016-10-26 12:22:20 -07:00
  • 3996e11425 Merge pull request #859 from pi-hole/ImproveWhitelistBlacklist Adam Warner 2016-10-26 19:52:16 +01:00
  • 3a4fe3e391 Wheezy install fix by selecting appropriate deps, made the php check the same Eric Warnke 2016-10-26 14:47:29 -04:00
  • 98db002770 Tighten IP test reponse to user. Dan Schaper 2016-10-26 11:38:19 -07:00
  • 7c89b6934a Merge pull request #860 from brontide/screen_detection Dan Schaper 2016-10-26 11:06:43 -07:00
  • 380a19274d Merge pull request #861 from brontide/lighttpd_bug2526_fix Adam Warner 2016-10-26 19:04:20 +01:00
  • f1c1caf7bd url.rewrite does not work in $HTTP block lighttpd bug #2526 Eric Warnke 2016-10-25 14:48:32 -04:00
  • e2997b8135 Due to lighttpd bug 2526 the url.rewrite for javascript must be placed outside of the $HTTP block or it will never evaluate. Eric Warnke 2016-10-25 14:46:26 -04:00
  • 4ed6e4d016 Tiny screens get sane minimums Eric Warnke 2016-10-26 10:44:15 -04:00
  • ac8d24a1ce Even with no detected screen size, it should presume 80x24 Eric Warnke 2016-10-26 10:08:23 -04:00
  • fc776921d5 stty is more compatible and does not require any additional dependancies for busybox Eric Warnke 2016-10-26 09:59:22 -04:00
  • 55a653aca4 clear out /opt/pihole folder before installing scripts Adam Warner 2016-10-26 10:00:00 +01:00
  • 0d6a6b97f9 remove whitelist and blacklist scripts Adam Warner 2016-10-26 09:56:45 +01:00
  • 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. Adam Warner 2016-10-26 09:36:02 +01:00
  • bc077acfb8 Merge pull request #853 from pi-hole/gravFix Dan Schaper 2016-10-25 21:57:47 -07:00
  • 4269626f5d Attribute source for bashism. Dan Schaper 2016-10-25 21:53:41 -07:00
  • 8fa897aadb Add back in sourcing files (setupVars.conf) and tweak ip_check Dan Schaper 2016-10-25 21:39:28 -07:00
  • f549618d12 Move environment IPv6 interface check to ip_check and fix IPv6 source routing issue. Dan Schaper 2016-10-25 21:25:57 -07:00
  • 2fa47aaf31 Source routing is deprecated by RFC5095 Dan Schaper 2016-10-25 20:53:18 -07:00
  • b0874fb23a Temporarily get rid of gateway sourcing from setupVars, temporarily. Dan Schaper 2016-10-25 19:53:00 -07:00
  • fb70fd77e8 Prototype version_check, add helper functions for logging and echo. Dan Schaper 2016-10-25 17:50:14 -07:00
  • 01f17f9cbb Reduce header verbosity. New header writer. Dan Schaper 2016-10-25 17:19:33 -07:00
  • 4c853defb2 add if traps to check for existence of whitelist.txt / blacklist.txt Promofaux 2016-10-25 22:27:35 +01:00
  • bd0db56ba0 actually fix up logic Adam Warner 2016-10-25 15:29:02 +01:00
  • 95f0b3710d fix up logic Adam Warner 2016-10-25 15:27:13 +01:00
  • e0ac109dd1 remove hostname insertion into gravity.list from gravity.sh Adam Warner 2016-10-25 15:07:29 +01:00
  • 86349527e7 replace HOSTNAME tokens in 01-pihole.conf Adam Warner 2016-10-25 15:06:37 +01:00
  • 18005ceee8 add hostname lines in 01-pihole.conf Adam Warner 2016-10-25 15:03:49 +01:00
  • 7653b3d088 Remove pi.hole references in gravity.sh Adam Warner 2016-10-25 15:01:16 +01:00
  • 911053f63f Replace IPv4 and IPv6 tokens in 01-pihole.conf for pi.hole resolution. Adam Warner 2016-10-25 15:00:18 +01:00
  • eb52f81a5c add pi.hole entries to 01-pihole.conf Adam Warner 2016-10-25 14:54:10 +01:00