Fixed 5 major issues in SecuBox LuCI interface:
1. AppStore Empty (secubox-core v0.8.0-r3)
- Simplified get_appstore_apps RPCD method
- Removed complex error handling that was failing silently
- Added catalog.json (38 KB, 37 plugins) to Makefile installation
- Result: AppStore now displays 37 plugins in 8 categories
2. Dashboard/Components Empty (secubox-core v0.8.0-r3)
- Implemented 3 new RPCD methods:
* get_dashboard_data - Module counts and system uptime
* get_system_health - CPU, memory, disk metrics with health score
* get_alerts - System threshold alerts
- Result: Dashboard shows health score 93/100, system metrics
3. Modules View Empty (luci-app-secubox v0.7.1-r1)
- Fixed API method name mismatches in api.js:
* modules → getModules
* status → getStatus
* module_info → getModuleInfo
* health → getHealth
- Updated ACL with all new RPCD method names
- Added debug logging to modules.js
- Removed conflicting config files
- Result: 61 modules displayed with working filters
4. System Hub Components Empty (luci-app-system-hub v0.5.1-r3)
- Fixed RPCD backend call: modules → getModules
- Updated ACL to allow new SecuBox method names
- Result: 61 components displayed
5. Catalog/Profile/Template Files
- Added 39 individual plugin catalog files
- Added 5 profile JSON files (enterprise, home-office, etc.)
- Added 2 template files (firewall-zone, nginx-vhost)
- Updated Makefile to install all catalog files
Version bumps:
- secubox-core: 0.8.0-r1 → 0.8.0-r3
- luci-app-secubox: 0.7.0-r6 → 0.7.1-r1
- luci-app-system-hub: 0.5.1-r2 → 0.5.1-r3
Files modified: 13 modified, 46 added, 2 deleted
Lines of code: ~300+ added
RPCD methods: 3 added, 5 fixed
ACL files: 2 updated
Status: Production ready - all backend tests passing
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"luci-app-system-hub": {
|
|
"description": "System Hub - Central Control Dashboard",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.system-hub": [
|
|
"status",
|
|
"get_system_info",
|
|
"get_health",
|
|
"get_components",
|
|
"get_components_by_category",
|
|
"list_services",
|
|
"get_logs",
|
|
"get_storage",
|
|
"get_settings",
|
|
"list_diagnostics",
|
|
"list_diagnostic_profiles",
|
|
"get_diagnostic_profile",
|
|
"download_diagnostic",
|
|
"run_diagnostic_test",
|
|
"remote_status",
|
|
"remote_get_credentials"
|
|
],
|
|
"luci.secubox": [
|
|
"modules",
|
|
"getModules",
|
|
"modules_by_category",
|
|
"getModuleInfo",
|
|
"get_theme",
|
|
"getStatus",
|
|
"getHealth"
|
|
]
|
|
}
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.system-hub": [
|
|
"service_action",
|
|
"backup_config",
|
|
"restore_config",
|
|
"reboot",
|
|
"save_settings",
|
|
"collect_diagnostics",
|
|
"delete_diagnostic",
|
|
"upload_diagnostics",
|
|
"remote_install",
|
|
"remote_configure",
|
|
"remote_service_action",
|
|
"remote_save_settings"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|