- 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.
- Changed all analytics-hub/ references to analyticshub/ in docs
- Updated README.md and STATUS.md installation instructions
- Ensures consistency with folder rename (commit 8a445c4)
- App ID and folder name now match: analyticshub
- 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
- Changed PHP min-version from 8.0 to 7.4 in appinfo/info.xml
- Replaced all str_contains() calls with strpos() !== false
- GoogleAnalyticsService.php: 1 instance
- LLMService.php: 6 instances
- Verified no other PHP 8.0+ features in use
- Plugin now compatible with PHP 7.4 and PHP 8.0+