Commit graph

1227 commits

Author SHA1 Message Date
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
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
fac54cb3bd Merge branch 'development' into db 2016-10-07 11:03:08 +01: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
Adam Warner
df34f7fbac Change how dnsmasq is started/restarted (See issue #752) 2016-10-07 09:15:39 +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
Adam Warner
591208b730 remove gravity_parse.py and references 2016-10-06 11:13:06 +01:00
Adam Warner
3e1f4fb40f remove gravity_parse.py and references 2016-10-06 10:59:50 +01:00
Adam Warner
c10abfc61e Add column "piholed" to queries table. If name is in gravity.list, return true, else, false. We can now kill off the gravity table/script 2016-10-06 10:59:12 +01: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
Adam Warner
faa204743d Delete summary entries older than 7 days. To be made configurable in future version 2016-10-04 13:49:35 +01:00
Adam Warner
6c08240ce1 add summaryDB.py to install script 2016-10-04 13:43:07 +01:00
Adam Warner
ee73af2504 Save summary log before clearing tables 2016-10-04 13:37:06 +01:00
Adam Warner
535f34f200 python script for saving summary data. For use before flushing 2016-10-04 13:33:54 +01:00
Adam Warner
95d10b3a26 Merge pull request #746 from pi-hole/ds-db
DSchaper db updates
2016-10-02 21:47:31 +01:00
Dan Schaper
9f29bef173 Remove idx creation, sqlite3 handles this automatically. 2016-10-02 11:36:00 -07:00
Dan Schaper
64b91c8b97 with open logfile for Python autohandling of closure. 2016-10-02 11:31:12 -07:00
Dan Schaper
14424939a9 Set correct db in gravity_parse. Start using with in dnsmasq 2016-10-02 11:26:40 -07:00
Dan Schaper
185efaf82e Strip out count dictionary and remove incremental operations. 2016-10-02 11:05:56 -07:00
Promofaux
9f5a4ffa47 pihole.db, not gravity. 2016-10-02 18:13:10 +01:00
Dan Schaper
9f94570fff Move PRAGMA command to first step after cursor creation. 2016-10-02 09:53:43 -07:00
Dan Schaper
e9ff14daf3 Change qt (queryTable) to gt (gravityTable) 2016-10-02 09:52:47 -07:00
Promofaux
cc3fe5363a dan dropped a line = line.rstrip(), not to worry, I picked it up for him. 2016-10-02 17:39:37 +01:00
Promofaux
c281b47905 Mover {SUDO} mkdir -p /etc/pihole/ back to the beginning. 2016-10-02 12:44:33 +01:00
Adam Warner
14fc90579d Merge pull request #742 from pi-hole/dschaper-gravityDB
gravityDB
2016-10-02 11:28:47 +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