An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(core): update Slack notification formatting to use bold correctly
Andras Bacsaidf129b83b389
diff --git a/app/Notifications/Application/StatusChanged.php b/app/Notifications/Application/StatusChanged.phpindex 669f6e5842..34c5ed7473 100644--- a/app/Notifications/Application/StatusChanged.php+++ b/app/Notifications/Application/StatusChanged.php@@ -103,9 +103,9 @@ class StatusChanged extends CustomEmailNotification$title = 'Application stopped';$description = "{$this->resource_name} has been stopped";- $description .= "\n\n**Project:** ".data_get($this->resource, 'environment.project.name');- $description .= "\n**Environment:** {$this->environment_name}";- $description .= "\n**Application URL:** {$this->resource_url}";+ $description .= "\n\n*Project:* ".data_get($this->resource, 'environment.project.name');+ $description .= "\n*Environment:* {$this->environment_name}";+ $description .= "\n*Application URL:* {$this->resource_url}";return new SlackMessage(title: $title,diff --git a/app/Notifications/Container/ContainerRestarted.php b/app/Notifications/Container/ContainerRestarted.phpindex 68fc6b019d..f6ae694819 100644--- a/app/Notifications/Container/ContainerRestarted.php+++ b/app/Notifications/Container/ContainerRestarted.php@@ -93,7 +93,7 @@ class ContainerRestarted extends CustomEmailNotification$description = "A resource ({$this->name}) has been restarted automatically on {$this->server->name}";if ($this->url) {- $description .= "\n**Resource URL:** {$this->url}";+ $description .= "\n*Resource URL:* {$this->url}";}return new SlackMessage(diff --git a/app/Notifications/Container/ContainerStopped.php b/app/Notifications/Container/ContainerStopped.phpindex 59ad7ae4e4..fc9410a851 100644--- a/app/Notifications/Container/ContainerStopped.php+++ b/app/Notifications/Container/ContainerStopped.php@@ -93,7 +93,7 @@ class ContainerStopped extends CustomEmailNotification$description = "A resource ({$this->name}) has been stopped unexpectedly on {$this->server->name}";if ($this->url) {- $description .= "\n**Resource URL:** {$this->url}";+ $description .= "\n*Resource URL:* {$this->url}";}return new SlackMessage(diff --git a/app/Notifications/Database/BackupFailed.php b/app/Notifications/Database/BackupFailed.phpindex 6dcb705839..a19fb04317 100644--- a/app/Notifications/Database/BackupFailed.php+++ b/app/Notifications/Database/BackupFailed.php@@ -79,8 +79,8 @@ class BackupFailed extends CustomEmailNotification$title = 'Database backup failed';$description = "Database backup for {$this->name} (db:{$this->database_name}) has FAILED.";- $description .= "\n\n**Frequency:** {$this->frequency}";- $description .= "\n\n**Error Output:**\n{$this->output}";+ $description .= "\n\n*Frequency:* {$this->frequency}";+ $description .= "\n\n*Error Output:* {$this->output}";return new SlackMessage(title: $title,diff --git a/app/Notifications/Database/BackupSuccess.php b/app/Notifications/Database/BackupSuccess.phpindex 585f7cce19..78bcfafe35 100644--- a/app/Notifications/Database/BackupSuccess.php+++ b/app/Notifications/Database/BackupSuccess.php@@ -77,7 +77,7 @@ class BackupSuccess extends CustomEmailNotification$title = 'Database backup successful';$description = "Database backup for {$this->name} (db:{$this->database_name}) was successful.";- $description .= "\n\n**Frequency:** {$this->frequency}";+ $description .= "\n\n*Frequency:* {$this->frequency}";return new SlackMessage(title: $title,diff --git a/app/Notifications/ScheduledTask/TaskFailed.php b/app/Notifications/ScheduledTask/TaskFailed.phpindex c4d92f2135..eb4fc7e79f 100644--- a/app/Notifications/ScheduledTask/TaskFailed.php+++ b/app/Notifications/ScheduledTask/TaskFailed.php@@ -101,11 +101,11 @@ class TaskFailed extends CustomEmailNotification$description = "Scheduled task ({$this->task->name}) failed.";if ($this->output) {- $description .= "\n\n**Error Output:**\n{$this->output}";+ $description .= "\n\n*Error Output:* {$this->output}";}if ($this->url) {- $description .= "\n\n**Task URL:** {$this->url}";+ $description .= "\n\n*Task URL:* {$this->url}";}return new SlackMessage(diff --git a/app/Notifications/ScheduledTask/TaskSuccess.php b/app/Notifications/ScheduledTask/TaskSuccess.phpindex 5d4154e7ab..c45784db24 100644--- a/app/Notifications/ScheduledTask/TaskSuccess.php+++ b/app/Notifications/ScheduledTask/TaskSuccess.php@@ -96,7 +96,7 @@ class TaskSuccess extends CustomEmailNotification$description = "Scheduled task ({$this->task->name}) succeeded.";if ($this->url) {- $description .= "\n\n**Task URL:** {$this->url}";+ $description .= "\n\n*Task URL:* {$this->url}";}return new SlackMessage(