secubox-openwrt/package/secubox/luci-app-secubox/root/usr/share/luci/menu.d/luci-app-secubox.json
CyberMind-FR 2b913d5005 feat(p2p): Add SecuBox P2P Hub packages and Services Registry
- 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>
2026-01-30 19:46:28 +01:00

298 lines
7.2 KiB
JSON

{
"admin/secubox": {
"title": "SecuBox",
"order": 25,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/wizard": {
"title": "Setup Wizard",
"order": 5,
"action": {
"type": "view",
"path": "secubox/wizard"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/dashboard": {
"title": "Dashboard",
"order": 10,
"action": {
"type": "view",
"path": "secubox/dashboard"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/apps": {
"title": "App Store",
"order": 18,
"action": {
"type": "view",
"path": "secubox/apps"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/modules": {
"title": "Modules",
"order": 20,
"action": {
"type": "view",
"path": "secubox/modules"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/alerts": {
"title": "Alerts",
"order": 22,
"action": {
"type": "view",
"path": "secubox/alerts"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/settings": {
"title": "Settings",
"order": 25,
"action": {
"type": "view",
"path": "secubox/settings"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/security": {
"title": "Security & Access",
"order": 30,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/monitoring": {
"title": "Monitoring & Analytics",
"order": 35,
"action": {
"type": "view",
"path": "secubox/monitoring"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/network": {
"title": "Network & Connectivity",
"order": 40,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/network/cdn-cache": {
"title": "CDN Cache",
"order": 20,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-secubox", "luci-app-cdn-cache"]
}
},
"admin/secubox/network/cdn-cache/overview": {
"title": "Overview",
"order": 10,
"action": {
"type": "view",
"path": "cdn-cache/overview"
}
},
"admin/secubox/network/cdn-cache/cache": {
"title": "Cache",
"order": 20,
"action": {
"type": "view",
"path": "cdn-cache/cache"
}
},
"admin/secubox/network/cdn-cache/policies": {
"title": "Policies",
"order": 30,
"action": {
"type": "view",
"path": "cdn-cache/policies"
}
},
"admin/secubox/network/cdn-cache/statistics": {
"title": "Statistics",
"order": 40,
"action": {
"type": "view",
"path": "cdn-cache/statistics"
}
},
"admin/secubox/network/cdn-cache/maintenance": {
"title": "Maintenance",
"order": 50,
"action": {
"type": "view",
"path": "cdn-cache/maintenance"
}
},
"admin/secubox/network/cdn-cache/settings": {
"title": "Settings",
"order": 90,
"action": {
"type": "view",
"path": "cdn-cache/settings"
}
},
"admin/secubox/system": {
"title": "System & Performance",
"order": 50,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/services": {
"title": "Services Registry",
"order": 60,
"action": {
"type": "view",
"path": "secubox/services"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/help": {
"title": "Bonus \u00b7 Help \u00e0 SecuBox",
"order": 99,
"action": {
"type": "view",
"path": "secubox/help"
},
"depends": {
"acl": ["luci-app-secubox"]
}
},
"admin/secubox/network/network-modes": {
"title": "Network Modes",
"order": 10,
"action": {
"type": "firstchild"
},
"depends": {
"acl": ["luci-app-secubox", "luci-app-network-modes"]
}
},
"admin/secubox/network/network-modes/overview": {
"title": "Overview",
"order": 10,
"action": {
"type": "view",
"path": "network-modes/overview"
}
},
"admin/secubox/network/network-modes/wizard": {
"title": "Mode Wizard",
"order": 20,
"action": {
"type": "view",
"path": "network-modes/wizard"
}
},
"admin/secubox/network/network-modes/router": {
"title": "Router Mode",
"order": 30,
"action": {
"type": "view",
"path": "network-modes/router"
}
},
"admin/secubox/network/network-modes/multiwan": {
"title": "Multi-WAN Mode",
"order": 35,
"action": {
"type": "view",
"path": "network-modes/multiwan"
}
},
"admin/secubox/network/network-modes/doublenat": {
"title": "Double NAT Mode",
"order": 37,
"action": {
"type": "view",
"path": "network-modes/doublenat"
}
},
"admin/secubox/network/network-modes/accesspoint": {
"title": "Access Point Mode",
"order": 40,
"action": {
"type": "view",
"path": "network-modes/accesspoint"
}
},
"admin/secubox/network/network-modes/relay": {
"title": "Relay Mode",
"order": 50,
"action": {
"type": "view",
"path": "network-modes/relay"
}
},
"admin/secubox/network/network-modes/vpnrelay": {
"title": "VPN Relay Mode",
"order": 52,
"action": {
"type": "view",
"path": "network-modes/vpnrelay"
}
},
"admin/secubox/network/network-modes/travel": {
"title": "Travel Mode",
"order": 55,
"action": {
"type": "view",
"path": "network-modes/travel"
}
},
"admin/secubox/network/network-modes/sniffer": {
"title": "Sniffer Mode",
"order": 60,
"action": {
"type": "view",
"path": "network-modes/sniffer"
}
},
"admin/secubox/network/network-modes/settings": {
"title": "Settings",
"order": 90,
"action": {
"type": "view",
"path": "network-modes/settings"
}
}
}