Commit Graph

4360 Commits

Author SHA1 Message Date
Monviech f1d5434657 www/caddy: Fix IPv6 address + Port combination in Caddyfile template (#4054)
* Fix IPv6 in handlers. IPv6 will be detected and put into square brackets. Additionally removed that IP addresses are valid in the frontend domain, since that would break some template sections like dyndns and certificate generation, so it is unsupported in the scope of the GUI.

* www/caddy: Remove IP address in domains from help text too.

* www/caddy: Explicitely set IpAllowed to N since the default is Y.
2024-06-27 15:18:21 +02:00
Ad Schellevis 78a784c5d9 security/etpro-telemetry - fix python 3.11 compatibility issues 2024-06-24 17:48:01 +02:00
Michael 486260e069 net-mgmt/zabbix-* 7 variant (#4053) 2024-06-21 13:51:42 +02:00
Franco Fichtner 58d06c7cc4 plugins: style sweep 2024-06-20 09:18:55 +02:00
Franco Fichtner 0faec69e0e dns/bind: bump 2024-06-20 08:46:55 +02:00
Nathan Rennie-Waldock be43869f31 dns/bind: Fix handling of multiple ACLs in allow-query/allow-transfer 2024-06-20 08:43:04 +02:00
Franco Fichtner 616951739f misc/theme-vicuna: version only, not revision 2024-06-19 13:10:47 +02:00
opnsenseuser 8da49ef850 dashboard: allow widget locking
dashboard: allow widget locking
2024-06-18 20:04:59 +02:00
Monviech 0e178ebb64 www/caddy: Fix type error in configAction of DiagnosticsController. 2024-06-17 20:38:50 +02:00
René 68039e95fd Themes update for 24.7 (#4044) 2024-06-17 16:14:33 +02:00
Franco Fichtner 6eb19d223f net/frr: bump revision 2024-06-17 11:05:22 +02:00
Monviech 0668669a57 www/caddy: Remove dns provider duplication in Caddyfile (#4034)
* www/caddy: Remove dns provider duplication in Caddyfile, move to single source of truth to file includeDnsProvider.

* Refactor DNS Providers that require special configuration into one array to avoid duplication.

* Remove redundant dnsProvider check before tls { } block. Make comments better to explain special cases and how to maintain dns providers in the template.

* Improve comment a bit more

* Add changelog
2024-06-10 08:28:50 +02:00
Monviech 2f625afc19 www/caddy: Change "check_interval" and "ttl" to seconds, add "update_only" option (#4038)
* www/caddy: Change TTL of DNS Records set by dynamic DNS. TTL can be left empty to use system defaults, or a value in seconds.

* Add changelog.

* Change DynDnsCheckInterval to DynDnsInterval, using seconds. Field is allowed to be empty, it uses the system default of 1800s (30m) from the module if undefined. Improve help text. Add validation range to model.

* Add new Update Only field to Dynamic Dns. Add validations to model that were forgot in last commit.

* Update parameter comments in Caddyfile.

* Forgot to change fieldname in form controller.
2024-06-10 08:23:10 +02:00
Monviech 508864dd89 www/caddy: Add dns providers: dnsmadeeasy, bunny, civo, scaleway, acmeproxy, inwx, namedotcom, easydns, infomaniak, directadmin, hosttech, vultr, Remove dns providers: godaddy 2024-06-06 19:58:45 +02:00
Monviech 2ddbc3831d www/caddy: Remove port from subdomain since it is unsupported. (#4028)
* www/caddy: Remove port from subdomain since it is unsupported. Subdomains track their port from their wildcard domain.

* Add change logs and bump version to 1.5.7

* Changed numbering in validation caddy.php. Adjusted changelog to include new version of caddy.
2024-06-05 15:12:56 +02:00
Monviech 75d55d99e2 Update Caddyfile - basicauth becomes basic_auth 2024-06-05 12:16:58 +02:00
Monviech fd067f3a36 www/caddy: Validation - When Auto HTTPS is enabled, an ACME Email address is required since caddy >=v2.8.0 2024-06-05 12:13:58 +02:00
Franco Fichtner 9329907cab www/nginx: replace rand() usage 2024-06-04 10:03:16 +02:00
Ad Schellevis cd16ed335a net-mgmt/nrpe - add xmlrpxc section which can also be used for partial restores (#4021) 2024-06-03 17:15:21 +02:00
Ad Schellevis c14389baf2 net-mgmt/net-snmp - add xmlrpxc section (#4022)
some people seem to like xmlrpc syncs which can also be used for partial restores
2024-06-03 17:12:12 +02:00
Mike Shuey 8c0e8dbee2 Look at the proper config element when enabling staticd (#4019) 2024-06-02 18:25:21 +02:00
Monviech 0e3caf1ac4 www/caddy: Fix crash of searchAction when reverseUuids is null (#4016)
* Fix crash when reverseUuids is null. Improve performance by using associative arrays and isset instead of in_array.

* Refactored search into a helper function that is called in each section. Made comments clearer. Moved helper functions to top of file before the boilerplate sections.

* Generalize the search helper function a bit more. Now any sections UUID can be referenced, or null for its own UUID.

* Generalize the searchActionHelper function completely.
2024-06-01 18:51:24 +02:00
Monviech 3ce095ffce www/caddy: Add error message when OPNsense WebGUI settings conflict with Caddy (#3999)
* Add error message when OPNsense WebGUI settings conflict with Caddy. Caddy can not start when port 80 and 443 are in use. A conflict with other plugins can cause this, yet the majority of cases is a conflict with the WebGUI due to default settings. This error message in General Settings helps users to fix the most common error why Caddy refuses to start (without emitting usable logs in the Log Viewer).

* Revert "Add error message when OPNsense WebGUI settings conflict with Caddy. Caddy can not start when port 80 and 443 are in use. A conflict with other plugins can cause this, yet the majority of cases is a conflict with the WebGUI due to default settings. This error message in General Settings helps users to fix the most common error why Caddy refuses to start (without emitting usable logs in the Log Viewer)."

* Move validation logic of WebGUI port conflicts with caddy to model validation.

* Refactor to get rid of some double variable declarations.

* Refactor WebGUI validation to the AutoHTTPS setting. When the default ports are used for the WebGUI, AutoHTTPS can not be set to on.

* Implement feedback from code review. Make message dynamic based on port overlap.

* Simplify from constructed message to static message to make it translation friendly. Fix if statement for webGuiPorts, so that when it is not empty, the port can be actually compared.
2024-06-01 13:25:40 +02:00
Franco Fichtner 1ff8b90239 net/haproxy: bump revision for php fixes 2024-05-29 08:18:31 +02:00
Monviech e7cb756289 www/caddy: DNS Provider add netcup and RFC2136 (#3998)
* Add configuration options for DNS Providers: Netcup and RFC2136

* Bump plugin version and description.
2024-05-29 08:16:54 +02:00