Commit graph

  • 3cf6a65da9 Remove *.yml ignoring Dan Schaper 2016-11-02 11:32:53 -0700
  • c1a3f003e8 Rename the only utilty function left that didn't say repo Dan Schaper 2016-11-02 11:18:13 -0700
  • 3f61aea7fc Utility functions fully quiet now. Calling functions have the echos. Dan Schaper 2016-11-02 11:09:53 -0700
  • bd68db51e0 ShellCheck split local declaration and assignment. Dan Schaper 2016-11-02 11:01:50 -0700
  • b8a5ed710e Take echos out of utility functions and move up a level. Dan Schaper 2016-11-02 10:51:09 -0700
  • 34be601dd7 Test for lexicographically less than tag version. Dan Schaper 2016-11-02 10:42:05 -0700
  • 1d64ad1ccd Stash all changed files, clean directory and pull updates. Dan Schaper 2016-11-02 10:39:27 -0700
  • dfb4ac0365 Keep .yml's from going to user local repos. Dan Schaper 2016-11-02 09:52:15 -0700
  • f2d7a3d26d Merge branch 'feature/defensiveTweaks' of https://github.com/pi-hole/pi-hole into feature/defensiveTweaks Dan Schaper 2016-11-02 09:48:00 -0700
  • 6d415a7384 Merge pull request #894 from diginc/InstallFixes_UnitTests Dan Schaper 2016-11-02 09:42:20 -0700
  • 0ef8832b04 whitespace Dan Schaper 2016-11-02 09:36:30 -0700
  • e42a037b7d Grep -i instead of cat. Dan Schaper 2016-11-02 09:28:00 -0700
  • fe18d69b65 Grep should start at the beginning of line to make sure it doesn't fire on # beginning lines. Dan Schaper 2016-11-02 09:25:32 -0700
  • a1a9a7fa9e Clarify which DNS entry we are modifying. Dan Schaper 2016-11-02 08:52:23 -0700
  • 07029f93e3 Match team convention in naming. Dan Schaper 2016-11-02 08:34:56 -0700
  • e99ef9c093 Cap the variables and echo out the proper environment. Dan Schaper 2016-11-02 08:22:45 -0700
  • fef9ab674e Pi-hole CORE installer variables are being changed to standardize scripts. Dan Schaper 2016-11-02 07:53:02 -0700
  • ee37c37cab fix update output logic. version number variables should not be read only! Adam Warner 2016-11-02 14:29:20 +0000
  • b636c1e1f8 Whitespace. Dan Schaper 2016-11-02 07:00:43 -0700
  • 8b9f0487c0 Merge branch 'feature/defensiveTweaks' of https://github.com/pi-hole/pi-hole into feature/defensiveTweaks Dan Schaper 2016-11-02 06:57:33 -0700
  • a6cbd5a2fd Merge pull request #895 from pi-hole/Feature/defensiveTweaks Adam Warner 2016-11-02 13:42:24 +0000
  • ece1667fb0 Refactor and move some bits. Dan Schaper 2016-11-02 06:41:51 -0700
  • 50bd8b4a09 Further tweaks to local repo handling Adam Warner 2016-11-02 13:34:57 +0000
  • 93d91353a1 All tabs now spaced Dan Schaper 2016-11-02 05:49:33 -0700
  • 8dc9143b34 Just delete, no need to cd there first. Dan Schaper 2016-11-02 05:45:29 -0700
  • a0d9a1133c Factoring and combining functions Dan Schaper 2016-11-02 05:34:39 -0700
  • 7740e4268c Consistency and standards basic-install start. Dan Schaper 2016-11-02 05:17:28 -0700
  • f36e4ba336 Cherry picking 3f049fa79, conflict fix Adam Warner 2016-11-02 09:35:48 +0000
  • 3df2ef8587 Cherry picking f6f6f6d, conflict fix Adam Warner 2016-11-02 09:33:17 +0000
  • 354309fcad set QUERY_LOGGING default to true Adam Warner 2016-11-01 16:46:54 +0000
  • e832bfc61e Merge branch 'feature/defensiveTweaks' of github.com:pi-hole/pi-hole into feature/defensiveTweaks Dan Schaper 2016-11-02 04:22:29 -0700
  • 99057ed859 Update var names from setupVars.conf in gravity.sh Adam Warner 2016-11-01 09:47:31 +0000
  • c47c5e466f consistency Adam Warner 2016-11-01 09:48:21 +0000
  • edd00e8e70 consistency Adam Warner 2016-11-01 09:45:22 +0000
  • 82e7de2aaa Account for variable name changes Adam Warner 2016-11-01 09:36:59 +0000
  • b723714c0c Convention : https://google.github.io/styleguide/shell.xml?showone=Constants_and_Environment_Variable_Names#Constants_and_Environment_Variable_Names Adam Warner 2016-11-01 09:33:39 +0000
  • a2903b6e63 Consistency Adam Warner 2016-11-01 09:32:57 +0000
  • 9a1876571b Prototype whiptails so they don't fall to shell. Need to do this to all functions. Dan Schaper 2016-10-31 16:55:10 -0700
  • c07d7165ab Global variables CAP'ed Dan Schaper 2016-10-31 16:49:40 -0700
  • d695c5972f local variables just to be safe and make sure they stay in this function. Dan Schaper 2016-10-31 16:48:58 -0700
  • bbc09ed313 Swap variable names. Dan Schaper 2016-10-31 16:48:02 -0700
  • 1d21b0da9a enable or disable logging from pihole command Promofaux 2016-10-31 22:02:20 +0000
  • 617a147706 Wording adjustment Promofaux 2016-10-31 21:40:20 +0000
  • d4dccfdb2d Cherry pick 229439c Promofaux 2016-10-31 21:38:48 +0000
  • 035e4bf727 Move value checks to if calls. Dan Schaper 2016-11-02 03:55:04 -0700
  • 9ec5bbd560 Actually get is_repo to return a value and have it expected. Dan Schaper 2016-11-02 03:38:35 -0700
  • 34482c5ed6 Modified is_repo Dan Schaper 2016-11-02 03:09:59 -0700
  • 5b1b6f36fd Merge 3f049fa798 into d561600a31 Adam Warner 2016-11-02 09:35:53 +0000
  • 3f049fa798 flush logs when disabling logging Adam Warner 2016-11-02 09:35:48 +0000
  • f6f6f6d7fe re-export setupVars.conf to account for any new vars added in new versions Adam Warner 2016-11-02 09:33:17 +0000
  • fadb886d30 fix return on is_repo() function to stop it always returning 0 Adam Warner 2016-11-02 09:28:36 +0000
  • 7d414b5628 Move version messages to main function, check for repos. Dan Schaper 2016-11-02 01:12:02 -0700
  • d9528dfd09 Bash is funny with returns. Dan Schaper 2016-11-02 00:51:38 -0700
  • 12f5f8ba00 Begin to bring code up to Pi-hole conventions. Block installScripts and begin factoring out redundant code. Dan Schaper 2016-11-02 00:14:25 -0700
  • db0f3307e0 Only take out scripts in the directory, don't remove the directory as a whole. Need this for the future installs. Dan Schaper 2016-11-01 22:48:30 -0700
  • 9c83825cb8 Merge branch 'feature/defensiveTweaks' of https://github.com/pi-hole/pi-hole into feature/defensiveTweaks Dan Schaper 2016-11-01 22:20:32 -0700
  • 7a22471787 New naming convention, and reorder functions as bash would prefer them to be. Dan Schaper 2016-11-01 22:19:40 -0700
  • 7548d9a8fe point shellcheck at update.sh instead diginc 2016-11-01 23:56:46 -0500
  • 26789f9b36 add travis and python requirements diginc 2016-11-01 23:53:11 -0500
  • b4524839bb Merge branch 'development' of https://github.com/pi-hole/pi-hole into InstallFixes_UnitTests diginc 2016-11-01 23:52:20 -0500
  • 6605c269cf Merge pull request #893 from diginc/feature/defensiveTweaks Dan Schaper 2016-11-01 21:35:20 -0700
  • c30478bf4a cleanup and use sentintel in is_repo diginc 2016-11-01 23:21:50 -0500
  • d986746ef9 missing quote added diginc 2016-11-01 23:02:50 -0500
  • a8fa061f2e quote all the assignments prevent accidental glob splitting diginc 2016-11-01 23:02:06 -0500
  • 72015b0226 reduce complexity and un needed cat diginc 2016-11-01 23:00:14 -0500
  • f8e9726922 source setupVars and check for the correct variable Jacob Salmela 2016-11-01 19:01:48 -0500
  • 884363bd05 remove ipv6 check since it's already in setupVars Jacob Salmela 2016-11-01 19:01:28 -0500
  • bdd240ecb6 Shellcheck catch for always true expansion. Dan Schaper 2016-11-01 15:36:27 -0700
  • 04da292df9 Missed one spinner, updated and exit script if github is unreachable. Dan Schaper 2016-11-01 12:17:38 -0700
  • 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 -0700
  • 114bc13c23 Specify path, cron may not know where the files are located. Dan Schaper 2016-11-01 12:03:26 -0700
  • 5fef5f1ed4 Break down is_repo to make sure it does what is expected. Dan Schaper 2016-11-01 11:54:14 -0700
  • 807b60b0e6 Missed the second reinstaller.... Dan Schaper 2016-11-01 11:44:16 -0700
  • fbc800e556 If unattened reinstall fails, notify user and exit script immediately. Dan Schaper 2016-11-01 11:42:18 -0700
  • 1991ee7a7d Google Style Guide. readonly and cap constants. Dan Schaper 2016-11-01 11:36:44 -0700
  • ffbfadbccf Detail what the script does. Dan Schaper 2016-11-01 11:33:04 -0700
  • c3e2bce956 Variables declared as strings, make sure they are strings when we use them in functions. Dan Schaper 2016-11-01 11:26:57 -0700
  • 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 -0700
  • 1e7e5230cc Clarify what exactly is being called and the expected returned value format Dan Schaper 2016-11-01 11:15:21 -0700
  • 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 -0700
  • 45f04b8a11 set QUERY_LOGGING default to true Adam Warner 2016-11-01 16:46:54 +0000
  • 61140348fe More tabs to spaces. Adam Warner 2016-11-01 10:16:08 +0000
  • d64e86288c tabs to spaces Adam Warner 2016-11-01 10:12:47 +0000
  • aefcd65065 tabs to spaces Adam Warner 2016-11-01 10:07:51 +0000
  • a8ff316faf spaces Adam Warner 2016-11-01 10:04:27 +0000
  • 032e7f2819 Fix Merge conflicts Adam Warner 2016-11-01 10:02:41 +0000
  • 2c68a472ec Convention (2 spaces, not tabs) Adam Warner 2016-11-01 09:57:48 +0000
  • ad3b6743a2 consistency Adam Warner 2016-11-01 09:48:21 +0000
  • 60f13af1ce Update var names from setupVars.conf in gravity.sh Adam Warner 2016-11-01 09:47:31 +0000
  • 06aad4ec88 consistency Adam Warner 2016-11-01 09:45:22 +0000
  • 04650cbc72 Account for variable name changes Adam Warner 2016-11-01 09:36:59 +0000
  • e8e2c1278e Convention : https://google.github.io/styleguide/shell.xml?showone=Constants_and_Environment_Variable_Names#Constants_and_Environment_Variable_Names Adam Warner 2016-11-01 09:33:39 +0000
  • efd9a46bb9 Consistency Adam Warner 2016-11-01 09:32:57 +0000
  • 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 -0400
  • 4e7ca51beb Added dependancy for ping and lsof used in debug scripts Eric Warnke 2016-10-31 21:24:57 -0400
  • 9e1b1cc472 Merge 36e2719cf0 into d561600a31 Eric W 2016-11-01 00:38:12 +0000
  • e9f1259abe Prototype whiptails so they don't fall to shell. Need to do this to all functions. Dan Schaper 2016-10-31 16:55:10 -0700
  • b22d03b586 Global variables CAP'ed Dan Schaper 2016-10-31 16:49:40 -0700
  • 68f7ec0ddc local variables just to be safe and make sure they stay in this function. Dan Schaper 2016-10-31 16:48:58 -0700
  • 652b607ce4 Swap variable names. Dan Schaper 2016-10-31 16:48:02 -0700