plugins
plugins copied to clipboard
www/caddy: Cleanup model, *.php and *.py files
A general cleanup to remove unused code and check for consistency.
No functional changes.
- Model
caddy.xmlhas been cleaned up of any keys that are default in their base fields. - All php style warnings/errors have been fixed for PSR-12.
make style - Specifically, the certificate php extraction script has been split into two files,
caddy_certs.phpandrun_caddy_certs.phpto separate classes and side effects. -
rc.conf.d/caddytemplate has been refactored (that file was one of the first ever in the plugin) -
caddy_control.pyandcaddy_diagnostics.pyhave been refactored for PEP 8.