- Changed route URL from /admin to / (root path)
- /admin was conflicting with Nextcloud built-in admin routes
- Now uses apps/analyticshub/ instead
- Changed route name from admin#index to page#index
- Follows Nextcloud naming conventions
- Updated info.xml navigation
- Points to analyticshub.page.index
- Removed <settings> section (can cause conflicts)
- Updated AdminController
- Added request path to diagnostic output
- Better styling for simple HTML page
The route was conflicting with Nextcloud's admin system.
New URL: https://teamworkapps.com/index.php/apps/analyticshub/
- Created appinfo/routes.php to register all routes
- Admin routes: index, save, load, getStatus
- API v1 routes: reports, getReport, generate, getStatus
- Report routes: index, generate
- Added index() method to AdminController
- Renders admin template via TemplateResponse
- Updated info.xml and appinfo/info.xml
- Fixed navigation entry to point to route: analyticshub.admin.index
- Added settings and navigation sections
- App now appears in Settings → Administration after enable/disable
Fixes issue where app didn't show up in Nextcloud toolbar after being enabled.
- Renamed analytics-hub/ → analyticshub/
- App ID in info.xml is 'analyticshub' (no hyphen)
- Nextcloud requires folder name to match app ID exactly
- Fixes 'Could not download app analyticshub' error during installation
Installation:
- Upload analyticshub/ folder to /var/www/nextcloud/apps/
- Folder name must match app ID in info.xml