From 1227448e53e52aeb0c18c1b14797c23723682dff Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 29 Apr 2025 10:54:30 +0200 Subject: [PATCH] v4.0.0-beta.415 (#5722) * feat(README): add InterviewPal sponsorship link and corresponding SVG icon * chore(versions): update coolify version to 4.0.0-beta.413 and nightly version to 4.0.0-beta.414 in configuration files * fix(terminal): enhance WebSocket client verification with authorized IPs in terminal server * chore(versions): update realtime version to 1.0.8 in versions.json * chore(versions): update realtime version to 1.0.8 in versions.json * chore(docker): update soketi image version to 1.0.8 in production configuration files * chore(versions): update coolify version to 4.0.0-beta.414 and nightly version to 4.0.0-beta.415 in configuration files * fix(ApplicationDeploymentJob): ensure source is an object before checking GitHub app properties * fix(ui): Disable livewire navigate feature (causing spam of setInterval()) * fix(ui): Remove required attribute from image input in service application view * fix(ui): Change application image validation to be nullable in service application view * fix(Server): Correct proxy path formatting for Traefik proxy type --- app/Livewire/Dashboard.php | 2 +- app/Livewire/Project/Application/Heading.php | 4 +- app/Livewire/Project/Index.php | 2 +- .../Service/ServiceApplicationView.php | 2 +- app/Models/Server.php | 2 +- config/constants.php | 2 +- other/nightly/versions.json | 4 +- resources/views/components/navbar.blade.php | 32 +++---- .../components/notification/navbar.blade.php | 7 +- .../resources/breadcrumbs.blade.php | 2 - .../components/security/navbar.blade.php | 4 +- .../views/components/server/navbar.blade.php | 6 +- .../components/server/sidebar-proxy.blade.php | 6 +- .../views/components/server/sidebar.blade.php | 16 ++-- .../components/settings/navbar.blade.php | 6 +- .../views/components/team/navbar.blade.php | 7 +- resources/views/livewire/dashboard.blade.php | 26 +++-- .../livewire/destination/index.blade.php | 4 +- .../application/configuration.blade.php | 57 +++++------ .../application/deployment/index.blade.php | 95 +++++++++++-------- .../project/application/heading.blade.php | 8 +- .../project/database/configuration.blade.php | 32 +++---- .../project/database/heading.blade.php | 7 +- .../database/scheduled-backups.blade.php | 3 +- .../project/environment-edit.blade.php | 4 +- .../views/livewire/project/index.blade.php | 9 +- .../livewire/project/resource/index.blade.php | 43 +++------ .../project/service/configuration.blade.php | 42 ++++---- .../livewire/project/service/index.blade.php | 7 +- .../livewire/project/service/navbar.blade.php | 6 +- .../service-application-view.blade.php | 2 +- .../livewire/project/shared/metrics.blade.php | 2 +- .../shared/scheduled-task/all.blade.php | 4 +- .../views/livewire/project/show.blade.php | 2 - .../security/private-key/index.blade.php | 23 ++--- .../views/livewire/server/index.blade.php | 2 +- .../environment/index.blade.php | 6 +- .../livewire/shared-variables/index.blade.php | 6 +- .../shared-variables/project/index.blade.php | 1 - .../livewire/source/github/change.blade.php | 2 +- .../views/livewire/storage/index.blade.php | 2 +- .../views/livewire/tags/deployments.blade.php | 2 +- resources/views/livewire/tags/show.blade.php | 8 +- resources/views/source/all.blade.php | 4 +- versions.json | 4 +- 45 files changed, 238 insertions(+), 279 deletions(-) diff --git a/app/Livewire/Dashboard.php b/app/Livewire/Dashboard.php index d89f2b970..edbdd25fe 100644 --- a/app/Livewire/Dashboard.php +++ b/app/Livewire/Dashboard.php @@ -51,7 +51,7 @@ class Dashboard extends Component public function navigateToProject($projectUuid) { - return $this->redirect(collect($this->projects)->firstWhere('uuid', $projectUuid)->navigateTo(), true); + return $this->redirect(collect($this->projects)->firstWhere('uuid', $projectUuid)->navigateTo(), navigate: false); } public function render() diff --git a/app/Livewire/Project/Application/Heading.php b/app/Livewire/Project/Application/Heading.php index 475d2dfa8..5b0ae12ef 100644 --- a/app/Livewire/Project/Application/Heading.php +++ b/app/Livewire/Project/Application/Heading.php @@ -100,7 +100,7 @@ class Heading extends Component 'application_uuid' => $this->parameters['application_uuid'], 'deployment_uuid' => $this->deploymentUuid, 'environment_uuid' => $this->parameters['environment_uuid'], - ], navigate: true); + ], navigate: false); } protected function setDeploymentUuid() @@ -147,7 +147,7 @@ class Heading extends Component 'application_uuid' => $this->parameters['application_uuid'], 'deployment_uuid' => $this->deploymentUuid, 'environment_uuid' => $this->parameters['environment_uuid'], - ], navigate: true); + ], navigate: false); } public function render() diff --git a/app/Livewire/Project/Index.php b/app/Livewire/Project/Index.php index 8bf511a66..5347d74f0 100644 --- a/app/Livewire/Project/Index.php +++ b/app/Livewire/Project/Index.php @@ -35,6 +35,6 @@ class Index extends Component { $project = collect($this->projects)->firstWhere('uuid', $projectUuid); - return $this->redirect($project->navigateTo(), true); + return $this->redirect($project->navigateTo(), navigate: false); } } diff --git a/app/Livewire/Project/Service/ServiceApplicationView.php b/app/Livewire/Project/Service/ServiceApplicationView.php index 8324ee645..f1d08ee13 100644 --- a/app/Livewire/Project/Service/ServiceApplicationView.php +++ b/app/Livewire/Project/Service/ServiceApplicationView.php @@ -23,7 +23,7 @@ class ServiceApplicationView extends Component 'application.human_name' => 'nullable', 'application.description' => 'nullable', 'application.fqdn' => 'nullable', - 'application.image' => 'required', + 'application.image' => 'string|nullable', 'application.exclude_from_status' => 'required|boolean', 'application.required_fqdn' => 'required|boolean', 'application.is_log_drain_enabled' => 'nullable|boolean', diff --git a/app/Models/Server.php b/app/Models/Server.php index 89f6ad218..fb9be5de7 100644 --- a/app/Models/Server.php +++ b/app/Models/Server.php @@ -488,7 +488,7 @@ $schema://$host { $proxy_path = "$base_path/proxy"; if ($proxyType === ProxyTypes::TRAEFIK->value) { - $proxy_path = '/'; + $proxy_path = $proxy_path.'/'; } elseif ($proxyType === ProxyTypes::CADDY->value) { $proxy_path = $proxy_path.'/caddy'; } elseif ($proxyType === ProxyTypes::NGINX->value) { diff --git a/config/constants.php b/config/constants.php index 018971370..1479ae201 100644 --- a/config/constants.php +++ b/config/constants.php @@ -2,7 +2,7 @@ return [ 'coolify' => [ - 'version' => '4.0.0-beta.414', + 'version' => '4.0.0-beta.415', 'helper_version' => '1.0.8', 'realtime_version' => '1.0.8', 'self_hosted' => env('SELF_HOSTED', true), diff --git a/other/nightly/versions.json b/other/nightly/versions.json index aabcec3d8..fc4d28de4 100644 --- a/other/nightly/versions.json +++ b/other/nightly/versions.json @@ -1,10 +1,10 @@ { "coolify": { "v4": { - "version": "4.0.0-beta.414" + "version": "4.0.0-beta.415" }, "nightly": { - "version": "4.0.0-beta.415" + "version": "4.0.0-beta.416" }, "helper": { "version": "1.0.8" diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php index 4148a61d3..9a75200b1 100644 --- a/resources/views/components/navbar.blade.php +++ b/resources/views/components/navbar.blade.php @@ -123,7 +123,7 @@