- 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.
21 lines
482 B
Go
21 lines
482 B
Go
package version
|
|
|
|
const (
|
|
// Name of the application
|
|
Name = "CPMP"
|
|
// Version is the semantic version
|
|
Version = "0.1.0"
|
|
// BuildTime is set during build via ldflags
|
|
BuildTime = "unknown"
|
|
// GitCommit is set during build via ldflags
|
|
GitCommit = "unknown"
|
|
)
|
|
|
|
// Full returns the complete version string.
|
|
func Full() string {
|
|
if BuildTime != "unknown" && GitCommit != "unknown" {
|
|
return Version + " (commit: " + GitCommit + ", built: " + BuildTime + ")"
|
|
}
|
|
return Version
|
|
}
|