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/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; 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() diff --git a/config/sentry.php b/config/sentry.php index 33ae36c73..f0717020c 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -7,7 +7,7 @@ return [ // The release version of your application // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) - 'release' => '4.0.0-beta.361', + 'release' => '4.0.0-beta.362', // When left empty or `null` the Laravel environment will be used 'environment' => config('app.env'), diff --git a/config/version.php b/config/version.php index 0e83ff40e..ba46a4727 100644 --- a/config/version.php +++ b/config/version.php @@ -1,3 +1,3 @@ + href="{{ route('destination.index') }}"> Get notified about your infrastructure.