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
@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('radio_listener_points', function (Blueprint $table) {
$table->index(['earned_at', 'user_id', 'points'], 'idx_listener_points_earned');
});
Schema::table('bans', function (Blueprint $table) {
$table->index('ip', 'idx_bans_ip');
});
}
public function down(): void
{
Schema::table('radio_listener_points', function (Blueprint $table) {
$table->dropIndex('idx_listener_points_earned');
});
Schema::table('bans', function (Blueprint $table) {
$table->dropIndex('idx_bans_ip');
});
}
};