chore(v5): archive V5 implementation and remove runtime integration

Move V5 source, migrations, UI, scripts, and tests into documentation, then remove V5 routes, models, jobs, configuration, dependencies, and application hooks.
This commit is contained in:
Andras Bacsai committed 2026-08-15 19:13:30 +02:00
1 parent 1440d35750
commit 76030a30d4
237 files changed
+288 -7079

No files matched your search

@@ -200,12 +200,9 @@
<div class="min-w-0">
<div class="flex min-w-0 items-center gap-1.5">
<a :href="item.hrefLink"
@click="if (item.version === 'v5') { $event.preventDefault(); window.location.assign(item.hrefLink) }"
{{ wireNavigate() }}
class="relative block truncate text-[13px] font-semibold text-black hover:underline dark:text-fg"
x-text="item.name"></a>
<span x-show="item.version === 'v5'"
class="shrink-0 rounded-md border border-neutral-200 bg-neutral-50 px-1.5 py-0.5 text-[10px] font-medium text-neutral-500 dark:border-white/[0.08] dark:bg-white/[0.035] dark:text-fg-faint">V5</span>
</div>
<p class="min-h-4 truncate text-[11px] text-neutral-500 dark:text-fg-faint">
<span x-show="item.description" x-text="item.description"></span>
@@ -320,8 +317,6 @@
<h2
class="truncate text-[13px]! leading-4! font-semibold! text-black dark:text-fg"
x-text="item.name"></h2>
<span x-show="item.version === 'v5'"
class="shrink-0 rounded-md border border-neutral-200 bg-neutral-50 px-1.5 py-0.5 text-[10px] font-medium text-neutral-500 dark:border-white/[0.08] dark:bg-white/[0.035] dark:text-fg-faint">V5</span>
</div>
<p class="mt-0.5 text-[11px] text-neutral-500 dark:text-fg-faint"
x-text="item.typeLabel"></p>
-70
View File
@@ -1,70 +0,0 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title inertia>{{ config('app.name') }} v5</title>
@env('local')
<link rel="icon" href="{{ asset('coolify-logo-dev-transparent.png') }}" type="image/png" />
@else
<link rel="icon" href="{{ asset('coolify-logo.svg') }}" type="image/svg+xml" />
@endenv
@auth
<script type="text/javascript" src="{{ URL::asset('js/echo.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/pusher.js') }}"></script>
<script>
window.Pusher = Pusher;
const EchoConstructor = typeof Echo === 'function' ? Echo : Echo.default;
window.Echo = new EchoConstructor({
broadcaster: 'pusher',
cluster: "{{ config('constants.pusher.host') }}" || window.location.hostname,
key: "{{ config('constants.pusher.app_key') }}" || 'coolify',
wsHost: "{{ config('constants.pusher.host') }}" || window.location.hostname,
wsPort: "{{ getRealtime() }}",
wssPort: "{{ getRealtime() }}",
forceTLS: false,
encrypted: true,
enableStats: false,
enableLogging: @json(app()->environment('local')),
enabledTransports: ['ws', 'wss'],
disabledTransports: ['sockjs', 'xhr_streaming', 'xhr_polling'],
});
</script>
@endauth
@php
$viteHotFile = public_path('hot');
$viteDevServerUrl = null;
if (file_exists($viteHotFile)) {
$viteHotUrl = trim(file_get_contents($viteHotFile));
$viteScheme = parse_url($viteHotUrl, PHP_URL_SCHEME) ?: request()->getScheme();
$vitePort = parse_url($viteHotUrl, PHP_URL_PORT) ?: 5173;
$viteHost = request()->getHost();
$viteDevServerUrl = "{$viteScheme}://{$viteHost}:{$vitePort}";
}
@endphp
@if ($viteDevServerUrl)
<script type="module">
import RefreshRuntime from '{{ $viteDevServerUrl }}/@react-refresh'
RefreshRuntime.injectIntoGlobalHook(window)
window.$RefreshReg$ = () => {}
window.$RefreshSig$ = () => (type) => type
window.__vite_plugin_react_preamble_installed__ = true
</script>
<script type="module" src="{{ $viteDevServerUrl }}/@@vite/client"></script>
<script type="module" src="{{ $viteDevServerUrl }}/resources/js/v5/app.tsx"></script>
@else
@viteReactRefresh
@vite('resources/js/v5/app.tsx')
@endif
<x-inertia::head />
</head>
<body class="overflow-y-scroll">
<x-inertia::app id="v5-app" />
</body>
</html>