Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Merge current main into release highlights
rcourtman0e3e07a9d49c
diff --cc internal/api/route_inventory_test.goindex 61fc758534,91bc725242..5e68ce00f0--- a/internal/api/route_inventory_test.go+++ b/internal/api/route_inventory_test.go@@@ -496,9 -462,10 +496,11 @@@ var allRouteAllowlist = []string"/api/updates/rollback","/api/updates/status","/api/updates/release-notes",+ "/api/updates/release-notes/assets/","/api/updates/stream","/api/updates/plan",+ "/api/updates/pro-runtime",+ "/api/updates/pro-runtime/apply","/api/updates/history","/api/updates/history/entry","/api/infra-updates",diff --cc internal/api/updates_test.goindex 97bcb2899a,99002abc4c..2de680aa75--- a/internal/api/updates_test.go+++ b/internal/api/updates_test.go@@@ -20,25 -20,33 +20,41 @@@ import// MockUpdateManager implements UpdateManager interface for testingtype MockUpdateManager struct {- CheckOptionsFunc func(context.Context, updates.UpdateCheckOptions) (*updates.UpdateInfo, error)- CheckForUpdatesFunc func(ctx context.Context, channel string) (*updates.UpdateInfo, error)- GetReleaseNotesFunc func(ctx context.Context, version string) (*updates.ReleaseNotesInfo, error)- ApplyUpdateFunc func(ctx context.Context, req updates.ApplyUpdateRequest) error- RollbackToBackupFunc func(ctx context.Context, req updates.RollbackRequest) error- GetStatusFunc func() updates.UpdateStatus- GetSSECachedStatusFunc func() (updates.UpdateStatus, time.Time)- AddSSEClientFunc func(w http.ResponseWriter, clientID string) *updates.SSEClient- RemoveSSEClientFunc func(clientID string)- CheckProRuntimeFunc func(ctx context.Context, channel string) (*updates.ProRuntimeSwitch, error)- ApplyProRuntimeFunc func(ctx context.Context, channel string, by updates.InitiatedBy, via updates.InitiatedVia) error+ CheckOptionsFunc func(context.Context, updates.UpdateCheckOptions) (*updates.UpdateInfo, error)+ CheckForUpdatesFunc func(ctx context.Context, channel string) (*updates.UpdateInfo, error)+ GetReleaseNotesFunc func(ctx context.Context, version string) (*updates.ReleaseNotesInfo, error)+ GetReleaseNoteImageFunc func(ctx context.Context, version, name string) ([]byte, error)+ ApplyUpdateFunc func(ctx context.Context, req updates.ApplyUpdateRequest) error+ RollbackToBackupFunc func(ctx context.Context, req updates.RollbackRequest) error+ GetStatusFunc func() updates.UpdateStatus+ GetSSECachedStatusFunc func() (updates.UpdateStatus, time.Time)+ AddSSEClientFunc func(w http.ResponseWriter, clientID string) *updates.SSEClient+ RemoveSSEClientFunc func(clientID string)++ CheckProRuntimeFunc func(ctx context.Context, channel string) (*updates.ProRuntimeSwitch, error)++ ApplyProRuntimeFunc func(ctx context.Context, channel string, by updates.InitiatedBy, via updates.InitiatedVia) error+}++func (m *MockUpdateManager) GetReleaseNoteImage(ctx context.Context, version, name string) ([]byte, error) {+ if m.GetReleaseNoteImageFunc != nil {+ return m.GetReleaseNoteImageFunc(ctx, version, name)+ }+ return nil, updates.ErrReleaseNotFound}+ func (m *MockUpdateManager) CheckProRuntimeSwitch(ctx context.Context, channel string) (*updates.ProRuntimeSwitch, error) {+ if m.CheckProRuntimeFunc != nil {+ return m.CheckProRuntimeFunc(ctx, channel)+ }+ return &updates.ProRuntimeSwitch{Reason: updates.ProRuntimeSwitchReasonNotActivated}, nil+ }++ func (m *MockUpdateManager) ApplyProRuntimeSwitch(ctx context.Context, channel string, by updates.InitiatedBy, via updates.InitiatedVia) error {+ if m.ApplyProRuntimeFunc != nil {+ return m.ApplyProRuntimeFunc(ctx, channel, by, via)+ }+ return nil+ }+func (m *MockUpdateManager) GetReleaseNotes(ctx context.Context, version string) (*updates.ReleaseNotesInfo, error) {if m.GetReleaseNotesFunc != nil {return m.GetReleaseNotesFunc(ctx, version)