Skip to content

Modern Docker Management, Designed for Everyone

chore: run formatter

Kyle Mendella89581e2a322
diff --git a/backend/internal/dto/settings_dto.go b/backend/internal/dto/settings_dto.go
index ff647cb62..7e8f5ce37 100644
--- a/backend/internal/dto/settings_dto.go
+++ b/backend/internal/dto/settings_dto.go
@@ -12,23 +12,23 @@ type SettingDto struct {
}
type UpdateSettingsDto struct {
- ProjectsDirectory *string `json:"projectsDirectory,omitempty"`
- DiskUsagePath *string `json:"diskUsagePath,omitempty"`
- AutoUpdate *string `json:"autoUpdate,omitempty"`
- AutoUpdateInterval *string `json:"autoUpdateInterval,omitempty"`
- PollingEnabled *string `json:"pollingEnabled,omitempty"`
- PollingInterval *string `json:"pollingInterval,omitempty"`
- PruneMode *string `json:"dockerPruneMode,omitempty" binding:"omitempty,oneof=all dangling"`
- BaseServerURL *string `json:"baseServerUrl,omitempty"`
- EnableGravatar *string `json:"enableGravatar,omitempty"`
- DefaultShell *string `json:"defaultShell,omitempty"`
- DockerHost *string `json:"dockerHost,omitempty"`
- AccentColor *string `json:"accentColor,omitempty"`
- AuthLocalEnabled *string `json:"authLocalEnabled,omitempty"`
- AuthOidcEnabled *string `json:"authOidcEnabled,omitempty"`
- AuthSessionTimeout *string `json:"authSessionTimeout,omitempty"`
- AuthPasswordPolicy *string `json:"authPasswordPolicy,omitempty"`
- AuthOidcConfig *string `json:"authOidcConfig,omitempty"`
+ ProjectsDirectory *string `json:"projectsDirectory,omitempty"`
+ DiskUsagePath *string `json:"diskUsagePath,omitempty"`
+ AutoUpdate *string `json:"autoUpdate,omitempty"`
+ AutoUpdateInterval *string `json:"autoUpdateInterval,omitempty"`
+ PollingEnabled *string `json:"pollingEnabled,omitempty"`
+ PollingInterval *string `json:"pollingInterval,omitempty"`
+ PruneMode *string `json:"dockerPruneMode,omitempty" binding:"omitempty,oneof=all dangling"`
+ BaseServerURL *string `json:"baseServerUrl,omitempty"`
+ EnableGravatar *string `json:"enableGravatar,omitempty"`
+ DefaultShell *string `json:"defaultShell,omitempty"`
+ DockerHost *string `json:"dockerHost,omitempty"`
+ AccentColor *string `json:"accentColor,omitempty"`
+ AuthLocalEnabled *string `json:"authLocalEnabled,omitempty"`
+ AuthOidcEnabled *string `json:"authOidcEnabled,omitempty"`
+ AuthSessionTimeout *string `json:"authSessionTimeout,omitempty"`
+ AuthPasswordPolicy *string `json:"authPasswordPolicy,omitempty"`
+ AuthOidcConfig *string `json:"authOidcConfig,omitempty"`
OnboardingCompleted *string `json:"onboardingCompleted,omitempty"`
OnboardingSteps *string `json:"onboardingSteps,omitempty"`
MobileNavigationMode *string `json:"mobileNavigationMode,omitempty"`
diff --git a/backend/internal/services/settings_service.go b/backend/internal/services/settings_service.go
index c54be3c9a..0e1809e2a 100644
--- a/backend/internal/services/settings_service.go
+++ b/backend/internal/services/settings_service.go
@@ -76,22 +76,22 @@ func (s *SettingsService) LoadDatabaseSettings(ctx context.Context) (err error)
func (s *SettingsService) getDefaultSettings() *models.Settings {
return &models.Settings{
- ProjectsDirectory: models.SettingVariable{Value: "data/projects"},
- DiskUsagePath: models.SettingVariable{Value: "data/projects"},
- AutoUpdate: models.SettingVariable{Value: "false"},
- AutoUpdateInterval: models.SettingVariable{Value: "1440"},
- PollingEnabled: models.SettingVariable{Value: "true"},
- PollingInterval: models.SettingVariable{Value: "60"},
- PruneMode: models.SettingVariable{Value: "dangling"},
- BaseServerURL: models.SettingVariable{Value: "http://localhost"},
- EnableGravatar: models.SettingVariable{Value: "true"},
- DefaultShell: models.SettingVariable{Value: "/bin/sh"},
- DockerHost: models.SettingVariable{Value: "unix:///var/run/docker.sock"},
- AuthLocalEnabled: models.SettingVariable{Value: "true"},
- AuthOidcEnabled: models.SettingVariable{Value: "false"},
- AuthSessionTimeout: models.SettingVariable{Value: "1440"},
- AuthPasswordPolicy: models.SettingVariable{Value: "strong"},
- AuthOidcConfig: models.SettingVariable{Value: "{}"},
+ ProjectsDirectory: models.SettingVariable{Value: "data/projects"},
+ DiskUsagePath: models.SettingVariable{Value: "data/projects"},
+ AutoUpdate: models.SettingVariable{Value: "false"},
+ AutoUpdateInterval: models.SettingVariable{Value: "1440"},
+ PollingEnabled: models.SettingVariable{Value: "true"},
+ PollingInterval: models.SettingVariable{Value: "60"},
+ PruneMode: models.SettingVariable{Value: "dangling"},
+ BaseServerURL: models.SettingVariable{Value: "http://localhost"},
+ EnableGravatar: models.SettingVariable{Value: "true"},
+ DefaultShell: models.SettingVariable{Value: "/bin/sh"},
+ DockerHost: models.SettingVariable{Value: "unix:///var/run/docker.sock"},
+ AuthLocalEnabled: models.SettingVariable{Value: "true"},
+ AuthOidcEnabled: models.SettingVariable{Value: "false"},
+ AuthSessionTimeout: models.SettingVariable{Value: "1440"},
+ AuthPasswordPolicy: models.SettingVariable{Value: "strong"},
+ AuthOidcConfig: models.SettingVariable{Value: "{}"},
OnboardingCompleted: models.SettingVariable{Value: "false"},
OnboardingSteps: models.SettingVariable{Value: "[]"},
MobileNavigationMode: models.SettingVariable{Value: "floating"},