DL6ER
|
17716ef51a
|
Merge pull request #1746 from pi-hole/tweak/conf_writing
Do not rewrite config files if unchanged
|
2023-11-16 22:36:08 +01:00 |
|
DL6ER
|
2dbb7f3b63
|
Merge pull request #1731 from pi-hole/fix/dhcp-range
Improve DHCP handling
|
2023-11-16 22:25:09 +01:00 |
|
DL6ER
|
503c0538ed
|
IPv4 address 0.0.0.0 and IPv6 address :: correspond to empty strings in FTL settings
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-16 12:43:47 +01:00 |
|
DL6ER
|
a69130585e
|
Use package ipaddress for IP address validation in API tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-15 11:49:03 +01:00 |
|
DL6ER
|
90de6c1b83
|
Merge pull request #1727 from pi-hole/fix/toml_utf8
Declare pihole.toml as UTF-8 document
|
2023-11-14 22:25:04 +01:00 |
|
DL6ER
|
8e043444fc
|
Adjust tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-13 23:18:18 +01:00 |
|
DL6ER
|
fdad1b7be2
|
Merge branch 'development-v6' into tweak/conf_writing
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-13 22:58:18 +01:00 |
|
DL6ER
|
6424cf0316
|
Merge pull request #1739 from pi-hole/tweak/dns-domain
Move dhcp.domain -> dns.domain
|
2023-11-13 22:21:36 +01:00 |
|
DL6ER
|
af1af596fd
|
Merge pull request #1734 from pi-hole/new/etc_dnsmasq_d
Make inclusion of /etc/dnsmasq.d/*.conf files configurable
|
2023-11-12 21:27:53 +01:00 |
|
DL6ER
|
9f71bc4814
|
Merge pull request #1733 from pi-hole/new/num_sessions
Make number of maximum concurrent API sessions adjustable
|
2023-11-11 20:49:59 +01:00 |
|
DL6ER
|
28c8d263d1
|
Merge pull request #1744 from pi-hole/new/check_certificate
Add X.509 parsing capabilities
|
2023-11-10 22:14:01 +01:00 |
|
DL6ER
|
c2eca93af8
|
Add tests and unify success/error messages across the files we are writing
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-09 21:18:25 +01:00 |
|
DL6ER
|
58b402be6f
|
Add tests for --read-x509(-key)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-09 16:30:22 +01:00 |
|
DL6ER
|
5da282eb8d
|
Tests: Add tests that both /api/history and /api/history/clients return full 24h data
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-08 09:47:08 +01:00 |
|
DL6ER
|
5dc17a1ed3
|
Move dhcp.domain -> dns.domain
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-07 08:47:39 +01:00 |
|
DL6ER
|
ca97616ed1
|
Add config option misc.etc_dnsmasq_d to allow setting whether files in /etc/dnsmasq.d are loaded as additional config files for Pi-hole. This resolves a long standing issue with Pi-hole not being compatible with software that installs custom files with conflicting lines in this directory (e.g., lxc) as well as improve the coexistence of Pi-hole with an already running dnsmasq on the host (by default, we do not share any config files in the future)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-05 10:27:03 +01:00 |
|
DL6ER
|
11127f0f13
|
Fix OpenAPI checker not being able to discover properties that are returned by FTL but not documented in the OpenAPI specs
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-04 17:11:37 +01:00 |
|
DL6ER
|
add7ceadda
|
Make number of maximum concurrent API sessions adjustable
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-04 17:00:59 +01:00 |
|
DL6ER
|
c54f0a7871
|
Add tests for international local CNAME records
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-04 13:50:07 +01:00 |
|
DL6ER
|
75cd372d0e
|
Add string format verification in API checker
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-04 12:38:24 +01:00 |
|
DL6ER
|
6f2c6fe801
|
Add dhcp.netmask (type IPv4 address) and change the type of dhcp.{start,end,router} from string to IPv4 address to allow detection of invalid settings (e.g., "192.168.1.3000") early on
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-04 12:38:13 +01:00 |
|
DL6ER
|
fe8798e1b1
|
Add tests for international custom DNS records
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-03 12:22:26 +01:00 |
|
DL6ER
|
f1c59db0f6
|
Declare pihole.toml as UTF-8 document. we add a compile-time switch to use ASCII with UTF-8 escaping instead in case this is a necessity for anyone (I don't really expect this in the third millenial but we also know people are still using Windows XP on the web...)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-03 10:12:07 +01:00 |
|
 DL6ERandyubiuser
|
d805bd75f4
|
Update test/api/checkAPI.py
Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>
|
2023-11-03 06:47:32 +01:00 |
|
DL6ER
|
15ae21e39c
|
Clarify error wording
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-02 05:55:27 +01:00 |
|
DL6ER
|
3a67a77a08
|
Report number of checked endpoints in the result and warn if the number of specified endpoints in FTL and the OpenAPI specs do not match
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-02 05:50:32 +01:00 |
|
DL6ER
|
5993b66bca
|
Add checking of all endpoints defined in FTL but not in the OpenAPI specs and vice versa
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-11-02 05:28:07 +01:00 |
|
DL6ER
|
c8391fdcd5
|
Merge pull request #1715 from pi-hole/new/search_punycode
/api/search/{domain}: Add IDN compatibility
|
2023-10-31 21:00:17 +01:00 |
|
DL6ER
|
e0c55ce5b5
|
Convert searched domains to punycode (if applicable) and lowercase them
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-30 10:00:11 +01:00 |
|
DL6ER
|
f4e6dfc061
|
Implement deep-recursion of API arrays
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-30 07:42:51 +01:00 |
|
DL6ER
|
e741ba4c94
|
Add app password support
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-23 18:13:12 +02:00 |
|
DL6ER
|
0700bf0f9d
|
Merge pull request #1689 from pi-hole/new/keep_sessions
Backup and restore API sessions to/from database
|
2023-10-28 17:33:16 +02:00 |
|
DL6ER
|
29274ad411
|
Config items set via environment variables cannot be changed, they remain readonly for the entire lifespan of the FTL process
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-22 23:11:52 +02:00 |
|
DL6ER
|
a2a8787239
|
Add new config option webserver.api.session.restore defaulting to true and move existing config option webserver.api.sessionTimeout -> webserver.api.session.timeout
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-22 08:51:11 +02:00 |
|
DL6ER
|
705d366e05
|
Merge pull request #1677 from pi-hole/fix/privacy_restart
Always restart FTL when changing the privacy level
|
2023-10-21 19:46:06 +02:00 |
|
DL6ER
|
b88a249d36
|
Update tests to reflect the new database version 14
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-20 19:53:58 +02:00 |
|
DL6ER
|
c30418bddc
|
Merge branch 'development-v6' into fix/privacy_restart
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-10 19:28:14 +02:00 |
|
Adam Warner
|
4c6dadde71
|
Merge pull request #1679 from pi-hole/new/envvars
Add environmental variables support
|
2023-10-20 11:13:06 +01:00 |
|
DL6ER
|
e923e88c33
|
The most recent commit improved config file rereading in such a way that the DNS cache can stay intact for most changes. This needs to be reflected in the tests, expecting only one instead of two compilations of the regex filters.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-19 21:44:22 +02:00 |
|
DL6ER
|
6f8bc4ee82
|
Implement setting API password via env variable
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-18 19:23:05 +02:00 |
|
DL6ER
|
f80044c3e2
|
Make FTL read and parse FTLCONF_* environmental variables. If they exist, they take precedence over config file values. The config file is updated from environmental variables so any changes can be followed therein.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-17 16:53:12 +02:00 |
|
DL6ER
|
4f702355c0
|
Merge pull request #1665 from pi-hole/new/search_results
Add number of matches into /api/search/{domain} results
|
2023-10-16 23:21:17 +02:00 |
|
DL6ER
|
71c0d66338
|
Remove semicolon actually preventing the correct filtering on regex IDs
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-15 11:31:25 +02:00 |
|
DL6ER
|
ab64721621
|
Include .results.total (will never be clipped) and remove .total (may have been clipped)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-15 11:23:20 +02:00 |
|
DL6ER
|
ba325b0e2c
|
Add number of matches into /api/search/{domain} results
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-14 21:06:48 +02:00 |
|
DL6ER
|
c5067b3a60
|
Merge pull request #1664 from pi-hole/new/error_pages
Add error pages support and extended webserver debugging option
|
2023-10-14 20:44:48 +02:00 |
|
DL6ER
|
425bb5a8ec
|
Add debug.webserver
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-14 15:31:24 +02:00 |
|
DL6ER
|
64baa94395
|
Add new config option webserver.api.searchAPIauth defaulting to false
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-13 18:51:49 +02:00 |
|
DL6ER
|
3630bb1adb
|
Add new option dns.listeningMode = NONE
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-11 22:08:31 +02:00 |
|
DL6ER
|
2950424b8b
|
Add new dnsmasq warning to CI test
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2023-10-17 22:31:19 +02:00 |
|