Skip to content

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.

v4.0.0-beta.420 (#6008)

🏔️ Peakd3f85d777cc1
diff --git a/.cursor/rules/security-patterns.mdc b/.cursor/rules/security-patterns.mdc
index d47d033752..9cdbcaa0c1 100644
--- a/.cursor/rules/security-patterns.mdc
+++ b/.cursor/rules/security-patterns.mdc
@@ -21,7 +21,9 @@ Coolify implements **defense-in-depth security** with multiple layers of protect
- **Supported Providers**:
- Google OAuth
- Microsoft Azure AD
+ - Clerk
- Authentik
+ - Discord
- GitHub (via GitHub Apps)
- GitLab
diff --git a/.cursor/rules/technology-stack.mdc b/.cursor/rules/technology-stack.mdc
index 1e894720c0..81a2e3bb3a 100644
--- a/.cursor/rules/technology-stack.mdc
+++ b/.cursor/rules/technology-stack.mdc
@@ -90,7 +90,7 @@ alwaysApply: false
- **Purpose**: OAuth provider integration
- **Providers**:
- GitHub, GitLab, Google
- - Microsoft Azure, Authentik
+ - Microsoft Azure, Authentik, Discord, Clerk
- Custom OAuth implementations
## Background Processing
diff --git a/app/Actions/Service/StartService.php b/app/Actions/Service/StartService.php
index 1e7779a759..d48594e629 100644
--- a/app/Actions/Service/StartService.php
+++ b/app/Actions/Service/StartService.php
@@ -41,6 +41,6 @@ class StartService
}
}
- return remote_process($commands, $service->server, type_uuid: $service->uuid);
+ return remote_process($commands, $service->server, type_uuid: $service->uuid, callEventOnFinish: 'ServiceStatusChanged');
}
}
diff --git a/app/Console/Commands/CleanupStuckedResources.php b/app/Console/Commands/CleanupStuckedResources.php
index 0b5eef84d5..81824675b3 100644
--- a/app/Console/Commands/CleanupStuckedResources.php
+++ b/app/Console/Commands/CleanupStuckedResources.php
@@ -20,6 +20,7 @@ use App\Models\StandaloneMongodb;
use App\Models\StandaloneMysql;
use App\Models\StandalonePostgresql;
use App\Models\StandaloneRedis;
+use App\Models\Team;
use Illuminate\Console\Command;
class CleanupStuckedResources extends Command
@@ -36,6 +37,12 @@ class CleanupStuckedResources extends Command
private function cleanup_stucked_resources()
{
try {
+ $teams = Team::all()->filter(function ($team) {
+ return $team->members()->count() === 0 && $team->servers()->count() === 0;
+ });
+ foreach ($teams as $team) {
+ $team->delete();
+ }
$servers = Server::all()->filter(function ($server) {
return $server->isFunctional();
});
diff --git a/app/Helpers/SshMultiplexingHelper.php b/app/Helpers/SshMultiplexingHelper.php
index 8da476b9e0..8caa2880af 100644
--- a/app/Helpers/SshMultiplexingHelper.php
+++ b/app/Helpers/SshMultiplexingHelper.php
@@ -103,7 +103,11 @@ class SshMultiplexingHelper
}
$scp_command .= self::getCommonSshOptions($server, $sshKeyLocation, config('constants.ssh.connection_timeout'), config('constants.ssh.server_interval'), isScp: true);
- $scp_command .= "{$source} {$server->user}@{$server->ip}:{$dest}";
+ if ($server->isIpv6()) {
+ $scp_command .= "{$source} {$server->user}@[{$server->ip}]:{$dest}";
+ } else {
+ $scp_command .= "{$source} {$server->user}@{$server->ip}:{$dest}";
+ }
return $scp_command;
}
diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php
index 14a2950afb..09007ad96e 100644
--- a/app/Http/Controllers/Controller.php
+++ b/app/Http/Controllers/Controller.php
@@ -144,7 +144,7 @@ class Controller extends BaseController
}
}
- public function revoke_invitation()
+ public function revokeInvitation()
{
$invitation = TeamInvitation::whereUuid(request()->route('uuid'))->firstOrFail();
$user = User::whereEmail($invitation->email)->firstOrFail();
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index eb7686c06a..c9b7c9992d 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -1381,8 +1381,8 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
if (is_object($this->source) && $this->source->getMorphClass() === \App\Models\GithubApp::class && $this->source->is_public === false) {
$repository = githubApi($this->source, "repos/{$this->customRepository}");
$data = data_get($repository, 'data');
- if (isset($data->id)) {
- $repository_project_id = $data->id;
+ $repository_project_id = data_get($data, 'id');
+ if (isset($repository_project_id)) {
if (blank($this->application->repository_project_id) || $this->application->repository_project_id !== $repository_project_id) {
$this->application->repository_project_id = $repository_project_id;
$this->application->save();
diff --git a/app/Livewire/Notifications/Email.php b/app/Livewire/Notifications/Email.php
index 897e6cf06c..128321ed26 100644
--- a/app/Livewire/Notifications/Email.php
+++ b/app/Livewire/Notifications/Email.php
@@ -254,10 +254,9 @@ class Email extends Component
'smtpEncryption.required' => 'Encryption type is required.',
]);
- $this->settings->resend_enabled = false;
- $this->settings->use_instance_email_settings = false;
- $this->resendEnabled = false;
- $this->useInstanceEmailSettings = false;
+ if ($this->smtpEnabled) {
+ $this->settings->resend_enabled = $this->resendEnabled = false;
+ }
$this->settings->smtp_enabled = $this->smtpEnabled;
$this->settings->smtp_from_address = $this->smtpFromAddress;
@@ -293,11 +292,9 @@ class Email extends Component
'smtpFromAddress.email' => 'Please enter a valid email address.',
'smtpFromName.required' => 'From Name is required.',
]);
-
- $this->settings->smtp_enabled = false;
- $this->settings->use_instance_email_settings = false;
- $this->smtpEnabled = false;
- $this->useInstanceEmailSettings = false;
+ if ($this->resendEnabled) {
+ $this->settings->smtp_enabled = $this->smtpEnabled = false;
+ }
$this->settings->resend_enabled = $this->resendEnabled;
$this->settings->resend_api_key = $this->resendApiKey;
diff --git a/app/Livewire/Project/Application/Source.php b/app/Livewire/Project/Application/Source.php
index e27a550c16..932a302ad1 100644
--- a/app/Livewire/Project/Application/Source.php
+++ b/app/Livewire/Project/Application/Source.php
@@ -111,8 +111,19 @@ class Source extends Component
$this->application->update([
'source_id' => $sourceId,
'source_type' => $sourceType,
- 'repository_project_id' => null,
]);
+
+ ['repository' => $customRepository] = $this->application->customRepository();
+ $repository = githubApi($this->application->source, "repos/{$customRepository}");
+ $data = data_get($repository, 'data');
+ $repository_project_id = data_get($data, 'id');
+ if (isset($repository_project_id)) {
+ if ($this->application->repository_project_id !== $repository_project_id) {
+ $this->application->repository_project_id = $repository_project_id;
+ $this->application->save();
+ }
+ }
+
$this->application->refresh();
$this->getSources();
$this->dispatch('success', 'Source updated!');
diff --git a/app/Livewire/Project/Service/Heading.php b/app/Livewire/Project/Service/Heading.php
index eb7f469a8a..d78fbe9ed7 100644
--- a/app/Livewire/Project/Service/Heading.php
+++ b/app/Livewire/Project/Service/Heading.php
@@ -6,7 +6,6 @@ use App\Actions\Docker\GetContainersStatus;
use App\Actions\Service\StartService;
use App\Actions\Service\StopService;
use App\Enums\ProcessStatus;
-use App\Events\ServiceStatusChanged;
use App\Models\Service;
use Illuminate\Support\Facades\Auth;
use Livewire\Component;
@@ -96,7 +95,7 @@ class Heading extends Component
public function start()
{
$activity = StartService::run($this->service, pullLatestImages: true);
- $this->dispatch('activityMonitor', $activity->id, ServiceStatusChanged::class);
+ $this->dispatch('activityMonitor', $activity->id);
}
public function forceDeploy()
@@ -112,7 +111,7 @@ class Heading extends Component
$activity->save();
}
$activity = StartService::run($this->service, pullLatestImages: true, stopBeforeStart: true);
- $this->dispatch('activityMonitor', $activity->id, ServiceStatusChanged::class);
+ $this->dispatch('activityMonitor', $activity->id);
} catch (\Exception $e) {
$this->dispatch('error', $e->getMessage());
}
@@ -136,7 +135,7 @@ class Heading extends Component
return;
}
$activity = StartService::run($this->service, stopBeforeStart: true);
- $this->dispatch('activityMonitor', $activity->id, ServiceStatusChanged::class);
+ $this->dispatch('activityMonitor', $activity->id);
}
public function pullAndRestartEvent()
@@ -148,7 +147,7 @@ class Heading extends Component
return;
}
$activity = StartService::run($this->service, pullLatestImages: true, stopBeforeStart: true);
- $this->dispatch('activityMonitor', $activity->id, ServiceStatusChanged::class);
+ $this->dispatch('activityMonitor', $activity->id);
}
public function render()
diff --git a/app/Livewire/Server/Proxy.php b/app/Livewire/Server/Proxy.php
index 9332c25171..1cf8c839e6 100644
--- a/app/Livewire/Server/Proxy.php
+++ b/app/Livewire/Server/Proxy.php
@@ -19,7 +19,15 @@ class Proxy extends Component
public ?string $redirect_url = null;
- protected $listeners = ['saveConfiguration' => 'submit'];
+ public function getListeners()
+ {
+ $teamId = auth()->user()->currentTeam()->id;
+
+ return [
+ 'saveConfiguration' => 'submit',
+ "echo-private:team.{$teamId},ProxyStatusChangedUI" => '$refresh',
+ ];
+ }
protected $rules = [
'server.settings.generate_exact_labels' => 'required|boolean',
diff --git a/app/Livewire/Server/Security/Patches.php b/app/Livewire/Server/Security/Patches.php
index 9392fc3514..b7d17a61dc 100644
--- a/app/Livewire/Server/Security/Patches.php
+++ b/app/Livewire/Server/Security/Patches.php
@@ -69,6 +69,7 @@ class Patches extends Component
{
if (! $this->packageManager || ! $this->osId) {
$this->dispatch('error', message: 'Run “Check for updates” first.');
+
return;
}
diff --git a/app/Livewire/Server/Show.php b/app/Livewire/Server/Show.php
index d803ff6a6f..d53f10d74d 100644
--- a/app/Livewire/Server/Show.php
+++ b/app/Livewire/Server/Show.php
@@ -176,7 +176,7 @@ class Show extends Component
$this->sentinelCustomUrl = $this->server->settings->sentinel_custom_url;
$this->isSentinelEnabled = $this->server->settings->is_sentinel_enabled;
$this->isSentinelDebugEnabled = $this->server->settings->is_sentinel_debug_enabled;
- $this->sentinelUpdatedAt = $this->server->settings->updated_at;
+ $this->sentinelUpdatedAt = $this->server->sentinel_updated_at;
$this->serverTimezone = $this->server->settings->server_timezone;
}
}
diff --git a/app/Livewire/Settings/Index.php b/app/Livewire/Settings/Index.php
index 3d90024b7e..f9df7ee336 100644
--- a/app/Livewire/Settings/Index.php
+++ b/app/Livewire/Settings/Index.php
@@ -68,6 +68,9 @@ class Index extends Component
#[Validate('boolean')]
public bool $disable_two_step_confirmation;
+ #[Validate('boolean')]
+ public bool $is_sponsorship_popup_enabled;
+
public function render()
{
return view('livewire.settings.index');
@@ -96,6 +99,7 @@ class Index extends Component
$this->update_check_frequency = $this->settings->update_check_frequency;
$this->instance_timezone = $this->settings->instance_timezone;
$this->disable_two_step_confirmation = $this->settings->disable_two_step_confirmation;
+ $this->is_sponsorship_popup_enabled = $this->settings->is_sponsorship_popup_enabled;
}
}
@@ -134,6 +138,7 @@ class Index extends Component
$this->settings->update_check_frequency = $this->update_check_frequency;
$this->settings->disable_two_step_confirmation = $this->disable_two_step_confirmation;
$this->settings->instance_timezone = $this->instance_timezone;
+ $this->settings->is_sponsorship_popup_enabled = $this->is_sponsorship_popup_enabled;
if ($isSave) {
$this->settings->save();
$this->dispatch('success', 'Settings updated!');
diff --git a/app/Livewire/Team/AdminView.php b/app/Livewire/Team/AdminView.php
index cfb47d9d83..6d6915ae26 100644
--- a/app/Livewire/Team/AdminView.php
+++ b/app/Livewire/Team/AdminView.php
@@ -3,7 +3,6 @@
namespace App\Livewire\Team;
use App\Models\InstanceSettings;
-use App\Models\Team;
use App\Models\User;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
@@ -53,30 +52,12 @@ class AdminView extends Component
}
}
- private function finalizeDeletion(User $user, Team $team)
- {
- $servers = $team->servers;
- foreach ($servers as $server) {
- $resources = $server->definedResources();
- foreach ($resources as $resource) {
- $resource->forceDelete();
- }
- $server->forceDelete();
- }
-
- $projects = $team->projects;
- foreach ($projects as $project) {
- $project->forceDelete();
- }
- $team->members()->detach($user->id);
- $team->delete();
- }
-
public function delete($id, $password)
{
if (! isInstanceAdmin()) {
return redirect()->route('dashboard');
}
+
if (! data_get(InstanceSettings::get(), 'disable_two_step_confirmation')) {
if (! Hash::check($password, Auth::user()->password)) {
$this->addError('password', 'The provided password is incorrect.');
@@ -84,52 +65,22 @@ class AdminView extends Component
return;
}
}
+
if (! auth()->user()->isInstanceAdmin()) {
return $this->dispatch('error', 'You are not authorized to delete users');
}
+
$user = User::find($id);
- $teams = $user->teams;
- foreach ($teams as $team) {
- $user_alone_in_team = $team->members->count() === 1;
- if ($team->id === 0) {
- if ($user_alone_in_team) {
- return $this->dispatch('error', 'User is alone in the root team, cannot delete');
- }
- }
- if ($user_alone_in_team) {
- $this->finalizeDeletion($user, $team);
+ if (! $user) {
+ return $this->dispatch('error', 'User not found');
+ }
- continue;
- }
- if ($user->isOwner()) {
- $found_other_owner_or_admin = $team->members->filter(function ($member) {
- return $member->pivot->role === 'owner' || $member->pivot->role === 'admin';
- })->where('id', '!=', $user->id)->first();
-
- if ($found_other_owner_or_admin) {
- $team->members()->detach($user->id);
-
- continue;
- } else {
- $found_other_member_who_is_not_owner = $team->members->filter(function ($member) {
- return $member->pivot->role === 'member';
- })->first();
- if ($found_other_member_who_is_not_owner) {
- $found_other_member_who_is_not_owner->pivot->role = 'owner';
- $found_other_member_who_is_not_owner->pivot->save();
- $team->members()->detach($user->id);
- } else {
- $this->finalizeDeletion($user, $team);
- }
-
- continue;
- }
- } else {
- $team->members()->detach($user->id);
- }
+ try {
+ $user->delete();
+ $this->getUsers();
+ } catch (\Exception $e) {
+ return $this->dispatch('error', $e->getMessage());
}
- $user->delete();
- $this->getUsers();
}
public function render()
diff --git a/app/Livewire/Team/Invitations.php b/app/Livewire/Team/Invitations.php
index 93432efc86..3af0e0e921 100644
--- a/app/Livewire/Team/Invitations.php
+++ b/app/Livewire/Team/Invitations.php
@@ -3,6 +3,7 @@
namespace App\Livewire\Team;
use App\Models\TeamInvitation;
+use App\Models\User;
use Livewire\Component;
class Invitations extends Component
@@ -14,8 +15,13 @@ class Invitations extends Component
public function deleteInvitation(int $invitation_id)
{
try {
- $initiation_found = TeamInvitation::ownedByCurrentTeam()->findOrFail($invitation_id);
- $initiation_found->delete();
+ $invitation = TeamInvitation::ownedByCurrentTeam()->findOrFail($invitation_id);
+ $user = User::whereEmail($invitation->email)->first();
+ if (filled($user)) {
+ $user->deleteIfNotVerifiedAndForcePasswordReset();
+ }
+
+ $invitation->delete();
$this->refreshInvitations();
$this->dispatch('success', 'Invitation revoked.');
} catch (\Exception) {
diff --git a/app/Livewire/Team/InviteLink.php b/app/Livewire/Team/InviteLink.php
index 25f8a1ff51..fb0c51e544 100644
--- a/app/Livewire/Team/InviteLink.php
+++ b/app/Livewire/Team/InviteLink.php
@@ -29,15 +29,15 @@ class InviteLink extends Component
public function viaEmail()
{
- $this->generate_invite_link(sendEmail: true);
+ $this->generateInviteLink(sendEmail: true);
}
public function viaLink()
{
- $this->generate_invite_link(sendEmail: false);
+ $this->generateInviteLink(sendEmail: false);
}
- private function generate_invite_link(bool $sendEmail = false)
+ private function generateInviteLink(bool $sendEmail = false)
{
try {
$this->validate();
diff --git a/app/Models/OauthSetting.php b/app/Models/OauthSetting.php
index bfd332c87c..08e08d85b1 100644
--- a/app/Models/OauthSetting.php
+++ b/app/Models/OauthSetting.php
@@ -27,6 +27,7 @@ class OauthSetting extends Model
case 'azure':
return filled($this->client_id) && filled($this->client_secret) && filled($this->tenant);
case 'authentik':
+ case 'clerk':
return filled($this->client_id) && filled($this->client_secret) && filled($this->base_url);
default:
return filled($this->client_id) && filled($this->client_secret);
diff --git a/app/Models/Service.php b/app/Models/Service.php
index c3c8f32153..a9302d7e74 100644
--- a/app/Models/Service.php
+++ b/app/Models/Service.php
@@ -2,6 +2,7 @@
namespace App\Models;
+use App\Enums\ProcessStatus;
use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Relations\HasMany;
@@ -9,6 +10,7 @@ use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Storage;
use OpenApi\Attributes as OA;
+use Spatie\Activitylog\Models\Activity;
use Spatie\Url\Url;
use Visus\Cuid2\Cuid2;
@@ -116,6 +118,18 @@ class Service extends BaseModel
return (bool) str($this->status)->contains('exited');
}
+ public function isStarting(): bool
+ {
+ try {
+ $activity = Activity::where('properties->type_uuid', $this->uuid)->latest()->first();
+ $status = data_get($activity, 'properties.status');
+
+ return $status === ProcessStatus::QUEUED->value || $status === ProcessStatus::IN_PROGRESS->value;
+ } catch (\Throwable) {
+ return false;
+ }
+ }
+
public function type()
{
return 'service';
@@ -159,6 +173,10 @@ class Service extends BaseModel
public function getStatusAttribute()
{
+ if ($this->isStarting()) {
+ return 'starting:unhealthy';
+ }
+
$applications = $this->applications;
$databases = $this->databases;
diff --git a/app/Models/TeamInvitation.php b/app/Models/TeamInvitation.php
index bc1a90d586..0fea1806b1 100644
--- a/app/Models/TeamInvitation.php
+++ b/app/Models/TeamInvitation.php
@@ -33,6 +33,10 @@ class TeamInvitation extends Model
return true;
} else {
$this->delete();
+ $user = User::whereEmail($this->email)->first();
+ if (filled($user)) {
+ $user->deleteIfNotVerifiedAndForcePasswordReset();
+ }
return false;
}
diff --git a/app/Models/User.php b/app/Models/User.php
index f9515ad093..6cd1b66db2 100644
--- a/app/Models/User.php
+++ b/app/Models/User.php
@@ -72,6 +72,93 @@ class User extends Authenticatable implements SendsEmail
$new_team = Team::create($team);
$user->teams()->attach($new_team, ['role' => 'owner']);
});
+
+ static::deleting(function (User $user) {
+ \DB::transaction(function () use ($user) {
+ $teams = $user->teams;
+ foreach ($teams as $team) {
+ $user_alone_in_team = $team->members->count() === 1;
+
+ // Prevent deletion if user is alone in root team
+ if ($team->id === 0 && $user_alone_in_team) {
+ throw new \Exception('User is alone in the root team, cannot delete');
+ }
+
+ if ($user_alone_in_team) {
+ static::finalizeTeamDeletion($user, $team);
+ // Delete any pending team invitations for this user
+ TeamInvitation::whereEmail($user->email)->delete();
+
+ continue;
+ }
+
+ // Load the user's role for this team
+ $userRole = $team->members->where('id', $user->id)->first()?->pivot?->role;
+
+ if ($userRole === 'owner') {
+ $found_other_owner_or_admin = $team->members->filter(function ($member) use ($user) {
+ return ($member->pivot->role === 'owner' || $member->pivot->role === 'admin') && $member->id !== $user->id;
+ })->first();
+
+ if ($found_other_owner_or_admin) {
+ $team->members()->detach($user->id);
+
+ continue;
+ } else {
+ $found_other_member_who_is_not_owner = $team->members->filter(function ($member) {
+ return $member->pivot->role === 'member';
+ })->first();
+
+ if ($found_other_member_who_is_not_owner) {
+ $found_other_member_who_is_not_owner->pivot->role = 'owner';
+ $found_other_member_who_is_not_owner->pivot->save();
+ $team->members()->detach($user->id);
+ } else {
+ static::finalizeTeamDeletion($user, $team);
+ }
+
+ continue;
+ }
+ } else {
+ $team->members()->detach($user->id);
+ }
+ }
+ });
+ });
+ }
+
+ /**
+ * Finalize team deletion by cleaning up all associated resources
+ */
+ private static function finalizeTeamDeletion(User $user, Team $team)
+ {
+ $servers = $team->servers;
+ foreach ($servers as $server) {
+ $resources = $server->definedResources();
+ foreach ($resources as $resource) {
+ $resource->forceDelete();
+ }
+ $server->forceDelete();
+ }
+
+ $projects = $team->projects;
+ foreach ($projects as $project) {
+ $project->forceDelete();
+ }
+
+ $team->members()->detach($user->id);
+ $team->delete();
+ }
+
+ /**
+ * Delete the user if they are not verified and have a force password reset.
+ * This is used to clean up users that have been invited, did not accept the invitation (and did not verify their email and have a force password reset).
+ */
+ public function deleteIfNotVerifiedAndForcePasswordReset()
+ {
+ if ($this->hasVerifiedEmail() === false && $this->force_password_reset === true) {
+ $this->delete();
+ }
}
public function recreate_personal_team()
diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php
index b960dd8e3c..2d9910add3 100644
--- a/app/Providers/EventServiceProvider.php
+++ b/app/Providers/EventServiceProvider.php
@@ -9,9 +9,12 @@ use Illuminate\Foundation\Events\MaintenanceModeEnabled;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use SocialiteProviders\Authentik\AuthentikExtendSocialite;
use SocialiteProviders\Azure\AzureExtendSocialite;
+use SocialiteProviders\Clerk\ClerkExtendSocialite;
+use SocialiteProviders\Discord\DiscordExtendSocialite;
use SocialiteProviders\Google\GoogleExtendSocialite;
use SocialiteProviders\Infomaniak\InfomaniakExtendSocialite;
use SocialiteProviders\Manager\SocialiteWasCalled;
+use SocialiteProviders\Zitadel\ZitadelExtendSocialite;
class EventServiceProvider extends ServiceProvider
{
@@ -25,8 +28,11 @@ class EventServiceProvider extends ServiceProvider
SocialiteWasCalled::class => [
AzureExtendSocialite::class.'@handle',
AuthentikExtendSocialite::class.'@handle',
+ ClerkExtendSocialite::class.'@handle',
+ DiscordExtendSocialite::class.'@handle',
GoogleExtendSocialite::class.'@handle',
InfomaniakExtendSocialite::class.'@handle',
+ ZitadelExtendSocialite::class.'@handle',
],
];
diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php
index d1fccf4169..2150126cda 100644
--- a/app/Providers/RouteServiceProvider.php
+++ b/app/Providers/RouteServiceProvider.php
@@ -49,7 +49,7 @@ class RouteServiceProvider extends ServiceProvider
return Limit::perMinute(1000)->by($request->user()?->id ?: $request->ip());
}
- return Limit::perMinute(config('api.throttle'))->by($request->user()?->id ?: $request->ip());
+ return Limit::perMinute((int) config('api.rate_limit'))->by($request->user()?->id ?: $request->ip());
});
RateLimiter::for('5', function (Request $request) {
return Limit::perMinute(5)->by($request->user()?->id ?: $request->ip());
diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.php
index 930f95041f..944c51e3cc 100644
--- a/bootstrap/helpers/docker.php
+++ b/bootstrap/helpers/docker.php
@@ -359,7 +359,9 @@ function fqdnLabelsForTraefik(string $uuid, Collection $domains, bool $is_force_
{
$labels = collect([]);
$labels->push('traefik.enable=true');
- $labels->push('traefik.http.middlewares.gzip.compress=true');
+ if ($is_gzip_enabled) {
+ $labels->push('traefik.http.middlewares.gzip.compress=true');
+ }
$labels->push('traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https');
$is_http_basic_auth_enabled = $is_http_basic_auth_enabled && $http_basic_auth_username !== null && $http_basic_auth_password !== null;
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index 2f1b934bb5..328e84b9dc 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -2991,12 +2991,6 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
$applicationFound = ServiceApplication::where('name', $serviceName)->where('service_id', $resource->id)->first();
if ($applicationFound) {
$savedService = $applicationFound;
- // $savedService = ServiceDatabase::firstOrCreate([
- // 'name' => $applicationFound->name,
- // 'image' => $applicationFound->image,
- // 'service_id' => $applicationFound->service_id,
- // ]);
- // $applicationFound->delete();
} else {
$savedService = ServiceDatabase::firstOrCreate([
'name' => $serviceName,
@@ -3007,15 +3001,23 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
$savedService = ServiceApplication::firstOrCreate([
'name' => $serviceName,
'service_id' => $resource->id,
+ ], [
+ 'is_gzip_enabled' => true,
]);
}
-
// Check if image changed
if ($savedService->image !== $image) {
$savedService->image = $image;
$savedService->save();
}
}
+
+ // Pocketbase does not need gzip for SSE.
+ if (str($savedService->image)->contains('pocketbase') && $savedService->is_gzip_enabled) {
+ $savedService->is_gzip_enabled = false;
+ $savedService->save();
+ }
+
$environment = collect(data_get($service, 'environment', []));
$buildArgs = collect(data_get($service, 'build.args', []));
$environment = $environment->merge($buildArgs);
@@ -3060,12 +3062,18 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
$port = null;
}
if ($isApplication) {
- $fqdn = generateFqdn($server, "$uuid");
+ $fqdn = $resource->fqdn;
+ if (blank($resource->fqdn)) {
+ $fqdn = generateFqdn($server, "$uuid");
+ }
} elseif ($isService) {
- if ($fqdnFor) {
- $fqdn = generateFqdn($server, "$fqdnFor-$uuid");
- } else {
- $fqdn = generateFqdn($server, "{$savedService->name}-$uuid");
+ $fqdn = $savedService->fqdn;
+ if (blank($savedService->fqdn)) {
+ if ($fqdnFor) {
+ $fqdn = generateFqdn($server, "$fqdnFor-$uuid");
+ } else {
+ $fqdn = generateFqdn($server, "{$savedService->name}-$uuid");
+ }
}
}
@@ -3090,7 +3098,7 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
}
if (substr_count(str($key)->value(), '_') === 2) {
- $resource->environment_variables()->firstOrCreate([
+ $resource->environment_variables()->updateOrCreate([
'key' => $key->value(),
'resourceable_type' => get_class($resource),
'resourceable_id' => $resource->id,
@@ -3102,7 +3110,7 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
}
if (substr_count(str($key)->value(), '_') === 3) {
$newKey = str($key)->beforeLast('_');
- $resource->environment_variables()->firstOrCreate([
+ $resource->environment_variables()->updateOrCreate([
'key' => $newKey->value(),
'resourceable_type' => get_class($resource),
'resourceable_id' => $resource->id,
diff --git a/bootstrap/helpers/socialite.php b/bootstrap/helpers/socialite.php
index fe19752cba..961f6809bf 100644
--- a/bootstrap/helpers/socialite.php
+++ b/bootstrap/helpers/socialite.php
@@ -22,15 +22,26 @@ function get_socialite_provider(string $provider)
return Socialite::driver('azure')->setConfig($azure_config);
}
- if ($provider == 'authentik') {
- $authentik_config = new \SocialiteProviders\Manager\Config(
+ if ($provider == 'authentik' || $provider == 'clerk') {
+ $authentik_clerk_config = new \SocialiteProviders\Manager\Config(
$oauth_setting->client_id,
$oauth_setting->client_secret,
$oauth_setting->redirect_uri,
['base_url' => $oauth_setting->base_url],
);
- return Socialite::driver('authentik')->setConfig($authentik_config);
+ return Socialite::driver($provider)->setConfig($authentik_clerk_config);
+ }
+
+ if ($provider == 'zitadel') {
+ $zitadel_config = new \SocialiteProviders\Manager\Config(
+ $oauth_setting->client_id,
+ $oauth_setting->client_secret,
+ $oauth_setting->redirect_uri,
+ ['base_url' => $oauth_setting->base_url],
+ );
+
+ return Socialite::driver('zitadel')->setConfig($zitadel_config);
}
if ($provider == 'google') {
@@ -53,6 +64,7 @@ function get_socialite_provider(string $provider)
$provider_class_map = [
'bitbucket' => \Laravel\Socialite\Two\BitbucketProvider::class,
+ 'discord' => \SocialiteProviders\Discord\Provider::class,
'github' => \Laravel\Socialite\Two\GithubProvider::class,
'gitlab' => \Laravel\Socialite\Two\GitlabProvider::class,
'infomaniak' => \SocialiteProviders\Infomaniak\Provider::class,
diff --git a/composer.json b/composer.json
index 3fb1206cee..854ba1dab1 100644
--- a/composer.json
+++ b/composer.json
@@ -36,12 +36,15 @@
"poliander/cron": "^3.2.1",
"purplepixie/phpdns": "^2.2",
"pusher/pusher-php-server": "^7.2.7",
- "resend/resend-laravel": "^0.17.0",
+ "resend/resend-laravel": "^0.19.0",
"sentry/sentry-laravel": "^4.13",
"socialiteproviders/authentik": "^5.2",
+ "socialiteproviders/clerk": "^5.0",
+ "socialiteproviders/discord": "^4.2",
"socialiteproviders/google": "^4.1",
"socialiteproviders/infomaniak": "^4.0",
"socialiteproviders/microsoft-azure": "^5.2",
+ "socialiteproviders/zitadel": "^4.1",
"spatie/laravel-activitylog": "^4.10.1",
"spatie/laravel-data": "^4.13.1",
"spatie/laravel-ray": "^1.39.1",
diff --git a/composer.lock b/composer.lock
index 14ae57fcbb..d655ad48d7 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "ae74a752b941c9b981288c2934479eb8",
+ "content-hash": "f1d647186c558d85c525f8a6314474d4",
"packages": [
{
"name": "amphp/amp",
@@ -870,16 +870,16 @@
},
{
"name": "aws/aws-sdk-php",
- "version": "3.343.20",
+ "version": "3.347.0",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
- "reference": "bf40b00d2e1cbd2a5d8c903743073440d8ebb5dc"
+ "reference": "c66a35e650f077caddd7db8d3a1f58b2c2b8c78b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/bf40b00d2e1cbd2a5d8c903743073440d8ebb5dc",
- "reference": "bf40b00d2e1cbd2a5d8c903743073440d8ebb5dc",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/c66a35e650f077caddd7db8d3a1f58b2c2b8c78b",
+ "reference": "c66a35e650f077caddd7db8d3a1f58b2c2b8c78b",
"shasum": ""
},
"require": {
@@ -961,9 +961,9 @@
"support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues",
- "source": "https://github.com/aws/aws-sdk-php/tree/3.343.20"
+ "source": "https://github.com/aws/aws-sdk-php/tree/3.347.0"
},
- "time": "2025-05-28T18:10:03+00:00"
+ "time": "2025-06-23T18:12:15+00:00"
},
{
"name": "bacon/bacon-qr-code",
@@ -1021,16 +1021,16 @@
},
{
"name": "brick/math",
- "version": "0.12.3",
+ "version": "0.13.1",
"source": {
"type": "git",
"url": "https://github.com/brick/math.git",
- "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba"
+ "reference": "fc7ed316430118cc7836bf45faff18d5dfc8de04"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/brick/math/zipball/866551da34e9a618e64a819ee1e01c20d8a588ba",
- "reference": "866551da34e9a618e64a819ee1e01c20d8a588ba",
+ "url": "https://api.github.com/repos/brick/math/zipball/fc7ed316430118cc7836bf45faff18d5dfc8de04",
+ "reference": "fc7ed316430118cc7836bf45faff18d5dfc8de04",
"shasum": ""
},
"require": {
@@ -1069,7 +1069,7 @@
],
"support": {
"issues": "https://github.com/brick/math/issues",
- "source": "https://github.com/brick/math/tree/0.12.3"
+ "source": "https://github.com/brick/math/tree/0.13.1"
},
"funding": [
{
@@ -1077,7 +1077,7 @@
"type": "github"
}
],
- "time": "2025-02-28T13:11:00+00:00"
+ "time": "2025-03-29T13:50:30+00:00"
},
{
"name": "carbonphp/carbon-doctrine-types",
@@ -1373,16 +1373,16 @@
},
{
"name": "doctrine/dbal",
- "version": "4.2.3",
+ "version": "4.2.4",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
- "reference": "33d2d7fe1269b2301640c44cf2896ea607b30e3e"
+ "reference": "b37d160498ea91a2382a2ebe825c4ea6254fc0ec"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/dbal/zipball/33d2d7fe1269b2301640c44cf2896ea607b30e3e",
- "reference": "33d2d7fe1269b2301640c44cf2896ea607b30e3e",
+ "url": "https://api.github.com/repos/doctrine/dbal/zipball/b37d160498ea91a2382a2ebe825c4ea6254fc0ec",
+ "reference": "b37d160498ea91a2382a2ebe825c4ea6254fc0ec",
"shasum": ""
},
"require": {
@@ -1392,15 +1392,15 @@
"psr/log": "^1|^2|^3"
},
"require-dev": {
- "doctrine/coding-standard": "12.0.0",
+ "doctrine/coding-standard": "13.0.0",
"fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2023.2",
- "phpstan/phpstan": "2.1.1",
- "phpstan/phpstan-phpunit": "2.0.3",
+ "phpstan/phpstan": "2.1.17",
+ "phpstan/phpstan-phpunit": "2.0.6",
"phpstan/phpstan-strict-rules": "^2",
- "phpunit/phpunit": "10.5.39",
- "slevomat/coding-standard": "8.13.1",
- "squizlabs/php_codesniffer": "3.10.2",
+ "phpunit/phpunit": "10.5.46",
+ "slevomat/coding-standard": "8.16.2",
+ "squizlabs/php_codesniffer": "3.13.1",
"symfony/cache": "^6.3.8|^7.0",
"symfony/console": "^5.4|^6.3|^7.0"
},
@@ -1459,7 +1459,7 @@
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
- "source": "https://github.com/doctrine/dbal/tree/4.2.3"
+ "source": "https://github.com/doctrine/dbal/tree/4.2.4"
},
"funding": [
{
@@ -1475,7 +1475,7 @@
"type": "tidelift"
}
],
- "time": "2025-03-07T18:29:05+00:00"
+ "time": "2025-06-15T23:15:01+00:00"
},
{
"name": "doctrine/deprecations",
@@ -2613,16 +2613,16 @@
},
{
"name": "laravel/fortify",
- "version": "v1.25.4",
+ "version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/fortify.git",
- "reference": "f185600e2d3a861834ad00ee3b7863f26ac25d3f"
+ "reference": "0fb2ec99dfee77ed66884668fc06683acca91ebd"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/fortify/zipball/f185600e2d3a861834ad00ee3b7863f26ac25d3f",
- "reference": "f185600e2d3a861834ad00ee3b7863f26ac25d3f",
+ "url": "https://api.github.com/repos/laravel/fortify/zipball/0fb2ec99dfee77ed66884668fc06683acca91ebd",
+ "reference": "0fb2ec99dfee77ed66884668fc06683acca91ebd",
"shasum": ""
},
"require": {
@@ -2674,24 +2674,24 @@
"issues": "https://github.com/laravel/fortify/issues",
"source": "https://github.com/laravel/fortify"
},
- "time": "2025-01-26T19:34:46+00:00"
+ "time": "2025-06-11T14:30:52+00:00"
},
{
"name": "laravel/framework",
- "version": "v12.16.0",
+ "version": "v12.19.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "293bb1c70224faebfd3d4328e201c37115da055f"
+ "reference": "4e6ec689ef704bb4bd282f29d9dd658dfb4fb262"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/293bb1c70224faebfd3d4328e201c37115da055f",
- "reference": "293bb1c70224faebfd3d4328e201c37115da055f",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/4e6ec689ef704bb4bd282f29d9dd658dfb4fb262",
+ "reference": "4e6ec689ef704bb4bd282f29d9dd658dfb4fb262",
"shasum": ""
},
"require": {
- "brick/math": "^0.11|^0.12",
+ "brick/math": "^0.11|^0.12|^0.13",
"composer-runtime-api": "^2.2",
"doctrine/inflector": "^2.0.5",
"dragonmantank/cron-expression": "^3.4",
@@ -2889,20 +2889,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2025-05-27T15:49:44+00:00"
+ "time": "2025-06-18T12:56:23+00:00"
},
{
"name": "laravel/horizon",
- "version": "v5.32.1",
+ "version": "v5.33.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/horizon.git",
- "reference": "e78d9689d85b3d4769dc64def5eb6d94e5776beb"
+ "reference": "50057bca1f1dcc9fbd5ff6d65143833babd784b3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/horizon/zipball/e78d9689d85b3d4769dc64def5eb6d94e5776beb",
- "reference": "e78d9689d85b3d4769dc64def5eb6d94e5776beb",
+ "url": "https://api.github.com/repos/laravel/horizon/zipball/50057bca1f1dcc9fbd5ff6d65143833babd784b3",
+ "reference": "50057bca1f1dcc9fbd5ff6d65143833babd784b3",
"shasum": ""
},
"require": {
@@ -2967,22 +2967,22 @@
],
"support": {
"issues": "https://github.com/laravel/horizon/issues",
- "source": "https://github.com/laravel/horizon/tree/v5.32.1"
+ "source": "https://github.com/laravel/horizon/tree/v5.33.1"
},
- "time": "2025-05-19T13:13:30+00:00"
+ "time": "2025-06-16T13:48:30+00:00"
},
{
"name": "laravel/pail",
- "version": "v1.2.2",
+ "version": "v1.2.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/pail.git",
- "reference": "f31f4980f52be17c4667f3eafe034e6826787db2"
+ "reference": "8cc3d575c1f0e57eeb923f366a37528c50d2385a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/pail/zipball/f31f4980f52be17c4667f3eafe034e6826787db2",
- "reference": "f31f4980f52be17c4667f3eafe034e6826787db2",
+ "url": "https://api.github.com/repos/laravel/pail/zipball/8cc3d575c1f0e57eeb923f366a37528c50d2385a",
+ "reference": "8cc3d575c1f0e57eeb923f366a37528c50d2385a",
"shasum": ""
},
"require": {
@@ -3002,7 +3002,7 @@
"orchestra/testbench-core": "^8.13|^9.0|^10.0",
"pestphp/pest": "^2.20|^3.0",
"pestphp/pest-plugin-type-coverage": "^2.3|^3.0",
- "phpstan/phpstan": "^1.10",
+ "phpstan/phpstan": "^1.12.27",
"symfony/var-dumper": "^6.3|^7.0"
},
"type": "library",
@@ -3038,6 +3038,7 @@
"description": "Easily delve into your Laravel application's log files directly from the command line.",
"homepage": "https://github.com/laravel/pail",
"keywords": [
+ "dev",
"laravel",
"logs",
"php",
@@ -3047,7 +3048,7 @@
"issues": "https://github.com/laravel/pail/issues",
"source": "https://github.com/laravel/pail"
},
- "time": "2025-01-28T15:15:15+00:00"
+ "time": "2025-06-05T13:55:57+00:00"
},
{
"name": "laravel/prompts",
@@ -4695,16 +4696,16 @@
},
{
"name": "nesbot/carbon",
- "version": "3.9.1",
+ "version": "3.10.1",
"source": {
"type": "git",
"url": "https://github.com/CarbonPHP/carbon.git",
- "reference": "ced71f79398ece168e24f7f7710462f462310d4d"
+ "reference": "1fd1935b2d90aef2f093c5e35f7ae1257c448d00"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/ced71f79398ece168e24f7f7710462f462310d4d",
- "reference": "ced71f79398ece168e24f7f7710462f462310d4d",
+ "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/1fd1935b2d90aef2f093c5e35f7ae1257c448d00",
+ "reference": "1fd1935b2d90aef2f093c5e35f7ae1257c448d00",
"shasum": ""
},
"require": {
@@ -4712,9 +4713,9 @@
"ext-json": "*",
"php": "^8.1",
"psr/clock": "^1.0",
- "symfony/clock": "^6.3 || ^7.0",
+ "symfony/clock": "^6.3.12 || ^7.0",
"symfony/polyfill-mbstring": "^1.0",
- "symfony/translation": "^4.4.18 || ^5.2.1|| ^6.0 || ^7.0"
+ "symfony/translation": "^4.4.18 || ^5.2.1 || ^6.0 || ^7.0"
},
"provide": {
"psr/clock-implementation": "1.0"
@@ -4722,14 +4723,13 @@
"require-dev": {
"doctrine/dbal": "^3.6.3 || ^4.0",
"doctrine/orm": "^2.15.2 || ^3.0",
- "friendsofphp/php-cs-fixer": "^3.57.2",
+ "friendsofphp/php-cs-fixer": "^3.75.0",
"kylekatarnls/multi-tester": "^2.5.3",
- "ondrejmirtes/better-reflection": "^6.25.0.4",
"phpmd/phpmd": "^2.15.0",
- "phpstan/extension-installer": "^1.3.1",
- "phpstan/phpstan": "^1.11.2",
- "phpunit/phpunit": "^10.5.20",
- "squizlabs/php_codesniffer": "^3.9.0"
+ "phpstan/extension-installer": "^1.4.3",
+ "phpstan/phpstan": "^2.1.17",
+ "phpunit/phpunit": "^10.5.46",
+ "squizlabs/php_codesniffer": "^3.13.0"
},
"bin": [
"bin/carbon"
@@ -4797,7 +4797,7 @@
"type": "tidelift"
}
],
- "time": "2025-05-01T19:51:51+00:00"
+ "time": "2025-06-21T15:19:35+00:00"
},
{
"name": "nette/schema",
@@ -4863,16 +4863,16 @@
},
{
"name": "nette/utils",
- "version": "v4.0.6",
+ "version": "v4.0.7",
"source": {
"type": "git",
"url": "https://github.com/nette/utils.git",
- "reference": "ce708655043c7050eb050df361c5e313cf708309"
+ "reference": "e67c4061eb40b9c113b218214e42cb5a0dda28f2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/utils/zipball/ce708655043c7050eb050df361c5e313cf708309",
- "reference": "ce708655043c7050eb050df361c5e313cf708309",
+ "url": "https://api.github.com/repos/nette/utils/zipball/e67c4061eb40b9c113b218214e42cb5a0dda28f2",
+ "reference": "e67c4061eb40b9c113b218214e42cb5a0dda28f2",
"shasum": ""
},
"require": {
@@ -4943,22 +4943,22 @@
],
"support": {
"issues": "https://github.com/nette/utils/issues",
- "source": "https://github.com/nette/utils/tree/v4.0.6"
+ "source": "https://github.com/nette/utils/tree/v4.0.7"
},
- "time": "2025-03-30T21:06:30+00:00"
+ "time": "2025-06-03T04:55:08+00:00"
},
{
"name": "nikic/php-parser",
- "version": "v5.4.0",
+ "version": "v5.5.0",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "447a020a1f875a434d62f2a401f53b82a396e494"
+ "reference": "ae59794362fe85e051a58ad36b289443f57be7a9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494",
- "reference": "447a020a1f875a434d62f2a401f53b82a396e494",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ae59794362fe85e051a58ad36b289443f57be7a9",
+ "reference": "ae59794362fe85e051a58ad36b289443f57be7a9",
"shasum": ""
},
"require": {
@@ -5001,9 +5001,9 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v5.5.0"
},
- "time": "2024-12-30T11:07:19+00:00"
+ "time": "2025-05-31T08:24:38+00:00"
},
{
"name": "nubs/random-name-generator",
@@ -5488,16 +5488,16 @@
},
{
"name": "php-di/php-di",
- "version": "7.0.10",
+ "version": "7.0.11",
"source": {
"type": "git",
"url": "https://github.com/PHP-DI/PHP-DI.git",
- "reference": "0d1ed64126577e9a095b3204dcaee58cf76432c2"
+ "reference": "32f111a6d214564520a57831d397263e8946c1d2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/0d1ed64126577e9a095b3204dcaee58cf76432c2",
- "reference": "0d1ed64126577e9a095b3204dcaee58cf76432c2",
+ "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/32f111a6d214564520a57831d397263e8946c1d2",
+ "reference": "32f111a6d214564520a57831d397263e8946c1d2",
"shasum": ""
},
"require": {
@@ -5545,7 +5545,7 @@
],
"support": {
"issues": "https://github.com/PHP-DI/PHP-DI/issues",
- "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.10"
+ "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.11"
},
"funding": [
{
@@ -5557,23 +5557,24 @@
"type": "tidelift"
}
],
- "time": "2025-04-22T08:53:15+00:00"
+ "time": "2025-06-03T07:45:57+00:00"
},
{
"name": "phpdocumentor/reflection",
- "version": "6.1.0",
+ "version": "6.3.0",
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/Reflection.git",
- "reference": "bb4dea805a645553d6d989b23dad9f8041f39502"
+ "reference": "d91b3270832785602adcc24ae2d0974ba99a8ff8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/Reflection/zipball/bb4dea805a645553d6d989b23dad9f8041f39502",
- "reference": "bb4dea805a645553d6d989b23dad9f8041f39502",
+ "url": "https://api.github.com/repos/phpDocumentor/Reflection/zipball/d91b3270832785602adcc24ae2d0974ba99a8ff8",
+ "reference": "d91b3270832785602adcc24ae2d0974ba99a8ff8",
"shasum": ""
},
"require": {
+ "composer-runtime-api": "^2",
"nikic/php-parser": "~4.18 || ^5.0",
"php": "8.1.*|8.2.*|8.3.*|8.4.*",
"phpdocumentor/reflection-common": "^2.1",
@@ -5584,7 +5585,8 @@
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
- "doctrine/coding-standard": "^12.0",
+ "doctrine/coding-standard": "^13.0",
+ "eliashaeussler/phpunit-attributes": "^1.7",
"mikey179/vfsstream": "~1.2",
"mockery/mockery": "~1.6.0",
"phpspec/prophecy-phpunit": "^2.0",
@@ -5592,7 +5594,7 @@
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^10.0",
- "psalm/phar": "^5.24",
+ "psalm/phar": "^6.0",
"rector/rector": "^1.0.0",
"squizlabs/php_codesniffer": "^3.8"
},
@@ -5604,6 +5606,9 @@
}
},
"autoload": {
+ "files": [
+ "src/php-parser/Modifiers.php"
+ ],
"psr-4": {
"phpDocumentor\\": "src/phpDocumentor"
}
@@ -5622,9 +5627,9 @@
],
"support": {
"issues": "https://github.com/phpDocumentor/Reflection/issues",
- "source": "https://github.com/phpDocumentor/Reflection/tree/6.1.0"
+ "source": "https://github.com/phpDocumentor/Reflection/tree/6.3.0"
},
- "time": "2024-11-22T15:11:54+00:00"
+ "time": "2025-06-06T13:39:18+00:00"
},
{
"name": "phpdocumentor/reflection-common",
@@ -5878,16 +5883,16 @@
},
{
"name": "phpseclib/phpseclib",
- "version": "3.0.43",
+ "version": "3.0.45",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
- "reference": "709ec107af3cb2f385b9617be72af8cf62441d02"
+ "reference": "bd81b90d5963c6b9d87de50357585375223f4dd8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/709ec107af3cb2f385b9617be72af8cf62441d02",
- "reference": "709ec107af3cb2f385b9617be72af8cf62441d02",
+ "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/bd81b90d5963c6b9d87de50357585375223f4dd8",
+ "reference": "bd81b90d5963c6b9d87de50357585375223f4dd8",
"shasum": ""
},
"require": {
@@ -5968,7 +5973,7 @@
],
"support": {
"issues": "https://github.com/phpseclib/phpseclib/issues",
- "source": "https://github.com/phpseclib/phpseclib/tree/3.0.43"
+ "source": "https://github.com/phpseclib/phpseclib/tree/3.0.45"
},
"funding": [
{
@@ -5984,7 +5989,7 @@
"type": "tidelift"
}
],
- "time": "2024-12-14T21:12:59+00:00"
+ "time": "2025-06-22T22:54:43+00:00"
},
{
"name": "phpstan/phpdoc-parser",
@@ -6658,16 +6663,16 @@
},
{
"name": "psy/psysh",
- "version": "v0.12.8",
+ "version": "v0.12.9",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
- "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625"
+ "reference": "1b801844becfe648985372cb4b12ad6840245ace"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/85057ceedee50c49d4f6ecaff73ee96adb3b3625",
- "reference": "85057ceedee50c49d4f6ecaff73ee96adb3b3625",
+ "url": "https://api.github.com/repos/bobthecow/psysh/zipball/1b801844becfe648985372cb4b12ad6840245ace",
+ "reference": "1b801844becfe648985372cb4b12ad6840245ace",
"shasum": ""
},
"require": {
@@ -6731,9 +6736,9 @@
],
"support": {
"issues": "https://github.com/bobthecow/psysh/issues",
- "source": "https://github.com/bobthecow/psysh/tree/v0.12.8"
+ "source": "https://github.com/bobthecow/psysh/tree/v0.12.9"
},
- "time": "2025-03-16T03:05:19+00:00"
+ "time": "2025-06-23T02:35:06+00:00"
},
{
"name": "purplepixie/phpdns",
@@ -6966,20 +6971,20 @@
},
{
"name": "ramsey/uuid",
- "version": "4.7.6",
+ "version": "4.8.1",
"source": {
"type": "git",
"url": "https://github.com/ramsey/uuid.git",
- "reference": "91039bc1faa45ba123c4328958e620d382ec7088"
+ "reference": "fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088",
- "reference": "91039bc1faa45ba123c4328958e620d382ec7088",
+ "url": "https://api.github.com/repos/ramsey/uuid/zipball/fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28",
+ "reference": "fdf4dd4e2ff1813111bd0ad58d7a1ddbb5b56c28",
"shasum": ""
},
"require": {
- "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12",
+ "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12 || ^0.13",
"ext-json": "*",
"php": "^8.0",
"ramsey/collection": "^1.2 || ^2.0"
@@ -6988,26 +6993,23 @@
"rhumsaa/uuid": "self.version"
},
"require-dev": {
- "captainhook/captainhook": "^5.10",
+ "captainhook/captainhook": "^5.25",
"captainhook/plugin-composer": "^5.3",
- "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
- "doctrine/annotations": "^1.8",
- "ergebnis/composer-normalize": "^2.15",
- "mockery/mockery": "^1.3",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
+ "ergebnis/composer-normalize": "^2.47",
+ "mockery/mockery": "^1.6",
"paragonie/random-lib": "^2",
- "php-mock/php-mock": "^2.2",
- "php-mock/php-mock-mockery": "^1.3",
- "php-parallel-lint/php-parallel-lint": "^1.1",
- "phpbench/phpbench": "^1.0",
- "phpstan/extension-installer": "^1.1",
- "phpstan/phpstan": "^1.8",
- "phpstan/phpstan-mockery": "^1.1",
- "phpstan/phpstan-phpunit": "^1.1",
- "phpunit/phpunit": "^8.5 || ^9",
- "ramsey/composer-repl": "^1.4",
- "slevomat/coding-standard": "^8.4",
- "squizlabs/php_codesniffer": "^3.5",
- "vimeo/psalm": "^4.9"
+ "php-mock/php-mock": "^2.6",
+ "php-mock/php-mock-mockery": "^1.5",
+ "php-parallel-lint/php-parallel-lint": "^1.4.0",
+ "phpbench/phpbench": "^1.2.14",
+ "phpstan/extension-installer": "^1.4",
+ "phpstan/phpstan": "^2.1",
+ "phpstan/phpstan-mockery": "^2.0",
+ "phpstan/phpstan-phpunit": "^2.0",
+ "phpunit/phpunit": "^9.6",
+ "slevomat/coding-standard": "^8.18",
+ "squizlabs/php_codesniffer": "^3.13"
},
"suggest": {
"ext-bcmath": "Enables faster math with arbitrary-precision integers using BCMath.",
@@ -7042,39 +7044,29 @@
],
"support": {
"issues": "https://github.com/ramsey/uuid/issues",
- "source": "https://github.com/ramsey/uuid/tree/4.7.6"
+ "source": "https://github.com/ramsey/uuid/tree/4.8.1"
},
- "funding": [
- {
- "url": "https://github.com/ramsey",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-27T21:32:50+00:00"
+ "time": "2025-06-01T06:28:46+00:00"
},
{
"name": "resend/resend-laravel",
- "version": "v0.17.0",
+ "version": "v0.19.0",
"source": {
"type": "git",
"url": "https://github.com/resend/resend-laravel.git",
- "reference": "fbdf51872ff296af545d72acc6de03c0d910202c"
+ "reference": "ce11e363c42c1d6b93983dfebbaba3f906863c3a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/resend/resend-laravel/zipball/fbdf51872ff296af545d72acc6de03c0d910202c",
- "reference": "fbdf51872ff296af545d72acc6de03c0d910202c",
+ "url": "https://api.github.com/repos/resend/resend-laravel/zipball/ce11e363c42c1d6b93983dfebbaba3f906863c3a",
+ "reference": "ce11e363c42c1d6b93983dfebbaba3f906863c3a",
"shasum": ""
},
"require": {
"illuminate/http": "^10.0|^11.0|^12.0",
"illuminate/support": "^10.0|^11.0|^12.0",
"php": "^8.1",
- "resend/resend-php": "^0.16.0",
+ "resend/resend-php": "^0.18.0",
"symfony/mailer": "^6.2|^7.0"
},
"require-dev": {
@@ -7121,22 +7113,22 @@
],
"support": {
"issues": "https://github.com/resend/resend-laravel/issues",
- "source": "https://github.com/resend/resend-laravel/tree/v0.17.0"
+ "source": "https://github.com/resend/resend-laravel/tree/v0.19.0"
},
- "time": "2025-03-25T00:42:52+00:00"
+ "time": "2025-05-06T21:36:51+00:00"
},
{
"name": "resend/resend-php",
- "version": "v0.16.0",
+ "version": "v0.18.0",
"source": {
"type": "git",
"url": "https://github.com/resend/resend-php.git",
- "reference": "6e9be898c9e0035a5da3c2904e86d0b12999c2fc"
+ "reference": "d6194782ff1952627bcdd52e5958572c4bd98043"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/resend/resend-php/zipball/6e9be898c9e0035a5da3c2904e86d0b12999c2fc",
- "reference": "6e9be898c9e0035a5da3c2904e86d0b12999c2fc",
+ "url": "https://api.github.com/repos/resend/resend-php/zipball/d6194782ff1952627bcdd52e5958572c4bd98043",
+ "reference": "d6194782ff1952627bcdd52e5958572c4bd98043",
"shasum": ""
},
"require": {
@@ -7178,9 +7170,9 @@
],
"support": {
"issues": "https://github.com/resend/resend-php/issues",
- "source": "https://github.com/resend/resend-php/tree/v0.16.0"
+ "source": "https://github.com/resend/resend-php/tree/v0.18.0"
},
- "time": "2025-03-24T22:12:48+00:00"
+ "time": "2025-05-06T21:18:26+00:00"
},
{
"name": "revolt/event-loop",
@@ -7256,16 +7248,16 @@
},
{
"name": "sentry/sentry",
- "version": "4.11.1",
+ "version": "4.14.1",
"source": {
"type": "git",
"url": "https://github.com/getsentry/sentry-php.git",
- "reference": "53dc0bcb6a667cac5b760b46f98d5380e63e02ca"
+ "reference": "a28c4a6f5fda2bf730789a638501d7a737a64eda"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/53dc0bcb6a667cac5b760b46f98d5380e63e02ca",
- "reference": "53dc0bcb6a667cac5b760b46f98d5380e63e02ca",
+ "url": "https://api.github.com/repos/getsentry/sentry-php/zipball/a28c4a6f5fda2bf730789a638501d7a737a64eda",
+ "reference": "a28c4a6f5fda2bf730789a638501d7a737a64eda",
"shasum": ""
},
"require": {
@@ -7329,7 +7321,7 @@
],
"support": {
"issues": "https://github.com/getsentry/sentry-php/issues",
- "source": "https://github.com/getsentry/sentry-php/tree/4.11.1"
+ "source": "https://github.com/getsentry/sentry-php/tree/4.14.1"
},
"funding": [
{
@@ -7341,27 +7333,27 @@
"type": "custom"
}
],
- "time": "2025-05-12T11:30:33+00:00"
+ "time": "2025-06-23T15:25:52+00:00"
},
{
"name": "sentry/sentry-laravel",
- "version": "4.13.0",
+ "version": "4.15.1",
"source": {
"type": "git",
"url": "https://github.com/getsentry/sentry-laravel.git",
- "reference": "d232ac494258e0d50a77c575a5af5f1a426d3f87"
+ "reference": "7e0675e8e06d1ec5cb623792892920000a3aedb5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/d232ac494258e0d50a77c575a5af5f1a426d3f87",
- "reference": "d232ac494258e0d50a77c575a5af5f1a426d3f87",
+ "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/7e0675e8e06d1ec5cb623792892920000a3aedb5",
+ "reference": "7e0675e8e06d1ec5cb623792892920000a3aedb5",
"shasum": ""
},
"require": {
"illuminate/support": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0",
"nyholm/psr7": "^1.0",
"php": "^7.2 | ^8.0",
- "sentry/sentry": "^4.10",
+ "sentry/sentry": "^4.14.1",
"symfony/psr-http-message-bridge": "^1.0 | ^2.0 | ^6.0 | ^7.0"
},
"require-dev": {
@@ -7418,7 +7410,7 @@
],
"support": {
"issues": "https://github.com/getsentry/sentry-laravel/issues",
- "source": "https://github.com/getsentry/sentry-laravel/tree/4.13.0"
+ "source": "https://github.com/getsentry/sentry-laravel/tree/4.15.1"
},
"funding": [
{
@@ -7430,7 +7422,7 @@
"type": "custom"
}
],
- "time": "2025-02-18T10:09:29+00:00"
+ "time": "2025-06-24T12:39:03+00:00"
},
{
"name": "socialiteproviders/authentik",
@@ -7482,6 +7474,106 @@
},
"time": "2023-11-07T22:21:16+00:00"
},
+ {
+ "name": "socialiteproviders/clerk",
+ "version": "5.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/SocialiteProviders/Clerk.git",
+ "reference": "41e123036001ff37851b9622a910010c0e487d6a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/SocialiteProviders/Clerk/zipball/41e123036001ff37851b9622a910010c0e487d6a",
+ "reference": "41e123036001ff37851b9622a910010c0e487d6a",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^8.0",
+ "socialiteproviders/manager": "^4.4"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "SocialiteProviders\\Clerk\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ignacio Cano",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Clerk OAuth2 Provider for Laravel Socialite",
+ "keywords": [
+ "clerk",
+ "laravel",
+ "oauth",
+ "provider",
+ "socialite"
+ ],
+ "support": {
+ "docs": "https://socialiteproviders.com/clerk",
+ "issues": "https://github.com/socialiteproviders/providers/issues",
+ "source": "https://github.com/socialiteproviders/providers"
+ },
+ "time": "2024-02-19T12:17:59+00:00"
+ },
+ {
+ "name": "socialiteproviders/discord",
+ "version": "4.2.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/SocialiteProviders/Discord.git",
+ "reference": "c71c379acfdca5ba4aa65a3db5ae5222852a919c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/SocialiteProviders/Discord/zipball/c71c379acfdca5ba4aa65a3db5ae5222852a919c",
+ "reference": "c71c379acfdca5ba4aa65a3db5ae5222852a919c",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.4 || ^8.0",
+ "socialiteproviders/manager": "~4.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "SocialiteProviders\\Discord\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Christopher Eklund",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Discord OAuth2 Provider for Laravel Socialite",
+ "keywords": [
+ "discord",
+ "laravel",
+ "oauth",
+ "provider",
+ "socialite"
+ ],
+ "support": {
+ "docs": "https://socialiteproviders.com/discord",
+ "issues": "https://github.com/socialiteproviders/providers/issues",
+ "source": "https://github.com/socialiteproviders/providers"
+ },
+ "time": "2023-07-24T23:28:47+00:00"
+ },
{
"name": "socialiteproviders/google",
"version": "4.1.0",
@@ -7699,6 +7791,49 @@
},
"time": "2024-03-15T03:02:10+00:00"
},
+ {
+ "name": "socialiteproviders/zitadel",
+ "version": "4.1.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/SocialiteProviders/Zitadel.git",
+ "reference": "2e1c0843a9531eb0e31a04b31683a63f1a7d1865"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/SocialiteProviders/Zitadel/zipball/2e1c0843a9531eb0e31a04b31683a63f1a7d1865",
+ "reference": "2e1c0843a9531eb0e31a04b31683a63f1a7d1865",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^8.1",
+ "socialiteproviders/manager": "^4.4"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Socialiteproviders\\Zitadel\\": ""
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Gurkirat Singh",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Zitadel OAuth2 Provider for Laravel Socialite",
+ "support": {
+ "docs": "https://socialiteproviders.com/zoho",
+ "issues": "https://github.com/socialiteproviders/providers/issues",
+ "source": "https://github.com/socialiteproviders/providers"
+ },
+ "time": "2024-08-26T06:14:57+00:00"
+ },
{
"name": "spatie/backtrace",
"version": "1.7.4",
@@ -7764,16 +7899,16 @@
},
{
"name": "spatie/laravel-activitylog",
- "version": "4.10.1",
+ "version": "4.10.2",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-activitylog.git",
- "reference": "466f30f7245fe3a6e328ad5e6812bd43b4bddea5"
+ "reference": "bb879775d487438ed9a99e64f09086b608990c10"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/laravel-activitylog/zipball/466f30f7245fe3a6e328ad5e6812bd43b4bddea5",
- "reference": "466f30f7245fe3a6e328ad5e6812bd43b4bddea5",
+ "url": "https://api.github.com/repos/spatie/laravel-activitylog/zipball/bb879775d487438ed9a99e64f09086b608990c10",
+ "reference": "bb879775d487438ed9a99e64f09086b608990c10",
"shasum": ""
},
"require": {
@@ -7839,7 +7974,7 @@
],
"support": {
"issues": "https://github.com/spatie/laravel-activitylog/issues",
- "source": "https://github.com/spatie/laravel-activitylog/tree/4.10.1"
+ "source": "https://github.com/spatie/laravel-activitylog/tree/4.10.2"
},
"funding": [
{
@@ -7851,20 +7986,20 @@
"type": "github"
}
],
- "time": "2025-02-10T15:38:25+00:00"
+ "time": "2025-06-15T06:59:49+00:00"
},
{
"name": "spatie/laravel-data",
- "version": "4.15.1",
+ "version": "4.16.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-data.git",
- "reference": "cb97afe6c0dadeb2e76ea1b7220cd04ed33dcca9"
+ "reference": "e652b52bdaca4774abb4a6024736850a1c4ab50b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/laravel-data/zipball/cb97afe6c0dadeb2e76ea1b7220cd04ed33dcca9",
- "reference": "cb97afe6c0dadeb2e76ea1b7220cd04ed33dcca9",
+ "url": "https://api.github.com/repos/spatie/laravel-data/zipball/e652b52bdaca4774abb4a6024736850a1c4ab50b",
+ "reference": "e652b52bdaca4774abb4a6024736850a1c4ab50b",
"shasum": ""
},
"require": {
@@ -7926,7 +8061,7 @@
],
"support": {
"issues": "https://github.com/spatie/laravel-data/issues",
- "source": "https://github.com/spatie/laravel-data/tree/4.15.1"
+ "source": "https://github.com/spatie/laravel-data/tree/4.16.1"
},
"funding": [
{
@@ -7934,7 +8069,7 @@
"type": "github"
}
],
- "time": "2025-04-10T06:06:27+00:00"
+ "time": "2025-06-24T08:19:42+00:00"
},
{
"name": "spatie/laravel-package-tools",
@@ -12235,16 +12370,16 @@
},
{
"name": "filp/whoops",
- "version": "2.18.0",
+ "version": "2.18.3",
"source": {
"type": "git",
"url": "https://github.com/filp/whoops.git",
- "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e"
+ "reference": "59a123a3d459c5a23055802237cb317f609867e5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/filp/whoops/zipball/a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e",
- "reference": "a7de6c3c6c3c022f5cfc337f8ede6a14460cf77e",
+ "url": "https://api.github.com/repos/filp/whoops/zipball/59a123a3d459c5a23055802237cb317f609867e5",
+ "reference": "59a123a3d459c5a23055802237cb317f609867e5",
"shasum": ""
},
"require": {
@@ -12294,7 +12429,7 @@
],
"support": {
"issues": "https://github.com/filp/whoops/issues",
- "source": "https://github.com/filp/whoops/tree/2.18.0"
+ "source": "https://github.com/filp/whoops/tree/2.18.3"
},
"funding": [
{
@@ -12302,7 +12437,7 @@
"type": "github"
}
],
- "time": "2025-03-15T12:00:00+00:00"
+ "time": "2025-06-16T00:02:10+00:00"
},
{
"name": "hamcrest/hamcrest-php",
@@ -12357,16 +12492,16 @@
},
{
"name": "laravel/dusk",
- "version": "v8.3.2",
+ "version": "v8.3.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/dusk.git",
- "reference": "bb701836357bf6f6c6658ef90b5a0f8232affb0f"
+ "reference": "077d448cd993a08f97bfccf0ea3d6478b3908f7e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/dusk/zipball/bb701836357bf6f6c6658ef90b5a0f8232affb0f",
- "reference": "bb701836357bf6f6c6658ef90b5a0f8232affb0f",
+ "url": "https://api.github.com/repos/laravel/dusk/zipball/077d448cd993a08f97bfccf0ea3d6478b3908f7e",
+ "reference": "077d448cd993a08f97bfccf0ea3d6478b3908f7e",
"shasum": ""
},
"require": {
@@ -12425,9 +12560,9 @@
],
"support": {
"issues": "https://github.com/laravel/dusk/issues",
- "source": "https://github.com/laravel/dusk/tree/v8.3.2"
+ "source": "https://github.com/laravel/dusk/tree/v8.3.3"
},
- "time": "2025-02-20T14:42:00+00:00"
+ "time": "2025-06-10T13:59:27+00:00"
},
{
"name": "laravel/pint",
@@ -12497,16 +12632,16 @@
},
{
"name": "laravel/telescope",
- "version": "v5.8.0",
+ "version": "v5.9.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/telescope.git",
- "reference": "9be1b8851b8ffe67689e7960135f8b32a966f23d"
+ "reference": "403d4ad1ecfe126139f5cf29cabd6b1c816c46a2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/telescope/zipball/9be1b8851b8ffe67689e7960135f8b32a966f23d",
- "reference": "9be1b8851b8ffe67689e7960135f8b32a966f23d",
+ "url": "https://api.github.com/repos/laravel/telescope/zipball/403d4ad1ecfe126139f5cf29cabd6b1c816c46a2",
+ "reference": "403d4ad1ecfe126139f5cf29cabd6b1c816c46a2",
"shasum": ""
},
"require": {
@@ -12560,9 +12695,9 @@
],
"support": {
"issues": "https://github.com/laravel/telescope/issues",
- "source": "https://github.com/laravel/telescope/tree/v5.8.0"
+ "source": "https://github.com/laravel/telescope/tree/v5.9.1"
},
- "time": "2025-05-26T17:22:18+00:00"
+ "time": "2025-06-10T21:42:27+00:00"
},
{
"name": "mockery/mockery",
@@ -12709,23 +12844,23 @@
},
{
"name": "nunomaduro/collision",
- "version": "v8.8.0",
+ "version": "v8.8.1",
"source": {
"type": "git",
"url": "https://github.com/nunomaduro/collision.git",
- "reference": "4cf9f3b47afff38b139fb79ce54fc71799022ce8"
+ "reference": "44ccb82e3e21efb5446748d2a3c81a030ac22bd5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nunomaduro/collision/zipball/4cf9f3b47afff38b139fb79ce54fc71799022ce8",
- "reference": "4cf9f3b47afff38b139fb79ce54fc71799022ce8",
+ "url": "https://api.github.com/repos/nunomaduro/collision/zipball/44ccb82e3e21efb5446748d2a3c81a030ac22bd5",
+ "reference": "44ccb82e3e21efb5446748d2a3c81a030ac22bd5",
"shasum": ""
},
"require": {
- "filp/whoops": "^2.18.0",
- "nunomaduro/termwind": "^2.3.0",
+ "filp/whoops": "^2.18.1",
+ "nunomaduro/termwind": "^2.3.1",
"php": "^8.2.0",
- "symfony/console": "^7.2.5"
+ "symfony/console": "^7.3.0"
},
"conflict": {
"laravel/framework": "<11.44.2 || >=13.0.0",
@@ -12733,15 +12868,15 @@
},
"require-dev": {
"brianium/paratest": "^7.8.3",
- "larastan/larastan": "^3.2",
- "laravel/framework": "^11.44.2 || ^12.6",
- "laravel/pint": "^1.21.2",
- "laravel/sail": "^1.41.0",
- "laravel/sanctum": "^4.0.8",
+ "larastan/larastan": "^3.4.2",
+ "laravel/framework": "^11.44.2 || ^12.18",
+ "laravel/pint": "^1.22.1",
+ "laravel/sail": "^1.43.1",
+ "laravel/sanctum": "^4.1.1",
"laravel/tinker": "^2.10.1",
- "orchestra/testbench-core": "^9.12.0 || ^10.1",
- "pestphp/pest": "^3.8.0",
- "sebastian/environment": "^7.2.0 || ^8.0"
+ "orchestra/testbench-core": "^9.12.0 || ^10.4",
+ "pestphp/pest": "^3.8.2",
+ "sebastian/environment": "^7.2.1 || ^8.0"
},
"type": "library",
"extra": {
@@ -12804,7 +12939,7 @@
"type": "patreon"
}
],
- "time": "2025-04-03T14:33:09+00:00"
+ "time": "2025-06-11T01:04:21+00:00"
},
{
"name": "pestphp/pest",
@@ -13444,16 +13579,16 @@
},
{
"name": "phpunit/php-code-coverage",
- "version": "11.0.9",
+ "version": "11.0.10",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "14d63fbcca18457e49c6f8bebaa91a87e8e188d7"
+ "reference": "1a800a7446add2d79cc6b3c01c45381810367d76"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/14d63fbcca18457e49c6f8bebaa91a87e8e188d7",
- "reference": "14d63fbcca18457e49c6f8bebaa91a87e8e188d7",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1a800a7446add2d79cc6b3c01c45381810367d76",
+ "reference": "1a800a7446add2d79cc6b3c01c45381810367d76",
"shasum": ""
},
"require": {
@@ -13510,15 +13645,27 @@
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
- "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.9"
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/show"
},
"funding": [
{
"url": "https://github.com/sebastianbergmann",
"type": "github"
+ },
+ {
+ "url": "https://liberapay.com/sebastianbergmann",
+ "type": "liberapay"
+ },
+ {
+ "url": "https://thanks.dev/u/gh/sebastianbergmann",
+ "type": "thanks_dev"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/phpunit/php-code-coverage",
+ "type": "tidelift"
}
],
- "time": "2025-02-25T13:26:39+00:00"
+ "time": "2025-06-18T08:56:18+00:00"
},
{
"name": "phpunit/php-file-iterator",
@@ -13868,21 +14015,21 @@
},
{
"name": "rector/rector",
- "version": "2.0.16",
+ "version": "2.0.18",
"source": {
"type": "git",
"url": "https://github.com/rectorphp/rector.git",
- "reference": "f1366d1f8c7490541c8f7af6e5c7cef7cca1b5a2"
+ "reference": "be3a452085b524a04056e3dfe72d861948711062"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/rectorphp/rector/zipball/f1366d1f8c7490541c8f7af6e5c7cef7cca1b5a2",
- "reference": "f1366d1f8c7490541c8f7af6e5c7cef7cca1b5a2",
+ "url": "https://api.github.com/repos/rectorphp/rector/zipball/be3a452085b524a04056e3dfe72d861948711062",
+ "reference": "be3a452085b524a04056e3dfe72d861948711062",
"shasum": ""
},
"require": {
"php": "^7.4|^8.0",
- "phpstan/phpstan": "^2.1.14"
+ "phpstan/phpstan": "^2.1.17"
},
"conflict": {
"rector/rector-doctrine": "*",
@@ -13915,7 +14062,7 @@
],
"support": {
"issues": "https://github.com/rectorphp/rector/issues",
- "source": "https://github.com/rectorphp/rector/tree/2.0.16"
+ "source": "https://github.com/rectorphp/rector/tree/2.0.18"
},
"funding": [
{
@@ -13923,7 +14070,7 @@
"type": "github"
}
],
- "time": "2025-05-12T16:37:16+00:00"
+ "time": "2025-06-11T11:19:37+00:00"
},
{
"name": "sebastian/cli-parser",
diff --git a/config/api.php b/config/api.php
index 72d50f4ff6..83bac8f03f 100644
--- a/config/api.php
+++ b/config/api.php
@@ -1,5 +1,5 @@
<?php
return [
- 'throttle' => env('API_THROTTLE', 200),
+ 'rate_limit' => env('API_RATE_LIMIT', 200),
];
diff --git a/config/constants.php b/config/constants.php
index 226b7963b1..78d77d78e0 100644
--- a/config/constants.php
+++ b/config/constants.php
@@ -2,7 +2,7 @@
return [
'coolify' => [
- 'version' => '4.0.0-beta.419',
+ 'version' => '4.0.0-beta.420',
'helper_version' => '1.0.8',
'realtime_version' => '1.0.9',
'self_hosted' => env('SELF_HOSTED', true),
diff --git a/config/services.php b/config/services.php
index d1c4a36995..7add50a5ca 100644
--- a/config/services.php
+++ b/config/services.php
@@ -46,6 +46,13 @@ return [
'redirect' => env('AUTHENTIK_REDIRECT_URI'),
],
+ 'clerk' => [
+ 'client_id' => env('CLERK_CLIENT_ID'),
+ 'client_secret' => env('CLERK_CLIENT_SECRET'),
+ 'redirect' => env('CLERK_REDIRECT_URI'),
+ 'base_url' => env('CLERK_BASE_URL'),
+ ],
+
'google' => [
'client_id' => env('GOOGLE_CLIENT_ID'),
'client_secret' => env('GOOGLE_CLIENT_SECRET'),
@@ -53,4 +60,11 @@ return [
'tenant' => env('GOOGLE_TENANT'),
],
+ 'zitadel' => [
+ 'client_id' => env('ZITADEL_CLIENT_ID'),
+ 'client_secret' => env('ZITADEL_CLIENT_SECRET'),
+ 'redirect' => env('ZITADEL_REDIRECT_URI'),
+ 'base_url' => env('ZITADEL_BASE_URL'),
+ ]
+
];
diff --git a/database/migrations/2025_06_25_131350_add_is_sponsorship_popup_enabled_to_instance_settings_table.php b/database/migrations/2025_06_25_131350_add_is_sponsorship_popup_enabled_to_instance_settings_table.php
new file mode 100644
index 0000000000..7307da9535
--- /dev/null
+++ b/database/migrations/2025_06_25_131350_add_is_sponsorship_popup_enabled_to_instance_settings_table.php
@@ -0,0 +1,28 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+ /**
+ * Run the migrations.
+ */
+ public function up(): void
+ {
+ Schema::table('instance_settings', function (Blueprint $table) {
+ $table->boolean('is_sponsorship_popup_enabled')->default(true);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::table('instance_settings', function (Blueprint $table) {
+ $table->dropColumn('is_sponsorship_popup_enabled');
+ });
+ }
+};
diff --git a/database/seeders/OauthSettingSeeder.php b/database/seeders/OauthSettingSeeder.php
index fa692d2dc6..2e5e6fcc4c 100644
--- a/database/seeders/OauthSettingSeeder.php
+++ b/database/seeders/OauthSettingSeeder.php
@@ -17,11 +17,14 @@ class OauthSettingSeeder extends Seeder
$providers = collect([
'azure',
'bitbucket',
+ 'clerk',
+ 'discord',
'github',
'gitlab',
'google',
'authentik',
'infomaniak',
+ 'zitadel',
]);
$isOauthSeeded = OauthSetting::count() > 0;
diff --git a/lang/ar.json b/lang/ar.json
index 9befd1e4a1..263924c243 100644
--- a/lang/ar.json
+++ b/lang/ar.json
@@ -3,6 +3,8 @@
"auth.login.authentik": "تسجيل الدخول باستخدام Authentik",
"auth.login.azure": "تسجيل الدخول باستخدام Microsoft",
"auth.login.bitbucket": "تسجيل الدخول باستخدام Bitbucket",
+ "auth.login.clerk": "تسجيل الدخول باستخدام Clerk",
+ "auth.login.discord": "تسجيل الدخول باستخدام Discord",
"auth.login.github": "تسجيل الدخول باستخدام GitHub",
"auth.login.gitlab": "تسجيل الدخول باستخدام Gitlab",
"auth.login.google": "تسجيل الدخول باستخدام Google",
diff --git a/lang/az.json b/lang/az.json
index 973c70c2f1..92f56ddbc7 100644
--- a/lang/az.json
+++ b/lang/az.json
@@ -3,6 +3,8 @@
"auth.login.authentik": "Authentik ilə daxil ol",
"auth.login.azure": "Azure ilə daxil ol",
"auth.login.bitbucket": "Bitbucket ilə daxil ol",
+ "auth.login.clerk": "Clerk ilə daxil ol",
+ "auth.login.discord": "Discord ilə daxil ol",
"auth.login.github": "Github ilə daxil ol",
"auth.login.gitlab": "GitLab ilə daxil ol",
"auth.login.google": "Google ilə daxil ol",
diff --git a/lang/cs.json b/lang/cs.json
index 270fd272ba..00455aa81b 100644
--- a/lang/cs.json
+++ b/lang/cs.json
@@ -2,6 +2,8 @@
"auth.login": "Přihlásit se",
"auth.login.azure": "Přihlásit se pomocí Microsoftu",
"auth.login.bitbucket": "Přihlásit se pomocí Bitbucketu",
+ "auth.login.clerk": "Přihlásit se pomocí Clerk",
+ "auth.login.discord": "Přihlásit se pomocí Discordu",
"auth.login.github": "Přihlásit se pomocí GitHubu",
"auth.login.gitlab": "Přihlásit se pomocí Gitlabu",
"auth.login.google": "Přihlásit se pomocí Google",
diff --git a/lang/de.json b/lang/de.json
index c5644e3a7a..f56b21710a 100644
--- a/lang/de.json
+++ b/lang/de.json
@@ -2,10 +2,13 @@
"auth.login": "Anmelden",
"auth.login.azure": "Mit Microsoft anmelden",
"auth.login.bitbucket": "Mit Bitbucket anmelden",
+ "auth.login.clerk": "Mit Clerk anmelden",
+ "auth.login.discord": "Mit Discord anmelden",
"auth.login.github": "Mit GitHub anmelden",
"auth.login.gitlab": "Mit GitLab anmelden",
"auth.login.google": "Mit Google anmelden",
"auth.login.infomaniak": "Mit Infomaniak anmelden",
+ "auth.login.zitadel": "Mit Zitadel anmelden",
"auth.already_registered": "Bereits registriert?",
"auth.confirm_password": "Passwort bestätigen",
"auth.forgot_password": "Passwort vergessen",
diff --git a/lang/en.json b/lang/en.json
index cdca686013..4a398a9f99 100644
--- a/lang/en.json
+++ b/lang/en.json
@@ -3,10 +3,13 @@
"auth.login.authentik": "Login with Authentik",
"auth.login.azure": "Login with Microsoft",
"auth.login.bitbucket": "Login with Bitbucket",
+ "auth.login.clerk": "Login with Clerk",
+ "auth.login.discord": "Login with Discord",
"auth.login.github": "Login with GitHub",
"auth.login.gitlab": "Login with Gitlab",
"auth.login.google": "Login with Google",
"auth.login.infomaniak": "Login with Infomaniak",
+ "auth.login.zitadel": "Login with Zitadel",
"auth.already_registered": "Already registered?",
"auth.confirm_password": "Confirm password",
"auth.forgot_password": "Forgot password",
diff --git a/lang/es.json b/lang/es.json
index aceacd4625..73363a9bf0 100644
--- a/lang/es.json
+++ b/lang/es.json
@@ -2,6 +2,8 @@
"auth.login": "Iniciar Sesión",
"auth.login.azure": "Acceder con Microsoft",
"auth.login.bitbucket": "Acceder con Bitbucket",
+ "auth.login.clerk": "Acceder con Clerk",
+ "auth.login.discord": "Acceder con Discord",
"auth.login.github": "Acceder con GitHub",
"auth.login.gitlab": "Acceder con Gitlab",
"auth.login.google": "Acceder con Google",
diff --git a/lang/fa.json b/lang/fa.json
index 7a714e6266..d68049e77a 100644
--- a/lang/fa.json
+++ b/lang/fa.json
@@ -2,6 +2,8 @@
"auth.login": "ورود",
"auth.login.azure": "ورود با مایکروسافت",
"auth.login.bitbucket": "ورود با Bitbucket",
+ "auth.login.clerk": "ورود با Clerk",
+ "auth.login.discord": "ورود با Discord",
"auth.login.github": "ورود با گیت هاب",
"auth.login.gitlab": "ورود با گیت لب",
"auth.login.google": "ورود با گوگل",
diff --git a/lang/fr.json b/lang/fr.json
index 68763d5e00..2516d0f69d 100644
--- a/lang/fr.json
+++ b/lang/fr.json
@@ -3,6 +3,8 @@
"auth.login.authentik": "Connexion avec Authentik",
"auth.login.azure": "Connexion avec Microsoft",
"auth.login.bitbucket": "Connexion avec Bitbucket",
+ "auth.login.clerk": "Connexion avec Clerk",
+ "auth.login.discord": "Connexion avec Discord",
"auth.login.github": "Connexion avec GitHub",
"auth.login.gitlab": "Connexion avec Gitlab",
"auth.login.google": "Connexion avec Google",
diff --git a/lang/id.json b/lang/id.json
index d355564020..b0e38197aa 100644
--- a/lang/id.json
+++ b/lang/id.json
@@ -3,6 +3,8 @@
"auth.login.authentik": "Masuk dengan Authentik",
"auth.login.azure": "Masuk dengan Microsoft",
"auth.login.bitbucket": "Masuk dengan Bitbucket",
+ "auth.login.clerk": "Masuk dengan Clerk",
+ "auth.login.discord": "Masuk dengan Discord",
"auth.login.github": "Masuk dengan GitHub",
"auth.login.gitlab": "Masuk dengan Gitlab",
"auth.login.google": "Masuk dengan Google",
diff --git a/lang/it.json b/lang/it.json
index 1923251a5e..c0edc314bd 100644
--- a/lang/it.json
+++ b/lang/it.json
@@ -3,6 +3,8 @@
"auth.login.authentik": "Accedi con Authentik",
"auth.login.azure": "Accedi con Microsoft",
"auth.login.bitbucket": "Accedi con Bitbucket",
+ "auth.login.clerk": "Accedi con Clerk",
+ "auth.login.discord": "Accedi con Discord",
"auth.login.github": "Accedi con GitHub",
"auth.login.gitlab": "Accedi con Gitlab",
"auth.login.google": "Accedi con Google",
diff --git a/lang/ja.json b/lang/ja.json
index 4d45899001..87d87d99be 100644
--- a/lang/ja.json
+++ b/lang/ja.json
@@ -2,6 +2,8 @@
"auth.login": "ログイン",
"auth.login.azure": "Microsoftでログイン",
"auth.login.bitbucket": "Bitbucketでログイン",
+ "auth.login.clerk": "Clerkでログイン",
+ "auth.login.discord": "Discordでログイン",
"auth.login.github": "GitHubでログイン",
"auth.login.gitlab": "Gitlabでログイン",
"auth.login.google": "Googleでログイン",
diff --git a/lang/no.json b/lang/no.json
index 29d5af1247..a84f6aa6c4 100644
--- a/lang/no.json
+++ b/lang/no.json
@@ -3,6 +3,8 @@
"auth.login.authentik": "Logg inn med Authentik",
"auth.login.azure": "Logg inn med Microsoft",
"auth.login.bitbucket": "Logg inn med Bitbucket",
+ "auth.login.clerk": "Logg inn med Clerk",
+ "auth.login.discord": "Logg inn med Discord",
"auth.login.github": "Logg inn med GitHub",
"auth.login.gitlab": "Logg inn med Gitlab",
"auth.login.google": "Logg inn med Google",
diff --git a/lang/pt-br.json b/lang/pt-br.json
index 2e793890f2..c3a1029957 100644
--- a/lang/pt-br.json
+++ b/lang/pt-br.json
@@ -3,6 +3,8 @@
"auth.login.authentik": "Entrar com Authentik",
"auth.login.azure": "Entrar com Microsoft",
"auth.login.bitbucket": "Entrar com Bitbucket",
+ "auth.login.clerk": "Entrar com Clerk",
+ "auth.login.discord": "Entrar com Discord",
"auth.login.github": "Entrar com GitHub",
"auth.login.gitlab": "Entrar com Gitlab",
"auth.login.google": "Entrar com Google",
diff --git a/lang/pt.json b/lang/pt.json
index c5f393e65c..80ff8c1468 100644
--- a/lang/pt.json
+++ b/lang/pt.json
@@ -2,6 +2,8 @@
"auth.login": "Entrar",
"auth.login.azure": "Entrar com Microsoft",
"auth.login.bitbucket": "Entrar com Bitbucket",
+ "auth.login.clerk": "Entrar com Clerk",
+ "auth.login.discord": "Entrar com Discord",
"auth.login.github": "Entrar com GitHub",
"auth.login.gitlab": "Entrar com Gitlab",
"auth.login.google": "Entrar com Google",
diff --git a/lang/ro.json b/lang/ro.json
index 4c7968cfa2..5588ea6f48 100644
--- a/lang/ro.json
+++ b/lang/ro.json
@@ -2,6 +2,8 @@
"auth.login": "Autentificare",
"auth.login.azure": "Autentificare prin Microsoft",
"auth.login.bitbucket": "Autentificare prin Bitbucket",
+ "auth.login.clerk": "Autentificare prin Clerk",
+ "auth.login.discord": "Autentificare prin Discord",
"auth.login.github": "Autentificare prin GitHub",
"auth.login.gitlab": "Autentificare prin Gitlab",
"auth.login.google": "Autentificare prin Google",
diff --git a/lang/tr.json b/lang/tr.json
index 663c756f9a..74f693dc9c 100644
--- a/lang/tr.json
+++ b/lang/tr.json
@@ -2,6 +2,8 @@
"auth.login": "Giriş",
"auth.login.azure": "Microsoft ile Giriş Yap",
"auth.login.bitbucket": "Bitbucket ile Giriş Yap",
+ "auth.login.clerk": "Clerk ile Giriş Yap",
+ "auth.login.discord": "Discord ile Giriş Yap",
"auth.login.github": "GitHub ile Giriş Yap",
"auth.login.gitlab": "GitLab ile Giriş Yap",
"auth.login.google": "Google ile Giriş Yap",
diff --git a/lang/vi.json b/lang/vi.json
index bb43fd34d4..46edac5998 100644
--- a/lang/vi.json
+++ b/lang/vi.json
@@ -2,6 +2,8 @@
"auth.login": "Đăng Nhập",
"auth.login.azure": "Đăng Nhập Bằng Microsoft",
"auth.login.bitbucket": "Đăng Nhập Bằng Bitbucket",
+ "auth.login.clerk": "Đăng Nhập Bằng Clerk",
+ "auth.login.discord": "Đăng Nhập Bằng Discord",
"auth.login.github": "Đăng Nhập Bằng GitHub",
"auth.login.gitlab": "Đăng Nhập Bằng Gitlab",
"auth.login.google": "Đăng Nhập Bằng Google",
diff --git a/lang/zh-cn.json b/lang/zh-cn.json
index 944887a5fc..d46c71e071 100644
--- a/lang/zh-cn.json
+++ b/lang/zh-cn.json
@@ -2,6 +2,8 @@
"auth.login": "登录",
"auth.login.azure": "使用 Microsoft 登录",
"auth.login.bitbucket": "使用 Bitbucket 登录",
+ "auth.login.clerk": "使用 Clerk 登录",
+ "auth.login.discord": "使用 Discord 登录",
"auth.login.github": "使用 GitHub 登录",
"auth.login.gitlab": "使用 Gitlab 登录",
"auth.login.google": "使用 Google 登录",
diff --git a/lang/zh-tw.json b/lang/zh-tw.json
index c42ebb33e3..c0784c7b73 100644
--- a/lang/zh-tw.json
+++ b/lang/zh-tw.json
@@ -2,6 +2,8 @@
"auth.login": "登入",
"auth.login.azure": "使用 Microsoft 登入",
"auth.login.bitbucket": "使用 Bitbucket 登入",
+ "auth.login.clerk": "使用 Clerk 登入",
+ "auth.login.discord": "使用 Discord 登入",
"auth.login.github": "使用 GitHub 登入",
"auth.login.gitlab": "使用 Gitlab 登入",
"auth.login.google": "使用 Google 登入",
diff --git a/other/nightly/versions.json b/other/nightly/versions.json
index eda5485709..9fde1e53b7 100644
--- a/other/nightly/versions.json
+++ b/other/nightly/versions.json
@@ -1,10 +1,10 @@
{
"coolify": {
"v4": {
- "version": "4.0.0-beta.419"
+ "version": "4.0.0-beta.420"
},
"nightly": {
- "version": "4.0.0-beta.420"
+ "version": "4.0.0-beta.421"
},
"helper": {
"version": "1.0.8"
diff --git a/public/heart.png b/public/heart.png
new file mode 100644
index 0000000000..c44a213016
Binary files /dev/null and b/public/heart.png differ
diff --git a/public/svgs/hoarder.svg b/public/svgs/karakeep.svg
similarity index 100%
rename from public/svgs/hoarder.svg
rename to public/svgs/karakeep.svg
diff --git a/public/svgs/miniflux.svg b/public/svgs/miniflux.svg
new file mode 100644
index 0000000000..33ae73a879
--- /dev/null
+++ b/public/svgs/miniflux.svg
@@ -0,0 +1 @@
+<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 431.27 298.29"><title>icon</title><path d="M178.24,117a95.75,95.75,0,0,1,45.48-11q50.36,0,64.16,43.8a139.1,139.1,0,0,1,37.57-31.07q22.13-12.73,49.34-12.73,37.77,0,54,23.08T445,198.38v174c0,4.35.61,7.3,1.83,8.88s3.86,3,7.92,4.14L469,390.14v10.65H384.53q-11,0-15.83-8.29t-4.88-24.86V187.73q0-26.64-5.89-37.88T338.24,138.6q-21.93,0-46.7,26A210,210,0,0,1,294,198.38v174c0,4.35.61,7.3,1.83,8.88s3.86,3,7.92,4.14l14.21,4.74v10.65H233.47q-11,0-15.84-8.29t-4.88-24.86V187.73q0-26.64-5.88-37.88t-19.7-11.25q-21.53,0-44.26,23.68v210.1c0,4.35.6,7.4,1.82,9.17s3.72,3.26,7.52,4.44l13.8,4.15v10.65H37.73V390.14l14.21-4.74q6.09-1.77,7.92-4.14c1.22-1.58,1.83-4.53,1.83-8.88V148.67q0-6.51-1.83-8.88t-7.92-4.15l-14.21-4.73V120.26l97.46-17.76h6.9v41.43A142.53,142.53,0,0,1,178.24,117Z" transform="translate(-37.73 -102.5)"/></svg>
\ No newline at end of file
diff --git a/public/svgs/pingvinshare.svg b/public/svgs/pingvinshare.svg
new file mode 100644
index 0000000000..4f1f7a7bcc
--- /dev/null
+++ b/public/svgs/pingvinshare.svg
@@ -0,0 +1 @@
+<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 943.11 911.62"><ellipse cx="471.56" cy="454.28" rx="471.56" ry="454.28" fill="#46509e"/><ellipse cx="471.56" cy="390.28" rx="233.66" ry="207" fill="#37474f"/><path d="M705.22,849c-36.69,21.14-123.09,64.32-240.64,62.57A469.81,469.81,0,0,1,237.89,849V394.76H705.22Z" fill="#37474f"/><path d="M658.81,397.7V873.49a478.12,478.12,0,0,1-374.19,0V397.7c0-95.55,83.78-173,187.1-173S658.81,302.15,658.81,397.7Z" fill="#fff"/><polygon points="565.02 431.68 471.56 514.49 378.09 431.68 565.02 431.68" fill="#46509e"/><ellipse cx="378.09" cy="369.58" rx="23.37" ry="20.7" fill="#37474f"/><ellipse cx="565.02" cy="369.58" rx="23.37" ry="20.7" fill="#37474f"/><path d="M658.49,400.63c0-40-36.6-72.45-81.79-72.45s-81.78,32.41-81.78,72.45a64.79,64.79,0,0,0,7.9,31.05H440.29a64.79,64.79,0,0,0,7.9-31.05c0-40-36.59-72.45-81.78-72.45s-81.79,32.41-81.79,72.45l-46.73-10.35c0-114.31,104.64-207,233.67-207s233.66,92.69,233.66,207Z" fill="#37474f"/></svg>
\ No newline at end of file
diff --git a/resources/css/utilities.css b/resources/css/utilities.css
index 4993b23029..fe0cd10edc 100644
--- a/resources/css/utilities.css
+++ b/resources/css/utilities.css
@@ -122,7 +122,7 @@
}
@utility navbar-main {
- @apply flex flex-col gap-4 justify-items-start pb-2 border-b-2 border-solid h-fit md:flex-row sm:justify-between dark:border-coolgray-200 md:items-center;
+ @apply flex flex-col gap-4 justify-items-start pb-2 border-b-2 border-solid h-fit md:flex-row sm:justify-between dark:border-coolgray-200 border-neutral-200 md:items-center;
}
@utility loading {
diff --git a/resources/views/components/loading-on-button.blade.php b/resources/views/components/loading-on-button.blade.php
index 78a1f9726e..a451023aa2 100644
--- a/resources/views/components/loading-on-button.blade.php
+++ b/resources/views/components/loading-on-button.blade.php
@@ -3,7 +3,7 @@
@if (isset($text))
<div>{{ $text }}</div>
@endif
- <svg class="w-4 h-4 mx-1 ml-3 text-warning animate-spin" xmlns="http://www.w3.org/2000/svg" fill="none"
+ <svg class="w-4 h-4 mx-1 ml-3 dark:text-warning animate-spin" xmlns="http://www.w3.org/2000/svg" fill="none"
viewBox="0 0 24 24">
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
<path class="opacity-75" fill="currentColor"
diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.php
index a28a87797b..be26d55caf 100644
--- a/resources/views/components/navbar.blade.php
+++ b/resources/views/components/navbar.blade.php
@@ -344,7 +344,7 @@
@if (isInstanceAdmin() || session('impersonating'))
<li>
<a title="Admin" class="menu-item" href="/admin">
- <svg class="text-pink-600 icon" viewBox="0 0 256 256"
+ <svg class="text-pink-500 icon" viewBox="0 0 256 256"
xmlns="http://www.w3.org/2000/svg">
<path fill="currentColor"
d="M177.62 159.6a52 52 0 0 1-34 34a12.2 12.2 0 0 1-3.6.55a12 12 0 0 1-3.6-23.45a28 28 0 0 0 18.32-18.32a12 12 0 0 1 22.9 7.2ZM220 144a92 92 0 0 1-184 0c0-28.81 11.27-58.18 33.48-87.28a12 12 0 0 1 17.9-1.33l19.69 19.11L127 19.89a12 12 0 0 1 18.94-5.12C168.2 33.25 220 82.85 220 144m-24 0c0-41.71-30.61-78.39-52.52-99.29l-20.21 55.4a12 12 0 0 1-19.63 4.5L80.71 82.36C67 103.38 60 124.06 60 144a68 68 0 0 0 136 0" />
@@ -362,7 +362,7 @@
</li>
@endpersist
@endif
- <li>
+ {{-- <li>
<a title="Onboarding"
class="{{ request()->is('onboarding*') ? 'menu-item-active menu-item' : 'menu-item' }}"
href="{{ route('onboarding') }}">
@@ -372,7 +372,7 @@
</svg>
Onboarding
</a>
- </li>
+ </li> --}}
<li>
<a title="Sponsor us" class="menu-item" href="https://coolify.io/sponsorships"
target="_blank">
@@ -410,7 +410,7 @@
<form action="/logout" method="POST">
@csrf
<button title="Logout" type="submit" class="gap-2 mb-6 menu-item">
- <svg class="icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
+ <svg class="icon mr-1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path fill="currentColor"
d="M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2a9.985 9.985 0 0 1 8 4h-2.71a8 8 0 1 0 .001 12h2.71A9.985 9.985 0 0 1 12 22m7-6v-3h-8v-2h8V8l5 4z" />
</svg>
diff --git a/resources/views/components/popup.blade.php b/resources/views/components/popup.blade.php
index afcb773ebf..abb8881509 100644
--- a/resources/views/components/popup.blade.php
+++ b/resources/views/components/popup.blade.php
@@ -6,29 +6,35 @@
x-transition:enter-start="translate-y-full" x-transition:enter-end="translate-y-0"
x-transition:leave="transition ease-in duration-300" x-transition:leave-start="translate-y-0"
x-transition:leave-end="translate-y-full" x-init="setTimeout(() => { bannerVisible = true }, bannerVisibleAfter);"
- class="fixed bottom-0 right-0 w-full h-auto duration-300 ease-out sm:px-5 sm:pb-5 w-full z-999"
- x-cloak>
- <div
- class="flex items-center flex-col justify-between w-full h-full max-w-4xl p-6 mx-auto bg-white border shadow-lg lg:border-t dark:border-coolgray-300 dark:bg-coolgray-100 lg:p-8 lg:flex-row sm:rounded-sm">
+ class="fixed bottom-0 right-0 w-full h-auto duration-300 ease-out sm:px-5 sm:pb-5 w-full z-999" x-cloak>
+ @isset($customActions)
+ {{ $customActions }}
+ @else
<div
- class="flex flex-col items-start h-full pb-6 text-xs lg:items-center lg:flex-row lg:pb-0 lg:pr-6 lg:space-x-5 dark:text-neutral-300">
- @if (isset($icon))
- {{ $icon }}
- @endif
+ class="flex lg:items-center flex-col justify-between w-full h-full max-w-4xl p-6 mx-auto bg-white border shadow-lg lg:border-t dark:border-coolgray-300 border-neutral-200 dark:bg-coolgray-100 lg:p-8 lg:flex-row sm:rounded-sm">
+ <div
+ class="flex flex-col items-start h-full pb-6 text-xs lg:items-center lg:flex-row lg:pb-0 lg:pr-6 lg:space-x-5 dark:text-neutral-300">
+ @if (isset($icon))
+ <div class="hidden lg:block">
+ {{ $icon }}
+ </div>
+ @endif
- <div class="pt-6 lg:pt-0">
- <h4 class="w-full mb-1 text-xl font-bold leading-none -translate-y-1 text-neutral-900 dark:text-white">
- {{ $title }}
- </h4>
- <p class="">{{ $description }}</span></p>
+ <div class="pt-6 lg:pt-0">
+ <h4 class="w-full mb-1 text-xl font-bold leading-none -translate-y-1 text-neutral-900 dark:text-white">
+ {{ $title }}
+ </h4>
+ <p>{{ $description }}</span></p>
+ </div>
</div>
- </div>
<button
@if ($buttonText->attributes->whereStartsWith('@click')->first()) @click="bannerVisible=false;{{ $buttonText->attributes->get('@click') }}"
- @else
- @click="bannerVisible=false;" @endif
+ @else
+ @click="bannerVisible=false;" @endif
class="w-full px-4 py-2 text-sm font-medium tracking-wide transition-colors duration-200 rounded-md bg-neutral-100 hover:bg-neutral-200 dark:bg-coolgray-200 lg:w-auto dark:text-neutral-200 dark:hover:bg-coolgray-300 focus:shadow-outline focus:outline-hidden">
{{ $buttonText }}
</button>
- </div>
+ </div>
+ @endisset
+
</div>
diff --git a/resources/views/components/status/index.blade.php b/resources/views/components/status/index.blade.php
index fe9569c8a7..65beace65f 100644
--- a/resources/views/components/status/index.blade.php
+++ b/resources/views/components/status/index.blade.php
@@ -13,11 +13,18 @@
<x-status.stopped :status="$resource->status" />
@endif
@if (!str($resource->status)->contains('exited') && $showRefreshButton)
- <button title="Refresh Status" wire:click='checkStatus'
+ <button wire:loading.remove title="Refresh Status" wire:click='checkStatus'
class="mx-1 dark:hover:fill-white fill-black dark:fill-warning">
<svg class="w-4 h-4" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path
d="M12 2a10.016 10.016 0 0 0-7 2.877V3a1 1 0 1 0-2 0v4.5a1 1 0 0 0 1 1h4.5a1 1 0 0 0 0-2H6.218A7.98 7.98 0 0 1 20 12a1 1 0 0 0 2 0A10.012 10.012 0 0 0 12 2zm7.989 13.5h-4.5a1 1 0 0 0 0 2h2.293A7.98 7.98 0 0 1 4 12a1 1 0 0 0-2 0a9.986 9.986 0 0 0 16.989 7.133V21a1 1 0 0 0 2 0v-4.5a1 1 0 0 0-1-1z" />
</svg>
</button>
+ <button wire:loading title="Refreshing Status" wire:click='checkStatus'
+ class="mx-1 dark:hover:fill-white fill-black dark:fill-warning">
+ <svg class="w-4 h-4 animate-spin" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M12 2a10.016 10.016 0 0 0-7 2.877V3a1 1 0 1 0-2 0v4.5a1 1 0 0 0 1 1h4.5a1 1 0 0 0 0-2H6.218A7.98 7.98 0 0 1 20 12a1 1 0 0 0 2 0A10.012 10.012 0 0 0 12 2zm7.989 13.5h-4.5a1 1 0 0 0 0 2h2.293A7.98 7.98 0 0 1 4 12a1 1 0 0 0-2 0a9.986 9.986 0 0 0 16.989 7.133V21a1 1 0 0 0 2 0v-4.5a1 1 0 0 0-1-1z" />
+ </svg>
+ </button>
@endif
diff --git a/resources/views/components/status/services.blade.php b/resources/views/components/status/services.blade.php
index 5a52335a7a..677cc6f451 100644
--- a/resources/views/components/status/services.blade.php
+++ b/resources/views/components/status/services.blade.php
@@ -1,5 +1,7 @@
@if (str($complexStatus)->contains('running'))
<x-status.running :status="$complexStatus" />
+@elseif(str($complexStatus)->contains('starting'))
+ <x-status.restarting :status="$complexStatus" />
@elseif(str($complexStatus)->contains('restarting'))
<x-status.restarting :status="$complexStatus" />
@elseif(str($complexStatus)->contains('degraded'))
@@ -8,11 +10,18 @@
<x-status.stopped :status="$complexStatus" />
@endif
@if (!str($complexStatus)->contains('exited') && $showRefreshButton)
- <button title="Refresh Status" wire:click='checkStatus'
+ <button wire:loading.remove title="Refresh Status" wire:click='checkStatus'
class="mx-1 dark:hover:fill-white fill-black dark:fill-warning">
<svg class="w-4 h-4" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path
d="M12 2a10.016 10.016 0 0 0-7 2.877V3a1 1 0 1 0-2 0v4.5a1 1 0 0 0 1 1h4.5a1 1 0 0 0 0-2H6.218A7.98 7.98 0 0 1 20 12a1 1 0 0 0 2 0A10.012 10.012 0 0 0 12 2zm7.989 13.5h-4.5a1 1 0 0 0 0 2h2.293A7.98 7.98 0 0 1 4 12a1 1 0 0 0-2 0a9.986 9.986 0 0 0 16.989 7.133V21a1 1 0 0 0 2 0v-4.5a1 1 0 0 0-1-1z" />
</svg>
</button>
+ <button wire:loading title="Refreshing Status" wire:click='checkStatus'
+ class="mx-1 dark:hover:fill-white fill-black dark:fill-warning">
+ <svg class="w-4 h-4 animate-spin" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M12 2a10.016 10.016 0 0 0-7 2.877V3a1 1 0 1 0-2 0v4.5a1 1 0 0 0 1 1h4.5a1 1 0 0 0 0-2H6.218A7.98 7.98 0 0 1 20 12a1 1 0 0 0 2 0A10.012 10.012 0 0 0 12 2zm7.989 13.5h-4.5a1 1 0 0 0 0 2h2.293A7.98 7.98 0 0 1 4 12a1 1 0 0 0-2 0a9.986 9.986 0 0 0 16.989 7.133V21a1 1 0 0 0 2 0v-4.5a1 1 0 0 0-1-1z" />
+ </svg>
+ </button>
@endif
diff --git a/resources/views/livewire/boarding/index.blade.php b/resources/views/livewire/boarding/index.blade.php
index f5ed24c513..68b328b304 100644
--- a/resources/views/livewire/boarding/index.blade.php
+++ b/resources/views/livewire/boarding/index.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<section class="flex flex-col h-full lg:items-center lg:justify-center">
<div
- class="flex flex-col items-center justify-center p-10 mx-2 mt-10 bg-white border rounded-lg shadow-sm lg:p-20 dark:bg-transparent dark:border-none max-w-7xl ">
+ class="flex flex-col items-center justify-center p-10 mx-2 mt-10 bg-white border rounded-lg shadow-sm lg:p-20 dark:bg-transparent dark:border-none max-w-7xl border-neutral-200">
@if ($currentState === 'welcome')
<h1 class="text-3xl font-bold lg:text-5xl">Welcome to Coolify</h1>
<div class="py-6 text-center lg:text-xl">Let me help you set up the basics.</div>
@@ -21,8 +21,8 @@
Git
integrations, deploy databases and services, monitor these resources with notifications and
alerts
- without vendor lock-in. <br/>
- <a href="https://coolify.io" class="dark:text-white hover:underline">Coolify Home</a>.
+ without vendor lock-in. <br />
+ <a href="https://coolify.io" class="dark:text-white hover:underline">Coolify Home</a>.
<br><br>
<span class="text-xl">
<x-highlighted text="Self-hosting with superpowers!" /></span>
@@ -277,8 +277,7 @@
<x-forms.input required placeholder="Choose a name for your Server. Could be anything."
label="Name" id="remoteServerName" wire:model="remoteServerName" />
<x-forms.input placeholder="Description, so others will know more about this."
- label="Description" id="remoteServerDescription"
- wire:model="remoteServerDescription" />
+ label="Description" id="remoteServerDescription" wire:model="remoteServerDescription" />
<x-forms.input required placeholder="127.0.0.1" label="IP Address" id="remoteServerHost"
wire:model="remoteServerHost" />
<div x-data="{ showAdvanced: false }" class="flex flex-col gap-2">
@@ -323,7 +322,8 @@
</x-slot:actions>
<x-slot:explanation>
<p>This will install the latest Docker Engine on your server, configure a few things to be able
- to run optimal.<br><br>Minimum Docker Engine version is: {{ $minDockerVersion }}<br><br>To manually install
+ to run optimal.<br><br>Minimum Docker Engine version is: {{ $minDockerVersion }}<br><br>To
+ manually install
Docker
Engine, check <a target="_blank" class="underline dark:text-warning"
href="https://docs.docker.com/engine/install/#server">this
diff --git a/resources/views/livewire/dashboard.blade.php b/resources/views/livewire/dashboard.blade.php
index d9b99bc121..eb75bcd59f 100644
--- a/resources/views/livewire/dashboard.blade.php
+++ b/resources/views/livewire/dashboard.blade.php
@@ -17,9 +17,9 @@
<section>
<h3 class="pb-2">Projects</h3>
@if ($projects->count() > 0)
- <div class="grid grid-cols-1 gap-2 xl:grid-cols-2">
+ <div class="grid grid-cols-1 gap-4 xl:grid-cols-2">
@foreach ($projects as $project)
- <div class="gap-2 border border-transparent cursor-pointer box group"
+ <div class="gap-2 border cursor-pointer box group"
wire:click="navigateToProject('{{ $project->uuid }}')">
<div class="flex flex-1 mx-6">
<div class="flex flex-col justify-center flex-1">
@@ -68,7 +68,6 @@
<a href="{{ route('server.show', ['server_uuid' => data_get($server, 'uuid')]) }}"
@class([
'gap-2 border cursor-pointer box group',
- 'border-transparent' => $server->settings->is_reachable,
'border-red-500' => !$server->settings->is_reachable,
])>
<div class="flex flex-col justify-center mx-6">
@@ -124,7 +123,7 @@
@if ($servers->count() > 0 && $projects->count() > 0)
<section>
- <div class="flex items-center gap-2">
+ <div class="flex items-start gap-2">
<h3 class="pb-2">Deployments</h3>
@if (count($deploymentsPerServer) > 0)
<x-loading />
diff --git a/resources/views/livewire/layout-popups.blade.php b/resources/views/livewire/layout-popups.blade.php
index c639b4627c..835fa32d57 100644
--- a/resources/views/livewire/layout-popups.blade.php
+++ b/resources/views/livewire/layout-popups.blade.php
@@ -4,9 +4,10 @@
notification: true,
realtime: false,
},
+ isDevelopment: {{ isDev() ? 'true' : 'false' }},
init() {
- this.popups.sponsorship = localStorage.getItem('popupSponsorship') !== 'false';
- this.popups.notification = localStorage.getItem('popupNotification') !== 'false';
+ this.popups.sponsorship = this.shouldShowMonthlyPopup('popupSponsorship');
+ this.popups.notification = this.shouldShowMonthlyPopup('popupNotification');
this.popups.realtime = localStorage.getItem('popupRealtime');
let checkNumber = 1;
@@ -31,6 +32,35 @@
}
}, 2000);
}
+ },
+ shouldShowMonthlyPopup(storageKey) {
+ const disabledTimestamp = localStorage.getItem(storageKey);
+
+ // If never disabled, show the popup
+ if (!disabledTimestamp || disabledTimestamp === 'false') {
+ return true;
+ }
+
+ // If disabled timestamp is not a valid number, show the popup
+ const disabledTime = parseInt(disabledTimestamp);
+ if (isNaN(disabledTime)) {
+ return true;
+ }
+
+ const now = new Date();
+ const disabledDate = new Date(disabledTime);
+
+ {{-- if (this.isDevelopment) {
+ // In development: check if 10 seconds have passed
+ const timeDifference = now.getTime() - disabledDate.getTime();
+ const tenSecondsInMs = 10 * 1000;
+ return timeDifference >= tenSecondsInMs;
+ } else { --}}
+ // In production: check if we're in a different month or year
+ const isDifferentMonth = now.getMonth() !== disabledDate.getMonth() ||
+ now.getFullYear() !== disabledDate.getFullYear();
+ return isDifferentMonth;
+ {{-- } --}}
}
}">
@auth
@@ -56,35 +86,60 @@
@endif
</span>
@endauth
- <span x-show="popups.sponsorship">
- <x-popup>
- <x-slot:title>
- Love Coolify as we do?
- </x-slot:title>
- <x-slot:icon>
- <img src="https://cdn-icons-png.flaticon.com/512/8236/8236748.png"
- class="w-8 h-8 sm:w-12 sm:h-12 lg:w-16 lg:h-16">
- </x-slot:icon>
- <x-slot:description>
- <span>Please
- consider donating on <a href="https://github.com/sponsors/coollabsio"
- class="text-xs underline dark:text-white">GitHub</a> or <a
- href="https://opencollective.com/coollabsio"
- class="text-xs underline dark:text-white">OpenCollective</a>.<br><br></span>
- <span>It enables us to keep creating features without paywalls, ensuring our work remains free and
- open.</span>
- </x-slot:description>
- <x-slot:button-text @click="disableSponsorship()">
- Disable This Popup
- </x-slot:button-text>
- </x-popup>
- </span>
+ @if (instanceSettings()->is_sponsorship_popup_enabled && !isCloud())
+ <span x-show="popups.sponsorship">
+ <x-popup>
+ <x-slot:customActions>
+ <div
+ class="flex md:flex-row flex-col max-w-4xl p-6 mx-auto bg-white border shadow-lg lg:border-t dark:border-coolgray-300 border-neutral-200 dark:bg-coolgray-100 lg:p-8 lg:pb-4 sm:rounded-sm gap-2">
+ <div class="md:block hidden">
+ <img src="{{ asset('heart.png') }}" class="w-20 h-20">
+ </div>
+ <div class="flex flex-col gap-2 lg:px-10 px-1">
+ <div class="lg:text-xl text-md dark:text-white font-bold">Love Coolify? Support our work.
+ </div>
+ <div class="lg:text-sm text-xs dark:text-white">
+ We are already profitable thanks to <span class="font-bold text-pink-500">YOU</span>
+ but...<br />We
+ would
+ like to
+ make
+ more cool features.
+ </div>
+ <div class="lg:text-sm text-xs dark:text-white pt-2 ">
+ For this we need your help to support our work financially.
+ </div>
+ </div>
+ <div class="flex flex-col gap-2 text-center md:mx-auto lg:py-0 pt-2">
+ <x-forms.button isHighlighted class="md:w-36 w-full"><a target="_blank"
+ href="https://github.com/sponsors/coollabsio"
+ class="font-bold dark:text-white">GitHub
+ Sponsors</a></x-forms.button>
+ <x-forms.button isHighlighted class="md:w-36 w-full"><a target="_blank"
+ href="https://opencollective.com/coollabsio/donate?interval=month&amount=10&name=&legalName=&email="
+ class="font-bold dark:text-white">Open
+ Collective</a></x-forms.button>
+ <x-forms.button isHighlighted class="md:w-36 w-full"><a
+ href="https://donate.stripe.com/8x2bJ104ifmB9kB45u38402" target="_blank"
+ class="font-bold dark:text-white">Stripe</a></x-forms.button>
+ <div class="pt-4 dark:text-white hover:underline cursor-pointer lg:text-base text-xs"
+ @click="bannerVisible=false;disableSponsorship()">
+ Maybe next time
+ </div>
+ </div>
+ </div>
+ </x-slot:customActions>
+ </x-popup>
+ </span>
+ @endif
@if (currentTeam()->subscriptionPastOverDue())
<x-banner :closable=false>
- <div><span class="font-bold text-red-500">WARNING:</span> Your subscription is in over-due. If your latest
+ <div><span class="font-bold text-red-500">WARNING:</span> Your subscription is in over-due. If your
+ latest
payment is not paid within a week, all automations <span class="font-bold text-red-500">will
be deactivated</span>. Visit <a href="{{ route('subscription.show') }}"
- class="underline dark:text-white">/subscription</a> to check your subscription status or pay your
+ class="underline dark:text-white">/subscription</a> to check your subscription status or pay
+ your
invoice (or check your email for the invoice).
</div>
</x-banner>
@@ -128,11 +183,13 @@
@endif
<script>
function disableSponsorship() {
- localStorage.setItem('popupSponsorship', false);
+ // Store current timestamp instead of just 'false'
+ localStorage.setItem('popupSponsorship', Date.now().toString());
}
function disableNotification() {
- localStorage.setItem('popupNotification', false);
+ // Store current timestamp instead of just 'false'
+ localStorage.setItem('popupNotification', Date.now().toString());
}
function disableRealtime() {
diff --git a/resources/views/livewire/notifications/discord.blade.php b/resources/views/livewire/notifications/discord.blade.php
index a65be078f6..4118af5f19 100644
--- a/resources/views/livewire/notifications/discord.blade.php
+++ b/resources/views/livewire/notifications/discord.blade.php
@@ -35,7 +35,7 @@
Select events for which you would like to receive Discord notifications.
</p>
<div class="flex flex-col gap-4 max-w-2xl">
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Deployments</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="deploymentSuccessDiscordNotifications"
@@ -47,7 +47,7 @@
id="statusChangeDiscordNotifications" label="Container Status Changes" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Backups</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="backupSuccessDiscordNotifications"
@@ -56,7 +56,7 @@
label="Backup Failure" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Scheduled Tasks</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="scheduledTaskSuccessDiscordNotifications"
@@ -65,7 +65,7 @@
label="Scheduled Task Failure" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Server</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="dockerCleanupSuccessDiscordNotifications"
diff --git a/resources/views/livewire/notifications/email.blade.php b/resources/views/livewire/notifications/email.blade.php
index e4d8bf31d8..74380f2cd8 100644
--- a/resources/views/livewire/notifications/email.blade.php
+++ b/resources/views/livewire/notifications/email.blade.php
@@ -34,7 +34,7 @@
</div>
@endif
@if (!$useInstanceEmailSettings)
- <div class="flex gap-4">
+ <div class="flex gap-2">
<x-forms.input required id="smtpFromName" helper="Name used in emails." label="From Name" />
<x-forms.input required id="smtpFromAddress" helper="Email address used in emails."
label="From Address" />
@@ -54,7 +54,8 @@
@endif
@if (!$useInstanceEmailSettings)
<div class="flex flex-col gap-4">
- <form wire:submit='submitSmtp' class="p-4 border dark:border-coolgray-300 flex flex-col gap-2">
+ <form wire:submit='submitSmtp'
+ class="p-4 border dark:border-coolgray-300 border-neutral-200 flex flex-col gap-2">
<div class="flex items-center gap-2">
<h3>SMTP Server</h3>
<x-forms.button type="submit">
@@ -85,7 +86,8 @@
</div>
</div>
</form>
- <form wire:submit='submitResend' class="p-4 border dark:border-coolgray-300 flex flex-col gap-2">
+ <form wire:submit='submitResend'
+ class="p-4 border dark:border-coolgray-300 border-neutral-200 flex flex-col gap-2">
<div class="flex items-center gap-2">
<h3>Resend</h3>
<x-forms.button type="submit">
@@ -112,7 +114,7 @@
Select events for which you would like to receive email notifications.
</p>
<div class="flex flex-col gap-4 max-w-2xl">
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Deployments</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="deploymentSuccessEmailNotifications"
@@ -124,7 +126,7 @@
id="statusChangeEmailNotifications" label="Container Status Changes" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Backups</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="backupSuccessEmailNotifications"
@@ -133,7 +135,7 @@
label="Backup Failure" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Scheduled Tasks</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="scheduledTaskSuccessEmailNotifications"
@@ -142,7 +144,7 @@
label="Scheduled Task Failure" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Server</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="dockerCleanupSuccessEmailNotifications"
diff --git a/resources/views/livewire/notifications/pushover.blade.php b/resources/views/livewire/notifications/pushover.blade.php
index 697597acb7..f0123a0709 100644
--- a/resources/views/livewire/notifications/pushover.blade.php
+++ b/resources/views/livewire/notifications/pushover.blade.php
@@ -37,7 +37,7 @@
Select events for which you would like to receive Pushover notifications.
</p>
<div class="flex flex-col gap-4 max-w-2xl">
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Deployments</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="deploymentSuccessPushoverNotifications"
@@ -49,7 +49,7 @@
id="statusChangePushoverNotifications" label="Container Status Changes" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Backups</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="backupSuccessPushoverNotifications"
@@ -58,7 +58,7 @@
label="Backup Failure" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Scheduled Tasks</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="scheduledTaskSuccessPushoverNotifications"
@@ -67,7 +67,7 @@
label="Scheduled Task Failure" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Server</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="dockerCleanupSuccessPushoverNotifications"
diff --git a/resources/views/livewire/notifications/slack.blade.php b/resources/views/livewire/notifications/slack.blade.php
index 85b9a2de71..22c1454607 100644
--- a/resources/views/livewire/notifications/slack.blade.php
+++ b/resources/views/livewire/notifications/slack.blade.php
@@ -32,7 +32,7 @@
Select events for which you would like to receive Slack notifications.
</p>
<div class="flex flex-col gap-4 max-w-2xl">
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Deployments</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="deploymentSuccessSlackNotifications"
@@ -44,14 +44,14 @@
id="statusChangeSlackNotifications" label="Container Status Changes" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Backups</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="backupSuccessSlackNotifications" label="Backup Success" />
<x-forms.checkbox instantSave="saveModel" id="backupFailureSlackNotifications" label="Backup Failure" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Scheduled Tasks</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="scheduledTaskSuccessSlackNotifications"
@@ -60,7 +60,7 @@
label="Scheduled Task Failure" />
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="font-medium mb-3">Server</h3>
<div class="flex flex-col gap-1.5 pl-1">
<x-forms.checkbox instantSave="saveModel" id="dockerCleanupSuccessSlackNotifications"
diff --git a/resources/views/livewire/notifications/telegram.blade.php b/resources/views/livewire/notifications/telegram.blade.php
index b1e6eccf72..d4312f8d2b 100644
--- a/resources/views/livewire/notifications/telegram.blade.php
+++ b/resources/views/livewire/notifications/telegram.blade.php
@@ -37,7 +37,7 @@
Select events for which you would like to receive Telegram notifications.
</p>
<div class="flex flex-col gap-4 ">
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="text-lg font-medium mb-3">Deployments</h3>
<div class="flex flex-col gap-1.5 pl-1">
<div class="pl-1 flex gap-2">
@@ -67,7 +67,7 @@
</div>
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="text-lg font-medium mb-3">Backups</h3>
<div class="flex flex-col gap-1.5 pl-1">
<div class="pl-1 flex gap-2">
@@ -90,7 +90,7 @@
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="text-lg font-medium mb-3">Scheduled Tasks</h3>
<div class="flex flex-col gap-1.5 pl-1">
<div class="pl-1 flex gap-2">
@@ -113,7 +113,7 @@
</div>
</div>
- <div class="border dark:border-coolgray-300 p-4 rounded-lg">
+ <div class="border dark:border-coolgray-300 border-neutral-200 p-4 rounded-lg">
<h3 class="text-lg font-medium mb-3">Server</h3>
<div class="flex flex-col gap-1.5 pl-1">
<div class="pl-1 flex gap-2">
diff --git a/resources/views/livewire/profile/index.blade.php b/resources/views/livewire/profile/index.blade.php
index 967c717463..0dbf094639 100644
--- a/resources/views/livewire/profile/index.blade.php
+++ b/resources/views/livewire/profile/index.blade.php
@@ -19,7 +19,7 @@
<h2>Change Password</h2>
<x-forms.button type="submit" label="Save">Save</x-forms.button>
</div>
- <div class="text-xs font-bold text-warning pb-2">Resetting the password will logout all sessions.</div>
+ <div class="text-xs font-bold dark:text-warning pb-2">Resetting the password will logout all sessions.</div>
<div class="flex flex-col gap-2">
<x-forms.input id="current_password" label="Current Password" required type="password" />
<div class="flex gap-2">
diff --git a/resources/views/livewire/project/application/heading.blade.php b/resources/views/livewire/project/application/heading.blade.php
index bc568bfe3b..2b44e0ddd4 100644
--- a/resources/views/livewire/project/application/heading.blade.php
+++ b/resources/views/livewire/project/application/heading.blade.php
@@ -8,16 +8,16 @@
</a>
<a class="{{ request()->routeIs('project.application.deployment.index') ? 'dark:text-white' : '' }}"
href="{{ route('project.application.deployment.index', $parameters) }}">
- <button>Deployments</button>
+ Deployments
</a>
<a class="{{ request()->routeIs('project.application.logs') ? 'dark:text-white' : '' }}"
href="{{ route('project.application.logs', $parameters) }}">
- <button>Logs</button>
+ Logs
</a>
@if (!$application->destination->server->isSwarm())
<a class="{{ request()->routeIs('project.application.command') ? 'dark:text-white' : '' }}"
href="{{ route('project.application.command', $parameters) }}">
- <button>Terminal</button>
+ Terminal
</a>
@endif
<x-applications.links :application="$application" />
diff --git a/resources/views/livewire/project/application/rollback.blade.php b/resources/views/livewire/project/application/rollback.blade.php
index cd49f44222..cf44675346 100644
--- a/resources/views/livewire/project/application/rollback.blade.php
+++ b/resources/views/livewire/project/application/rollback.blade.php
@@ -5,11 +5,11 @@
</div>
<div class="pb-4 ">You can easily rollback to a previously built (local) images
quickly.</div>
- <div wire:target='loadImages'>
+ <div wire:target='loadImages' wire:loading.remove>
<div class="flex flex-wrap">
@forelse ($images as $image)
<div class="w-2/4 p-2">
- <div class="bg-white border rounded-sm dark:border-black dark:bg-coolgray-100">
+ <div class="bg-white border rounded-sm dark:border-black dark:bg-coolgray-100 border-neutral-200">
<div class="p-2">
<div class="">
@if (data_get($image, 'is_current'))
@@ -31,7 +31,7 @@
Rollback
</x-forms.button>
@else
- <x-forms.button class="bg-coolgray-100"
+ <x-forms.button class="dark:bg-coolgray-100"
wire:click="rollbackImage('{{ data_get($image, 'tag') }}')">
Rollback
</x-forms.button>
@@ -44,4 +44,5 @@
@endforelse
</div>
</div>
+ <div wire:target='loadImages' wire:loading>Loading available docker images...</div>
</div>
diff --git a/resources/views/livewire/project/database/backup/execution.blade.php b/resources/views/livewire/project/database/backup/execution.blade.php
index d778b5c2c5..3e689645fb 100644
--- a/resources/views/livewire/project/database/backup/execution.blade.php
+++ b/resources/views/livewire/project/database/backup/execution.blade.php
@@ -5,7 +5,7 @@
<h1>Backups</h1>
<livewire:project.shared.configuration-checker :resource="$database" />
<livewire:project.database.heading :database="$database" />
- <div class="pt-6">
+ <div>
<livewire:project.database.backup-edit :backup="$backup" :s3s="$s3s" :status="data_get($database, 'status')" />
<livewire:project.database.backup-executions :backup="$backup" />
</div>
diff --git a/resources/views/livewire/project/database/heading.blade.php b/resources/views/livewire/project/database/heading.blade.php
index 43fa44eca5..3df3b0e53a 100644
--- a/resources/views/livewire/project/database/heading.blade.php
+++ b/resources/views/livewire/project/database/heading.blade.php
@@ -11,16 +11,16 @@
class="flex overflow-x-scroll shrink-0 gap-6 items-center whitespace-nowrap sm:overflow-x-hidden scrollbar min-h-10">
<a class="{{ request()->routeIs('project.database.configuration') ? 'dark:text-white' : '' }}"
href="{{ route('project.database.configuration', $parameters) }}">
- <button>Configuration</button>
+ Configuration
</a>
<a class="{{ request()->routeIs('project.database.logs') ? 'dark:text-white' : '' }}"
href="{{ route('project.database.logs', $parameters) }}">
- <button>Logs</button>
+ Logs
</a>
<a class="{{ request()->routeIs('project.database.command') ? 'dark:text-white' : '' }}"
href="{{ route('project.database.command', $parameters) }}">
- <button>Terminal</button>
+ Terminal
</a>
@if (
$database->getMorphClass() === 'App\Models\StandalonePostgresql' ||
@@ -29,7 +29,7 @@
$database->getMorphClass() === 'App\Models\StandaloneMariadb')
<a class="{{ request()->routeIs('project.database.backup.index') ? 'dark:text-white' : '' }}"
href="{{ route('project.database.backup.index', $parameters) }}">
- <button>Backups</button>
+ Backups
</a>
@endif
</nav>
@@ -60,7 +60,7 @@
'If the database is currently in use data could be lost.',
'All non-persistent data of this database (containers, networks, unused images) will be deleted (don\'t worry, no data is lost and you can start the database again).',
]" :confirmWithText="false" :confirmWithPassword="false"
- step1ButtonText="Continue" step2ButtonText="Stop Database">
+ step1ButtonText="Continue" step2ButtonText="Confirm">
<x-slot:button-title>
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-error" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
diff --git a/resources/views/livewire/project/new/select.blade.php b/resources/views/livewire/project/new/select.blade.php
index d513afac63..ac896e640f 100644
--- a/resources/views/livewire/project/new/select.blade.php
+++ b/resources/views/livewire/project/new/select.blade.php
@@ -78,7 +78,7 @@
<h2>Services</h2>
<x-forms.button x-on:click="loadResources">Reload List</x-forms.button>
</div>
- <div class="pb-4 text-xs">Trademarks Policy: The respective trademarks mentioned here are owned by
+ <div class="py-4 text-xs">Trademarks Policy: The respective trademarks mentioned here are owned by
the
respective
companies, and use of them does not imply any affiliation or endorsement.<br>Find more services
diff --git a/resources/views/livewire/project/resource/index.blade.php b/resources/views/livewire/project/resource/index.blade.php
index 421f74f8bb..b508b7bae9 100644
--- a/resources/views/livewire/project/resource/index.blade.php
+++ b/resources/views/livewire/project/resource/index.blade.php
@@ -72,6 +72,9 @@
<template x-if="item.status.startsWith('exited')">
<div title="exited" class="bg-error badge-dashboard"></div>
</template>
+ <template x-if="item.status.startsWith('starting')">
+ <div title="starting" class="bg-warning badge-dashboard"></div>
+ </template>
<template x-if="item.status.startsWith('restarting')">
<div title="restarting" class="bg-warning badge-dashboard"></div>
</template>
@@ -118,6 +121,9 @@
<template x-if="item.status.startsWith('exited')">
<div title="exited" class="bg-error badge-dashboard"></div>
</template>
+ <template x-if="item.status.startsWith('starting')">
+ <div title="starting" class="bg-warning badge-dashboard"></div>
+ </template>
<template x-if="item.status.startsWith('restarting')">
<div title="restarting" class="bg-warning badge-dashboard"></div>
</template>
@@ -164,6 +170,9 @@
<template x-if="item.status.startsWith('exited')">
<div title="exited" class="bg-error badge-dashboard"></div>
</template>
+ <template x-if="item.status.startsWith('starting')">
+ <div title="starting" class="bg-warning badge-dashboard"></div>
+ </template>
<template x-if="item.status.startsWith('restarting')">
<div title="restarting" class="bg-warning badge-dashboard"></div>
</template>
diff --git a/resources/views/livewire/project/service/heading.blade.php b/resources/views/livewire/project/service/heading.blade.php
index c13ca59b7f..8afade4b1e 100644
--- a/resources/views/livewire/project/service/heading.blade.php
+++ b/resources/views/livewire/project/service/heading.blade.php
@@ -40,7 +40,7 @@
</x-forms.button>
<x-modal-confirmation title="Confirm Service Stopping?" buttonTitle="Stop" :dispatchEvent="true"
submitAction="stop" dispatchEventType="stopEvent" :checkboxes="$checkboxes" :actions="[__('service.stop'), __('resource.non_persistent')]"
- :confirmWithText="false" :confirmWithPassword="false" step1ButtonText="Continue" step2ButtonText="Stop Service">
+ :confirmWithText="false" :confirmWithPassword="false" step1ButtonText="Continue" step2ButtonText="Confirm">
<x-slot:button-title>
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-error" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
@@ -68,7 +68,7 @@
</x-forms.button>
<x-modal-confirmation title="Confirm Service Stopping?" buttonTitle="Stop" :dispatchEvent="true"
submitAction="stop" dispatchEventType="stopEvent" :checkboxes="$checkboxes" :actions="[__('service.stop'), __('resource.non_persistent')]"
- :confirmWithText="false" :confirmWithPassword="false" step1ButtonText="Continue" step2ButtonText="Stop Service">
+ :confirmWithText="false" :confirmWithPassword="false" step1ButtonText="Continue" step2ButtonText="Confirm">
<x-slot:button-title>
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-error" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
@@ -96,7 +96,7 @@
@else
<x-modal-confirmation title="Confirm Service Stopping?" buttonTitle="Stop" :dispatchEvent="true"
submitAction="stop" dispatchEventType="stopEvent" :checkboxes="$checkboxes" :actions="[__('service.stop'), __('resource.non_persistent')]"
- :confirmWithText="false" :confirmWithPassword="false" step1ButtonText="Continue" step2ButtonText="Stop Service">
+ :confirmWithText="false" :confirmWithPassword="false" step1ButtonText="Continue" step2ButtonText="Confirm">
<x-slot:button-title>
<svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 text-error" viewBox="0 0 24 24"
stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round"
@@ -136,7 +136,7 @@
<script>
$wire.$on('stopEvent', () => {
$wire.$dispatch('info',
- 'Gracefully stopping service.<br/>It could take a while depending on the service.');
+ 'Gracefully stopping service.<br/><br/>It could take a while depending on the service.');
$wire.$call('stop');
});
$wire.$on('startEvent', async () => {
@@ -163,7 +163,7 @@
return;
}
$wire.$dispatch('info',
- 'Gracefully stopping service.<br/>It could take a while depending on the service.');
+ 'Gracefully stopping service.<br/><br/>It could take a while depending on the service.');
window.dispatchEvent(new CustomEvent('startservice'));
$wire.$call('restart');
});
diff --git a/resources/views/livewire/project/service/service-application-view.blade.php b/resources/views/livewire/project/service/service-application-view.blade.php
index 87f31ed1f5..af47c40d5d 100644
--- a/resources/views/livewire/project/service/service-application-view.blade.php
+++ b/resources/views/livewire/project/service/service-application-view.blade.php
@@ -39,10 +39,15 @@
label="Image" id="application.image"></x-forms.input>
</div>
</div>
- <h3 class="pt-2">Advanced</h3>
- <div class="w-96">
- <x-forms.checkbox instantSave id="application.is_gzip_enabled" label="Enable gzip compression"
- helper="You can disable gzip compression if you want. Some services are compressing data by default. In this case, you do not need this." />
+ <h3 class="py-2 pt-4">Advanced</h3>
+ <div class="w-96 flex flex-col gap-1">
+ @if (str($application->image)->contains('pocketbase'))
+ <x-forms.checkbox instantSave id="application.is_gzip_enabled" label="Enable Gzip Compression"
+ helper="Pocketbase does not need gzip compression, otherwise SSE will not work." disabled />
+ @else
+ <x-forms.checkbox instantSave id="application.is_gzip_enabled" label="Enable Gzip Compression"
+ helper="You can disable gzip compression if you want. Some services are compressing data by default. In this case, you do not need this." />
+ @endif
<x-forms.checkbox instantSave id="application.is_stripprefix_enabled" label="Strip Prefixes"
helper="Strip Prefix is used to remove prefixes from paths. Like /api/ to /api." />
<x-forms.checkbox instantSave label="Exclude from service status"
diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.php
index 514b39fc58..4015d06e8e 100644
--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php
@@ -2,7 +2,7 @@
<form wire:submit='submit' @class([
'flex flex-col items-center gap-4 p-4 bg-white border lg:items-start dark:bg-base',
'border-error' => $is_really_required,
- 'dark:border-coolgray-300' => !$is_really_required,
+ 'dark:border-coolgray-300 border-neutral-200' => !$is_really_required,
])>
@if ($isLocked)
<div class="flex flex-1 w-full gap-2">
diff --git a/resources/views/livewire/project/shared/execute-container-command.blade.php b/resources/views/livewire/project/shared/execute-container-command.blade.php
index 2c95acc67d..9ff5cccc59 100644
--- a/resources/views/livewire/project/shared/execute-container-command.blade.php
+++ b/resources/views/livewire/project/shared/execute-container-command.blade.php
@@ -20,23 +20,21 @@
@if (count($containers) === 0)
<div>No containers are running or terminal access is disabled on this server.</div>
@else
- @foreach ($containers as $container)
- <form class="w-full flex gap-2 items-end" wire:submit="$dispatchSelf('connectToContainer')">
- <x-forms.select label="Container" id="container" required wire:model="selected_container">
- @foreach ($containers as $container)
- @if ($loop->first)
- <option disabled value="default">Select a container</option>
- @endif
- <option value="{{ data_get($container, 'container.Names') }}">
- {{ data_get($container, 'container.Names') }}
- ({{ data_get($container, 'server.name') }})
- </option>
- @endforeach
- </x-forms.select>
- <x-forms.button :disabled="$isConnecting"
- type="submit">{{ $isConnecting ? 'Connecting...' : 'Connect' }}</x-forms.button>
- </form>
- @endforeach
+ <form class="w-full flex gap-2 items-end" wire:submit="$dispatchSelf('connectToContainer')">
+ <x-forms.select label="Container" id="container" required wire:model="selected_container">
+ @foreach ($containers as $container)
+ @if ($loop->first)
+ <option disabled value="default">Select a container</option>
+ @endif
+ <option value="{{ data_get($container, 'container.Names') }}">
+ {{ data_get($container, 'container.Names') }}
+ ({{ data_get($container, 'server.name') }})
+ </option>
+ @endforeach
+ </x-forms.select>
+ <x-forms.button :disabled="$isConnecting"
+ type="submit">{{ $isConnecting ? 'Connecting...' : 'Connect' }}</x-forms.button>
+ </form>
<div class="mx-auto w-full">
<livewire:project.shared.terminal />
</div>
diff --git a/resources/views/livewire/project/shared/get-logs.blade.php b/resources/views/livewire/project/shared/get-logs.blade.php
index 4a55bb0190..a479a3c147 100644
--- a/resources/views/livewire/project/shared/get-logs.blade.php
+++ b/resources/views/livewire/project/shared/get-logs.blade.php
@@ -1,4 +1,4 @@
-<div class="p-4 my-4 border dark:border-coolgray-200">
+<div class="p-4 my-4 border dark:border-coolgray-200 border-neutral-200">
<div x-init="$wire.getLogs" id="screen" x-data="{
fullscreen: false,
alwaysScroll: false,
@@ -56,7 +56,7 @@
<x-forms.checkbox instantSave label="Include Timestamps" id="showTimeStamps"></x-forms.checkbox>
</form>
<div :class="fullscreen ? 'fullscreen' : 'relative w-full py-4 mx-auto'">
- <div class="flex overflow-y-auto flex-col-reverse px-4 py-2 w-full bg-white dark:text-white dark:bg-coolgray-100 scrollbar dark:border-coolgray-300"
+ <div class="flex overflow-y-auto flex-col-reverse px-4 py-2 w-full bg-white dark:text-white dark:bg-coolgray-100 scrollbar dark:border-coolgray-300 border-neutral-200"
:class="fullscreen ? '' : 'max-h-96 border border-solid rounded-sm'">
<div :class="fullscreen ? 'fixed top-4 right-4' : 'absolute top-6 right-0'">
<div class="flex justify-end gap-4" :class="fullscreen ? 'fixed' : ''"
diff --git a/resources/views/livewire/project/shared/health-checks.blade.php b/resources/views/livewire/project/shared/health-checks.blade.php
index 26d286507a..cb34f61ed1 100644
--- a/resources/views/livewire/project/shared/health-checks.blade.php
+++ b/resources/views/livewire/project/shared/health-checks.blade.php
@@ -6,7 +6,8 @@
<div class="pb-4">Define how your resource's health should be checked.</div>
<div class="flex flex-col gap-4">
@if ($resource->custom_healthcheck_found)
- <div class="text-warning">A custom health check has been found and will be used until you enable this.</div>
+ <div class="dark:text-warning">A custom health check has been found and will be used until you enable this.
+ </div>
@endif
<div class="w-32">
<x-forms.checkbox instantSave id="resource.health_check_enabled" label="Enabled" />
@@ -25,8 +26,8 @@
<x-forms.input id="resource.health_check_response_text" placeholder="OK" label="Response Text" />
</div>
<div class="flex gap-2">
- <x-forms.input min=1 type="number" id="resource.health_check_interval" placeholder="30" label="Interval (s)"
- required />
+ <x-forms.input min="1" type="number" id="resource.health_check_interval" placeholder="30"
+ label="Interval (s)" required />
<x-forms.input type="number" id="resource.health_check_timeout" placeholder="30" label="Timeout (s)"
required />
<x-forms.input type="number" id="resource.health_check_retries" placeholder="3" label="Retries" required />
diff --git a/resources/views/livewire/project/shared/logs.blade.php b/resources/views/livewire/project/shared/logs.blade.php
index 3dc1fbe5b1..87bb1a6b6b 100644
--- a/resources/views/livewire/project/shared/logs.blade.php
+++ b/resources/views/livewire/project/shared/logs.blade.php
@@ -9,7 +9,7 @@
<div>
<h2>Logs</h2>
@if (str($status)->contains('exited'))
- <div class="pt-2">The resource is not running.</div>
+ <div class="pt-4">The resource is not running.</div>
@else
<div class="pt-2" wire:loading wire:target="loadAllContainers">
Loading containers...
@@ -44,7 +44,7 @@
<div>
<h2>Logs</h2>
@if (str($status)->contains('exited'))
- <div class="pt-2">The resource is not running.</div>
+ <div class="pt-4">The resource is not running.</div>
@else
<div class="pt-2" wire:loading wire:target="loadAllContainers">
Loading containers...
@@ -68,7 +68,7 @@
<div>
<h2>Logs</h2>
@if (str($status)->contains('exited'))
- <div class="pt-2">The resource is not running.</div>
+ <div class="pt-4">The resource is not running.</div>
@else
<div class="pt-2" wire:loading wire:target="loadAllContainers">
Loading containers...
diff --git a/resources/views/livewire/security/api-tokens.blade.php b/resources/views/livewire/security/api-tokens.blade.php
index 5c3c4c81c9..eaf7a439d7 100644
--- a/resources/views/livewire/security/api-tokens.blade.php
+++ b/resources/views/livewire/security/api-tokens.blade.php
@@ -9,14 +9,13 @@
<div>API is disabled. If you want to use the API, please enable it in the <a
href="{{ route('settings.index') }}" class="underline dark:text-white">Settings</a> menu.</div>
@else
- <div>Tokens are created with the current team as scope. You will only have access to this team's resources.
- </div>
+ <div>Tokens are created with the current team as scope.</div>
</div>
<h3>New Token</h3>
- <form class="flex flex-col gap-2 pt-4" wire:submit='addNewToken'>
- <div class="flex gap-2 items-end">
+ <form class="flex flex-col gap-2" wire:submit='addNewToken'>
+ <div class="flex gap-2 items-end w-96">
<x-forms.input required id="description" label="Description" />
- <x-forms.button type="submit">Create New Token</x-forms.button>
+ <x-forms.button type="submit">Create</x-forms.button>
</div>
<div class="flex">
Permissions
@@ -37,18 +36,18 @@
helper="Root access, be careful!" :checked="in_array('root', $permissions)"></x-forms.checkbox>
@if (!in_array('root', $permissions))
<x-forms.checkbox label="write" wire:model.live="permissions" domValue="write"
- helper="Write access to all resources" :checked="in_array('write', $permissions)"></x-forms.checkbox>
+ helper="Write access to all resources." :checked="in_array('write', $permissions)"></x-forms.checkbox>
<x-forms.checkbox label="deploy" wire:model.live="permissions" domValue="deploy"
- helper="Can trigger deploy webhooks" :checked="in_array('deploy', $permissions)"></x-forms.checkbox>
+ helper="Can trigger deploy webhooks." :checked="in_array('deploy', $permissions)"></x-forms.checkbox>
<x-forms.checkbox label="read" domValue="read" wire:model.live="permissions" domValue="read"
:checked="in_array('read', $permissions)"></x-forms.checkbox>
<x-forms.checkbox label="read:sensitive" wire:model.live="permissions" domValue="read:sensitive"
- helper="Responses will include secrets, logs, passwords, and compose file contents"
+ helper="Responses will include secrets, logs, passwords, and compose file contents."
:checked="in_array('read:sensitive', $permissions)"></x-forms.checkbox>
@endif
</div>
@if (in_array('root', $permissions))
- <div class="font-bold text-warning">Root access, be careful!</div>
+ <div class="font-bold dark:text-warning">Root access, be careful!</div>
@endif
</form>
@if (session()->has('token'))
diff --git a/resources/views/livewire/server/log-drains.blade.php b/resources/views/livewire/server/log-drains.blade.php
index 1f7c654d51..080c0928bf 100644
--- a/resources/views/livewire/server/log-drains.blade.php
+++ b/resources/views/livewire/server/log-drains.blade.php
@@ -13,7 +13,7 @@
</div>
<div>Sends service logs to 3rd party tools.</div>
<div class="flex flex-col gap-4 pt-4">
- <div class="p-4 border dark:border-coolgray-300">
+ <div class="p-4 border dark:border-coolgray-300 border-neutral-200">
<form wire:submit='submit("newrelic")' class="flex flex-col">
<h3>New Relic</h3>
<div class="w-32">
diff --git a/resources/views/livewire/server/navbar.blade.php b/resources/views/livewire/server/navbar.blade.php
index 0b843aba0a..40d5d1c738 100644
--- a/resources/views/livewire/server/navbar.blade.php
+++ b/resources/views/livewire/server/navbar.blade.php
@@ -29,7 +29,7 @@
@endif
<div wire:loading wire:target="checkProxy" class="badge badge-warning"></div>
<div wire:loading wire:target="checkProxy"
- class="pl-2 pr-1 text-xs font-bold tracking-wider text-warning">
+ class="pl-2 pr-1 text-xs font-bold tracking-wider dark:text-warning">
Checking Ports Availability...
</div>
@if ($proxyStatus !== 'exited')
@@ -60,7 +60,7 @@
href="{{ route('server.show', [
'server_uuid' => data_get($server, 'uuid'),
]) }}">
- <button>Configuration</button>
+ Configuration
</a>
@if (!$server->isSwarmWorker() && !$server->settings->is_build_server)
@@ -68,26 +68,26 @@
href="{{ route('server.proxy', [
'server_uuid' => data_get($server, 'uuid'),
]) }}">
- <button>Proxy</button>
+ Proxy
</a>
@endif
<a class="{{ request()->routeIs('server.resources') ? 'dark:text-white' : '' }}"
href="{{ route('server.resources', [
'server_uuid' => data_get($server, 'uuid'),
]) }}">
- <button>Resources</button>
+ Resources
</a>
<a class="{{ request()->routeIs('server.command') ? 'dark:text-white' : '' }}"
href="{{ route('server.command', [
'server_uuid' => data_get($server, 'uuid'),
]) }}">
- <button>Terminal</button>
+ Terminal
</a>
<a class="{{ request()->routeIs('server.security.patches') ? 'dark:text-white' : '' }}"
href="{{ route('server.security.patches', [
'server_uuid' => data_get($server, 'uuid'),
]) }}">
- <button>Security</button>
+ Security
</a>
</nav>
<div class="order-first sm:order-last">
diff --git a/resources/views/livewire/server/new/by-ip.blade.php b/resources/views/livewire/server/new/by-ip.blade.php
index 225a59a5a6..94d0fccbd7 100644
--- a/resources/views/livewire/server/new/by-ip.blade.php
+++ b/resources/views/livewire/server/new/by-ip.blade.php
@@ -27,7 +27,9 @@
@endforeach
</x-forms.select>
<div class="">
- <x-forms.checkbox instantSave type="checkbox" id="is_build_server" label="Use it as a build server?" />
+ <x-forms.checkbox instantSave type="checkbox" id="is_build_server"
+ helper="Build servers are used to build your applications, so you cannot deploy applications to it."
+ label="Use it as a build server?" />
</div>
<div class="">
<h3 class="pt-6">Swarm <span class="text-xs text-neutral-500">(experimental)</span></h3>
diff --git a/resources/views/livewire/server/resources.blade.php b/resources/views/livewire/server/resources.blade.php
index 86fea20415..6a03302593 100644
--- a/resources/views/livewire/server/resources.blade.php
+++ b/resources/views/livewire/server/resources.blade.php
@@ -13,8 +13,8 @@
<div>Here you can find all resources that are managed by Coolify.</div>
<div class="flex flex-row gap-4 py-10">
<div @class([
- 'box-without-bg cursor-pointer bg-coolgray-100 text-white w-full text-center items-center justify-center',
- 'bg-coollabs' => $activeTab === 'managed',
+ 'box-without-bg cursor-pointer dark:bg-coolgray-100 dark:text-white w-full text-center items-center justify-center',
+ 'dark:bg-coollabs bg-coollabs text-white' => $activeTab === 'managed',
]) wire:click="loadManagedContainers">
Managed
<div class="flex flex-col items-center justify-center">
@@ -22,8 +22,8 @@
</div>
</div>
<div @class([
- 'box-without-bg cursor-pointer bg-coolgray-100 text-white w-full text-center items-center justify-center',
- 'bg-coollabs' => $activeTab === 'unmanaged',
+ 'box-without-bg cursor-pointer dark:bg-coolgray-100 dark:text-white w-full text-center items-center justify-center',
+ 'dark:bg-coollabs bg-coollabs text-white' => $activeTab === 'unmanaged',
]) wire:click="loadUnmanagedContainers">
Unmanaged
<div class="flex flex-col items-center justify-center">
diff --git a/resources/views/livewire/settings-backup.blade.php b/resources/views/livewire/settings-backup.blade.php
index 045a1d368f..7bf2724d0a 100644
--- a/resources/views/livewire/settings-backup.blade.php
+++ b/resources/views/livewire/settings-backup.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<x-settings.navbar />
<div class="flex flex-col">
- <div class="flex items-center gap-2">
+ <div class="flex items-center gap-2 pb-2">
<h2>Backup</h2>
@if (isset($database) && $server->isFunctional())
<x-forms.button type="submit" wire:click="submit">
diff --git a/resources/views/livewire/settings-email.blade.php b/resources/views/livewire/settings-email.blade.php
index 4376cbf92d..81cbcd09ca 100644
--- a/resources/views/livewire/settings-email.blade.php
+++ b/resources/views/livewire/settings-email.blade.php
@@ -22,13 +22,13 @@
@endif
</div>
<div class="pb-4">Instance wide email settings for password resets, invitations, etc.</div>
- <div class="flex gap-4">
+ <div class="flex gap-2">
<x-forms.input required id="smtpFromName" helper="Name used in emails." label="From Name" />
<x-forms.input required id="smtpFromAddress" helper="Email address used in emails." label="From Address" />
</div>
</form>
<div class="flex flex-col gap-4">
- <div class="p-4 border dark:border-coolgray-300">
+ <div class="p-4 border dark:border-coolgray-300 border-neutral-200">
<form wire:submit.prevent="submitSmtp" class="flex flex-col">
<div class="flex gap-2">
<h3>SMTP Server</h3>
@@ -58,7 +58,7 @@
</div>
</form>
</div>
- <div class="p-4 border dark:border-coolgray-300">
+ <div class="p-4 border dark:border-coolgray-300 border-neutral-200">
<form wire:submit.prevent="submitResend" class="flex flex-col">
<div class="flex gap-2">
<h3>Resend</h3>
diff --git a/resources/views/livewire/settings-oauth.blade.php b/resources/views/livewire/settings-oauth.blade.php
index 76d03dc14a..859c79ce12 100644
--- a/resources/views/livewire/settings-oauth.blade.php
+++ b/resources/views/livewire/settings-oauth.blade.php
@@ -5,7 +5,7 @@
<x-settings.navbar />
<form wire:submit='submit' class="flex flex-col">
<div class="flex flex-col">
- <div class="flex items-center gap-2">
+ <div class="flex items-center gap-2 pb-2">
<h2>Authentication</h2>
<x-forms.button type="submit">
Save
@@ -15,7 +15,7 @@
</div>
<div class="flex flex-col gap-2 pt-4">
@foreach ($oauth_settings_map as $oauth_setting)
- <div class="p-4 border dark:border-coolgray-300">
+ <div class="p-4 border dark:border-coolgray-300 border-neutral-200">
<h3>{{ ucfirst($oauth_setting->provider) }}</h3>
<div class="w-32">
<x-forms.checkbox instantSave="instantSave('{{ $oauth_setting->provider }}')"
@@ -26,8 +26,8 @@
label="Client ID" />
<x-forms.input id="oauth_settings_map.{{ $oauth_setting->provider }}.client_secret"
type="password" label="Client Secret" autocomplete="new-password" />
- <x-forms.input id="oauth_settings_map.{{ $oauth_setting->provider }}.redirect_uri" placeholder="{{ route('auth.callback', $oauth_setting->provider) }}"
- label="Redirect URI" />
+ <x-forms.input id="oauth_settings_map.{{ $oauth_setting->provider }}.redirect_uri"
+ placeholder="{{ route('auth.callback', $oauth_setting->provider) }}" label="Redirect URI" />
@if ($oauth_setting->provider == 'azure')
<x-forms.input id="oauth_settings_map.{{ $oauth_setting->provider }}.tenant"
label="Tenant" />
@@ -37,7 +37,10 @@
helper="Optional parameter that supplies a hosted domain (HD) to Google, which<br>triggers a login hint to be displayed on the OAuth screen with this domain.<br><br><a class='underline dark:text-warning text-coollabs' href='https://developers.google.com/identity/openid-connect/openid-connect#hd-param' target='_blank'>Google Documentation</a>"
label="Tenant" />
@endif
- @if ($oauth_setting->provider == 'authentik')
+ @if (
+ $oauth_setting->provider == 'authentik' ||
+ $oauth_setting->provider == 'clerk' ||
+ $oauth_setting->provider == 'zitadel')
<x-forms.input id="oauth_settings_map.{{ $oauth_setting->provider }}.base_url"
label="Base URL" />
@endif
diff --git a/resources/views/livewire/settings/index.blade.php b/resources/views/livewire/settings/index.blade.php
index 3c1978bb93..19d460b583 100644
--- a/resources/views/livewire/settings/index.blade.php
+++ b/resources/views/livewire/settings/index.blade.php
@@ -4,7 +4,7 @@
</x-slot>
<x-settings.navbar />
<form wire:submit='submit' class="flex flex-col">
- <div class="flex items-center gap-2">
+ <div class="flex items-center gap-2 pb-2">
<h2>Configuration</h2>
<x-forms.button type="submit">
Save
@@ -97,7 +97,7 @@
helper="Allowed IP lists for the API. A comma separated list of IPs. Empty means you allow from everywhere."
placeholder="1.1.1.1,8.8.8.8" />
<h4 class="pt-6">Update</h4>
- <div class="text-right md:w-96">
+ <div class="text-right md:w-96 pb-4">
@if (!is_null(config('constants.coolify.autoupdate', null)))
<div class="text-right md:w-96">
<x-forms.checkbox instantSave helper="AUTOUPDATE is set in .env file, you need to modify it there."
@@ -128,6 +128,10 @@
</div>
<h4 class="py-4">Confirmation Settings</h4>
+ <div class="md:w-96 ">
+ <x-forms.checkbox instantSave id="is_sponsorship_popup_enabled" label="Show Sponsorship Popup"
+ helper="When enabled, sponsorship popups will be shown monthly to users. When disabled, the sponsorship popup will be permanently hidden for all users." />
+ </div>
@if ($disable_two_step_confirmation)
<div class="md:w-96 pb-4" wire:key="two-step-confirmation-enabled">
diff --git a/resources/views/livewire/subscription/pricing-plans.blade.php b/resources/views/livewire/subscription/pricing-plans.blade.php
index 1c5cde63a4..4c8f0e563a 100644
--- a/resources/views/livewire/subscription/pricing-plans.blade.php
+++ b/resources/views/livewire/subscription/pricing-plans.blade.php
@@ -56,7 +56,7 @@
</span>
</p>
<div class="flex items-center pt-6">
- <svg xmlns="http://www.w3.org/2000/svg" class="flex-none w-8 h-8 mr-3 text-warning"
+ <svg xmlns="http://www.w3.org/2000/svg" class="flex-none w-8 h-8 mr-3 dark:text-warning"
fill="currentColor" viewBox="0 0 256 256">
<path
d="M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z">
@@ -89,8 +89,8 @@
</div>
<ul role="list" class="mt-8 space-y-3 text-sm leading-6 dark:text-neutral-400">
<li class="flex">
- <svg class="flex-none w-5 h-6 mr-3 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ <svg class="flex-none w-5 h-6 mr-3 dark:text-warning" viewBox="0 0 20 20"
+ fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
clip-rule="evenodd" />
@@ -99,8 +99,8 @@
<span class="px-1 font-bold dark:text-white">unlimited</span> servers
</li>
<li class="flex">
- <svg class="flex-none w-5 h-6 mr-3 text-warning" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true">
+ <svg class="flex-none w-5 h-6 mr-3 dark:text-warning" viewBox="0 0 20 20"
+ fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
clip-rule="evenodd" />
@@ -109,7 +109,7 @@
<span class="px-1 font-bold dark:text-white">unlimited</span> applications per server
</li>
<li class="flex gap-x-3">
- <svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
+ <svg class="flex-none w-5 h-6 dark:text-warning" viewBox="0 0 20 20" fill="currentColor"
aria-hidden="true">
<path fill-rule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
@@ -118,7 +118,7 @@
Free email notifications
</li>
<li class="flex gap-x-3">
- <svg class="flex-none w-5 h-6 text-warning" viewBox="0 0 20 20" fill="currentColor"
+ <svg class="flex-none w-5 h-6 dark:text-warning" viewBox="0 0 20 20" fill="currentColor"
aria-hidden="true">
<path fill-rule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
diff --git a/resources/views/livewire/tags/show.blade.php b/resources/views/livewire/tags/show.blade.php
index 7cd273fcbb..82927a4900 100644
--- a/resources/views/livewire/tags/show.blade.php
+++ b/resources/views/livewire/tags/show.blade.php
@@ -1,7 +1,7 @@
<div>
<div class="flex items-start gap-2 pb-10">
<div>
- <h1>Tags</h1>
+ <h1 class="pb-2">Tags</h1>
<div>Tags help you to perform actions on multiple resources.</div>
</div>
</div>
diff --git a/resources/views/livewire/team/admin-view.blade.php b/resources/views/livewire/team/admin-view.blade.php
index 7aa623122a..8c0306d663 100644
--- a/resources/views/livewire/team/admin-view.blade.php
+++ b/resources/views/livewire/team/admin-view.blade.php
@@ -18,8 +18,8 @@
<div class="flex items-center justify-center gap-2 mx-4 text-xs font-bold ">
<x-modal-confirmation title="Confirm User Deletion?" buttonTitle="Delete" isErrorButton
submitAction="delete({{ $user->id }})" :actions="[
- 'The selected user will be permanently deleted from Coolify and the database.',
- 'All resources (application, databases, services, configurations, servers, private keys, tags, etc.) related to this user will be deleted from Coolify and from the server (if the server is reachable).',
+ 'The selected user will be permanently deleted from Coolify\'s database.',
+ 'All resources (application, databases, services, configurations, servers, private keys, tags, etc.) related to this user\'s default team will be deleted from Coolify\'s database.',
]"
confirmationText="{{ $user->name }}"
confirmationLabel="Please confirm the execution of the actions by entering the User Name below"
diff --git a/resources/views/livewire/upgrade.blade.php b/resources/views/livewire/upgrade.blade.php
index ed5da81903..570a8d1dca 100644
--- a/resources/views/livewire/upgrade.blade.php
+++ b/resources/views/livewire/upgrade.blade.php
@@ -27,8 +27,7 @@
</button>
<template x-teleport="body">
<div x-show="modalOpen"
- class="fixed top-0 lg:pt-10 left-0 z-99 flex items-start justify-center w-screen h-screen"
- x-cloak>
+ class="fixed top-0 lg:pt-10 left-0 z-99 flex items-start justify-center w-screen h-screen" x-cloak>
<div x-show="modalOpen" x-transition:enter="ease-out duration-100"
x-transition:enter-start="opacity-0" x-transition:enter-end="opacity-100"
x-transition:leave="ease-in duration-100" x-transition:leave-start="opacity-100"
@@ -55,8 +54,11 @@
<p>Are you sure you would like to upgrade your instance to {{ $latestVersion }}?</p>
<br />
- <div class="p-4 mb-4 text-yellow-800 border border-yellow-300 rounded-lg bg-yellow-50 dark:bg-yellow-900/30 dark:text-yellow-300 dark:border-yellow-800">
- <p class="font-medium">Warning: Any deployments running during the update process will fail. Please ensure no deployments are in progress on any server before continuing.</p>
+ <div
+ class="p-4 mb-4 text-yellow-800 border border-yellow-300 rounded-lg bg-yellow-50 dark:bg-yellow-900/30 dark:text-yellow-300 dark:border-yellow-800">
+ <p class="font-medium">Warning: Any deployments running during the update process will
+ fail. Please ensure no deployments are in progress on any server before continuing.
+ </p>
</div>
<p>You can review the changelogs <a class="font-bold underline dark:text-white"
href="https://github.com/coollabsio/coolify/releases" target="_blank">here</a>.</p>
diff --git a/routes/api.php b/routes/api.php
index 8ac8aef145..d63e3ee0ef 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -58,7 +58,7 @@ Route::group([
Route::patch('/security/keys/{uuid}', [SecurityController::class, 'update_key'])->middleware(['api.ability:write']);
Route::delete('/security/keys/{uuid}', [SecurityController::class, 'delete_key'])->middleware(['api.ability:write']);
- Route::match(['get', 'post'], '/deploy', [DeployController::class, 'deploy'])->middleware(['api.ability:write,deploy']);
+ Route::match(['get', 'post'], '/deploy', [DeployController::class, 'deploy'])->middleware(['api.ability:deploy']);
Route::get('/deployments', [DeployController::class, 'deployments'])->middleware(['api.ability:read']);
Route::get('/deployments/{uuid}', [DeployController::class, 'deployment_by_uuid'])->middleware(['api.ability:read']);
Route::get('/deployments/applications/{uuid}', [DeployController::class, 'get_application_deployments'])->middleware(['api.ability:read']);
diff --git a/routes/web.php b/routes/web.php
index cbcf33e111..6bf2144dce 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -164,7 +164,7 @@ Route::middleware(['auth', 'verified'])->group(function () {
Route::prefix('invitations')->group(function () {
Route::get('/{uuid}', [Controller::class, 'acceptInvitation'])->name('team.invitation.accept');
- Route::get('/{uuid}/revoke', [Controller::class, 'revoke_invitation'])->name('team.invitation.revoke');
+ Route::get('/{uuid}/revoke', [Controller::class, 'revokeInvitation'])->name('team.invitation.revoke');
});
Route::get('/projects', ProjectIndex::class)->name('project.index');
diff --git a/templates/compose/audiobookshelf.yaml b/templates/compose/audiobookshelf.yaml
index 86b9322402..3df294ce8c 100644
--- a/templates/compose/audiobookshelf.yaml
+++ b/templates/compose/audiobookshelf.yaml
@@ -16,7 +16,7 @@ services:
- audiobookshelf-config:/config
- audiobookshelf-metadata:/metadata
healthcheck:
- test: ["CMD-SHELL", "curl -f http://localhost:80/ping || exit 1"]
+ test: ["CMD-SHELL", "wget --quiet --tries=1 --timeout=5 http://localhost:80/ping -O /dev/null || exit 1"]
interval: 30s
timeout: 10s
retries: 3
diff --git a/templates/compose/changedetection.yaml b/templates/compose/changedetection.yaml
index e4efd61edd..721bebb42d 100644
--- a/templates/compose/changedetection.yaml
+++ b/templates/compose/changedetection.yaml
@@ -11,31 +11,36 @@ services:
- changedetection-data:/datastore
environment:
- SERVICE_FQDN_CHANGEDETECTION_5000
- - PUID=1000
- - PGID=1000
- - BASE_URL=$SERVICE_FQDN_CHANGEDETECTION
- - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/?stealth=1&--disable-web-security=true
- # Hides the `Referer` header so that monitored websites can't see the changedetection.io hostname.
- - HIDE_REFERER=true
- depends_on:
- playwright-chrome:
- condition: service_started
+ - BASE_URL=${SERVICE_FQDN_CHANGEDETECTION}
+ - PUID=${PUID:-1000}
+ - PGID=${PGID:-1000}
+ - PLAYWRIGHT_DRIVER_URL=${PLAYWRIGHT_DRIVER_URL:-ws://browser-sockpuppet-chrome:3000}
+ - HIDE_REFERER=${HIDE_REFERER:-true}
+ - FETCH_WORKERS=${FETCH_WORKERS:-10}
+ - MINIMUM_SECONDS_RECHECK_TIME=${MINIMUM_SECONDS_RECHECK_TIME:-3}
+ - DISABLE_VERSION_CHECK=${DISABLE_VERSION_CHECK:-true}
+ - SCREENSHOT_MAX_HEIGHT=${SCREENSHOT_MAX_HEIGHT:-16000}
+ - TZ=${TZ:-UTC}
+ - LOGGER_LEVEL=${LOGGER_LEVEL:-DEBUG}
healthcheck:
test: ["CMD", "echo", "ok"]
interval: 5s
timeout: 20s
retries: 10
- playwright-chrome:
+ depends_on:
+ browser-sockpuppet-chrome:
+ condition: service_started
+
+ browser-sockpuppet-chrome:
+ hostname: browser-sockpuppet-chrome
image: dgtlmoon/sockpuppetbrowser:latest
- # cap_add:
- # - SYS_ADMIN
- # SYS_ADMIN might be too much, but it can be needed on your platform https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-puppeteer-on-gitlabci
- restart: unless-stopped
+ cap_add:
+ - SYS_ADMIN
environment:
- - SCREEN_WIDTH=1920
- - SCREEN_HEIGHT=1024
- - SCREEN_DEPTH=16
- - MAX_CONCURRENT_CHROME_PROCESSES=10
+ - SCREEN_WIDTH=${SCREEN_WIDTH:-1920}
+ - SCREEN_HEIGHT=${SCREEN_HEIGHT:-1024}
+ - SCREEN_DEPTH=${SCREEN_DEPTH:-16}
+ - MAX_CONCURRENT_CHROME_PROCESSES=${MAX_CONCURRENT_CHROME_PROCESSES:-10}
healthcheck:
test: ["CMD", "echo", "ok"]
interval: 5s
diff --git a/templates/compose/evolution-api.yaml b/templates/compose/evolution-api.yaml
index 5ca5209484..87db576f94 100644
--- a/templates/compose/evolution-api.yaml
+++ b/templates/compose/evolution-api.yaml
@@ -7,7 +7,7 @@
version: '3.8'
services:
api:
- image: 'atendai/evolution-api:latest' # Change to specific version if needed.
+ image: 'evoapicloud/evolution-api:latest' # Change to specific version if needed.
restart: always
depends_on:
- redis
@@ -105,7 +105,7 @@ services:
- WEBHOOK_EVENTS_ERRORS_WEBHOOK=${WEBHOOK_EVENTS_ERRORS_WEBHOOK:-}
- 'CONFIG_SESSION_PHONE_CLIENT=${CONFIG_SESSION_PHONE_CLIENT:-Evolution API V2}'
- CONFIG_SESSION_PHONE_NAME=${CONFIG_SESSION_PHONE_NAME:-Chrome}
- - CONFIG_SESSION_PHONE_VERSION=${CONFIG_SESSION_PHONE_VERSION:-2.3000.1015901307}
+ - CONFIG_SESSION_PHONE_VERSION=${CONFIG_SESSION_PHONE_VERSION:-2.3000.1020885143}
- QRCODE_LIMIT=${QRCODE_LIMIT:-30}
- OPENAI_ENABLED=${OPENAI_ENABLED:-true}
- DIFY_ENABLED=${DIFY_ENABLED:-true}
diff --git a/templates/compose/gotenberg.yaml b/templates/compose/gotenberg.yaml
index 83ec2acfa9..39e642ed47 100644
--- a/templates/compose/gotenberg.yaml
+++ b/templates/compose/gotenberg.yaml
@@ -12,13 +12,15 @@ services:
# NOTE: requires the --api-enable-basic-auth option in "command"
- GOTENBERG_API_BASIC_AUTH_USERNAME=${SERVICE_USER_GOTENBERG}
- GOTENBERG_API_BASIC_AUTH_PASSWORD=${SERVICE_PASSWORD_GOTENBERG}
- command: [
- "gotenberg",
+ command:
+ - gotenberg
# See the full list of options at https://gotenberg.dev/docs/configuration
- "--api-enable-basic-auth"
- #"--api-timeout=60s",
- #"--chromium-auto-start"
- ]
+
+ # Examples:
+ # - --api-timeout=60s
+ # - --chromium-auto-start
+ - --api-enable-basic-auth
+ - --api-disable-health-check-logging
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/health"]
interval: 5s
diff --git a/templates/compose/joplin.yaml b/templates/compose/joplin.yaml
index 8860cee3a4..9dbfd470c3 100644
--- a/templates/compose/joplin.yaml
+++ b/templates/compose/joplin.yaml
@@ -8,7 +8,7 @@ services:
postgres:
image: 'postgres:16'
volumes:
- - joplin-postgresql-data:/var/lib/postgresql/data'
+ - joplin-postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_POSTGRES}
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
diff --git a/templates/compose/hoarder.yaml b/templates/compose/karakeep.yaml
similarity index 58%
rename from templates/compose/hoarder.yaml
rename to templates/compose/karakeep.yaml
index 4ce1c433f8..a0d5e67ed7 100644
--- a/templates/compose/hoarder.yaml
+++ b/templates/compose/karakeep.yaml
@@ -1,23 +1,23 @@
-# documentation: https://docs.hoarder.app/
-# slogan: an open source "Bookmark Everything" app that uses AI for automatically tagging the content you throw at it.
+# documentation: https://docs.karakeep.app/
+# slogan: A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
# tags: media,read-it-later,pocket-alternative,omnivore-alternative,instapaper-alternative
-# logo: svgs/hoarder.svg
+# logo: svgs/karakeep.svg
# port: 3000
services:
web:
- image: ghcr.io/hoarder-app/hoarder:release
+ image: ghcr.io/karakeep-app/karakeep:release
volumes:
- - hoarder-data:/data
+ - karakeep-data:/data
environment:
- - SERVICE_FQDN_HOARDER
- - NEXTAUTH_SECRET=${SERVICE_PASSWORD_HOARDERNEXTAUTH}
+ - SERVICE_FQDN_KARAKEEP
+ - NEXTAUTH_URL=${SERVICE_FQDN_KARAKEEP}
+ - NEXTAUTH_SECRET=${SERVICE_PASSWORD_KARAKEEPNEXTAUTH}
- MEILI_MASTER_KEY=${SERVICE_PASSWORD_MEILI}
- - NEXTAUTH_URL=${SERVICE_FQDN_HOARDER}
- MEILI_ADDR=http://meilisearch:7700
- BROWSER_WEB_URL=http://chrome:9222
- OPENAI_API_KEY=${SERVICE_OPENAI_API_KEY}
- - DISABLE_SIGNUPS=${SERVICE_DISABLE_SIGNUPS}
+ - DISABLE_SIGNUPS=${SERVICE_DISABLE_SIGNUPS:-false}
- DATA_DIR=/data
chrome:
@@ -31,14 +31,14 @@ services:
- '--hide-scrollbars'
meilisearch:
- image: getmeili/meilisearch:v1.6
+ image: getmeili/meilisearch:v1.13.3
environment:
- MEILI_NO_ANALYTICS=${MEILI_NO_ANALYTICS:-true}
- - NEXTAUTH_SECRET=${SERVICE_PASSWORD_HOARDERNEXTAUTH}
+ - NEXTAUTH_SECRET=${SERVICE_PASSWORD_KARAKEEPNEXTAUTH}
- MEILI_MASTER_KEY=${SERVICE_PASSWORD_MEILI}
- - NEXTAUTH_URL=${SERVICE_FQDN_HOARDER}
+ - NEXTAUTH_URL=${SERVICE_FQDN_KARAKEEP}
volumes:
- - hoarder-meilisearch:/meili_data
+ - karakeep-meilisearch:/meili_data
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:7700/health"]
interval: 2s
diff --git a/templates/compose/miniflux.yaml b/templates/compose/miniflux.yaml
new file mode 100644
index 0000000000..10fa75b63e
--- /dev/null
+++ b/templates/compose/miniflux.yaml
@@ -0,0 +1,40 @@
+# documentation: https://miniflux.app/docs/index.html
+# slogan: Miniflux is a minimalist and opinionated feed reader.
+# tags: miniflux,rss,feed,self,hosted
+# logo: svgs/miniflux.svg
+# port: 8080
+
+services:
+ miniflux:
+ image: ghcr.io/miniflux/miniflux:latest
+ environment:
+ - SERVICE_FQDN_MINIFLUX
+ - BASE_URL=${SERVICE_FQDN_MINIFLUX}
+ - PORT=${PORT:-8080}
+ - RUN_MIGRATIONS=${RUN_MIGRATIONS:-1}
+ - CREATE_ADMIN=${CREATE_ADMIN:-1}
+ - ADMIN_USERNAME=${SERVICE_USER_ADMIN}
+ - ADMIN_PASSWORD=${SERVICE_PASSWORD_64_ADMIN}
+ - DATABASE_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-miniflux-db}?sslmode=disable
+ healthcheck:
+ test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/"]
+ interval: 5s
+ timeout: 20s
+ retries: 10
+ depends_on:
+ postgres:
+ condition: service_healthy
+
+ postgres:
+ image: postgres:16-alpine
+ volumes:
+ - miniflux-postgres-data:/var/lib/postgresql/data
+ environment:
+ - POSTGRES_USER=${SERVICE_USER_POSTGRES}
+ - POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
+ - POSTGRES_DB=${POSTGRES_DB:-miniflux-db}
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
+ interval: 5s
+ timeout: 20s
+ retries: 10
diff --git a/templates/compose/pingvinshare-with-clamav.yaml b/templates/compose/pingvinshare-with-clamav.yaml
new file mode 100644
index 0000000000..f8dd992c67
--- /dev/null
+++ b/templates/compose/pingvinshare-with-clamav.yaml
@@ -0,0 +1,31 @@
+# documentation: https://github.com/stonith404/pingvin-share
+# slogan: A self-hosted file sharing platform that combines lightness and beauty, perfect for seamless and efficient file sharing.
+# tags: self-hosted, file-sharing, files, cloud, sharing
+# logo: svgs/pingvinshare.svg
+# port: 3000
+
+services:
+ pingvinshare:
+ image: ghcr.io/stonith404/pingvin-share
+ environment:
+ - SERVICE_FQDN_PINGVINSHARE_3000
+ - TRUST_PROXY=${TRUST_PROXY:-true}
+ volumes:
+ - pingvinshare_data:/opt/app/backend/data
+ - pingvinshare_images:/opt/app/frontend/public/img
+ healthcheck:
+ test:
+ [
+ "CMD-SHELL",
+ "wget --quiet --tries=1 --spider http://localhost:3000/api/health || exit 1",
+ ]
+ interval: 5s
+ timeout: 20s
+ retries: 10
+ depends_on:
+ clamav:
+ condition: service_healthy
+
+ clamav:
+ image: clamav/clamav
+ platform: linux/amd64
diff --git a/templates/compose/pingvinshare.yaml b/templates/compose/pingvinshare.yaml
new file mode 100644
index 0000000000..870694f9ee
--- /dev/null
+++ b/templates/compose/pingvinshare.yaml
@@ -0,0 +1,24 @@
+# documentation: https://github.com/stonith404/pingvin-share
+# slogan: A self-hosted file sharing platform that combines lightness and beauty, perfect for seamless and efficient file sharing.
+# tags: self-hosted, file-sharing, files, cloud, sharing
+# logo: svgs/pingvinshare.svg
+# port: 3000
+
+services:
+ pingvinshare:
+ image: ghcr.io/stonith404/pingvin-share
+ environment:
+ - SERVICE_FQDN_PINGVINSHARE_3000
+ - TRUST_PROXY=${TRUST_PROXY:-true}
+ volumes:
+ - pingvinshare_data:/opt/app/backend/data
+ - pingvinshare_images:/opt/app/frontend/public/img
+ healthcheck:
+ test:
+ [
+ "CMD-SHELL",
+ "wget --quiet --tries=1 --spider http://localhost:3000/api/health || exit 1",
+ ]
+ interval: 5s
+ timeout: 20s
+ retries: 10
diff --git a/versions.json b/versions.json
index eda5485709..9fde1e53b7 100644
--- a/versions.json
+++ b/versions.json
@@ -1,10 +1,10 @@
{
"coolify": {
"v4": {
- "version": "4.0.0-beta.419"
+ "version": "4.0.0-beta.420"
},
"nightly": {
- "version": "4.0.0-beta.420"
+ "version": "4.0.0-beta.421"
},
"helper": {
"version": "1.0.8"