DL6ER
b5ab8ac198
Change UNIQUEness constraint from (address) to (address, type) in the adlist table. This will allow certain adlists to be associated to different groups. A possible scenario is an adlist meant to block a specific service (e.g. Twitter, Youtube, etc.). It can then either be used to ensure these services are really blocked on the devices of group A but will never be blocked on devices of group B.
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-11 16:54:22 +01:00
yubiuser
aca7b31b83
Remove local.list and openVPN traces ( #5480 )
2024-02-10 06:16:00 +01:00
Dominik
8f36fdf11c
Make IDs of anti-/gravity lists available in vw_(anti)gravity ( #5526 )
2024-02-09 20:52:29 +01:00
yubiuser
499ba9785f
Bump pytest from 7.4.4 to 8.0.0 in /test ( #5567 )
2024-02-04 16:22:41 +01:00
dependabot[bot]
6e946f76d6
Bump pytest from 7.4.4 to 8.0.0 in /test
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.4 to 8.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.0 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-03 10:21:48 +00:00
Dominik
92e741fd5a
Test ftl.pi-hole.net availability ( #5563 )
2024-02-02 19:02:54 +01:00
DL6ER
31a8f150b2
Add checking for availability of ftl.pi-hole.net when using FTL from a custom branch. If the server is down (or the user is offline, cannot resolve the domain, etc.), we fail early and hard instead of possibly corrupting the installation
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-31 08:00:28 +01:00
Adam Warner
9a3affd81e
Drop Fedora 36 and add Fedora 39 to the test suite ( #5482 )
2024-01-29 18:21:16 +00:00
Christian König
935a4ce0b3
Also remove Fedora 37
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-01-28 16:56:57 +01:00
yubiuser
cc8f9fe057
Use 204 return code for deleted sessions ( #5541 )
2024-01-27 22:05:09 +01:00
yubiuser
e1c41fe4d5
Bump tox from 4.12.0 to 4.12.1 in /test ( #5556 )
2024-01-20 12:25:01 +01:00
dependabot[bot]
60de50bb73
Bump tox from 4.12.0 to 4.12.1 in /test
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.12.0 to 4.12.1.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.12.0...4.12.1 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 10:49:27 +00:00
Dominik
d6dbb40ef1
Do not store remote version in versions file if on custom branch ( #5549 )
2024-01-15 22:09:29 +01:00
DL6ER
47f06dfd71
Do not store remote version in versions file if on custom branch. It's always wrong here
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-15 20:53:34 +01:00
yubiuser
ebb0db0a3b
Bump tox from 4.11.4 to 4.12.0 in /test ( #5548 )
2024-01-13 20:40:53 +01:00
dependabot[bot]
b662fd6f01
Bump tox from 4.11.4 to 4.12.0 in /test
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.11.4 to 4.12.0.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.11.4...4.12.0 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-13 10:43:13 +00:00
Christian König
debab10792
Use 204
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-01-11 20:42:32 +01:00
Adam Warner
b756262ebe
Fix failing tests in development-v6 branch ( #5542 )
2024-01-10 11:14:50 +00:00
Dominik
e781311f23
pihole -d: Fix gateway ping if it is a LL address ( #5527 )
2024-01-09 19:19:32 +01:00
Adam Warner
df9c60e351
Reduce code duplication in FTL arch detect tests.
...
Use parametrize to run the same test with different parameters for each arch we need to test.
Also include detection of unusupported in this test.
Create FTL_BRANCH constant to be used in functions (less places to remember to change it)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-01-08 18:26:59 +00:00
Adam Warner
220c0675ef
As we do in other tests, specify development-v6
branch of FTL is downloaded for the tests. We need to change this to develoment
once v6 is released
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-01-07 21:03:48 +00:00
yubiuser
e14792bc48
Bump pytest from 7.4.3 to 7.4.4 in /test ( #5535 )
2024-01-06 11:14:28 +01:00
dependabot[bot]
9c3578856f
Bump pytest from 7.4.3 to 7.4.4 in /test
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.4.3 to 7.4.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-06 10:02:39 +00:00
DL6ER
d2828310f2
Modify DELETE triggers to delete BEFORE instead of AFTER to prevent possible foreign key constraint violations
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-28 11:12:20 +01:00
DL6ER
00340136bd
Extend %iface logic to the dig test. Also fix intentation in this function
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-26 21:35:24 +01:00
DL6ER
0c6363572b
Append the interface to the gateway address if it is a link-local address
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-25 22:00:49 +01:00
DL6ER
1b87ec067e
Exit early if the database does not exist (e.g. in some CI tests)
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-25 06:12:18 +01:00
DL6ER
8e8c7ecad2
Run gravity upgrade on checkout/update
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-25 05:59:41 +01:00
DL6ER
0066c6fbff
Make IDs of anti-/gravity lists available in vw_(anti)gravity
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-25 05:29:29 +01:00
yubiuser
6e8029f69f
Bump github/codeql-action from 2 to 3 ( #5521 )
2023-12-16 17:42:03 +01:00
dependabot[bot]
0cfcdc4b50
Bump github/codeql-action from 2 to 3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-16 10:08:32 +00:00
Dominik
719ce801f5
Add "-ni" to all sqlite3 invocations ( #5518 )
2023-12-10 10:17:48 +01:00
yubiuser
13676c40ca
Simplify pihole -v ( #5517 )
2023-12-09 23:21:52 +01:00
Christian König
c3c31a1a60
Print version details automatically if not on master
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-09 23:14:58 +01:00
Christian König
b333e30162
Remove version options from bash completion
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-09 23:14:58 +01:00
Christian König
fe4d934a40
Simplify pihole -v
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-09 23:13:04 +01:00
yubiuser
a6c0d279b6
Remove obsolete sudo file ( #5514 )
2023-12-09 23:11:04 +01:00
DL6ER
c90a27c509
Add "-ni" to all sqlite3 invocations
...
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-12-09 23:06:50 +01:00
yubiuser
ac86ae1e4c
Bash completion ( #5516 )
2023-12-09 23:02:29 +01:00
Christian König
6d02d4056f
Rename option --admin to --web in version function
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-09 22:01:30 +01:00
Christian König
fe7299323c
Update bash_completion
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-09 21:40:32 +01:00
Christian König
274d4c263c
Add bash-completion to PIHOLE_DEPS
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-09 21:23:39 +01:00
Christian König
54186a63ee
Remove test for sudo file as well
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-09 21:04:56 +01:00
Christian König
a87d1bbc4f
Remove pihole.sudo
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-12-09 21:04:56 +01:00
yubiuser
750fb66a8c
Bump actions/setup-python from 4.7.1 to 5.0.0 ( #5510 )
2023-12-09 18:46:19 +01:00
yubiuser
0b23b9b268
Bump actions/stale from 8.0.0 to 9.0.0 ( #5511 )
2023-12-09 18:45:25 +01:00
dependabot[bot]
e49d7fa5f1
Bump actions/setup-python from 4.7.1 to 5.0.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.7.1 to 5.0.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.7.1...v5.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-09 17:39:42 +00:00
dependabot[bot]
8a71e4253e
Bump actions/stale from 8.0.0 to 9.0.0
...
Bumps [actions/stale](https://github.com/actions/stale ) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v8.0.0...v9.0.0 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-09 17:39:18 +00:00
yubiuser
2529fbeacd
Treat FTL return data as strings ( #5509 )
2023-12-09 18:35:14 +01:00
Dominik
03637e9081
Use files.gravity_tmp as temporary directory for the intermediate lists ( #5504 )
2023-12-09 09:30:28 +01:00