- Add secubox-p2p backend package: - UCI configuration for P2P settings, DNS federation, WireGuard mesh, HAProxy - RPCD handler for peer management, service discovery, mesh configuration - Init script and main P2P manager daemon - Add luci-app-secubox-p2p frontend package: - Main hub view with master control, network matrix visualization - Peers management with discovery and manual add - Services view showing local and shared services - Mesh network configuration (DNS, WireGuard, HAProxy) - Settings for P2P and registry configuration - Add Services Registry view to luci-app-secubox - Add listProfiles/applyProfile to secubox-admin API - Fix P2P ACL permissions - Remove old hub.js from luci-app-secubox (moved to dedicated package) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
106 lines
2.2 KiB
JSON
106 lines
2.2 KiB
JSON
{
|
|
"luci-app-secubox": {
|
|
"description": "SecuBox Dashboard",
|
|
"read": {
|
|
"ubus": {
|
|
"luci.secubox": [
|
|
"status",
|
|
"getStatus",
|
|
"getVersion",
|
|
"modules",
|
|
"getModules",
|
|
"modules_by_category",
|
|
"module_info",
|
|
"getModuleInfo",
|
|
"check_module_enabled",
|
|
"health",
|
|
"getHealth",
|
|
"diagnostics",
|
|
"runDiagnostics",
|
|
"getLogs",
|
|
"get_system_health",
|
|
"get_alerts",
|
|
"get_dashboard_data",
|
|
"get_theme",
|
|
"first_run_status",
|
|
"list_apps",
|
|
"get_app_manifest",
|
|
"list_profiles",
|
|
"listProfiles",
|
|
"getProfile",
|
|
"validateProfile",
|
|
"listSnapshots",
|
|
"get_appstore_apps",
|
|
"get_appstore_app",
|
|
"get_public_ips",
|
|
"get_network_health",
|
|
"get_vital_services",
|
|
"get_full_health_report",
|
|
"get_services",
|
|
"get_proxy_mode",
|
|
"p2p_get_peers",
|
|
"p2p_get_settings",
|
|
"p2p_discover",
|
|
"p2p_get_catalog",
|
|
"p2p_get_peer_catalog",
|
|
"p2p_get_shared_services"
|
|
],
|
|
"uci": [
|
|
"get",
|
|
"state"
|
|
]
|
|
},
|
|
"uci": [
|
|
"secubox"
|
|
]
|
|
},
|
|
"write": {
|
|
"ubus": {
|
|
"luci.secubox": [
|
|
"reload",
|
|
"start_module",
|
|
"stop_module",
|
|
"restart_module",
|
|
"enable_module",
|
|
"disable_module",
|
|
"installModule",
|
|
"removeModule",
|
|
"updateModule",
|
|
"applyProfile",
|
|
"createSnapshot",
|
|
"restoreSnapshot",
|
|
"quick_action",
|
|
"set_theme",
|
|
"dismiss_alert",
|
|
"clear_alerts",
|
|
"fix_permissions",
|
|
"apply_first_run",
|
|
"apply_app_wizard",
|
|
"apply_profile",
|
|
"rollback_profile",
|
|
"install_appstore_app",
|
|
"remove_appstore_app",
|
|
"set_proxy_mode",
|
|
"p2p_add_peer",
|
|
"p2p_remove_peer",
|
|
"p2p_set_settings",
|
|
"p2p_share_app",
|
|
"p2p_unshare_app",
|
|
"p2p_install_from_peer",
|
|
"p2p_sync_catalog",
|
|
"p2p_broadcast_command"
|
|
],
|
|
"uci": [
|
|
"set",
|
|
"delete",
|
|
"commit",
|
|
"apply"
|
|
]
|
|
},
|
|
"uci": [
|
|
"secubox"
|
|
]
|
|
}
|
|
}
|
|
}
|