Update LeCommon.php (#3936)
Match acme.sh settings where debug 2 should have corresponding syslog = 8, and debug 3 should have corresponding syslog = 9
www/caddy: Selectpicker that can filter the Domain, Subdomain and Handlers by selected Domain (#3937)
* Update reverse_proxy.volt
Add a first version of a filter functionality by domain. In this version, only handlers are filtered by domain.
A selectpicker with multi selection can choose domains, and the filter function compares these UUIDs to the UUIDs of the "reverse" UUIDs of the model relation fields. Either all domains are shown, or only elements where the UUIDs match.
* Update ReverseProxyController.php
A new api endpoint for the domain search selectpicker has been created. It returns the ID and a Domain+Port combination.
The search function for the Handler now returns all fields if no filter has been set, or only the referenced UUIDs when a filter has been set.
* Update ReverseProxyController.php - Add search function to subdomains
* Update reverse_proxy.volt - Reference Search Filter in Handlers, Domains and Subdomains
* Update ReverseProxyController.php - Add the search function to domains
[9 lines not shown]
Update caddy_control.py (#3944)
Forces the reload even if the config in the Caddyfile is unchanged, using an extra command of the rc.d script, forcing certificates in the filesystem to reload.
Fixes: {"info","ts":"2024-04-26T06:13:06Z","msg":"config is unchanged"}
Otherwise, if the config is unchanged, and the certificates are replaced, the names of the certificates in the Caddyfile stay the same, thus implying the config has been unchanged.
www/caddy: Change display of domain and port combination in Model Relation Field (#3927)
* Update Caddy.xml - Replace ":" with "." in Model Relation Field.
Since a stray ":" when leaving the port empty could cause confusion, I have opted to replace it with a "."
This adheres to the standard of FQDNs ending with a "DOT" at the end (RFC 1034). Note: This changes only what is displayed, not the stored data itself.
This change makes an empty port in the GUI look like this:
example.com.
And with a port, like this:
example.com.443
(Compare to: https://github.com/opnsense/plugins/issues/3917#issuecomment-2064230068 )
* Update Makefile - Bump revision to 1
[7 lines not shown]