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
chore: remove limit on commit message
peaklabs-dev8bcd1449d235
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 21b2b6d18e..fd958ba3cc 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -1497,7 +1497,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue]);if ($this->saved_outputs->get('commit_message')) {- $commit_message = str($this->saved_outputs->get('commit_message'))->limit(47);+ $commit_message = str($this->saved_outputs->get('commit_message'));$this->application_deployment_queue->commit_message = $commit_message->value();ApplicationDeploymentQueue::whereCommit($this->commit)->whereApplicationId($this->application->id)->update(['commit_message' => $commit_message->value()]diff --git a/app/Models/ApplicationDeploymentQueue.php b/app/Models/ApplicationDeploymentQueue.phpindex 95c78d725e..fd8f1cba2e 100644--- a/app/Models/ApplicationDeploymentQueue.php+++ b/app/Models/ApplicationDeploymentQueue.php@@ -81,7 +81,7 @@ class ApplicationDeploymentQueue extends Modelreturn null;}- return str($this->commit_message)->trim()->limit(50)->value();+ return str($this->commit_message)->value();}public function addLogEntry(string $message, string $type = 'stdout', bool $hidden = false)diff --git a/database/migrations/2025_01_16_110406_change_commit_message_to_text_in_application_deployment_queues.php b/database/migrations/2025_01_16_110406_change_commit_message_to_text_in_application_deployment_queues.phpnew file mode 100644index 0000000000..6c64bf38d4--- /dev/null+++ b/database/migrations/2025_01_16_110406_change_commit_message_to_text_in_application_deployment_queues.php@@ -0,0 +1,28 @@+<?php++use Illuminate\Database\Migrations\Migration;+use Illuminate\Database\Schema\Blueprint;+use Illuminate\Support\Facades\Schema;++return new class extends Migration+{+ /**+ * Run the migrations.+ */+ public function up(): void+ {+ Schema::table('application_deployment_queues', function (Blueprint $table) {+ $table->text('commit_message')->nullable()->change();+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::table('application_deployment_queues', function (Blueprint $table) {+ $table->string('commit_message', 50)->nullable()->change();+ });+ }+};