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: notifications ui
Andras Bacsaif081ba762150
diff --git a/app/Livewire/Notifications/Email.php b/app/Livewire/Notifications/Email.phpindex b49638b488..28267331a3 100644--- a/app/Livewire/Notifications/Email.php+++ b/app/Livewire/Notifications/Email.php@@ -50,22 +50,22 @@ class Email extends Componentpublic ?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.phpindex 524e219083..aea07efe01 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 Componentpublic string $name;#[Validate(['nullable'])]- public ?string $description;+ public ?string $description = null;#[Validate(['required'])]public string $ip;@@ -31,7 +32,7 @@ class Show extends Componentpublic ?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 Componentpublic 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 Componentpublic 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()