Commit Graph

6149 Commits

Author SHA1 Message Date
DL6ER 1f07502cb5
Add some (non-breaking) extra debugging output to /api/history/clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-12 19:20:22 +01:00
Dominik 9e3ccd917d
Merge pull request #1797 from pi-hole/new/multi_revServer
Add support for multiple reverse servers
2024-02-11 06:52:31 +01:00
Dominik 54262aeba2
Merge pull request #1878 from pi-hole/fix/debug_api_description
Fix debug.api config options description.
2024-02-10 20:56:25 +01:00
Dominik 5940c62763
Merge pull request #1719 from pi-hole/tweak/env_vars_list
Check all env vars and suggest alternatives for misspelled keys
2024-02-10 16:21:42 +01:00
yubiuser c994dad4f5
Merge pull request #1880 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-d9773afac8
Bump the github_action-dependencies group with 3 updates
2024-02-10 12:36:38 +01:00
dependabot[bot] c2f690b3ab
Bump the github_action-dependencies group with 3 updates
Bumps the github_action-dependencies group with 3 updates: [Wandalen/wretry.action](https://github.com/wandalen/wretry.action), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `Wandalen/wretry.action` from 1.3.0 to 1.4.4
- [Release notes](https://github.com/wandalen/wretry.action/releases)
- [Commits](https://github.com/wandalen/wretry.action/compare/v1.3.0...v1.4.4)

Updates `actions/upload-artifact` from 4.3.0 to 4.3.1
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.0...v4.3.1)

Updates `actions/download-artifact` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: Wandalen/wretry.action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_action-dependencies
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 11:00:33 +00:00
DL6ER ec37efd77f
Fix debug.api config options description.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-10 09:34:25 +01:00
Dominik 82f8abe71f
Merge pull request #1877 from pi-hole/tweak/dnssec_default
DNSSEC validation should not be enabled by default in v6
2024-02-09 22:45:57 +01:00
DL6ER 16cc1027fb
DNSSEC validation should not be enabled by default - it wasn't in v5, either. The reason for this is that it may be causing issues on devices with broken/missing RTCs where NTP time synchronization relies on DNS resolution
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-09 21:51:31 +01:00
Dominik 94521b8124
Merge pull request #1876 from pi-hole/fix/merge
Fix failed auto-merge in https://github.com/pi-hole/FTL/pull/1841
2024-02-09 21:43:59 +01:00
DL6ER 6a74642232
Fix failed auto-merge in https://github.com/pi-hole/FTL/pull/1841
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-09 21:14:40 +01:00
Dominik 276ba4210f
Merge pull request #1841 from pi-hole/tweak/list_id
Make adlist ID available, rename queries.regex_id -> queries.list_id
2024-02-09 20:52:35 +01:00
Dominik 34a885ab1c
Merge pull request #1869 from pi-hole/update/sqlite_3.45.1
Update embedded SQLite3 to 3.45.1
2024-02-09 20:41:35 +01:00
Dominik 04cf2e831d
Merge pull request #1871 from mbooth101/mbooth-build-fix-1
Fix failure to build from source
2024-02-01 19:46:23 +01:00
Mat Booth 2059ac2017
Fix failure to build from source on Fedora 39
FTL build was failing at link-time due to undefined references to all
idn2_* functions.

This change fixes an incorrect search name for the idn2 library in the
CMake script.

Signed-off-by: Mat Booth <mbooth@fedoraproject.org>
2024-02-01 16:24:00 +00:00
Dominik 3262d7d7c3
Merge pull request #1826 from pi-hole/fix/resolver
Improve and fix host name resolution
2024-01-30 19:11:54 +01:00
DL6ER f198a4fee4
Update embedded SQLite3 to 3.45.1
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-30 19:05:02 +01:00
yubiuser ce4407b536
Merge pull request #1866 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-0f5d477bc4
Bump the github_action-dependencies group with 1 update
2024-01-27 14:40:47 +01:00
dependabot[bot] 562fcf6be9
Bump the github_action-dependencies group with 1 update
Bumps the github_action-dependencies group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 10:20:20 +00:00
Dominik 32d5af1893
Merge pull request #1864 from pi-hole/fix/dhcp_infinity
Amend description of expiration field in GET /dhcp/leases
2024-01-26 19:22:56 +01:00
DL6ER 52a260ffad
Amend description of expiration field in GET /dhcp/leases: 0 means "infinite". No functional changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-26 16:24:19 +01:00
Dominik 1218151ef9
Merge pull request #1860 from pi-hole/tweak/x509_ca
X.509: Create and export CA certificate
2024-01-22 13:17:07 +01:00
DL6ER 689cee7ec6
Merge branch 'development-v6' into new/multi_revServer
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-21 19:57:01 +01:00
Dominik 8f4272b64d
Merge pull request #1611 from pi-hole/new/queryLogRegex
Add regex filtering support for domains on the Query Log
2024-01-21 19:50:07 +01:00
Dominik 3341f0e497
Merge pull request #1863 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-4550b9f164
Bump the github_action-dependencies group with 1 update
2024-01-20 13:51:12 +01:00
dependabot[bot] d30901b322
Bump the github_action-dependencies group with 1 update
Bumps the github_action-dependencies group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 11:47:52 +00:00
DL6ER 619a8b1cf4
Fix pointer magic going wrong
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-20 12:44:03 +01:00
DL6ER bafbc780ed
Apply review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-20 09:38:50 +01:00
DL6ER 24b6df4cb4
Reduce code duplication by factoring out filter regex compilation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-20 09:33:06 +01:00
DL6ER 0a48d7a4c4
Change how Pi-hole generates from self-signing our certificate to first creating a self-signed root certificate authority (CA) and then using this CA to ordinarily sign the server's certificate. This has the advantage of being able to import the CA in places where importing a self-signed certificate is discouraged or not possible (e.g. Firefox browser)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-16 22:55:02 +01:00
DL6ER 862d4922e1
Merge branch 'development-v6' into new/queryLogRegex
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-16 22:46:31 +01:00
Dominik c39261131a
Merge pull request #1832 from pi-hole/tweak/limit_history_clients
Limit number of clients returned by /api/history/clients
2024-01-16 22:37:33 +01:00
DL6ER 5c4355f1b1
Compile exclude regexes only once, not N^2 times
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-16 22:35:53 +01:00
DL6ER 3c58e3089b
Change order of objects in documentation (small nit pick)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-16 21:51:55 +01:00
Dominik ff452fc68d
Merge pull request #1859 from pi-hole/fix/remote_version
Return null as version in /api/info/version if not available
2024-01-15 22:09:33 +01:00
Dominik 9fc4a50805
Merge pull request #1858 from pi-hole/update/sqlite_3.45.0
Update embedded SQLite3 to 3.45.0
2024-01-15 21:03:03 +01:00
DL6ER 12e7f44b92
Return null as version in /api/info/version if not available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-15 20:58:44 +01:00
DL6ER 1bf26f0de8
Update embedded SQLite 3 to 3.45.0
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-15 20:09:08 +01:00
yubiuser 806d6086a4
Merge pull request #1856 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-515e419fdb
Bump the github_action-dependencies group with 2 updates
2024-01-13 20:44:39 +01:00
dependabot[bot] 82f7986a89
Bump the github_action-dependencies group with 2 updates
Bumps the github_action-dependencies group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/upload-artifact` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.0.0...v4.1.0)

Updates `actions/download-artifact` from 4.1.0 to 4.1.1
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_action-dependencies
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-13 10:24:06 +00:00
DL6ER 4e5521f400
Add new config option to API
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-13 10:50:18 +01:00
DL6ER b05fe82a3f
Merge branch 'development-v6' into tweak/env_vars_list 2024-01-13 10:46:51 +01:00
Dominik 833291323f
Merge pull request #1752 from pi-hole/remove/local.list
Remove obsolet local.list
2024-01-13 10:45:27 +01:00
Dominik dfde9949e4
Merge pull request #1831 from pi-hole/update/ftl-build
Update ftl-build container to v2.5
2024-01-13 10:39:51 +01:00
DL6ER 03466460c3
Add webserver.api.maxClients setting to set default number of clients to be returned for the client activity graph. This setting can be overwritten at run-time
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-13 10:39:22 +01:00
DL6ER 58637597bf
Merge branch 'development-v6' into tweak/limit_history_clients 2024-01-13 10:32:56 +01:00
DL6ER 55339f01b5
Adjust webserver.api.exclude{Clients,Domains} description
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-13 10:17:58 +01:00
DL6ER e35aa78030
Only free API data when the API was started
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-13 10:08:43 +01:00
DL6ER b7f49e9636
Add Pi-hole v5 -> v6 regex migration for webserver.api.exclude{Domains,Clients}
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-13 08:24:55 +01:00
DL6ER e9e43094bf
Remove webserver.api.excludeRegex and instead allow regex to be used in the existing excludeDomains and excludeClients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-01-13 08:20:53 +01:00