Commit Graph

  • 092957c14a Merge pull request #2808 from pi-hole/fix/uninstall Mark Drobnak 2019-06-27 12:51:07 -04:00
  • d5e8f1a781 Add 10 seconds timeout to the sqlite3 command that writes tables to the gravity database. This prevents gravity from failing when the database file is locked for a short time. DL6ER 2019-06-26 18:20:36 +02:00
  • b5af125be6 Removed line RamSet 2019-06-25 10:06:37 -06:00
  • ecc49318f0 Fixed MIME related issue present in lighttpd/1.4.53 RamSet 2019-06-24 12:38:03 -06:00
  • 974bba4a45 Fix PKG_REMOVE array usage Mcat12 2019-06-17 16:30:26 -07:00
  • 951732fc1b Use an array for PKG_REMOVE Mcat12 2019-06-17 16:28:55 -07:00
  • b6700924b2 Fix uninstall causing 403 errors and not removing packages Mcat12 2019-06-17 16:13:31 -07:00
  • 5d43639e93 Merge branch 'development' into new/arp-flush DL6ER 2019-06-16 20:21:03 +02:00
  • 27e4208631 Merge branch 'development' into new/gravity.db_domain_groups DL6ER 2019-06-16 20:20:27 +02:00
  • b505ad22e6 Merge pull request #2806 from pi-hole/fix/fedora-ci-tests DL6ER 2019-06-16 20:19:44 +02:00
  • d67122dffc Pin the Fedora test docker container to 29 Mcat12 2019-06-16 11:13:23 -07:00
  • 0774c4e5ca vw_gravity should actually filter using vw_whitelist. DL6ER 2019-06-16 18:52:23 +02:00
  • 01850c2128 Automatically recreate standard group after deletion to avoid violating foreign key constraints even if foreign key enforcing is disabled (SQLite's default behavior) DL6ER 2019-06-16 17:15:36 +02:00
  • cbc210b014 Add adlist_groups and mark group_id columns as NOT NULL. DL6ER 2019-06-16 17:05:33 +02:00
  • c53ee4202b Add filtering by domain groups to gravity database. DL6ER 2019-06-16 16:50:51 +02:00
  • f2be12f97b Merge pull request #2796 from pi-hole/tweak/opendns-ipv6 DL6ER 2019-06-16 14:56:00 +02:00
  • 6996ffa451 Also flush network_addresses table DL6ER 2019-06-15 09:15:12 +02:00
  • 435a5fb3ad Add pihole arpflush to man page. DL6ER 2019-06-15 09:12:44 +02:00
  • 4947350ca5 Add arpflush to help and bash autocompletion DL6ER 2019-06-15 09:06:10 +02:00
  • c1495b0fa8 Merge branch 'development' into new/arp-flush DL6ER 2019-06-15 09:04:30 +02:00
  • 67dda9c8bb Merge pull request #2790 from mmotti/tidy/query Mark Drobnak 2019-06-13 20:32:42 -04:00
  • c8987e20c2 Use the filtered IPv6 OpenDNS servers Mcat12 2019-06-12 19:13:29 -07:00
  • bcf03647ef Add comment and remove blankspace MMotti 2019-06-12 16:02:59 +01:00
  • a9d0690f4d Change the case of some variables Just for consistency MMotti 2019-06-10 18:50:52 +01:00
  • 10fbed50f3 Shellcheck Suggesting to use parameter expansion but we need to be able to identify the start of each line MMotti 2019-06-10 18:10:25 +01:00
  • 785f1fedd9 Tidy regexp queries MMotti 2019-06-10 17:48:52 +01:00
  • b0c5dcf42f Merge pull request #2780 from mmotti/fix/regexp_query Mark Drobnak 2019-06-05 13:19:39 -04:00
  • cf21efa103 Minor grammar changes MMotti 2019-06-05 14:36:43 +01:00
  • 7613e94ef6 Minor tweaks Mainly for consistency MMotti 2019-06-04 06:06:17 +01:00
  • b49c702f33 Consistency tweak MMotti 2019-06-04 00:03:37 +01:00
  • 09532638d5 Read from DB instead of regex.list MMotti 2019-06-03 23:59:58 +01:00
  • 97df6d7415 Stickler fix MMotti 2019-06-03 19:55:29 +01:00
  • 54bfaa28c1 Fix for regexp queries through pihole -q MMotti 2019-06-03 19:23:27 +01:00
  • a09f92f9cc Create FUNDING.yml Dan Schaper 2019-05-31 22:12:54 -07:00
  • afd28fab03 Merge pull request #2767 from pi-hole/fix/multiple_pihole-FTL_PIDs Mark Drobnak 2019-06-01 01:03:55 -04:00
  • d92ced6fb6 Merge pull request #2734 from pi-hole/fix/query_black_and_whitelists_database Mark Drobnak 2019-06-01 00:55:05 -04:00
  • ae98fde321 Try to obtain PID from PIDFILE. If this fails (file does not exist or is empty), fall back to using pidof + awk DL6ER 2019-05-31 09:18:12 +02:00
  • 9ddce88092 Review comments DL6ER 2019-05-31 08:42:22 +02:00
  • 44f8fcb600 We can print the table name without any extra check as we already returned early in case there are no results. DL6ER 2019-05-31 08:39:18 +02:00
  • 814fdcf9b6 Merge pull request #2768 from pi-hole/fix/dhcp-ignore-names Mark Drobnak 2019-05-30 22:35:52 -04:00
  • 5060605626 Print table name before entering the loop for the sake of simplicity DL6ER 2019-05-30 21:44:47 +02:00
  • 453ba14cbd Merge pull request #2758 from pi-hole/fix/debug-log-gravity-database DL6ER 2019-05-30 21:37:49 +02:00
  • 285e6fe090 Address lint complaints DL6ER 2019-05-30 21:32:35 +02:00
  • c3023fe681 Add new "pihole arpflush" command to flush both the ARP cache as well as the network table in pihole-FTL.db DL6ER 2019-05-30 21:23:15 +02:00
  • c5df104a66 Add dhcp-ignore-names option when enabling DHCP service. We currently remove anything that starts with "dhcp-" to have a clean configuration and removed these lines without noticing when enabling the DHCP server. DL6ER 2019-05-30 16:41:37 +02:00
  • f6213d4f4d Use last PID in case pidof returns multiple PIDs for pihole-FTL DL6ER 2019-05-30 15:26:27 +02:00
  • ca2ea388b7 Merge pull request #2763 from chrisys/development Mark Drobnak 2019-05-27 16:06:25 -04:00
  • 69dba022c4 Handle an empty local.list Chris Crocker-White 2019-05-27 10:27:28 -07:00
  • bfb99c361c Note that the gravity size does not include the blacklist entries Mcat12 2019-05-21 17:12:47 -07:00
  • 5796054305 Increase ID column width to 4 Mcat12 2019-05-20 21:59:18 -07:00
  • a3e1473ac1 Set explicit column widths to prevent text from getting cut off Mcat12 2019-05-20 21:33:09 -07:00
  • 7b5fc60e00 Improve table formatting Mcat12 2019-05-20 21:20:38 -07:00
  • 807ce0af4e Show whitelist, blacklist, and regexlist details Mcat12 2019-05-20 21:15:22 -07:00
  • 3f05efd60f Add extra newline Mcat12 2019-05-20 21:02:31 -07:00
  • 03d93aa19a Update debug script with gravity DB changes Mcat12 2019-05-20 20:58:57 -07:00
  • cad9386ff6 Merge pull request #2750 from pi-hole/release/v4.3 DL6ER 2019-05-19 19:42:29 +02:00
  • 7de6bbca61 Merge branch 'development' into release/v4.3 Dan Schaper 2019-05-18 13:18:14 -07:00
  • 1d43c0a2fa Merge pull request #2693 from pi-hole/release/v4.3 v4.3 Mark Drobnak 2019-05-18 16:08:49 -04:00
  • c8d32e0dd3 Merge pull request #2743 from haguenau/fix/shellcheck-install-script Mark Drobnak 2019-05-16 23:22:01 -04:00
  • be3a21ae07 Put quotes at ends of strings David Haguenauer 2019-05-13 09:13:23 -04:00
  • 69081a9175 Drop indirection from install_dependent_packages David Haguenauer 2019-05-10 10:37:38 -04:00
  • ab2f8a0c09 Quote variables in basic-install.sh David Haguenauer 2019-05-10 10:13:23 -04:00
  • b961a501bb Merge pull request #2611 from pi-hole/new/gravitydb Mark Drobnak 2019-05-12 18:46:47 -04:00
  • 8e1bf6e3d4 Merge branch 'development' into new/gravitydb Mcat12 2019-05-12 15:20:52 -07:00
  • d6756eb46b Merge pull request #2730 from pvogt09/development Mark Drobnak 2019-05-12 15:44:20 -04:00
  • efbd42f7b5 Moves creation of pihole user before FTL installation pvogt09 2019-05-12 11:27:25 +02:00
  • 3f90261520 Moves chmod after every creation of ${destination} instead of end of function pvogt09 2019-05-12 11:25:48 +02:00
  • ff5894d772 Merge pull request #2744 from pi-hole/fix/cron-job-errors-untagged Mark Drobnak 2019-05-11 22:59:32 -04:00
  • 225285cb97 Removes chmod for ${source} and superfluous chmod for ${destination} pvogt09 2019-05-11 11:14:07 +02:00
  • 3220e2b978 Fix for preventing git error message in cron logs mpiederiet 2019-05-07 14:54:25 +02:00
  • 54ae458b61 Merge pull request #2733 from pi-hole/fix/debug-curl DL6ER 2019-05-11 10:54:30 +02:00
  • e076db5a4e Changes ownership of macvendor.db to pihole pvogt09 2019-05-10 11:19:28 +02:00
  • a3d2a1062f Makes blocklists world readable pvogt09 2019-05-10 11:13:19 +02:00
  • 2e6198077d chmod 644 adlists.list pvogt09 2019-05-09 12:23:44 +02:00
  • 55ab3b2dc7 Merge pull request #2739 from pi-hole/new/stickermule_reflink Mark Drobnak 2019-05-07 23:26:20 -04:00
  • bdc8cf2bc8 Merge pull request #2738 from pi-hole/fix/untagged_version_fresh_install Mark Drobnak 2019-05-07 23:25:33 -04:00
  • 74836bebe4 README StickerMule URL Dan Schaper 2019-05-07 11:10:51 -07:00
  • 95150a5d85 Clone twenty instead of only one commit when installing Pi-hole. This ensures that we clone at least one tagged commit in case we need to push changes to master. DL6ER 2019-05-07 19:42:11 +02:00
  • 4d23b3267f Adds X to chmod for git operations pvogt09 2019-05-07 10:46:16 +02:00
  • e19adccd9c Moves chmod for /var/www/html into INSTALL_WEB_SERVER block pvogt09 2019-05-05 22:34:13 +02:00
  • a25f331e83 Adds chmod 644 for /var/www and /var/www/html pvogt09 2019-05-05 09:20:49 +02:00
  • 69c06ba6fe Sets permissions for dnsmaq.conf pvogt09 2019-05-05 00:32:10 +02:00
  • 8abeb2204b Merge pull request #2735 from pi-hole/fix/gravity-blocked-domain DL6ER 2019-05-04 23:14:49 +02:00
  • ec06fd0ad4 Fix incorrect adlist query when an adlist is blocked during gravity Mcat12 2019-05-04 11:35:21 -07:00
  • a904c183df Use printf to escape domain content. This prevents possible SQL injection issues DL6ER 2019-05-04 18:25:11 +02:00
  • 5246b3e496 Explicitly escape backslash in ESCAPE clause. This has been suggested by Stickler bot. DL6ER 2019-05-04 13:24:36 +02:00
  • f80fdd7e83 Improve comments DL6ER 2019-05-04 13:19:50 +02:00
  • 6ba58896d2 Simplify code DL6ER 2019-05-04 13:15:30 +02:00
  • 3aa838bbe4 Implement black- and whitelist searching with SQL statements. We use the ESCAPE clause in the LIKE query as the underscore "_" wildcard matches any single character but we want to suppress this behavior (underscores can be legitimate part of domains) DL6ER 2019-05-04 12:47:25 +02:00
  • 2c3a27e9c7 Replaces cp chmod with install and add read permission to repository files after checkout and pull pvogt09 2019-05-03 12:27:56 +02:00
  • 5532df24e4 Pi-hole Debug - tricorder upload function calls Dan Schaper 2019-05-03 02:46:27 -07:00
  • b3898b9b2a Merge pull request #2732 from pi-hole/dschaper-patch-1 Dan Schaper 2019-05-03 02:42:41 -07:00
  • 9ce84714cd Update cryptocoin addresses Dan Schaper 2019-05-02 18:08:10 -07:00
  • 0bc112ce52 Query only those columns we actually use when showing domains on the CLI. Show date of last modification instead of addition date for domains. DL6ER 2019-05-02 17:11:39 +02:00
  • d46ff1d2d7 Remove UNIQUE on gravity table as the only column is already PRIMARY KEY. Primary keys must contain UNIQUE values, and cannot contain NULL values DL6ER 2019-05-01 22:08:30 +02:00
  • 0cfecd31d3 Invert logic to reduce nesting DL6ER 2019-05-01 21:12:22 +02:00
  • 008e88b84b Only migrate legacy list files when we create gravity.db in the same gravity run DL6ER 2019-05-01 18:04:31 +02:00
  • 2f698904e4 Use PRIMARY KEY instead of NOT NULL also in gravity and info tables DL6ER 2019-05-01 18:03:35 +02:00
  • 106f079afc Improve indentation (single tab) in SQLite template DL6ER 2019-05-01 17:57:23 +02:00
  • 6c1e3a17f7 Remove NOT NULL constraint on list ids as this is implied by PRIMARY KEY (even though most, if not all, examples on the web still use both attributes at the same time) DL6ER 2019-05-01 17:54:29 +02:00