Merge branch 'next' into main

This commit is contained in:
Marvin von Rappard
2024-11-25 09:06:24 +01:00
committed by GitHub
112 changed files with 1597 additions and 1408 deletions

View File

@@ -19,6 +19,7 @@ class DockerCleanup extends Notification implements ShouldQueue
public function __construct(public Server $server, public string $message)
{
$this->onQueue('high');
}
public function via(object $notifiable): array

View File

@@ -22,6 +22,7 @@ class ForceDisabled extends Notification implements ShouldQueue
public function __construct(public Server $server)
{
$this->onQueue('high');
}
public function via(object $notifiable): array

View File

@@ -22,6 +22,7 @@ class ForceEnabled extends Notification implements ShouldQueue
public function __construct(public Server $server)
{
$this->onQueue('high');
}
public function via(object $notifiable): array

View File

@@ -18,6 +18,7 @@ class HighDiskUsage extends Notification implements ShouldQueue
public function __construct(public Server $server, public int $disk_usage, public int $server_disk_usage_notification_threshold)
{
$this->onQueue('high');
}
public function via(object $notifiable): array

View File

@@ -24,6 +24,7 @@ class Reachable extends Notification implements ShouldQueue
public function __construct(public Server $server)
{
$this->onQueue('high');
$this->isRateLimited = isEmailRateLimited(
limiterKey: 'server-reachable:' . $this->server->id,
);

View File

@@ -24,6 +24,7 @@ class Unreachable extends Notification implements ShouldQueue
public function __construct(public Server $server)
{
$this->onQueue('high');
$this->isRateLimited = isEmailRateLimited(
limiterKey: 'server-unreachable:' . $this->server->id,
);