Add ssl_mode configuration option to allow users to customize SSL/TLS
policy for database connections instead of hardcoding sslmode=disable
for PostgreSQL and having no TLS support for MySQL.
Changes:
- database.Config, DatabaseConfig: add SSLMode field
- PostgreSQL DSN: replace hardcoded sslmode=disable with configurable
value
- MySQL DSN: append &tls=<SSLMode> parameter when SSLMode is set
- Full config pipeline: INI/env -> DatabaseConfig -> Config -> DSN ->
subprocess
- New env var BH_DB_SSL_MODE and ini key [database] ssl_mode
- Updated config example and documentation
- Add WebUI service and controller for managing custom frontend packages
- Allow overriding default static assets when custom WebUI is activated
- Add Make commands for packing custom WebUI distributions
- Update UI settings to support uploading, activating and deleting WebUIs
- Document WebUI feature in README and changelog