556 Commits

Author SHA1 Message Date
Shaggy84675
de2af82b0d Merge branch 'feature/launcher-releases' into dev 2026-11-30 23:47:56 +01:00
Shaggy84675
f3aee52e9a Update composer and npm dependencies
Lock file only: patch and minor updates within the existing constraints, including laravel/framework v13.34.0 -> v13.44.1.
2026-11-30 23:46:51 +01:00
Shaggy84675
e3660342ae Cache the mod file list launchers poll
Launchers request the mod file list every 10 seconds. Cache it per
patchline as a plain array and clear every patchline's entry whenever a
GameFile is saved or deleted, so a file moved between patchlines can't
stay listed in the old one.

Also applies Pint formatting to PatchController and GameFile.
2026-11-30 23:46:28 +01:00
Shaggy84675
1168e55140 Let the launcher CI publish releases through the API
Add POST /api/v1/launcher/releases so the launcher workflow can upload
its release zip directly instead of someone uploading it in the admin
tool. The zip goes through the same validation and publisher.

- Requires LAUNCHER_PUBLISH_TOKEN as a bearer token (401 when wrong or
  missing); publishing through the API is disabled (403) while unset
- Errors on launcher API routes are rendered as JSON, so the CI gets a
  422 with the rejection reason without sending an Accept header
