Christian König
7aa57e154e
Group functions
...
Signed-off-by: Christian König <github@yubiuser.dev>
2025-07-23 08:23:09 +02:00
Christian König
05f4ae7719
Invert need_root logic and check if set/unset
...
Signed-off-by: Christian König <github@yubiuser.dev>
Co-authored-by: Dan Schaper <dan.schaper@pi-hole.net>
2025-07-23 08:09:26 +02:00
Dan Schaper
29b6252935
Fix gravity user permission checking and fix error on pihole-FTL --config failures ( #6352 )
2025-07-22 15:27:07 -07:00
Dan Schaper
f324d4cc7d
Separate network flush and arp table flush functions ( #6319 )
...
This PR updates the function flushing the network tables and the ARP table. It separates the two, renaming the whole function to networkflush and makes flushing ARP optional by appending --arp. Deletion of the network table is now done via FTL's /action/flush/arp endpoint.
Documentation: https://github.com/pi-hole/docs/pull/1253
Related PR in the FTL repo: https://github.com/pi-hole/FTL/pull/2541
2025-07-22 15:20:50 -07:00
yubiuser
310f0711fa
Group evaluations
...
Co-authored-by: Dan Schaper <dan.schaper@pi-hole.net>
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-07-22 12:52:43 +02:00
Christian König
9580dc6560
Improve setFTLConfigValue function
...
Signed-off-by: Christian König <github@yubiuser.dev>
2025-07-22 12:50:42 +02:00
Christian König
70e317f373
Revert https://github.com/pi-hole/pi-hole/pull/6345
...
Signed-off-by: Christian König <github@yubiuser.dev>
2025-07-22 12:50:42 +02:00
Christian König
285b3c37f9
Tweak fluash ARP function
...
Signed-off-by: Christian König <github@yubiuser.dev>
2025-07-22 12:45:22 +02:00
Dan Schaper
41f6738e97
Update man page - remove "reconfigure" option ( #6361 )
2025-07-21 13:57:51 -07:00
RD WebDesign
22e6ff2cdf
Update man page - remove "reconfigure" option
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-07-21 16:15:25 -03:00
Dan Schaper
be36432f24
Speed up pihole api
( #6336 )
2025-07-21 10:51:25 -07:00
Dan Schaper
4bea9a1d12
Use RTMIN value provided by FTL when possible ( #6358 )
...
In some cases `kill -RTMIN` can send incorrect signal value to the FTL causing it to terminate instead of performing lists reload.
https://github.com/pi-hole/FTL/issues/2573
2025-07-20 18:06:00 -07:00
Dan Schaper
35ce3580e5
Reduce pihole --query jq calls ( #6334 )
2025-07-20 18:02:45 -07:00
Dan Schaper
90eb5778ca
Re-order authentication errors in verbose mode ( #6338 )
2025-07-20 17:46:07 -07:00
Dan Schaper
c0539a4fb0
Remove netcat from the list of dependencies ( #6343 )
2025-07-20 17:44:04 -07:00
Jack'lul
da85a7a2a7
Use RTMIN value provided by FTL when possible
...
Signed-off-by: Jack'lul <jacklulcat@gmail.com>
2025-07-18 23:13:19 +02:00
Christian König
3c52ce98d4
Revert https://github.com/pi-hole/pi-hole/pull/6312
...
Signed-off-by: Christian König <github@yubiuser.dev>
2025-07-16 13:50:37 +02:00
Dan Schaper
ae048201a2
Remove readonly
from list.sh to avoid errors ( #6349 )
2025-07-14 21:10:53 -07:00
RD WebDesign
dad27f8d06
Remove readonly
from list.sh to avoid errors
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-07-14 21:20:39 -03:00
Dan Schaper
c0b512be60
Sync master back into development ( #6348 )
2025-07-14 14:45:31 -07:00
Adam Warner
cef7fd4b02
Pi-hole core 6.1.4 ( #6347 )
v6.1.4
2025-07-14 22:15:50 +01:00
Adam Warner
c09da77e2b
Fix pihole api
command by not setting the some variabes as readonly ( #6346 )
2025-07-14 22:09:27 +01:00
Adam Warner
18e8396a44
Fix issue where web interface cannot run gravity ( #6345 )
2025-07-14 22:05:18 +01:00
Adam Warner
1bef0415db
bare minimum first past fix for pihoe api
command not working due to attempting to re-set readony variabes PI_HOE_SCRIPT_DIR and utisfie.
...
Can't compain about them being readony if they're.. not.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-07-14 22:02:02 +01:00
Adam Warner
d6a83baf4f
Allow non-root access for updateGravity command
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-07-14 21:38:59 +01:00
Dan Schaper
605ff8183a
Sync master back into development ( #6341 )
2025-07-14 11:45:03 -07:00
darkexplosiveqwx
e231107e81
Remove netcat from the list of dependencies
...
Signed-off-by: darkexplosiveqwx <101737077+darkexplosiveqwx@users.noreply.github.com>
2025-07-14 20:18:18 +02:00
Dan Schaper
9494dc6061
Pi-hole Core v6.1.3 ( #6337 )
v6.1.3
2025-07-14 07:14:43 -07:00
Christian König
71501e15e5
Re-order authentication errors in verbose mode
...
Signed-off-by: Christian König <github@yubiuser.dev>
2025-07-13 22:16:40 +02:00
Rob Gill
0187087da0
Speed up pihole --api
...
Get session authentication information via single jq operation,
setting defaults if no data returned.
Simplify jq test for valid JSON data
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2025-07-14 05:44:46 +10:00
Dan Schaper
9605ccc178
basic-install.sh listing interfaces ( #6269 )
2025-07-13 11:57:32 -07:00
deHakkelaar
86bdae0076
Update basic-install.sh
...
Added comments
2025-07-13 11:05:58 +02:00
Rob Gill
05ad3d7155
Update advanced/Scripts/query.sh
...
Co-authored-by: yubiuser <github@yubiuser.dev>
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2025-07-12 22:25:22 +00:00
Rob Gill
ea8272d7d4
speed up pihole --query
...
Count list and gravity matches using jq in a single step.
Use jq's map to simplify list processing, eliminating intermediate
jsons.
Eliminate while loop for each lists's final output and formatting.
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2025-07-12 14:25:17 +10:00
Dan Schaper
1e88ce4975
piholeDebug - Get default route robustly ( #6303 )
2025-07-11 16:19:54 -07:00
Adam Warner
bb60e2e346
Sync master back into development ( #6332 )
2025-07-11 21:02:14 +01:00
Adam Warner
3977a312f0
Update release.yml
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-07-11 21:01:01 +01:00
Dan Schaper
b3d193b34c
Update Firewalld tests to match v6 ports ( #6307 )
2025-07-10 14:15:41 -07:00
Dan Schaper
0a36e9d949
update: abort if FTL branch does not exist ( #6329 )
2025-07-10 12:55:12 -07:00
MichaIng
6db6c68a4e
update: abort if FTL branch does not exist
...
Currently, if the FTL update check returns 404, hence the FTL branch does not seem to exist, an error message is printed, but the update continues, only the FTL update is skipped.
This can lead to setups with v5 FTL and v6 core/web, failing at config migration, where FTL is invoked with a v6-only command.
With this change, the update aborts immediately if the FTL branch is invalid, like it does in case of other FTL update check errors (other HTTP error codes than 404 or other curl errors). Hence it continues only if FTL is up-to-date already, or a new version from the given branch has been found.
Signed-off-by: MichaIng <micha@dietpi.com>
2025-07-10 21:37:28 +02:00
Dan Schaper
5b5e02d492
Do not skip root check for pihole user ( #6312 )
2025-07-10 11:48:29 -07:00
Dan Schaper
a2dd0e2f50
Prevent gravity curl from using unset bash variable's empty string. ( #6191 )
2025-07-10 11:29:00 -07:00
Dan Schaper
3d75ea6df2
Only update the package cache on fresh installations ( #6282 )
2025-07-10 11:20:03 -07:00
Dan Schaper
080e1ccf8a
installer: exit if FTL update check fails ( #6316 )
2025-07-10 10:59:05 -07:00
Dan Schaper
24f32d48af
Fix pihole -q by setting PI_HOLE_SCRIPT_DIR in api.sh ( #6284 )
2025-07-10 10:51:20 -07:00
Dan Schaper
8486cfd95a
Update python version used in test to 3.13 ( #6321 )
2025-07-10 10:47:49 -07:00
yubiuser
c81d5019a3
Bump pytest-xdist from 3.7.0 to 3.8.0 in /test ( #6324 )
2025-07-05 23:07:49 +02:00
dependabot[bot]
c5c5116e53
Bump pytest-xdist from 3.7.0 to 3.8.0 in /test
...
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist ) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases )
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.7.0...v3.8.0 )
---
updated-dependencies:
- dependency-name: pytest-xdist
dependency-version: 3.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-05 10:28:30 +00:00
Christian König
2f9fa80d7a
Update python version used in test to 3.13
...
Signed-off-by: Christian König <github@yubiuser.dev>
2025-07-01 13:34:55 +02:00
Dominik
f2280eb330
taillog Prevent grep interpeting search term as an option ( #6318 )
2025-06-29 07:08:21 +02:00