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
chore: Rename Command Center to Terminal in code and views
Andras Bacsai51c43e745796
diff --git a/app/Livewire/CommandCenter/Index.php b/app/Livewire/Terminal/Index.phpsimilarity index 73%rename from app/Livewire/CommandCenter/Index.phprename to app/Livewire/Terminal/Index.phpindex 0a05e811f3..3f777a8ffb 100644--- a/app/Livewire/CommandCenter/Index.php+++ b/app/Livewire/Terminal/Index.php@@ -1,6 +1,6 @@<?php-namespace App\Livewire\CommandCenter;+namespace App\Livewire\Terminal;use App\Models\Server;use Livewire\Component;@@ -16,6 +16,6 @@ class Index extends Componentpublic function render(){- return view('livewire.command-center.index');+ return view('livewire.terminal.index');}}diff --git a/resources/js/components/MagicBar.vue b/resources/js/components/MagicBar.vueindex 611ec08919..22af9dff41 100644--- a/resources/js/components/MagicBar.vue+++ b/resources/js/components/MagicBar.vue@@ -390,7 +390,7 @@ const magicActions = [{},{id: 19,- name: 'Goto: Command Center',+ name: 'Goto: Terminal',icon: 'goto',sequence: ['main', 'redirect']},@@ -653,7 +653,7 @@ async function redirect() {targetUrl.pathname = `/settings`break;case 19:- targetUrl.pathname = `/command-center`+ targetUrl.pathname = `/terminal`break;case 20:targetUrl.pathname = `/team/notifications`diff --git a/resources/views/components/navbar.blade.php b/resources/views/components/navbar.blade.phpindex a7a3c2109c..93dd72f8eb 100644--- a/resources/views/components/navbar.blade.php+++ b/resources/views/components/navbar.blade.php@@ -228,9 +228,9 @@</a></li><li>- <a title="Command Center"- class="{{ request()->is('command-center*') ? 'menu-item-active menu-item' : 'menu-item' }}"- href="{{ route('command-center') }}">+ <a title="Terminal"+ class="{{ request()->is('terminal*') ? 'menu-item-active menu-item' : 'menu-item' }}"+ href="{{ route('terminal') }}"><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round"stroke-linejoin="round">@@ -238,7 +238,7 @@<path d="M5 7l5 5l-5 5" /><path d="M12 19l7 0" /></svg>- Command Center+ Terminal</a></li><li>diff --git a/resources/views/livewire/command-center/index.blade.php b/resources/views/livewire/terminal/index.blade.phpsimilarity index 85%rename from resources/views/livewire/command-center/index.blade.phprename to resources/views/livewire/terminal/index.blade.phpindex e128b3f30b..8f80d75d30 100644--- a/resources/views/livewire/command-center/index.blade.php+++ b/resources/views/livewire/terminal/index.blade.php@@ -1,8 +1,8 @@<div><x-slot:title>- Command Center | Coolify+ Terminal | Coolify</x-slot>- <h1>Command Center</h1>+ <h1>Terminal</h1><div class="subtitle">Execute commands on your servers without leaving the browser.</div>@if ($servers->count() > 0)<livewire:run-command :servers="$servers" />diff --git a/routes/web.php b/routes/web.phpindex 01cf2762b2..755ff9fd39 100644--- a/routes/web.php+++ b/routes/web.php@@ -6,7 +6,6 @@ use App\Http\Controllers\OauthController;use App\Http\Controllers\UploadController;use App\Livewire\Admin\Index as AdminIndex;use App\Livewire\Boarding\Index as BoardingIndex;-use App\Livewire\CommandCenter\Index as CommandCenterIndex;use App\Livewire\Dashboard;use App\Livewire\Dev\Compose as Compose;use App\Livewire\ForcePasswordReset;@@ -64,6 +63,7 @@ use App\Livewire\Tags\Show as TagsShow;use App\Livewire\Team\AdminView as TeamAdminView;use App\Livewire\Team\Index as TeamIndex;use App\Livewire\Team\Member\Index as TeamMemberIndex;+use App\Livewire\Terminal\Index as TerminalIndex;use App\Livewire\Waitlist\Index as WaitlistIndex;use App\Models\GitlabApp;use App\Models\PrivateKey;@@ -153,11 +153,12 @@ Route::middleware(['auth', 'verified'])->group(function () {Route::get('/admin', TeamAdminView::class)->name('team.admin-view');});- Route::get('/command-center', CommandCenterIndex::class)->name('command-center');+ Route::get('/terminal', TerminalIndex::class)->name('terminal');Route::post('/terminal/auth', function () {if (auth()->check()) {return response()->json(['authenticated' => true], 200);}+return response()->json(['authenticated' => false], 401);})->name('terminal.auth');