Fixes: Simplify PageController, fix config API, update deployment package (2026-02-17)

- Removed service dependencies from PageController constructor
- Fixed AdminController config API signatures
- Cleaned up Application.php resource loading
- Updated template with proper resource includes
- Simplified routes.php
- Reduced analyticshub.zip from 50KB to 27KB
- Status: Fixed and ready for redeployment
This commit is contained in:
WLTBAgent
2026-02-22 06:56:57 +00:00
parent 69dfdc5f87
commit 49b6b37277
8 changed files with 94 additions and 59 deletions

View File

@@ -10,24 +10,22 @@ namespace OCA\AnalyticsHub;
return [
'routes' => [
// Admin routes
// Main page route
[
'name' => 'page#index',
'url' => '/',
'verb' => 'GET',
'requirements' => [],
],
// Admin configuration routes (AJAX)
[
'name' => 'admin#load',
'url' => '/admin/load',
'verb' => 'GET',
'requirements' => [],
],
[
'name' => 'admin#save',
'url' => '/admin/save',
'verb' => 'POST',
'requirements' => [],
],
],
];