Commit Graph

  • ec5b16ef85 Fix incomplete comment DL6ER 2019-02-05 19:08:08 +01:00
  • c3c60e10f1 Rename regex field from domain to filter because this described better what it is DL6ER 2019-02-05 19:07:12 +01:00
  • 8a2363621d Rename fields from DateAdded to dateadded DL6ER 2019-02-05 19:06:46 +01:00
  • dbbf21071b Invert logic to use ENABLED instead of DISABLED. We make sure to set "enabled = 1 WHERE enabled IS NULL" in gravity_store_in_database() DL6ER 2019-02-05 19:05:11 +01:00
  • e967fe2266 Merge pull request #2612 from pi-hole/hotfix/v4.2.1 v4.2.1 Dan Schaper 2019-02-03 11:36:57 -08:00
  • b5c7657e01 Merge pull request #2614 from pi-hole/hotfix/v4.2.1 Dan Schaper 2019-02-03 11:36:00 -08:00
  • 680d6e2d31 Merge branch 'release/v4.2' into development Mcat12 2019-02-03 11:14:09 -08:00
  • 7a19d24058 Remove user/group from dnsmasq config Mcat12 2019-02-03 10:55:18 -08:00
  • 995ee41d6b Merge pull request #2600 from pi-hole/release/v4.2 v4.2 Dan Schaper 2019-02-03 08:52:07 -08:00
  • b2f4385232 Avoid infinity loop if gravity optimization fails DL6ER 2019-02-03 17:05:00 +01:00
  • 1f9a7d0b0c Only run VACUUM on "pihole -g -o" DL6ER 2019-02-03 17:01:38 +01:00
  • d5feffa117 Do not backup the database DL6ER 2019-02-03 16:45:19 +01:00
  • fc62cf7e2f Only run VACUUM on "full" gravity runs DL6ER 2019-02-03 16:44:05 +01:00
  • 93f1859bab Store regex in gravity.db as well DL6ER 2019-02-03 15:13:18 +01:00
  • dcf0a605cf Use views for all tables and set disabled column to false for those tables that support it DL6ER 2019-02-03 14:14:14 +01:00
  • 710036adae Add DISABLED field to white- and blacklist defaulting to false. The two views respect the DISABLED fields for both lists. DL6ER 2019-02-03 13:34:08 +01:00
  • 8a91fe6992 Store domains in gravit tables: gravity, whitelist, blacklist DL6ER 2019-02-03 13:21:26 +01:00
  • 09c4c88a6d Create and fill gravity.db during pihole -g DL6ER 2019-02-03 13:04:31 +01:00
  • 69919ac85c Merge pull request #2610 from pi-hole/fix/dev-shm Mark Drobnak 2019-02-02 13:44:39 -05:00
  • 26f2410fe6 Change /var/run/shm to /dev/shm Mcat12 2019-02-02 10:37:12 -08:00
  • d43c32e9e8 Merge pull request #2609 from pi-hole/fix/start-service-ftl-checkout Adam Warner 2019-02-02 18:27:09 +00:00
  • 5c4ee23795 Fix missed start_service -> restart_service call Mcat12 2019-02-02 10:19:44 -08:00
  • fb3d871553 Merge pull request #2602 from pi-hole/fix/download_FTL_earlier Dan Schaper 2019-02-02 06:43:16 -08:00
  • ae654730c4 Update automated install/basic-install.sh Adam Warner 2019-02-02 08:00:58 +01:00
  • ec79e86bee We should really use stop_service as it also includes some nice output DL6ER 2019-02-01 18:06:57 +01:00
  • e8dabc71af Don't try to start pihole-FTL after it has been installed. This will be done a few moments later when gravity is invoked. DL6ER 2019-02-01 17:54:21 +01:00
  • 9c0de0f731 Try to stop pihole-FTL before and (re)start pihole-FTL after the install command DL6ER 2019-02-01 17:39:12 +01:00
  • 4948862dce Fail hard if FTL binary could not be installed DL6ER 2019-01-31 20:10:52 +01:00
  • 7479485d45 Add test for the case the binary variable is unset (defaults to "tbd" in this case) DL6ER 2019-01-31 20:00:26 +01:00
  • 1e284f69ea Merge pull request #2587 from pi-hole/new/network-table Mark Drobnak 2019-01-28 20:27:13 -05:00
  • 516ed83638 Add "|| true" to the curl command as a failed download is no show-stopper for the overall install process. DL6ER 2019-01-28 20:48:30 +01:00
  • 26361883b4 Merge pull request #2601 from pi-hole/fix/double_disable_kills_gravity Mark Drobnak 2019-01-27 13:54:33 -05:00
  • d26f2dcb2c Use global binary variable in tests for automated install DL6ER 2019-01-24 09:47:28 +01:00
  • cc657c0c26 Rename subroutine start_service() to restart_service() because this is what it does DL6ER 2019-01-24 09:37:03 +01:00
  • d90d7b6927 Call FTL download/installation early on in the installation process. DL6ER 2019-01-24 09:36:27 +01:00
  • de6dc90575 Don't diable pihole-FTL before calling install. root should be able to overwrite the binary in any case. The binary has already been downloaded and hash-verified here so we don't expect any errors in this binary. DL6ER 2019-01-24 09:31:53 +01:00
  • 3cdd6204c5 Move dnsmasq disabling and config file rewriting into a dedicated subroutine DL6ER 2019-01-24 09:31:02 +01:00
  • d996e9c9ee Fix inconsistent handling of binary variable. get_binary_variable() stores the result into a global variable we pass later on as argument to FTLinstall() and define a local variable with the same name. This is fixed by only using the globa variable in all places not. This is still not a very elegant solution but it is also not subject of the current PR. DL6ER 2019-01-24 09:28:09 +01:00
  • a4ba8d4b8f Prevent double disabling/enabling by checking BLOCKING_ENABLED value in setupVars.conf DL6ER 2019-01-24 09:16:24 +01:00
  • cd8a423b32 Solves RegEx issue and updates documentation. xch12i5 2019-01-20 16:04:07 +01:00
  • f7ca74cf1d Merge pull request #2598 from pi-hole/fix/remove-norton Mark Drobnak 2019-01-19 20:52:37 -05:00
  • ebba32e1c4 Remove Norton DNS Mark Drobnak 2019-01-19 20:45:19 -05:00
  • e02da90faa Replaces double quotes by single quotes and updates documentation. xch12i5 2019-01-19 17:48:29 +01:00
  • 0de5132e2b Solves RegEx issue. xch12i5 2019-01-18 22:14:34 +01:00
  • 7d2507527a Merge pull request #2593 from TheLastProject/feature/standardized-dns-list Mark Drobnak 2019-01-13 11:10:45 -08:00
  • 97decb3a73 Standardize DNS list and write to file for AdminLTE Sylvia van Os 2019-01-13 15:51:30 +01:00
  • f360959efc Download macvendor database from ftl.pi-hole.net when downloading a new FTL binary. Users who want to update the database more frequently than on each FTL release can use the python script from the FTL repository to generate the database themselves. The macvendor database is an optional component so a failing download is no reason to interrupt the installer. DL6ER 2019-01-09 19:26:19 +01:00
  • 465589c0fd Merge pull request #2575 from LudovicRousseau/fix2 Mark Drobnak 2019-01-07 00:07:53 -05:00
  • 9fcf7a2610 Merge pull request #2581 from bcambl/remove_bc_dep Mark Drobnak 2019-01-04 19:01:31 -05:00
  • 3035fbf468 remove unused dependency (bc) bcambl 2019-01-04 17:17:42 -06:00
  • c4c354bc4b Merge pull request #2578 from pi-hole/new/libcap-dev DL6ER 2019-01-03 16:08:45 +01:00
  • c5da1bb952 Add libcap as Fedora dependency DL6ER 2019-01-03 10:39:46 +01:00
  • 486c41a69a Add Debain dependency libcap2 needed for FTL's capability check on startup DL6ER 2019-01-03 10:37:46 +01:00
  • 87800a3659 Merge pull request #2570 from pi-hole/tweak/wpad DL6ER 2019-01-03 00:10:31 +01:00
  • d5fbe1b629 Do not ask admin password just for help documentation Ludovic Rousseau 2019-01-02 23:41:04 +01:00
  • a3cee67a61 Merge pull request #2571 from pi-hole/tweak/debug/shm Mark Drobnak 2019-01-02 15:12:54 -05:00
  • 5ffc8c7443 List content of /var/run/shm in debugger DL6ER 2019-01-01 17:56:02 +01:00
  • 04fd296ffe Add wpad vulnerability fix as suggested by dnsmasq.conf.example DL6ER 2019-01-01 17:13:43 +01:00
  • 262d5eea22 Merge pull request #2547 from pi-hole/fix/version-command-no-web Mark Drobnak 2018-12-27 23:20:16 -05:00
  • ed5869646f Use source instead of dot for setupVars Mark Drobnak 2018-12-27 16:37:10 -05:00
  • b984fc4e0e Merge pull request #2564 from floek/development Dan Schaper 2018-12-25 00:12:50 -08:00
  • 0ef4901e48 Add a blank after printf to avoid 'Command not found' error Florian Freund 2018-12-25 09:02:12 +01:00
  • 8d85d46c1a Merge pull request #2556 from pi-hole/release/v4.1.1 v4.1.1 Dan Schaper 2018-12-21 09:06:19 -08:00
  • eca975a370 add sqlite3 dependency for fedora bcambl 2018-12-17 21:03:54 -06:00
  • 3bb94d469d Merge pull request #2554 from bcambl/add_sqlite_dep Mark Drobnak 2018-12-18 12:03:26 -05:00
  • 724afc000f add sqlite3 dependency for fedora bcambl 2018-12-17 21:03:54 -06:00
  • be2d494fcf Don't show web version in pihole -v output if not installed Mcat12 2018-12-12 14:55:09 -05:00
  • a36734db66 Merge pull request #2543 from pi-hole/fix/privacy-level-4 Mark Drobnak 2018-12-10 11:48:25 -05:00
  • 1cad069050 Add privacy level 4 to all privacy level code Mcat12 2018-12-10 10:18:25 -05:00
  • d24e0a6060 Merge pull request #2540 from pi-hole/release/v4.1 Mark Drobnak 2018-12-09 22:24:42 -05:00
  • f65f793a0d Merge pull request #2496 from pi-hole/release/v4.1 v4.1 Jacob Salmela 2018-12-09 14:33:58 -06:00
  • f7ad489805 Merge pull request #2504 from bcambl/ifcfg_con_name Dan Schaper 2018-12-08 10:44:45 -08:00
  • 62459c4f00 Merge pull request #2532 from pi-hole/update/agent-string-12-2018 Dan Schaper 2018-12-06 10:17:49 -08:00
  • 05bd88b4d8 Update agent string: the selected string is the most abundant one on 06 Dec 2018 with a percentage of almost 10% DL6ER 2018-12-06 18:04:17 +01:00
  • 0546fff1ce Merge pull request #2531 from pi-hole/fix/duplicate_dont_destroy Dan Schaper 2018-12-06 08:40:02 -08:00
  • 83f7bd66e6 Don't mv preEventHorizon, copy it. Adam Warner 2018-12-05 22:29:01 +00:00
  • 14ebb2fb93 remove 'System' from NetworkManager connection name bcambl 2018-12-01 12:08:48 -06:00
  • 916b2920be Merge pull request #2525 from pi-hole/release/v4.1 Dan Schaper 2018-11-29 08:46:05 -08:00
  • a20963889c Merge pull request #2512 from kefnab/development Dan Schaper 2018-11-27 03:35:28 -08:00
  • 4b77475807 Merge pull request #2520 from pi-hole/new/rfc4039 Dan Schaper 2018-11-27 03:34:54 -08:00
  • 9f672593bc Update advanced/Scripts/webpage.sh Dan Schaper 2018-11-26 20:01:41 +01:00
  • a285ae65fb Backend changes for DHCPv4 rapid commit support DL6ER 2018-11-25 08:39:44 +01:00
  • 917a0239a9 Merge pull request #2514 from pi-hole/fix/suppress_warnings_initd Dan Schaper 2018-11-21 13:47:16 -08:00
  • 3261c2e273 Added check for universe repo on ubuntu bionic with user prompts. Clayton Dobbs 2018-11-17 22:57:01 -07:00
  • d0125d5aad Suppress warning if Pi-hole is not used as DHCP server (/etc/pihole/dhcp.leases is not present in this case) DL6ER 2018-11-19 17:38:19 +01:00
  • 65a3da92f1 Merge pull request #2505 from pi-hole/fix/DNS_with_hash Dan Schaper 2018-11-13 02:53:51 -08:00
  • 5c621fa253 Lints Dan Schaper 2018-11-12 17:21:34 -08:00
  • f9e71bee0a Account for port, or lack of, in PIHOLE_DNS_1 Dan Schaper 2018-11-12 17:15:24 -08:00
  • c3804877ed linting: Double quote to prevent globbing and word splitting. bcambl 2018-11-11 14:44:46 -06:00
  • 35e53ab9c7 Merge pull request #2501 from pi-hole/fix/restart-dns-error-on-success Dan Schaper 2018-11-10 10:10:49 -08:00
  • 053987b9e1 Merge pull request #2500 from pi-hole/fix/debug-remove-dnsmasq Dan Schaper 2018-11-10 10:10:05 -08:00
  • c0bc93c7c4 break dhcpcd and ifcfg network configurations into separate functions bcambl 2018-11-09 13:06:47 -06:00
  • 1f596eb2bc Merge pull request #2502 from pi-hole/release/v4.1 Dan Schaper 2018-11-09 12:49:32 -08:00
  • 3f59b51be1 Fix restartDNS returning code 1 even when it worked Mcat12 2018-11-08 22:00:13 -05:00
  • 9d59da8974 Remove dnsmasq checks from debugger Mcat12 2018-08-16 18:10:55 -04:00
  • 51218bd1ad Merge pull request #2497 from pi-hole/fix/adlists.list_not_created DL6ER 2018-11-08 20:37:28 +01:00
  • e1c3c53058 Merge branch 'release/v4.1' into fix/adlists.list_not_created DL6ER 2018-11-08 20:29:07 +01:00
  • 9fa497b056 Merge pull request #2498 from pi-hole/fix/IPv6_string DL6ER 2018-11-08 20:28:24 +01:00
  • 057fbfc2b9 Change field from digit to string for printf Dan Schaper 2018-11-08 11:10:09 -08:00
  • 33156071cd Fix literal "choice" being passed to appendToListsFile() DL6ER 2018-11-08 19:43:35 +01:00