🔥 **Remove Highscore and Bindle features**

- 🗑️ Deleted `Highscore` feature (Model, Controller, Factory, Tests, Routes, Migrations) and associated logic.
- 🗑️ Removed `BindleController` and its related test.
- 🧹 Cleaned up unused routes, database seeders, and localization references.
- 🚫 Deprecated inactive book rental guide component and associated views.
This commit is contained in:
HolgerHatGarKeineNode
2026-06-08 01:08:07 +02:00
parent 351dd87fa9
commit 3875e127e4
17 changed files with 3 additions and 731 deletions
-7
View File
@@ -1,12 +1,10 @@
<?php
use App\Http\Controllers\Api\BindleController;
use App\Http\Controllers\Api\BtcMapCommunityController;
use App\Http\Controllers\Api\CityController;
use App\Http\Controllers\Api\CountryController;
use App\Http\Controllers\Api\CourseController;
use App\Http\Controllers\Api\CourseEventController;
use App\Http\Controllers\Api\HighscoreController;
use App\Http\Controllers\Api\LecturerController;
use App\Http\Controllers\Api\MeetupController;
use App\Http\Controllers\Api\MeetupEventController;
@@ -27,12 +25,7 @@ Route::middleware(['throttle:60,1'])
->only(['index', 'show']);
Route::resource('cities', CityController::class);
Route::resource('venues', VenueController::class);
Route::get('highscores', [HighscoreController::class, 'index'])->name('highscores.index');
Route::post('highscores', [HighscoreController::class, 'store'])
->middleware('throttle:10,1')
->name('highscores.store');
Route::get('nostrplebs', NostrPlebController::class);
Route::get('bindles', BindleController::class);
Route::get('meetups', MeetupMapController::class);
Route::get('meetup-events/{date?}', MeetupEventController::class);
Route::get('btc-map-communities', BtcMapCommunityController::class);
-21
View File
@@ -16,27 +16,6 @@ Route::get('error/{code}', function (string $code) {
abort($code >= 400 && $code <= 599 ? $code : 404);
})->where('code', '[0-9]{3}');
/*
* Commented out routes related to book rental download and display
* These are currently inactive but can be enabled if needed
*/
/*Route::get('/download-buecherverleih', function (Request $request) {
$filename = $request->input('filename');
// Get the file path from the storage folder
$filePath = storage_path('app/'.$filename);
dd($filePath);
// Check if the file exists
if (!file_exists($filePath)) {
abort(404);
}
// Generate a response with the file for download
return response()->download($filePath, $filename);
})->name('buecherverleih.download');
Route::middleware([])
->get('/buecherverleih', \App\Livewire\BooksForPlebs\BookRentalGuide::class)
->name('buecherverleih');*/
// Route for rabbit following helper page - Updated for Livewire v4
Route::livewire('/kaninchenbau', FollowTheRabbit::class)
->name('kaninchenbau');