- The Authorization header is no longer written to the exception log
- Document that the CI treats "already been published" as a re-run
- Rename the admin upload label to "Upload update files"
2026-11-30 23:46:28 +01:00
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
Miraak
b90cd6fa9f Merge pull request #63 from Deathgarden-Rebirth/laravel-13
Laravel 13 upgrade
2026-11-12 22:51:05 +01:00
Shaggy84675
8fafae0014 Restore Tailwind v3 placeholder colour
Tailwind v4 renders placeholders in the current text colour at 50%
opacity instead of gray-400. Inputs without their own placeholder
utility (x-inputs.text-input in the file manager) became dimmer, so
add the v3 default to the existing compatibility block.
2026-11-11 23:48:36 +01:00
Shaggy84675
6690210145 Fix select2 ajax results crashing under ES module strict mode
select2 4.1.0 maps ajax results through an unbound _normalizeItem, which
reads this.container. Vite bundles as ES modules (always strict), so this
is undefined and every ajax select2 (mailer item picker and recipients)
stayed stuck on "Searching…". Wrap the method so it falls back to the
non-strict behaviour.
2026-11-11 23:39:16 +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
Miraak
7aa71ea79a Fixed Dash Config issue 2026-01-10 21:58:14 +01:00
Miraak
115a70b7d5 Lab Beta:
- Sawbones got Speed Boost + Faster Crate Respawn
- Dash got Sprinter Passive
2026-01-10 21:52:43 +01:00
Miraak
8a05472d9b Disabled the currency modifier chron job for NA + added the current live catalog 2026-01-10 21:45:32 +01:00
Miraak
b4f3be30d4 TEST: Give Sawbones Speed Boost 2026-01-10 15:14:41 +01:00
Miraak
2dd53d353a Re-added Sprinter to Sawbones + updated the Daily / Weekly challenge configs 2026-01-10 14:54:35 +01:00
Miraak
9b1faea4f6 Updated the Hunter Configs to give them the new "Slow Shock", based on Veteran's "BareFist" 2026-01-09 22:15:59 +01:00
Miraak
cc621695aa Merge pull request #61 from Deathgarden-Rebirth/leaderboard
Added Leaderboard functionality
2026-01-09 22:06:28 +01:00
Miraak
3c48688990 Fixed an issue in Patch Notes 2025-12-23 12:47:59 +01:00
Miraak
455cf23ee2 Added Patch 1.2.5 Patch Notes 2025-12-23 12:41:10 +01:00
Shaggy84675
24c8b4e42e Merge branch 'feature-filemanager_history' into dev 2025-12-14 22:45:49 +01:00
Shaggy84675
5eb8fcb12e Add missing bracket
Signed-off-by: Shaggy84675 <admin@rainbowshaggy.com>
2025-12-14 22:40:15 +01:00
Shaggy84675
7f2785614e Merge branch 'dev' into feature-filemanager_history 2025-12-14 22:26:37 +01:00
Vari
b2d87f7c8b Fix for the leaderboard query not showing enough people below you when you are first, second or third place 2025-12-14 20:42:16 +01:00
Vari
9a2086e09b Leaderboard Bruno Requests 2025-09-07 22:40:27 +02:00
Vari
61611f1296 Fix Leaderboard end date 2025-09-07 22:36:49 +02:00
Vari
c4eda580b8 Implement lobby leaderboard and add DB indexes. 2025-09-07 22:26:23 +02:00
Vari
a7620c2604 Leaderboard fix wrong request structure 2025-09-07 21:21:29 +02:00
Vari
85ecfa5560 Leaderboard finished 2025-09-06 21:05:36 +02:00
Vari
280d5457a5 Working Leaderboard select in a single query 2025-09-06 21:05:36 +02:00
Vari
32a5f3c410 leaderboard building the query 2025-09-06 21:05:36 +02:00
Vari
f032df588e leaderboard try stuff 2025-09-06 21:05:36 +02:00
Vari
238a6dcb41 Merge branch 'main' into dev 2025-09-06 21:05:20 +02:00
Miraak
ec165676d5 Merge pull request #62 from Deathgarden-Rebirth/1.2.1_EndOfYear
1.2.1 end of year
2025-09-06 21:04:25 +02:00
Vari
0529632812 Merge branch 'main' into dev 2025-09-06 20:31:26 +02:00
Miraak
e9d9fa4fb4 Update playtest.yml 2025-09-06 20:29:53 +02:00
Miraak
dfe841b982 Update dev.yml
Replaced "live" with "dev" for the dev environment
2025-09-06 20:28:14 +02:00
Miraak
731c28e629 Final Changes 2025-08-07 00:04:06 +02:00
Miraak
51237a7f17 New Patch Notes 2025-08-07 00:00:14 +02:00
Miraak
e2b6fdca5b Removed the Sprinter Passive 2025-08-06 23:48:22 +02:00
Miraak
ea369618d3 Config Update 1.2.1 2025-08-06 23:48:22 +02:00
Patrik Leifert
45fa0f2483 Merge pull request #60 from Deathgarden-Rebirth/feature-filemanager_history
Feature file manager history
2025-08-03 22:22:26 +02:00
Patrik Leifert
704f11945e Merge branch 'dev' into feature-filemanager_history 2025-08-03 22:21:07 +02:00
Shaggy84675
d006695e25 Add file history to pak manager to better handle the patches
Signed-off-by: Shaggy84675 <admin@RainbowShaggy.com>
2025-08-03 21:59:31 +02:00
Shaggy84675
b95f3d7bac Add autoscroll to bottom when page width is full and new input is added
Signed-off-by: Shaggy84675 <admin@RainbowShaggy.com>
2025-08-03 21:50:56 +02:00
Shaggy84675
b16593c162 Fix issues with unique keys
Signed-off-by: Shaggy84675 <admin@RainbowShaggy.com>
2025-08-02 17:21:32 +02:00
Shaggy84675
eb094193d9 Fix migration rollback to correctly drop 'catalog_item_challenge' table
Signed-off-by: Shaggy84675 <admin@RainbowShaggy.com>
2025-08-02 17:09:37 +02:00
Shaggy84675
25854553c2 Modify plus icon for consistency
Signed-off-by: Shaggy84675 <admin@RainbowShaggy.com>
2025-08-02 14:56:42 +02:00
Shaggy84675
702b1eb497 Add minus icon
Signed-off-by: Shaggy84675 <admin@RainbowShaggy.com>
2025-08-02 14:56:26 +02:00
Vari
82cafc32e6 Added scheduled command to automatically set daily Bonus XP Events. 2025-07-17 22:37:00 +02:00
Miraak
e98ec8ec8d Update credits.blade.php 2025-07-17 22:35:09 +02:00
Miraak
33097df98f Added all new social channels 2025-07-17 04:08:20 +02:00