Commit Graph

6425 Commits

Author SHA1 Message Date
dependabot[bot] 6fed81a916 Bump actions/checkout in the github_action-dependencies group
Bumps the github_action-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.5 to 4.1.6
- [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.5...v4.1.6)

---
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-05-18 10:36:18 +00:00
Dominik a07810695c Merge pull request #1965 from pi-hole/fix/dhcp_names
Update DNS records after pruning DHCP leases
2024-05-18 09:44:22 +02:00
DL6ER ebc195af69 Update custom dnsmasq version
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-18 09:14:27 +02:00
Erik Karlsson 98407e3a58 Update DNS records after pruning DHCP leases
Not doing so can result in a use after free since the name for DHCP
derived DNS records is represented as a pointer into the DHCP lease
table. Update will only happen when necessary since lease_update_dns
tests internally on dns_dirty and the force argument is zero.

Signed-off-by: Erik Karlsson <erik.karlsson@iopsys.eu>
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-18 09:13:54 +02:00
Dominik 95b1dc1c72 Merge pull request #1964 from pi-hole/new/artifact_attestations
Add artifact attestation
2024-05-18 06:48:13 +02:00
Dominik 4628219bb9 Merge pull request #1956 from oliv3r/readline_detection
Readline detection
2024-05-17 19:37:40 +02:00
Dominik 12bebfb367 Merge pull request #1961 from jacklul/v6-patch-1
Fix error message mentioning wrong file
2024-05-17 19:20:41 +02:00
Jack'lul ecd2e8198b Fix error message mentioning wrong file
Signed-off-by: Jack'lul <jacklulcat@gmail.com>
2024-05-17 18:03:57 +02:00
Dominik 3d4cc1beeb Merge pull request #1960 from pi-hole/fix/database_queries
Fix spilled queries in database
2024-05-15 20:42:13 +02:00
DL6ER 30cade643f Use new constant also as back-off factor for exporting into the database
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-14 20:36:32 +02:00
DL6ER 688a551a24 Improve query storing algorithm to better cope with bursts of queries of arbitrary size and frequency
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-14 20:17:05 +02:00
Dominik bccfa2245f Merge pull request #1959 from pi-hole/update/cJSON_1.7.18
Update bundled cJSON
2024-05-13 19:10:10 +02:00
DL6ER d4a89f3b3e Update bundled cJSON from 1.7.17 -> 1.7.18 released earlier today
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-13 16:55:12 +01:00
yubiuser 30215fc2f8 Merge pull request #1958 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-220eae05df
Bump the github_action-dependencies group with 2 updates
2024-05-11 13:11:49 +02:00
dependabot[bot] ede734051b Bump the github_action-dependencies group with 2 updates
Bumps the github_action-dependencies group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [eps1lon/actions-label-merge-conflict](https://github.com/eps1lon/actions-label-merge-conflict).


Updates `actions/checkout` from 4.1.4 to 4.1.5
- [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.4...v4.1.5)

Updates `eps1lon/actions-label-merge-conflict` from 3.0.0 to 3.0.1
- [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/v3.0.0...v3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-11 10:54:00 +00:00
Dominik bf0c8cd753 Merge pull request #1955 from pi-hole/fix/FTL_db_read_perms
Change database permissions to -rw-r----- (640)
2024-05-10 20:14:44 +02:00
Olliver Schinagl be3d4cd0f6 FTL: Avoid hidden HAVE_READLINE define
We should set `HAVE_READLINE` based on whether it was actually
detected/found, not via a hidden fixed, as that contains compile errors
when readline is actually not available.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2024-05-10 19:19:14 +02:00
Olliver Schinagl 7de24a09e3 FTL_lua: Properly guard readline
Readline support should only be used when we know it is available. Lets
properly use a ifdef guard like we do in `shell.c`.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2024-05-10 19:17:12 +02:00
Dominik c72a9134c6 Merge pull request #1953 from pi-hole/merge-dev
Merge latest v5 development into v6
2024-05-10 18:21:09 +02:00
DL6ER 5cc5b377f1 Update tests, remove duplicated test
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-10 13:22:55 +02:00
DL6ER 6ce1668d41 Change database permissions to -rw-r----- (640)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-10 13:17:58 +02:00
DL6ER 73b5170ac0 Merge branch 'development' into merge-dev
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-10 10:32:36 +02:00
Adam Warner 888c909ddf Merge pull request #1949 from pi-hole/master
Sync master back into development
2024-05-08 21:37:14 +01:00
Adam Warner 8943e26041 Merge pull request #1946 from pi-hole/fix/crash_fatal_dnsmasq_err_v5
Exit after fatal dnsmasq errors
v5.25.2
2024-05-08 20:59:50 +01:00
DL6ER 633b825f35 Add artifact attestation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-05 10:44:29 +02:00
Dominik e10bb5c605 Merge pull request #1944 from pi-hole/fix/clients_docs
Improve API /clients documentation
2024-05-05 07:09:42 +02:00
Dominik 240a2fe7a1 Merge pull request #1945 from pi-hole/tweak/tcp_conn_err
Improve error logging when TCP connections are prematurely closed by remote server
2024-05-05 07:08:07 +02:00
DL6ER 230989ebbd Exit after fatal dnsmasq errors
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-04 10:11:35 +02:00
DL6ER 1611da221c Improve error logging when TCP connections are prematurely closed by remote server
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-04 10:09:03 +02:00
DL6ER 01697669ac API /clients: Add note that {client} needs to be URI-encoded (if specified) and add documentation of read-only optional {name0} field
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-03 20:05:00 +02:00
Dominik af521c9219 Merge pull request #1939 from pi-hole/new/session_message
Provide human-readable message for session status
2024-05-02 19:38:10 +02:00
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 44377ad893 Address review comments
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
2024-04-27 06:38:39 +02:00
DL6ER 49a5a0c60c Provide human-readable message about the session status when authenticating
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-25 21:14:05 +02: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