- Implemented Settings page for changing user passwords with validation and feedback. - Created Setup page for initial admin account setup with form handling and navigation. - Added API service layer for handling requests related to proxy hosts, remote servers, and import functionality. - Introduced mock data for testing purposes and set up testing framework with vitest. - Configured Tailwind CSS for styling and Vite for development and build processes. - Added scripts for Dockerfile validation, Python syntax checking, and Sourcery integration. - Implemented release and coverage scripts for better CI/CD practices.
15 lines
363 B
Go
15 lines
363 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// CaddyConfig stores an audit trail of Caddy configuration changes.
|
|
type CaddyConfig struct {
|
|
ID uint `json:"id" gorm:"primaryKey"`
|
|
ConfigHash string `json:"config_hash" gorm:"index"`
|
|
AppliedAt time.Time `json:"applied_at"`
|
|
Success bool `json:"success"`
|
|
ErrorMsg string `json:"error_msg"`
|
|
}
|