Commit Graph

6361 Commits

Author SHA1 Message Date
yubiuser db32e4da4c Merge pull request #1940 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-b93eff89fb
Bump actions/checkout from 4.1.2 to 4.1.4 in the github_action-dependencies group across 1 directory
2024-04-27 13:19:57 +02:00
dependabot[bot] 771db50d8f Bump actions/checkout
Bumps the github_action-dependencies group with 1 update in the / directory: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.2 to 4.1.4
- [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.2...v4.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-27 10:40:49 +00:00
Dominik 1b71a440f5 Merge pull request #1936 from pi-hole/fix/connection_error_crash
Fix a crash resulting from a bad interaction between PRs #1928 and #1930
2024-04-21 10:28:14 +02:00
DL6ER e29bcb0695 Fix a crash resulting from a bad interaction between PRs #1928 and #1930
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-20 09:39:39 +02:00
Dominik 4734e01b1e Merge pull request #1930 from pi-hole/tweak/ede_neterr
Add extra logging around network issues (EDE: network error)
2024-04-18 21:28:52 +02:00
Dominik a05cce00ed Merge pull request #1934 from pi-hole/update/sqlite_3.45.3
Update embedded SQLite3 to 3.45.3
2024-04-16 09:12:13 +02:00
DL6ER c7ce555382 Update embedded SQLite3 to 3.45.3
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-16 08:22:53 +02:00
Dominik 0cffd8ccdc Merge pull request #1928 from pi-hole/fix/check_disk
Fix disk space checking on macOS hosts
2024-04-07 21:00:59 +02:00
Dominik b12f93c0ff Merge pull request #1931 from pi-hole/tweak/selective_teleporter
Be more verbose in which tables are imported during teleporter importing
2024-04-07 20:36:29 +02:00
DL6ER f2a7662e95 Be more verbose in which tables are imported during teleporter importing
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-02 21:59:45 +02:00
DL6ER 563b02ccc7 Add new CONNECTION_ERROR message to the Pi-hole diagnosis system
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-02 13:43:43 +02:00
DL6ER ed41584c92 Add extra logging around network issues (EDE: network error)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-02 12:05:28 +02:00
DL6ER d88e52d8c8 Improve diagnosis message adding subroutine to not require manually typed in number of arguments and do strict testing against the number of given arguments (instead of crashing if fewer are given and ignoring if more are given)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-01 10:08:45 +02:00
DL6ER 5b2dda886c Store message in database as well
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-01 09:43:34 +02:00
DL6ER 90dda14276 Use fragment size when computing filesystem sizes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-01 09:11:06 +02:00
Dominik 485faaceb5 Merge pull request #1874 from pi-hole/tweak/select_teleporter
Implement selective Teleporter restoring
2024-03-31 20:19:38 +02:00
DL6ER 16c541e233 Show warning when in debug mode and stat() failed to get file system details
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-31 13:44:58 +02:00
DL6ER df1f70dd09 Add further debug output concerning disk usage when debug.gc=true
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-31 12:21:21 +02:00
DL6ER 58ca959cf2 Add proper memory allocation checking in the message formatting subroutines
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-30 20:21:26 +01:00
DL6ER 27ff979ef8 Reintroduce a workaround for docker on macOS accidentally removed in bd266d6589
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-30 20:14:15 +01:00
DL6ER 5075144bbe Fix importing logic for v5 teleporter files
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-30 20:00:52 +01:00
DL6ER 8875a0e29a Add further debugging output if files are NOT imported
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-30 18:08:16 +01:00
DL6ER ed36a9a7d5 Simplify v5 gravity table import condition
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-30 17:14:28 +01:00
Dominik fff34fb2e3 Merge pull request #1927 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-b9ee4988fc
Bump the github_action-dependencies group with 1 update
2024-03-30 15:32:22 +01:00
dependabot[bot] 40864d5c38 Bump the github_action-dependencies group with 1 update
Bumps the github_action-dependencies group with 1 update: [eps1lon/actions-label-merge-conflict](https://github.com/eps1lon/actions-label-merge-conflict).


Updates `eps1lon/actions-label-merge-conflict` from 2.1.0 to 3.0.0
- [Release notes](https://github.com/eps1lon/actions-label-merge-conflict/releases)
- [Changelog](https://github.com/eps1lon/actions-label-merge-conflict/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eps1lon/actions-label-merge-conflict/compare/v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: eps1lon/actions-label-merge-conflict
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-30 10:42:21 +00:00
DL6ER dab6ec75bf Merge branch 'development-v6' into tweak/select_teleporter
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-30 08:23:11 +01:00
Dominik f7cd4fb406 Merge pull request #1919 from pi-hole/tweak/cJSON_threadsafe
Ensure thread-safety for cJSON engine
2024-03-30 06:49:52 +01:00
Dominik ea9005693e Merge pull request #1922 from pi-hole/tweak/tld_checks
Allow one-character TLDs in hostname validation
2024-03-30 06:40:03 +01:00
Dominik 70a02b1bdf Merge pull request #1923 from pi-hole/fix/antigravity_mark
Fix antigravity not preventing further checks on queries
2024-03-29 21:09:39 +01:00
DL6ER daf5eb8934 Remove two characters TLDs constraint in hostname validation. Empty labels are still forbidden.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-29 08:37:19 +01:00
Dominik b20df82ae2 Merge pull request #1924 from pi-hole/tweak/ci_risvc64
Slightly simplify the CI tests
2024-03-29 06:56:32 +01:00
DL6ER 549bc164ea Slightly simplify the CI tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-28 18:55:46 +01:00
Dominik 9dcdfa865c Merge pull request #1921 from pi-hole/tweak/allowed_debug
Fix a left-over "whitelisted" instead of "allowed" message in debug mode
2024-03-28 18:43:39 +01:00
DL6ER f94fe11755 Mark query as allowed when atigravity matches to prevent further checks such as CNAME inspection. This ensures antigravity matches have similar effects than explicitly allowed domains.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-28 15:26:20 +01:00
DL6ER bc46302717 Merge branch 'development-v6' into HEAD
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-28 09:50:50 +01:00
DL6ER 557d6a44af Fix a left-over "whitelisted" instead of "allowed" message in debug mode
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-28 09:46:17 +01:00
Dominik 91d8738a7f Merge pull request #1916 from pi-hole/update/sqlite_3.45.2
Update embedded SQLite3 to 3.45.2
2024-03-28 07:11:15 +01:00
Dominik a23f3347dc Merge pull request #1917 from pi-hole/tweak/hostname_err_pos
Report the hex-code of the found invalid character
2024-03-26 21:00:57 +01:00
Dominik 63571bb15f Merge pull request #1918 from pi-hole/new/log-dhcp
Add new dhcp.logging option
2024-03-26 20:51:05 +01:00
Dominik 8e9b1dc731 Merge pull request #1914 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-2d71499196
Bump the github_action-dependencies group with 1 update
2024-03-24 20:32:39 +01:00
DL6ER bfd2136def Further reduce code-duplication by using the new escape_json() function for TOML as well. It is doing the exact same thing. Remove TOML_UTF8 as this has always been the standard encoding anyway.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-24 11:56:48 +01:00
DL6ER c82561cf4e Define a general function escape_json() similar to the already existing escape_html()
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-24 11:35:43 +01:00
DL6ER 20cc8c3983 Only check non-empty hostnames
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-24 09:38:06 +01:00
DL6ER 079c66c909 Use cJSON to escape hostnames possibly containing control characters
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-24 09:36:26 +01:00
DL6ER 05867e20f2 Ensure cJSON is used in a thread-safe manner and add CI tests ensuring this. Also ensure every JSON parsing is doing error checking and reduce some code duplication. No functional change.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-24 08:55:12 +01:00
DL6ER 9c7384e3a4 Add new dhcp.logging option
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-24 08:35:33 +01:00
DL6ER 2a2c4d188e Report the hex-code of the found invalid character
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-23 19:39:36 +01:00
dependabot[bot] 16fb8b6366 Bump the github_action-dependencies group with 1 update
Bumps the github_action-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.1 to 4.1.2
- [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.1...v4.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 10:42:38 +00:00
Dominik 0d2fcd09ef Merge pull request #1872 from pi-hole/tweak/DBexport
Remove config option database.DBexport
2024-03-17 20:34:36 +01:00
DL6ER 75b792f589 Update embedded SQLite3 to 3.45.2
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-17 06:21:24 +01:00