Skip to content

Conversation

@noelukwa
Copy link
Owner

Major refactoring with improved security and efficiency

…esting

major restructure with client-server architecture, comprehensive testing, and improved error handling
- Change UpdateConfig to use PATCH method as expected by Caddy API
- Fix domain validation to reject localhost and follow RFC standards
- Update test expectations to match implementation behavior
- Remove obsolete build.yaml workflow
- Update golangci-lint config for newer version compatibility
- Add missing comments for exported constants
- Fix formatting with gofumpt
- Address security warnings with proper annotations
- Fix unused parameter warnings
- Use more restrictive directory permissions (0750)
- Refactor RemoveServerBlock to reduce cyclomatic complexity
- Fix evalOrder warning in spinner Update method
- Remove unused parameters in registerMDNS and NewConnectionPool
- Remove unnecessary error return from GetClientTLSConfig
- Extract helper methods for better code organization
@noelukwa noelukwa merged commit 368c62c into main Aug 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants