New Features
-
Core/API: Route validation endpoint with WebSocket support 28fd502
-
WebUI/Config: Route editing dialog with YAML preview yusing/godoxy-webui@9184409 yusing/godoxy-webui@cb58d1a
- New dialog layout with side-by-side edit form and live YAML preview
- Visual separator between edit form and read-only preview
- Real-time route validation during editing
-
WebUI/Config: Live route details in editor yusing/godoxy-webui@c9c4dd7
- Shows real-time route server details (host, ports, Proxmox config) as placeholder in route edit form
-
WebUI/Routes: Keyboard navigation and type-to-search in sidebar yusing/godoxy-webui@67b4a6f
- Press Up/Down arrows to move through routes
- Enter to select, Esc to clear selection
- Type any character to focus search with incremental matching
- Visual hints display available shortcuts
Improvements
-
WebUI/WebSocket: Infinite reconnection with optimized backoff yusing/godoxy-webui@3b044fd
- Changed default
reconnectAttemptsfrom 10 to Infinity for persistent connections - Adjusted
reconnectInterval: faster initial delay (500ms) with 3s cap instead of 5s - Breaking change: WebSocket now retries indefinitely by default. Clients relying on the 10-attempt limit should explicitly set
reconnectAttempts.
- Changed default
-
Core/Serialization: Generalized unmarshal/load functions with pluggable format handlers 06be174
- Replaced YAML-specific functions with generic ones accepting unmarshaler/marshaler function parameters
- Enables future support for other formats while maintaining current YAML behavior
-
Core/Route: Proxmox validation now non-critical 0f13004
- Proxmox validation errors are logged and ignored rather than causing route validation to fail
- Routes function even when Proxmox integration encounters issues
- Logs warnings/errors instead of returning validation errors
- Adds warning when proxmox config exists but no node/resource found
-
Core/Proxmox: Shell injection prevention via struct-level validation e6bd7c2
- Checks all services and files for invalid shell metacharacters (
&,$(), etc.) to prevents shell injection attacks in Proxmox node configurations
- Checks all services and files for invalid shell metacharacters (
-
Core/Proxmox: Improved journalctl with log tailing fallback for non-systemd systems 8b98565
- Formats tail command with fallback retry logic
- Adds
/var/log/messagesfallback when no services specified - Improves log viewing reliability on systems without systemd support
Bug Fixes
-
Core/Serialization: Fixed validation parameter bug d39660e
-
Core/Errors: Prevent empty JSON when marshaling standard error types 0716e80
- Wraps
errors.errorString,fmt.wrapError, andfmt.wrapErrorswithnoUnwrap - Preserves error content during JSON marshaling instead of producing empty output
- Wraps
-
WebUI/Logs: Fixed NaN timestamps; improved timestamp parsing yusing/godoxy-webui@41c8521
Full Changelog: