73 Commits
Author SHA1 Message Date
MonviechandGitHub ec2181d8a3 www/caddy: Fix race condition that moved domain filter selectpicker into invisible tab, fix css (#5076) 2025-12-08 17:09:31 +01:00
MonviechandGitHub 840714060e www/caddy: Add changelog for sudo fix (#5036) 2025-11-18 21:28:19 +01:00
MonviechandGitHub e19e3c94f6 www/caddy: fix setup.sh script not setting correct ownership in www user mode (#4976)
* www/caddy: Streamline setup.sh, since chown is skipped automatically when ownership matches

* add changelog
2025-10-11 14:02:48 +02:00
MonviechandGitHub a9c5f61850 www/caddy: Bump version to 2.0.4_1 (#4975) 2025-10-10 16:11:20 +02:00
MonviechandGitHub 97603fc29b www/caddy: Bump plugin version to 2.0.4 (#4954) 2025-09-24 17:59:44 +02:00
MonviechandGitHub 2c4e372109 www/caddy: Fix subdomain http access log (#4919)
* www/caddy: Emit subdomain http access logs in the same log collector as their wildcard parent

* add changelog
2025-09-02 09:52:37 +02:00
MonviechandGitHub a691165cee www/caddy: Fix setup.sh script interaction with files and directories in caddy storage (#4911)
* www/caddy: Fix setup.sh script interaction with files and directories in caddy storage

This fixes multiple things:
- When running as www:www user, the interaction with the admin socket could fail, now we do not touch /var/run/caddy and let it be handled by the permissions set in the rc.d script
- When restarting/reloading caddy, permissions and ownerships would be changed every time, possibly breaking the storage if caddy writes at the same time
- The custom certificates are now stored outside the scope of the caddy storage, ensuring caddy has atomic write guarantee on /var/db/caddy/data...

* Fix some review comments

* add changelog
2025-09-02 09:26:22 +02:00
MonviechandGitHub e0897e1430 www/caddy: Implement tabulator groupBy, fix tabulator 'Data Load Response Blocked' warning, remove unnecessary HTML (#4909)
* www/caddy: Implement tabulator groupBy into subdomain and handlers tabs, modernize style and html

* www/caddy: Fix search endpoints being fired multiple times on initial page load, and when using the command buttons. This fixes some tabulator warnings and improves performance.

* www/caddy: Bump version to 2.0.3 and add changelog
2025-08-23 15:34:23 +02:00
MonviechandGitHub 9b31fedd44 www/caddy: Remove obsolete model_relation_domain formatter (#4813)
* www/caddy: Remove obsolete model_relation_domain formatter

* www/caddy: Bump revision and changelog
2025-07-15 09:58:13 +02:00
MonviechandGitHub 74ec76caae www/caddy: Change em into px, fix key/value display in formatter (#4807)
* www/caddy: Change em into px, fix key/value display in formatter

* www/caddy: Change $ to % for https://github.com/opnsense/core/commit/597eecc5dc5e2268a6745bdf178fff91b8708426

* www/caddy: Bump revision

* www/caddy: Add changelog
2025-07-15 09:39:53 +02:00
MonviechandGitHub c590eef1e2 www/caddy: Add global servers timeouts options (#4778)
* www/caddy: Add global servers timeouts options

* www/caddy: Bump version and changelog

* www/caddy: Add changelog
2025-06-30 10:06:10 +02:00
MonviechandGitHub bb1721640d www/caddy: Fix add handler command causing all domain and subdomain selections being cleared sometimes (#4748) 2025-06-11 09:09:45 +02:00
MonviechandGitHub a5fdb9ccd1 www/caddy: Add changelogs and bump plugin to version 2.0.0 (#4703)
* www/caddy: Update pkg-descr

* www/caddy: Bump version

* www/caddy: Sync pkg-descr with available description in github.com/caddyserver
2025-05-14 13:07:48 +02:00
MonviechandGitHub b850e22ee8 www/caddy: Cleanup volt templates (#4634)
- Cleanup of styles, formatters, and dialog layouts
- Dialog element hiding logic was improved
- "Filter by Domain" can filter subdomains
- "Filter by Domain" will preselect domain and subdomain in handler add dialog
- Grids are now responsive with automatic overflow on small screens
- Grids now lazy load on tab switch for improved performance
- Grids format domains and upstreams with protocol, domain, port and path in a single line
- "Layer4 Proxy" and "Reverse Proxy" now use the same volt template
- "Search Handler" and "Add Handler" buttons added to domain and subdomain grids
- Step buttons (Add Domain, Add Handler) have been removed since they are redundant
- Success messages on configuration apply have been removed, only errors will be shown
- Tabs use URL hash to preserve selection on refresh
2025-04-07 19:32:36 +02:00
MonviechandGitHub 50d71f192a www/caddy: Remove CaddyCertificate.js widget in favor of using the default core provided widget (#4637)
* www/caddy: Remove CaddyCertificates.js widget in favor of using the default core provided widget.
2025-04-06 08:18:16 +02:00
MonviechandGitHub 9e420dde80 www/caddy: Fix ACL privileges. There is just a single ACL now that matches the whole plugin. (#4631) 2025-04-01 16:44:57 +02:00
MonviechandGitHub cc57c78ba6 www/caddy: Add basic_auth support to handlers (#4620)
* www/caddy: Add basic_auth support to handlers

* www/caddy: Move scope of basic_auth into handler

* www/caddy: Changelog and small comments cleanup.

* www/caddy: Remove matcher from basic_auth since thats not used
2025-03-29 07:52:25 +01:00
MonviechandGitHub 18fac64e22 www/caddy: Add missing selectpicker style to dropdowns which have other styles attached (#4616)
* www/caddy: Add missing selectpicker style to dropdowns which have other styles attached

* www/caddy: Change style order to generic to specific, add changelog
2025-03-23 20:37:58 +01:00
MonviechandGitHub 8d5a155553 www/caddy: Add client auth mtls to domains (#4601) 2025-03-19 14:13:22 +01:00
MonviechandGitHub 51fd4b5bb4 www/caddy: add propagation_timeout and propagation_delay, cleanup macro definition, bump version and add changelog (#4557) 2025-03-06 18:03:41 +01:00
MonviechandGitHub 6644d16b6b www/caddy: Add client_ip_headers (#4519)
* www/caddy: Add client_ip_headers for https://github.com/opnsense/plugins/issues/4517 , Rewrite copy_headers logic for https://github.com/opnsense/plugins/issues/4488 . Since headers are used in multiple parts of the configuration this creates a single point of truth to ease maintenance burden.

* www/caddy: Forgot to add general form options for https://github.com/opnsense/plugins/issues/4517

* www/caddy: Change directive name from AuthCopyHeaders to CopyHeaders since Field Type changed to empty it. The field was introduced in the prior version and optional, so impact low. Changelogs.

* www/caddy: Improve helptext for client_ip_headers feature
2025-02-05 14:11:04 +01:00
MonviechandGitHub 7745e63d0f www/caddy: Add copy_headers selectpicker to Auth Provider tab. Authorization header added. (#4496) 2025-01-24 09:47:17 +01:00
MonviechandGitHub e2aa9e1dc5 www/caddy: Disable HTTP/3 to mitigate status 400 issue when reverse proxying the OPNsense WebGUI (#4482) 2025-01-20 11:29:37 +01:00
Franco Fichtner 3b8d735a92 www/caddy: fix sort of a typo here 2025-01-16 14:25:12 +01:00
MonviechandGitHub ed4c9a345b www/caddy: Add syslog function; change visible name to Caddy (#4439)
* www/caddy: Add syslog function

* www/caddy: Bump version

* www/caddy: Add changelog, make sweep

* www/caddy: Change visible name from Caddy Web Server to Caddy

* www/caddy: Update changelog again

* www/caddy: Reduce diff in caddy.inc
2025-01-07 17:06:43 +01:00