mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-12-05 08:44:59 -06:00
Rebuild the application on a fresh Laravel 13 skeleton and port the existing code, configuration and frontend onto it. Application structure - Replace HTTP/console kernels, exception handler and the Auth, Broadcast, Event and Route service providers with bootstrap/app.php and bootstrap/providers.php. Route files, middleware groups, aliases, the scheduler (routes/console.php) and exception reporting moved there unchanged; route order, names and middleware verified identical. - Drop the stock middleware stubs now provided by the framework; custom middleware (AccessLogger, VerifyMigrationKey, AdminPermissionCheck) kept. - AppServiceProvider registers the Steam Socialite driver, keeps the 125 char default string length for schema parity, and makes "artisan dev" fall back to "serve" where Octane cannot run (no pcntl). Dependencies - laravel/framework 13, spatie/laravel-permission 8, Octane, Socialite + Steam, log-viewer 3, Pest instead of PHPUnit, Laravel Boost. - Remove ignition, guzzle (transitive) and the abandoned phattarachai/laravel-mobile-detect. Configuration and database - Config files trimmed to the values that differ from the framework defaults; renamed env keys (CACHE_STORE, BROADCAST_CONNECTION, ...). - Cache allows unserializing only the app's cached value classes (cache.serializable_classes). - Queue uses the database driver; new migration adds jobs and job_batches and updates failed_jobs to the current schema. - Permission migration follows the v8 layout with UUID model keys. Frontend - Tailwind 4 and Vite 8: CSS-first config in app.css, Sass converted to plain CSS, Tailwind 3 class renames applied to views and styles, tailwind.config.js and postcss.config.js removed. - Exo 2 served through the Vite fonts integration (Bunny) instead of a bundled TTF. - Public bundle contains only Alpine; jQuery, select2 and jquery-modal moved to an admin bundle loaded by the admin layout. axios dropped. Fixes found during the port - Steam API client no longer passes a Collection as request body, which Laravel 13's HTTP client rejects. - Online players endpoint caches plain counts instead of a JsonResponse, which the cache allow-list would refuse to unserialize. - Define the viewLogViewer gate that Log Viewer 3.24 requires in production; it also protects the log viewer API routes. - Require PHP ^8.4 to match the locked Symfony 8 components. - Sidebar decides its initial state client-side instead of using mobile-detect. - Item selector escapes reward names and keeps duplicate detection working; mailer validation uses a submit listener. - Remove pass-through alert component classes whose lowercase namespace broke PSR-4 autoloading on case-sensitive systems.
14 lines
269 B
CSS
14 lines
269 B
CSS
@reference '../../../app.css';
|
|
|
|
.reward-item {
|
|
@apply rounded-md border border-gray-500 bg-slate-700 p-4;
|
|
|
|
> div {
|
|
@apply flex justify-start gap-4 p-0;
|
|
}
|
|
|
|
> div > span {
|
|
@apply rounded-md border border-gray-500 bg-slate-800 p-2;
|
|
}
|
|
}
|