PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FIX (notifiers): Fix update of existing DB notifiers
Rostislav Dugin1a16f27a5dca
diff --git a/backend/internal/features/databases/model.go b/backend/internal/features/databases/model.goindex 7735de4d..fcad20f3 100644--- a/backend/internal/features/databases/model.go+++ b/backend/internal/features/databases/model.go@@ -67,6 +67,7 @@ func (d *Database) HideSensitiveData() {func (d *Database) Update(incoming *Database) {d.Name = incoming.Named.Type = incoming.Type+ d.Notifiers = incoming.Notifiersswitch d.Type {case DatabaseTypePostgres:diff --git a/frontend/src/features/settings/ui/SettingsComponent.tsx b/frontend/src/features/settings/ui/SettingsComponent.tsxindex 0d0fbf2e..81d90765 100644--- a/frontend/src/features/settings/ui/SettingsComponent.tsx+++ b/frontend/src/features/settings/ui/SettingsComponent.tsx@@ -212,7 +212,7 @@ export function SettingsComponent({ contentHeight }: Props) {<div className="mt-3 text-sm text-gray-500">Read more about settings you can{' '}<a- href="https://postgresus.com/settings"+ href="https://postgresus.com/access-management/#global-settings"target="_blank"rel="noreferrer"className="!text-blue-600"@@ -230,23 +230,18 @@ export function SettingsComponent({ contentHeight }: Props) {<codeclassName="flex-1 cursor-pointer transition-colors select-all hover:text-blue-600"onClick={() => {- window.open(- `${getApplicationServer()}/api/v1/downdetect/is-available`,- '_blank',- );+ window.open(`${getApplicationServer()}/api/v1/system/health`, '_blank');}}title="Click to open in new tab">- {getApplicationServer()}/api/v1/downdetect/is-available+ {getApplicationServer()}/api/v1/system/health</code><Buttontype="text"size="small"className="ml-2 opacity-0 transition-opacity group-hover:opacity-100"onClick={() => {- navigator.clipboard.writeText(- `${getApplicationServer()}/api/v1/downdetect/is-available`,- );+ navigator.clipboard.writeText(`${getApplicationServer()}/api/v1/system/health`);message.success('Health-check endpoint copied to clipboard');}}>