72537c3bb4
Add support for bulk applying or removing security header profiles from multiple proxy hosts simultaneously via the Bulk Apply modal. Features: - New bulk endpoint: PUT /api/v1/proxy-hosts/bulk-update-security-headers - Transaction-safe updates with single Caddy config reload - Grouped profile selection (System/Custom profiles) - Partial failure handling with detailed error reporting - Support for profile removal via "None" option - Full i18n support (en, de, es, fr, zh) Backend: - Add BulkUpdateSecurityHeaders handler with validation - Add DB() getter to ProxyHostService - 9 unit tests, 82.3% coverage Frontend: - Extend Bulk Apply modal with security header section - Add bulkUpdateSecurityHeaders API function - Add useBulkUpdateSecurityHeaders mutation hook - 8 unit tests, 87.24% coverage Testing: - All tests passing (Backend + Frontend) - Zero TypeScript errors - Zero security vulnerabilities (Trivy + govulncheck) - Pre-commit hooks passing - No regressions Docs: - Update CHANGELOG.md - Update docs/features.md with bulk workflow
Backend Service
This folder contains the Go API for CaddyProxyManager+.
Prerequisites
- Go 1.24+
Getting started
cp .env.example .env # optional
cd backend
go run ./cmd/api
Tests
cd backend
go test ./...