Commit Graph

8 Commits

Author SHA1 Message Date
WLTBAgent
64bc88d6de Fix: Add routes and admin navigation
- 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.
2026-02-13 18:28:34 +00:00
WLTBAgent
b7f6b04e64 Docs: Update folder name references to analyticshub
- 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
2026-02-13 18:22:20 +00:00
WLTBAgent
8a445c4d46 Fix: Rename app folder to match app ID
- 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
2026-02-13 18:21:39 +00:00
WLTBAgent
3b91adcd40 Docs: Add PHP 7.4 compatibility notes
- Updated README.md: Changed PHP version from 8.0+ to 7.4+ (8.0+ compatible)
- Added PHP compatibility section to STATUS.md
- Updated STATUS.md with latest commit information
- Documented supported PHP versions (7.4, 8.0, 8.1, 8.2)
2026-02-13 17:51:49 +00:00
WLTBAgent
d87a87b93a Fix: Add PHP 7.4 compatibility
- 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+
2026-02-13 17:49:44 +00:00
WLTBAgent
254c1488c9 Update README.md - Reflect Phase 1-3 completion status 2026-02-13 14:54:09 +00:00
WLTBAgent
b727ddd34d Update STATUS.md - Git push completed 2026-02-13 14:51:38 +00:00
WLTBAgent
f9c49cf7c2 Phase 3: Initial commit - Nextcloud Analytics Hub Project
Nextcloud Analytics Hub complete:
- Nextcloud PHP app (analytics-hub/) - All phases (1-3) complete
- Go client tool (nextcloud-analytics) - Full CLI implementation
- Documentation (PRD, README, STATUS, SKILL.md)
- Production-ready for deployment to https://cloud.shortcutsolutions.net

Repository: git.teamworkapps.com/shortcut/nextcloud-analytics
Workspace: /home/molt/.openclaw/workspace
2026-02-13 14:11:01 +00:00