An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Fix styling
andrasbacsaidc4916dc1900
diff --git a/app/Jobs/PullSentinelImageJob.php b/app/Jobs/PullSentinelImageJob.phpindex c9a27e5f11..08b324debc 100644--- a/app/Jobs/PullSentinelImageJob.php+++ b/app/Jobs/PullSentinelImageJob.php@@ -37,9 +37,9 @@ class PullSentinelImageJob implements ShouldBeEncrypted, ShouldQueuetry {$version = get_latest_sentinel_version();if (isDev()) {- $version = "0.0.5";+ $version = '0.0.5';}- if (!$version) {+ if (! $version) {ray('Failed to get latest Sentinel version');return;@@ -55,7 +55,7 @@ class PullSentinelImageJob implements ShouldBeEncrypted, ShouldQueue}ray('Sentinel image is up to date');} catch (\Throwable $e) {- send_internal_notification('PullSentinelImageJob failed with: ' . $e->getMessage());+ send_internal_notification('PullSentinelImageJob failed with: '.$e->getMessage());ray($e->getMessage());throw $e;}diff --git a/app/Livewire/Charts/Server.php b/app/Livewire/Charts/Server.phpindex 8f8b5cf0e0..ebd6293c85 100644--- a/app/Livewire/Charts/Server.php+++ b/app/Livewire/Charts/Server.php@@ -8,18 +8,23 @@ use Livewire\Component;class Server extends Component{public ModelsServer $server;+public $chartId = 'server';+public $data;+public $categories;public function render(){return view('livewire.charts.server');}+public function mount(){$this->loadData();}+public function loadData(){$metrics = $this->server->getMetrics();diff --git a/app/Models/Server.php b/app/Models/Server.phpindex 915fc60ce8..b1419dc0ee 100644--- a/app/Models/Server.php+++ b/app/Models/Server.php@@ -487,6 +487,7 @@ $schema://$host {$parsedCollection = collect($cpu)->flatMap(function ($item) {return collect(explode("\n", trim($item)))->map(function ($line) {[$time, $value] = explode(',', trim($line));+return [(int) $time, (float) $value];});})->toArray();diff --git a/app/View/Components/ApexCharts.php b/app/View/Components/ApexCharts.phpindex 3f80a41a5d..6b86055d94 100644--- a/app/View/Components/ApexCharts.php+++ b/app/View/Components/ApexCharts.php@@ -9,9 +9,13 @@ use Illuminate\View\Component;class ApexCharts extends Component{public string $chartId;+public $seriesData;+public $categories;+public $seriesName;+public function __construct($chartId, $seriesData, $categories, $seriesName = ''){$this->chartId = $chartId;