Commit graph

6461 commits

Author SHA1 Message Date
DL6ER
897e23089c
Implement pihole enable/disable using the API
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-16 10:56:37 +02:00
DL6ER
7ca4b59b34
Do not test API availability outside of LoginAPI
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-16 10:27:07 +02:00
yubiuser
7d82b0294b
Bump actions/setup-python from 5.1.0 to 5.1.1 (#5706) 2024-07-13 12:32:40 +02:00
yubiuser
b22731c613
Bump actions/setup-python from 5.1.0 to 5.1.1 (#5705) 2024-07-13 12:32:08 +02:00
dependabot[bot]
e90df12053
Bump actions/setup-python from 5.1.0 to 5.1.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 10:15:25 +00:00
dependabot[bot]
bdbec058e9
Bump actions/setup-python from 5.1.0 to 5.1.1
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.1.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 10:14:54 +00:00
yubiuser
bffffa4d1e
Fix minor spelling mistake (#5704) 2024-07-10 10:36:09 +02:00
Ikko Eltociear Ashimine
5cb740ef01
chore: update basic-install.sh
minor fix

Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
2024-07-10 14:29:40 +09:00
DL6ER
12fbf86f66
Merge branch 'development-v6' into new/cli_pw
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-08 19:18:21 +02:00
yubiuser
8b324741e0
Add protocol validation when downloading blocklist from URL (#5698) 2024-07-07 07:37:29 +02:00
DL6ER
6ffb20f09e Add protocol validation when downloading blocklist from URL
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-07 07:35:00 +02:00
yubiuser
5c670c21f2
Bump tox from 4.15.1 to 4.16.0 in /test (#5697) 2024-07-06 22:12:01 +02:00
dependabot[bot]
e8802173f5
Bump tox from 4.15.1 to 4.16.0 in /test
Bumps [tox](https://github.com/tox-dev/tox) from 4.15.1 to 4.16.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.15.1...4.16.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-07-06 20:09:24 +00:00
Adam Warner
325c9fc0a2
Add pytest-clarity to test environment to improve error log output (#5692) 2024-07-06 21:08:41 +01:00
yubiuser
9c6d4ffa9b
Bump tox from 4.15.1 to 4.16.0 in /test (#5696) 2024-07-06 12:29:47 +02:00
dependabot[bot]
2b33a0494b
Bump tox from 4.15.1 to 4.16.0 in /test
Bumps [tox](https://github.com/tox-dev/tox) from 4.15.1 to 4.16.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.15.1...4.16.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-07-06 10:12:06 +00:00
Adam Warner
19deafedae
Sync master back into development (#5695) 2024-07-05 19:18:26 +01:00
Adam Warner
be5a8dc51a
Pi-hole core v5.18.3 (#5694) 2024-07-05 19:12:15 +01:00
Adam Warner
4148f2cb5b
tabs->spaces for editorconfig (Not sure how this has nto been caught before...)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-07-05 19:03:40 +01:00
DL6ER
2c497a9a3e Add protocol validation when downloading blocklist from URL
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-05 18:35:19 +01:00
Christian König
fafd47ba75
Please editorconfig-checker
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-07-02 20:57:28 +02:00
Christian König
ddc289ca3e
Fix Dockerfile syntax ENV legacy warning
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-07-02 20:45:34 +02:00
Christian König
6b1d0e09d1
Set column width to 120
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-07-02 20:39:22 +02:00
Christian König
aa704a2e0e
Add pytest-clarity to test environment to improve error log output
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-07-01 21:07:09 +02:00
DL6ER
21fb5dabe1
Use "remove" and "delete" instead of "not" to trigger listed domain removals
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-29 09:32:13 +02:00
DL6ER
c2ed30480d
Show when requested domains were not found on the list
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-25 14:10:35 +02:00
DL6ER
ccdbfd4130
Use natural langauge for list manipulations, like pihole allow example.com or pihole deny other.net. Also remove using pihole deny not bad.org
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-25 13:56:49 +02:00
dependabot[bot]
548e142406 Bump pytest from 8.2.1 to 8.2.2 in /test
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.1 to 8.2.2.
- [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/8.2.1...8.2.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-22 22:54:49 +01:00
dependabot[bot]
bfc2cf69e5 Bump tox from 4.15.0 to 4.15.1 in /test
Bumps [tox](https://github.com/tox-dev/tox) from 4.15.0 to 4.15.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.15.0...4.15.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-06-22 22:54:41 +01:00
DL6ER
fe8e63853c
Use concatenate of arguments instead of using the array directly
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-22 20:49:44 +02:00
DL6ER
b835fa06a6
Further black -> deny renaming
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-22 20:48:07 +02:00
DL6ER
424e825bd9
Do not auto-sudo in the pihole command
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-22 20:42:22 +02:00
DL6ER
7e91b9ab47
Update help text
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-22 20:35:06 +02:00
Adam Warner
97324ae97e remove centos8 tests from development to prevent build fails (yes, I know it's likely that we will merge development-v6 -> development" soon" but.. just in case)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-06-22 16:59:59 +01:00
DL6ER
5dfcd02c40
Improve pihole -f
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-22 10:31:03 +02:00
DL6ER
25f384a923
Do not use CLI password when no password is set at all
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-20 19:41:47 +02:00
DL6ER
bfc18f8329
Rewrite list functions to use the API
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-19 23:04:39 +02:00
DL6ER
92b15cf744
Modify pihole arpflush to stop FTL while performing the action and use the new TOML config values
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-19 22:49:11 +02:00
DL6ER
8f24e8aa5f
Modify pihole -t to use TOML config items
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-19 22:41:42 +02:00
DL6ER
5cb9f4faaa
Modify pihole -f to use TOML config items
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-19 22:28:14 +02:00
DL6ER
4df7cee6c2
Add partial matching hint if exact matching found nothing
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-19 22:21:43 +02:00
DL6ER
a2951cd3b8
Hide successful login/logout messages to avoid cluttering the terminal
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-19 22:19:54 +02:00
DL6ER
520641fa5e
Try to use the CLI password for logins (if enabled and readable by the current user)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-19 22:18:11 +02:00
yubiuser
ca9eaf9688
Bump actions/checkout from 4.1.6 to 4.1.7 (#5687) 2024-06-15 14:20:04 +02:00
yubiuser
1e6fe9c3f2
Bump actions/checkout from 4.1.6 to 4.1.7 (#5686) 2024-06-15 14:16:16 +02:00
dependabot[bot]
5d2cb552d3
Bump actions/checkout from 4.1.6 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15 10:25:08 +00:00
dependabot[bot]
fdd5b5ced0
Bump actions/checkout from 4.1.6 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15 10:14:34 +00:00
yubiuser
81e628a943
Remove CentOS8 from test suite (#5682) 2024-06-08 19:28:07 +02:00
yubiuser
4a1dd7f79e
Bump pytest from 8.2.1 to 8.2.2 in /test (#5679) 2024-06-08 14:34:09 +02:00
Christian König
cfc0d07173
Remove CentOS8 from test suite
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-08 12:57:45 +02:00