mirror of
https://github.com/ceratic/MediaCollectorLibary.git
synced 2026-05-13 23:56:46 +02:00
Remove obsolete test scripts and add new API controllers for dashboard and game management
- Deleted test scripts: test_jellyfin_execution.php, test_stash.php, test_xbvr.php, test_xbvr_sync.php, vite.config.js - Added DashboardController for fetching dashboard statistics and recent activity - Added GameController for managing games, including fetching all games, game details, and games by category - Introduced various check scripts to validate database structures and data integrity for adult videos, games, gender data, posters, and TV show actors
This commit is contained in:
@@ -18,11 +18,11 @@ $app->post('/login', AuthController::class . ':login')->setName('auth.login.post
|
||||
$app->post('/logout', AuthController::class . ':logout')->setName('auth.logout');
|
||||
$app->get('/logout', AuthController::class . ':logout')->setName('auth.logout');
|
||||
|
||||
// Public image serving (no auth required)
|
||||
$app->get('/images/{path:.+}', 'App\Controllers\ImageController:serve')->setName('images.serve');
|
||||
|
||||
// Protected routes (require authentication)
|
||||
$app->group('', function (RouteCollectorProxy $group) {
|
||||
// Image serving (no auth required for public images)
|
||||
$group->get('/images/{path:.+}', 'App\Controllers\ImageController:serve')->setName('images.serve');
|
||||
|
||||
// Global Search
|
||||
$group->get('/search', 'App\Controllers\SearchController:index')->setName('search.index');
|
||||
$group->get('/', 'App\Controllers\DashboardController:index')->setName('dashboard.index');
|
||||
|
||||
Reference in New Issue
Block a user