10 Commits

Author SHA1 Message Date
Shaggy84675
8bb72bb2b7 Deliver launcher updates from signed CI release zips
Replace the manually set launcher version with releases uploaded from the
CI zip (exes, launcher-manifest.json and launcher-manifest.json.sig).

- New "Launcher" admin tool (renamed from Launcher Message): upload a
  release, switch the current one, delete old ones, set the launcher message
- Uploads are validated: manifest rules, size + SHA-256 of every exe, and
  the ECDSA manifest signature when LAUNCHER_UPDATE_PUBLIC_KEYS is set
- The same zip, manifest or version cannot be published twice; only the
  newest 5 releases are kept and the current one is never removed
- Serve the current release to the launcher at /launcher/{file},
  byte-for-byte and uncached, with range support for resumed downloads
- /download-launcher serves the newest framework build; the legacy
  /api/v1/launcher-version returns the current release version
- Remove the launcher version from the Versioning tool
- Fix the file input button highlighting when hovering the whole input
2026-11-14 14:15:45 +01:00
Shaggy84675
711f675896 Upgrade to Laravel 13
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.
2026-10-10 14:32:50 +02:00
Vari
55cdce4e65 Online players api endpoint now shows players in an open lobby as in game. 2024-09-19 18:53:53 +02:00
Vari
dfbb8f34c0 Added new Admin Tool page to manage the different versions we need to control. These are:
- launcher version (updating launcher)
- game version
- content version (for catalog)
- catalog version

Also added checks that when the wrong content version you dont get a catalog until you update tha game. And added another check when queuing when using the wrong game version you dont get queued. (so that hunters on the wrong version cannot block the matchmaking)
2024-09-05 23:43:47 +02:00
Vari
bfdefc7d24 Adjusted how the in game palyers get counted, now it only counts usern in a created or closed game (not killed anymore) 2024-08-31 05:06:49 +02:00
Vari
6d5698f10e Tried adjusting the playerdata lock
changed online-player endpoint return type to json from plain html
2024-08-31 04:55:01 +02:00
Vari
c43642c754 Added Endpoint and admin tool page for setting a message for the launcher consisting of a message and an url.
Also added bruno request that i forgor.
2024-08-30 01:27:30 +02:00
Vari
1321693d50 Added endpoint to get the current launcher version 2024-08-30 00:28:18 +02:00
Vari
0379ef9a56 Simplified caching for online players api endpoint
Alsoa dded Bruno Request for online players endpoint

Updated npm browser list
2024-08-27 19:09:48 +02:00
Vari
af02fe7795 Added Endpoint for the launcher to retrieve online/queued players. 2024-08-23 19:14:32 +02:00