Commit Graph

  • d14273f958 Add comment where setupVars.conf goes when v6 migration is done DL6ER 2024-12-24 02:17:50 +01:00
  • 47d5a08565 Ask the user if they want to disable lighttpd DL6ER 2024-12-23 19:12:47 +01:00
  • e08f65d1c4 Disable lighttpd if found DL6ER 2024-12-23 09:30:37 +01:00
  • b964657b62 Speedup api response handling (#5833) yubiuser 2024-12-23 09:14:47 +01:00
  • a2a22c4e13 Exit early when neither service nor systemctl commands are available DL6ER 2024-12-23 09:13:34 +01:00
  • 8faa28d8a0 Explicitly log migration process DL6ER 2024-12-23 08:48:05 +01:00
  • a9948304db Fix v5 -> v6 update (#5832) Dominik 2024-12-23 08:54:26 +01:00
  • f0dd363c99 Explicitly log migration process fix/migration_test DL6ER 2024-12-23 08:48:05 +01:00
  • 6cb8f55215 Merge branch 'fix/install' into fix/migration_test DL6ER 2024-12-23 08:44:24 +01:00
  • 3011d48b6f Use tail instead of parameter expansion Christian König 2024-12-22 23:30:14 +01:00
  • c777152c04 Only separat data and status when needed Christian König 2024-12-22 21:55:25 +01:00
  • 92a3c73f80 Fix v5 -> v6 update Christian König 2024-12-22 21:46:32 +01:00
  • 4f268ed193 Explicitly migrate from v5 to v6 DL6ER 2024-12-21 07:10:46 +01:00
  • d80259ee8f Improve dependency package output (#5828) yubiuser 2024-12-16 17:22:12 +01:00
  • 83224e7729 Improve dependency package output Christian König 2024-12-16 09:30:25 +01:00
  • 6cca30ca45 Improve v6 user output (#5829) yubiuser 2024-12-16 14:06:33 +01:00
  • b2a5564685 FTL allows non-numieric port notation - we need to strip this Christian König 2024-12-16 13:06:25 +01:00
  • 7dc542f3c2 Get WEBPORT from pihole.toml Christian König 2024-12-16 12:51:23 +01:00
  • 3ac426b5d1 Update manpage Christian König 2024-12-16 12:42:07 +01:00
  • 4d55bc1ae3 pihole -a is gone Christian König 2024-12-16 12:08:16 +01:00
  • 26ef0be9d6 One check less Christian König 2024-12-16 11:56:04 +01:00
  • d030492664 Fix rare case when apt and rpm package managers are found (#5827) yubiuser 2024-12-15 07:19:53 +01:00
  • cc01c110f1 Also check during installlation of the dependency package Christian König 2024-12-14 22:31:02 +01:00
  • fdda40994b Fix rare case when apt and rpm package managers are found Christian König 2024-12-14 22:26:05 +01:00
  • 4dbf9a0bbb Install dependencies by creating a meta package on-the-fly (#5785) Dominik 2024-12-14 08:33:15 +01:00
  • eb4b6ecf25 Remove no-longer-needed utils (#5826) Adam Warner 2024-12-11 17:36:21 +00:00
  • c380c23592 Merge branch 'development' into packages Christian König 2024-12-11 18:34:34 +01:00
  • a41426474e move the sourcing of utils.sh outside of installPihole (#5825) yubiuser 2024-12-11 18:32:16 +01:00
  • 764aa48c14 Remove no-longer-needed utils Adam Warner 2024-12-11 17:22:49 +00:00
  • 8f1fce8f4b move the sourcing of utils.sh outside of installPihole Adam Warner 2024-12-10 19:01:58 +00:00
  • 76a6b42075 Fix ARP flush command (#5823) Dominik 2024-12-07 13:37:34 +01:00
  • 5c6b286a62 Bump pytest from 8.3.3 to 8.3.4 in /test (#5824) yubiuser 2024-12-07 11:24:06 +01:00
  • 11e00e04b5 Fix ARP flush command DL6ER 2024-12-07 10:27:20 +01:00
  • 5ef4a5e8b0 Bump pytest from 8.3.3 to 8.3.4 in /test dependabot[bot] 2024-12-07 10:09:54 +00:00
  • 03932e8ca7 Remove Ubuntu 23 tests, it is EOL (#5822) Dan Schaper 2024-11-26 13:31:46 -08:00
  • 579dc07046 Merge branch 'development' into tweak/gravity_backup DL6ER 2024-11-26 21:08:09 +01:00
  • b23348916b Remove Ubuntu 23 tests, it is EOL DL6ER 2024-11-26 21:07:11 +01:00
  • 7d727555e2 Fix empty adlists (#5821) Dominik 2024-11-26 20:09:41 +01:00
  • 1c4a48258f Only set ownership/permissions once the file was created DL6ER 2024-11-26 18:16:15 +01:00
  • d9288b896e Do not touch list files as this creates them. This causes issues down the line in the Heisenberg compensator DL6ER 2024-11-26 18:01:52 +01:00
  • 553c0f7f07 Fix possible gravity permissions issue (#5819) Dominik 2024-11-25 17:51:45 +01:00
  • 531490397d When new domains are added to gravity and users run the first time gravity in the terminal (not via web), the list.123.abc.com file is created as root and stays like that. This causes issues down the line when users later try to run gravity from the web interface where we do not have root capabilities. This commit checks for write permissions and suggests what to do on error. It always ensures ownership and permissions are correct DL6ER 2024-11-25 12:33:26 +01:00
  • 633c971a44 Store failed gravity restoration status in message table DL6ER 2024-11-23 09:41:59 +01:00
  • 6b423f534c Remove remaining traces of audit log (#5817) Dominik 2024-11-17 21:25:22 +01:00
  • 4137275f24 Merge branch 'development' into packages Christian König 2024-11-17 21:08:10 +01:00
  • 9a9af719f0 Update gravity.sh Dominik 2024-11-17 17:05:26 +01:00
  • d2cbe1f712 Add Fedora 41 and remove Fedora 39 from tests (#5813) Dominik 2024-11-16 17:52:18 +01:00
  • 62b63f87e0 Use rpm instead of dnf to check for installed package. dnf changed to returning success even for not-installed packages wit Fedora 41 DL6ER 2024-11-16 12:46:43 +01:00
  • fdf44355d2 Keep up to 10 database backups DL6ER 2024-11-16 12:08:27 +01:00
  • a5cb07c76e Attempt to restore from all possibly available gravity.db backups DL6ER 2024-11-16 11:52:31 +01:00
  • 59e9bac794 Only try to obtain sources after possible database restore following a corruption DL6ER 2024-11-16 11:47:59 +01:00
  • b2ad878f4a Try to restore from gravity backup on database preparation error (if backup is available) DL6ER 2024-11-16 10:18:00 +01:00
  • 6ff30f7294 Backup a stripped-down version of gravity.db after each pihole -g run DL6ER 2024-11-16 10:08:30 +01:00
  • 2dc5bd15cc Remove remaining traces of audit log DL6ER 2024-11-16 08:19:09 +01:00
  • 7341f85c2d Add Fedora 41 and remove Fedora 39 from tests RD WebDesign 2024-11-12 16:48:52 -03:00
  • 9478e35cb7 Create a random temp direcotry to build the packages and remove leftovers Christian König 2024-10-12 14:34:21 +02:00
  • cd7e5abe25 Add TRAP to the installer Christian König 2024-09-29 22:45:47 +02:00
  • c47f8c2cd6 Overhaul uninstall script Christian König 2024-09-29 22:21:44 +02:00
  • f08c54e166 Create dependency package on RPM distros Christian König 2024-09-29 19:26:19 +02:00
  • fd5b3be03f Create meta package on the fly ... Debian Christian König 2024-09-28 20:49:27 +02:00
  • 112b961762 Fix errors on fresh installations while setting privacy levels and query logging due to absence of pihole.toml (#5799) yubiuser 2024-10-28 18:04:46 +01:00
  • 250fbd217f Bump tox from 4.23.0 to 4.23.2 in /test (#5809) yubiuser 2024-10-26 14:11:11 +02:00
  • 0421e3784c Bump actions/setup-python from 5.2.0 to 5.3.0 (#5808) yubiuser 2024-10-26 14:10:27 +02:00
  • 8ec7651075 Bump actions/checkout from 4.2.1 to 4.2.2 (#5807) yubiuser 2024-10-26 14:10:06 +02:00
  • 6d8b4fdfc6 Bump tox from 4.23.0 to 4.23.2 in /test dependabot[bot] 2024-10-26 10:22:13 +00:00
  • 9abb240105 Bump actions/setup-python from 5.2.0 to 5.3.0 dependabot[bot] 2024-10-26 10:07:42 +00:00
  • 8acfa029d9 Bump actions/checkout from 4.2.1 to 4.2.2 dependabot[bot] 2024-10-26 10:07:38 +00:00
  • 16af216b80 Improved error message for invalid protocol in adlist download (#5806) yubiuser 2024-10-24 21:02:40 +02:00
  • 5589fa171c Remove example from error message on invalid protocol Sebastián Dinator 2024-10-24 14:03:02 -03:00
  • 0e7706ffa3 Improved error message for invalid protocol in adlist download Sebastian Dinator 2024-10-24 02:05:13 -03:00
  • 1a4870690b Exit 1 on failure (#5803) yubiuser 2024-10-21 06:15:58 +02:00
  • 8bf6480aed Set exit code explicitly everywhere Christian König 2024-10-20 09:36:28 +02:00
  • 7ae0b207fc Exit 1 if update script failed Christian König 2024-10-20 09:34:15 +02:00
  • fa194e0a0c Do not print FTL update check details on pihole -up (#5800) yubiuser 2024-10-19 14:39:24 +02:00
  • 8fc0f1f26a Bump tox from 4.21.2 to 4.23.0 in /test (#5802) yubiuser 2024-10-19 12:35:17 +02:00
  • 8c39365db1 Bump tox from 4.21.2 to 4.23.0 in /test dependabot[bot] 2024-10-19 10:32:25 +00:00
  • c3a762823d Fix gavity version 19 (#5801) yubiuser 2024-10-19 07:03:04 +02:00
  • 2fd51bd244 Fix gavity version 19 Christian König 2024-10-18 23:00:31 +02:00
  • 1ad135ad69 Do not print FTL update check details on pihole -up Christian König 2024-10-18 21:26:18 +02:00
  • 6e905a7f80 Use setFTLConfigValue to set privacy level and logging. The function is sourced already at this point from utils.sh Christian König 2024-10-18 20:22:13 +02:00
  • 3956ca49b6 Don't attempt writing to pihole.toml if file does not exit. FTL needs to be started first Christian König 2024-10-18 20:19:02 +02:00
  • cd8d9ab84e Use pihole.toml to decide if installer runs on an update (#5790) yubiuser 2024-10-18 16:44:43 +02:00
  • 38c561ae41 Add color (#5798) Adam Warner 2024-10-13 22:11:44 +01:00
  • fa45a4bec8 Add color Christian König 2024-10-13 22:16:42 +02:00
  • 1bec0d2c7e Bump actions/checkout from 4.2.0 to 4.2.1 (#5797) yubiuser 2024-10-12 14:28:32 +02:00
  • aedb2f0a93 Bump actions/checkout from 4.2.0 to 4.2.1 dependabot[bot] 2024-10-12 10:02:08 +00:00
  • 8e5ac2dbac Bump tox from 4.20.0 to 4.21.2 in /test (#5793) yubiuser 2024-10-05 13:57:17 +02:00
  • d4cf5d95a6 Bump tox from 4.20.0 to 4.21.2 in /test dependabot[bot] 2024-10-05 10:39:29 +00:00
  • 5cef02e60d Remove restartdns: Redux (#5791) Adam Warner 2024-10-03 09:07:43 +01:00
  • afdf45031f Missed a couple of references in the previous PR Adam Warner 2024-10-02 21:51:56 +01:00
  • 7dd2eb20a2 Remove the restartdns functionality and promote the reloaddns functions (#5780) Adam Warner 2024-10-02 21:27:08 +01:00
  • 6645136f6b Align the indentation for the case statement in the bottom part of pihole script Adam Warner 2024-10-02 21:19:39 +01:00
  • 84a659dfac Update pihole Adam Warner 2024-10-02 19:41:17 +01:00
  • be00f3e723 Rename reloaddns-lists to reloadlists per suggestion Adam Warner 2024-10-02 19:31:39 +01:00
  • 74e52675f1 Use pihole.toml to decide if installer runs on an update Christian König 2024-10-02 13:47:23 +02:00
  • 74d451a9c7 Show version information after an web only update (#5788) yubiuser 2024-10-01 05:57:34 +02:00
  • ba058be236 Fix removing old man page (#5789) yubiuser 2024-10-01 05:57:19 +02:00
  • ada7d2bd31 Fix removing old man page Christian König 2024-09-30 21:10:33 +02:00
  • bcc3a7e35e Show version information after an web only update Christian König 2024-09-30 21:04:55 +02:00
  • c0e39087bc Grouped common dependencies of distros (#5762) yubiuser 2024-09-28 13:37:11 +02:00