Fix remaining issues: pagination, throttle, i18n, config defaults, indexes

- Add pagination to ShopController (50 per page)
- Add throttle:3,10 to radio application store route
- Replace mixed Dutch/English labels in RadioWizardController (English only)
- Replace Dutch error messages in RadioController and RadioSetupController
- Add config('habbo.defaults.avatar_look') for SocialAuthController
- Remove hardcoded default stream URL from RadioSetupController
- Add database indexes for radio_listener_points.earned_at and bans.ip
This commit is contained in:
root
2026-06-08 19:03:39 +02:00
parent 4094f0fb14
commit b6fb43cba1
8 changed files with 69 additions and 35 deletions
@@ -25,7 +25,7 @@ class RadioSetupController extends Controller
$settings = [
// Basic Radio Settings
'radio_enabled' => '1',
'radio_stream_url' => 'https://stream.radioking.com/radio/83232/radio.mp3',
'radio_stream_url' => '',
'radio_style' => 'dark',
'radio_auto_play' => '0',
@@ -112,10 +112,10 @@ class RadioSetupController extends Controller
Artisan::call('cache:clear');
return redirect()->route('admin.radio.setup')
->with('success', 'Radio instellingen zijn gereset.');
->with('success', 'Radio settings have been reset.');
} catch (\Exception $e) {
return redirect()->route('admin.radio.setup')
->with('error', 'Fout bij resetten: ' . $e->getMessage());
->with('error', 'Error during reset: ' . $e->getMessage());
}
}