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.

updates

Andras Bacsai5286aa2b1d40
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index fe2a335804..b6839a915a 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -2,12 +2,15 @@
namespace App\Exceptions;
+use App\Models\InstanceSettings;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
use Sentry\Laravel\Integration;
class Handler extends ExceptionHandler
{
+
+ private InstanceSettings $settings;
/**
* A list of exception types with their corresponding custom log levels.
*
@@ -43,6 +46,10 @@ class Handler extends ExceptionHandler
public function register(): void
{
$this->reportable(function (Throwable $e) {
+ $this->settings = InstanceSettings::get();
+ if ($this->settings->do_no_track) {
+ return;
+ }
Integration::captureUnhandledException($e);
});
}
diff --git a/resources/js/components/MagicBar.vue b/resources/js/components/MagicBar.vue
index 3e7abcda66..63581c44bb 100644
--- a/resources/js/components/MagicBar.vue
+++ b/resources/js/components/MagicBar.vue
@@ -86,7 +86,8 @@
<ul v-if="magic.length != 0" class="mt-2 -mx-4 text-sm text-white">
<li class="flex items-center px-4 py-2 transition-all cursor-pointer select-none group hover:bg-coolgray-400"
:class="{ 'bg-coollabs': currentFocus === index }" id="option-1" role="option"
- tabindex="-1" v-for="action, index in magic" @click="goThroughSequence(index)">
+ tabindex="-1" v-for="action, index in magic" @click="goThroughSequence(index)"
+ ref="magicItems">
<div class="relative">
<svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 icon" viewBox="0 0 24 24"
stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"
@@ -182,6 +183,7 @@
import { ref, computed, onMounted, onUnmounted, watch, nextTick } from 'vue'
import axios from "axios";
const currentFocus = ref(0)
+const magicItems = ref()
function focusNext(length) {
if (currentFocus.value === undefined) {
currentFocus.value = 0
@@ -190,6 +192,9 @@ function focusNext(length) {
currentFocus.value = currentFocus.value + 1
}
}
+ if (currentFocus.value > 4) {
+ magicItems.value[currentFocus.value].scrollIntoView({ block: "center", inline: "center", behavior: 'auto' })
+ }
}
function focusPrev(length) {
if (currentFocus.value === undefined) {
@@ -199,6 +204,9 @@ function focusPrev(length) {
currentFocus.value = currentFocus.value - 1
}
}
+ if (currentFocus.value < length - 4) {
+ magicItems.value[currentFocus.value].scrollIntoView({ block: "center", inline: "center", behavior: 'auto' })
+ }
}
async function callAction() {
await goThroughSequence(currentFocus.value)
diff --git a/resources/views/command-center.blade.php b/resources/views/command-center.blade.php
index 40b9aa659c..5bea0ced46 100644
--- a/resources/views/command-center.blade.php
+++ b/resources/views/command-center.blade.php
@@ -1,12 +1,6 @@
<x-layout>
<h1>Command Center</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- Execute commands on your servers without leaving the browser.
- </li>
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">Execute commands on your servers without leaving the browser.</div>
@if ($servers->count() > 0)
<livewire:run-command :servers="$servers" />
@else
diff --git a/resources/views/components/server/navbar.blade.php b/resources/views/components/server/navbar.blade.php
index cbe1a47eb9..d637b91b34 100644
--- a/resources/views/components/server/navbar.blade.php
+++ b/resources/views/components/server/navbar.blade.php
@@ -1,13 +1,6 @@
<div class="pb-6">
<h1>Server</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- {{ data_get($server, 'name') }}
- </li>
-
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">{{ data_get($server, 'name') }}</div>
<nav class="flex items-center h-12 gap-4 py-2 border-b-2 border-solid border-coolgray-200">
<a class="{{ request()->routeIs('server.show') ? 'text-white' : '' }}"
href="{{ route('server.show', [
diff --git a/resources/views/components/settings/navbar.blade.php b/resources/views/components/settings/navbar.blade.php
index fd3d3daba5..a45ff36393 100644
--- a/resources/views/components/settings/navbar.blade.php
+++ b/resources/views/components/settings/navbar.blade.php
@@ -1,12 +1,6 @@
<div class="pb-6">
<h1>Settings</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- Instance wide settings for Coolify.
- </li>
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">Instance wide settings for Coolify.</div>
<nav class="flex items-center gap-4 py-2 border-b-2 border-solid border-coolgray-200">
<a class="{{ request()->routeIs('settings.configuration') ? 'text-white' : '' }}"
href="{{ route('settings.configuration') }}">
diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php
index 1c9debe17f..ed95d48e7a 100644
--- a/resources/views/dashboard.blade.php
+++ b/resources/views/dashboard.blade.php
@@ -1,13 +1,6 @@
<x-layout>
<h1>Dashboard</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- Something (more) useful will be here.
- </li>
-
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">Something (more) useful will be here.</div>
<div class="w-full rounded shadow stats stats-vertical lg:stats-horizontal">
<div class="stat">
<div class="stat-title">Servers</div>
diff --git a/resources/views/livewire/destination/new/standalone-docker.blade.php b/resources/views/livewire/destination/new/standalone-docker.blade.php
index c8f9e6f204..cda345518f 100644
--- a/resources/views/livewire/destination/new/standalone-docker.blade.php
+++ b/resources/views/livewire/destination/new/standalone-docker.blade.php
@@ -1,12 +1,6 @@
<div>
<h1>Create a new Destination</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- Destinations are used to separate resources in a server.
- </li>
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">Destinations are used to segregate resources by network.</div>
<form class="flex flex-col gap-4" wire:submit.prevent='submit'>
<div class="flex gap-2">
<x-forms.input id="name" label="Name" required />
diff --git a/resources/views/livewire/server/new/by-ip.blade.php b/resources/views/livewire/server/new/by-ip.blade.php
index d6982c3f72..e903154301 100644
--- a/resources/views/livewire/server/new/by-ip.blade.php
+++ b/resources/views/livewire/server/new/by-ip.blade.php
@@ -1,12 +1,6 @@
<div>
<h1>Create a new Server</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- Servers are the main blocks of your infrastructure.
- </li>
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">Servers are the main blocks of your infrastructure.</div>
<form class="flex flex-col gap-2" wire:submit.prevent='submit'>
<div class="flex gap-2">
<x-forms.input id="name" label="Name" required />
diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.php
index 137a622275..7a87223f19 100644
--- a/resources/views/livewire/server/proxy.blade.php
+++ b/resources/views/livewire/server/proxy.blade.php
@@ -33,7 +33,8 @@
</div>
@else
<div>
- <h2>Select a Proxy</h2>
+ <h2>Proxy</h2>
+
<x-forms.button wire:click="setProxy('{{ \App\Enums\ProxyTypes::TRAEFIK_V2 }}')">Traefik v2
</x-forms.button>
</div>
diff --git a/resources/views/private-key/new.blade.php b/resources/views/private-key/new.blade.php
index 9f69dd44bd..9d5f977fbd 100644
--- a/resources/views/private-key/new.blade.php
+++ b/resources/views/private-key/new.blade.php
@@ -1,11 +1,5 @@
<x-layout>
<h1>Create a new Private Key</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- Private Keys are used for connection to servers.
- </li>
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">Private Keys are used for connection to servers.</div>
<livewire:private-key.create />
</x-layout>
diff --git a/resources/views/profile.blade.php b/resources/views/profile.blade.php
index 0c9e2382b5..1b6b22929f 100644
--- a/resources/views/profile.blade.php
+++ b/resources/views/profile.blade.php
@@ -1,13 +1,6 @@
<x-layout>
<h1>Profile</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- Your user profile settings.
- </li>
-
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">Your user profile settings.</div>
<livewire:profile.form :request="$request" />
<h3 class="py-4">Two-factor Authentication</h3>
@if (session('status') == 'two-factor-authentication-enabled')
diff --git a/resources/views/project/show.blade.php b/resources/views/project/show.blade.php
index 418aaabdb7..24e0e98557 100644
--- a/resources/views/project/show.blade.php
+++ b/resources/views/project/show.blade.php
@@ -3,13 +3,7 @@
<h1>Environments</h1>
<livewire:project.delete-project :project_id="$project->id" :resource_count="$project->applications->count()" />
</div>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- {{ $project->name }}
- </li>
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">{{ $project->name }}.</div>
<div class="grid grid-cols-2 gap-2">
@forelse ($project->environments as $environment)
<a class="box" href="{{ route('project.resources', [$project->uuid, $environment->name]) }}">
diff --git a/resources/views/projects.blade.php b/resources/views/projects.blade.php
index c99fc57239..009f6c3770 100644
--- a/resources/views/projects.blade.php
+++ b/resources/views/projects.blade.php
@@ -1,13 +1,6 @@
<x-layout>
<h1>Projects</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- All Projects
- </li>
-
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">All Projects</div>
<div class="grid grid-cols-2 gap-2">
@forelse ($projects as $project)
<a href="{{ route('project.show', ['project_uuid' => data_get($project, 'uuid')]) }}"
diff --git a/resources/views/server/all.blade.php b/resources/views/server/all.blade.php
index 7f157a8564..4959a9d2d9 100644
--- a/resources/views/server/all.blade.php
+++ b/resources/views/server/all.blade.php
@@ -1,12 +1,6 @@
<x-layout>
<h1>Servers</h1>
- <nav class="flex pt-2 pb-10 text-sm">
- <ol class="inline-flex items-center">
- <li class="inline-flex items-center">
- All Servers
- </li>
- </ol>
- </nav>
+ <div class="pt-2 pb-10 text-sm">All Servers</div>
<div class="grid grid-cols-2 gap-2">
@forelse ($servers as $server)
<a class="text-center hover:no-underline box group"