From 653cfcc766991bf478186f68f785351a8f1670bc Mon Sep 17 00:00:00 2001
From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
Date: Fri, 8 Nov 2024 11:38:07 +0100
Subject: [PATCH 1/6] fix 2 advanced settings
---
resources/views/livewire/settings/index.blade.php | 6 ------
1 file changed, 6 deletions(-)
diff --git a/resources/views/livewire/settings/index.blade.php b/resources/views/livewire/settings/index.blade.php
index c41b0e641..45eda52dd 100644
--- a/resources/views/livewire/settings/index.blade.php
+++ b/resources/views/livewire/settings/index.blade.php
@@ -98,12 +98,6 @@
-
-
@if (!is_null(env('AUTOUPDATE', null)))
From 26e47d7553b81746bad9a40735c0567b10c50d90 Mon Sep 17 00:00:00 2001
From: Andras Bacsai
Date: Fri, 8 Nov 2024 11:39:12 +0100
Subject: [PATCH 2/6] new versions
---
docker-compose.prod.yml | 2 +-
docker-compose.windows.yml | 2 +-
other/nightly/versions.json | 2 +-
versions.json | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml
index b15a109c3..80555e377 100644
--- a/docker-compose.prod.yml
+++ b/docker-compose.prod.yml
@@ -113,7 +113,7 @@ services:
retries: 10
timeout: 2s
soketi:
- image: 'ghcr.io/coollabsio/coolify-realtime:1.0.3'
+ image: 'ghcr.io/coollabsio/coolify-realtime:1.0.4'
ports:
- "${SOKETI_PORT:-6001}:6001"
- "6002:6002"
diff --git a/docker-compose.windows.yml b/docker-compose.windows.yml
index ef2de82e9..d92dc6332 100644
--- a/docker-compose.windows.yml
+++ b/docker-compose.windows.yml
@@ -103,7 +103,7 @@ services:
retries: 10
timeout: 2s
soketi:
- image: 'ghcr.io/coollabsio/coolify-realtime:1.0.0'
+ image: 'ghcr.io/coollabsio/coolify-realtime:1.0.4'
pull_policy: always
container_name: coolify-realtime
restart: always
diff --git a/other/nightly/versions.json b/other/nightly/versions.json
index dbb295590..1881b2e68 100644
--- a/other/nightly/versions.json
+++ b/other/nightly/versions.json
@@ -1,7 +1,7 @@
{
"coolify": {
"v4": {
- "version": "4.0.0-beta.360"
+ "version": "4.0.0-beta.361"
},
"nightly": {
"version": "4.0.0-beta.362"
diff --git a/versions.json b/versions.json
index dbb295590..1881b2e68 100644
--- a/versions.json
+++ b/versions.json
@@ -1,7 +1,7 @@
{
"coolify": {
"v4": {
- "version": "4.0.0-beta.360"
+ "version": "4.0.0-beta.361"
},
"nightly": {
"version": "4.0.0-beta.362"
From f081ba762150ae6d2dde87dcf745ca16ba60dc46 Mon Sep 17 00:00:00 2001
From: Andras Bacsai
Date: Fri, 8 Nov 2024 11:45:56 +0100
Subject: [PATCH 3/6] fix: notifications ui
---
app/Livewire/Notifications/Email.php | 12 ++++++------
app/Livewire/Server/Show.php | 10 ++++++----
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/app/Livewire/Notifications/Email.php b/app/Livewire/Notifications/Email.php
index b49638b48..28267331a 100644
--- a/app/Livewire/Notifications/Email.php
+++ b/app/Livewire/Notifications/Email.php
@@ -50,22 +50,22 @@ class Email extends Component
public ?int $smtpTimeout = null;
#[Validate(['boolean'])]
- public bool $smtpNotificationsTest;
+ public bool $smtpNotificationsTest = false;
#[Validate(['boolean'])]
- public bool $smtpNotificationsDeployments;
+ public bool $smtpNotificationsDeployments = false;
#[Validate(['boolean'])]
- public bool $smtpNotificationsStatusChanges;
+ public bool $smtpNotificationsStatusChanges = false;
#[Validate(['boolean'])]
- public bool $smtpNotificationsDatabaseBackups;
+ public bool $smtpNotificationsDatabaseBackups = false;
#[Validate(['boolean'])]
- public bool $smtpNotificationsScheduledTasks;
+ public bool $smtpNotificationsScheduledTasks = false;
#[Validate(['boolean'])]
- public bool $smtpNotificationsServerDiskUsage;
+ public bool $smtpNotificationsServerDiskUsage = false;
#[Validate(['boolean'])]
public bool $resendEnabled;
diff --git a/app/Livewire/Server/Show.php b/app/Livewire/Server/Show.php
index 524e21908..aea07efe0 100644
--- a/app/Livewire/Server/Show.php
+++ b/app/Livewire/Server/Show.php
@@ -5,6 +5,7 @@ namespace App\Livewire\Server;
use App\Actions\Server\StartSentinel;
use App\Actions\Server\StopSentinel;
use App\Models\Server;
+use Livewire\Attributes\Locked;
use Livewire\Attributes\Validate;
use Livewire\Component;
@@ -16,7 +17,7 @@ class Show extends Component
public string $name;
#[Validate(['nullable'])]
- public ?string $description;
+ public ?string $description = null;
#[Validate(['required'])]
public string $ip;
@@ -31,7 +32,7 @@ class Show extends Component
public ?string $validationLogs = null;
#[Validate(['nullable', 'url'])]
- public ?string $wildcardDomain;
+ public ?string $wildcardDomain = null;
#[Validate(['required'])]
public bool $isReachable;
@@ -55,7 +56,7 @@ class Show extends Component
public string $sentinelToken;
#[Validate(['nullable'])]
- public ?string $sentinelUpdatedAt;
+ public ?string $sentinelUpdatedAt = null;
#[Validate(['required', 'integer', 'min:1'])]
public int $sentinelMetricsRefreshRateSeconds;
@@ -67,7 +68,7 @@ class Show extends Component
public int $sentinelPushIntervalSeconds;
#[Validate(['nullable', 'url'])]
- public ?string $sentinelCustomUrl;
+ public ?string $sentinelCustomUrl = null;
#[Validate(['required'])]
public bool $isSentinelEnabled;
@@ -78,6 +79,7 @@ class Show extends Component
#[Validate(['required'])]
public string $serverTimezone;
+ #[Locked]
public array $timezones;
public function getListeners()
From c7daa32e217ef966c49802fa1c27f4dca8db0156 Mon Sep 17 00:00:00 2001
From: Andras Bacsai
Date: Fri, 8 Nov 2024 11:48:15 +0100
Subject: [PATCH 4/6] ui fix
---
app/Livewire/Project/Database/BackupEdit.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/Livewire/Project/Database/BackupEdit.php b/app/Livewire/Project/Database/BackupEdit.php
index bcf2f959e..b3a54f0ab 100644
--- a/app/Livewire/Project/Database/BackupEdit.php
+++ b/app/Livewire/Project/Database/BackupEdit.php
@@ -46,8 +46,8 @@ class BackupEdit extends Component
#[Validate(['required', 'boolean'])]
public bool $saveS3 = false;
- #[Validate(['required', 'integer'])]
- public int $s3StorageId = 1;
+ #[Validate(['nullable', 'integer'])]
+ public ?int $s3StorageId = 1;
#[Validate(['nullable', 'string'])]
public ?string $databasesToBackup = null;
From 9f439e26722a44332aea0b1f771a2617d4467d2c Mon Sep 17 00:00:00 2001
From: Andras Bacsai
Date: Fri, 8 Nov 2024 11:51:06 +0100
Subject: [PATCH 5/6] fix: disable wire:navigate
---
resources/views/components/navbar.blade.php | 2 +-
.../views/components/notification/navbar.blade.php | 6 +++---
.../views/components/server/sidebar.blade.php | 14 +++++++-------
.../views/livewire/destination/index.blade.php | 6 ++----
resources/views/livewire/tags/show.blade.php | 2 +-
5 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php
index 8a2f4d5d6..f635a6787 100644
--- a/resources/views/components/navbar.blade.php
+++ b/resources/views/components/navbar.blade.php
@@ -148,7 +148,7 @@