refactor(menu): Move SecuBox services to LuCI Services menu

Move 9 service apps from admin/secubox/services/ to admin/services/:
- localai, lyrion, magicmirror2, mailinabox, mmpm
- nextcloud, ollama, vhost-manager, mitmproxy

Services now appear under standard LuCI Services menu for consistency.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
CyberMind-FR 2026-01-28 10:49:56 +01:00
parent 0f82b73f9c
commit 477c2fa162
10 changed files with 38 additions and 36 deletions

View File

@ -166,7 +166,9 @@
"Bash(nc:*)",
"Bash(pkill:*)",
"Bash(python3 -m json.tool:*)",
"Bash(git restore:*)"
"Bash(git restore:*)",
"Bash(__NEW_LINE_80f7f5dbdf93db8a__ echo \"\")",
"Bash(# Check for other service-like apps in other secubox menus echo \"\"=== Mitmproxy location ===\"\" grep -h ''\"\"admin/'' package/secubox/luci-app-mitmproxy/root/usr/share/luci/menu.d/*.json)"
]
}
}

View File

@ -1,5 +1,5 @@
{
"admin/secubox/services/localai": {
"admin/services/localai": {
"title": "LocalAI",
"order": 50,
"action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-localai"]
}
},
"admin/secubox/services/localai/dashboard": {
"admin/services/localai/dashboard": {
"title": "Dashboard",
"order": 10,
"action": {
@ -20,7 +20,7 @@
"acl": ["luci-app-localai"]
}
},
"admin/secubox/services/localai/models": {
"admin/services/localai/models": {
"title": "Models",
"order": 20,
"action": {
@ -31,7 +31,7 @@
"acl": ["luci-app-localai"]
}
},
"admin/secubox/services/localai/chat": {
"admin/services/localai/chat": {
"title": "Chat",
"order": 30,
"action": {
@ -42,7 +42,7 @@
"acl": ["luci-app-localai"]
}
},
"admin/secubox/services/localai/settings": {
"admin/services/localai/settings": {
"title": "Settings",
"order": 90,
"action": {

View File

@ -1,5 +1,5 @@
{
"admin/secubox/services/lyrion": {
"admin/services/lyrion": {
"title": "Lyrion",
"order": 50,
"action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-lyrion"]
}
},
"admin/secubox/services/lyrion/overview": {
"admin/services/lyrion/overview": {
"title": "Overview",
"order": 10,
"action": {
@ -17,7 +17,7 @@
"path": "lyrion/overview"
}
},
"admin/secubox/services/lyrion/settings": {
"admin/services/lyrion/settings": {
"title": "Settings",
"order": 90,
"action": {

View File

@ -1,5 +1,5 @@
{
"admin/secubox/services/magicmirror2": {
"admin/services/magicmirror2": {
"title": "MagicMirror",
"action": { "type": "view", "path": "magicmirror2/overview" },
"depends": { "acl": ["luci-app-magicmirror2"] },

View File

@ -1,5 +1,5 @@
{
"admin/secubox/services/mailinabox": {
"admin/services/mailinabox": {
"title": "Mail Server",
"order": 60,
"action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-mailinabox"]
}
},
"admin/secubox/services/mailinabox/overview": {
"admin/services/mailinabox/overview": {
"title": "Overview",
"order": 10,
"action": {
@ -17,7 +17,7 @@
"path": "mailinabox/overview"
}
},
"admin/secubox/services/mailinabox/settings": {
"admin/services/mailinabox/settings": {
"title": "Settings",
"order": 90,
"action": {

View File

@ -1,5 +1,5 @@
{
"admin/secubox/security/mitmproxy": {
"admin/services/mitmproxy": {
"title": "mitmproxy",
"action": { "type": "view", "path": "mitmproxy/overview" },
"depends": { "acl": ["luci-app-mitmproxy"] },

View File

@ -1,17 +1,17 @@
{
"admin/secubox/services/mmpm": {
"admin/services/mmpm": {
"title": "MMPM",
"order": 32,
"action": {
"type": "alias",
"path": "admin/secubox/services/mmpm/dashboard"
"path": "admin/services/mmpm/dashboard"
},
"depends": {
"acl": ["luci-app-mmpm"],
"uci": {"mmpm": true}
}
},
"admin/secubox/services/mmpm/dashboard": {
"admin/services/mmpm/dashboard": {
"title": "Dashboard",
"order": 1,
"action": {
@ -19,7 +19,7 @@
"path": "mmpm/dashboard"
}
},
"admin/secubox/services/mmpm/modules": {
"admin/services/mmpm/modules": {
"title": "Modules",
"order": 2,
"action": {
@ -27,7 +27,7 @@
"path": "mmpm/modules"
}
},
"admin/secubox/services/mmpm/webui": {
"admin/services/mmpm/webui": {
"title": "Web GUI",
"order": 3,
"action": {
@ -35,7 +35,7 @@
"path": "mmpm/webui"
}
},
"admin/secubox/services/mmpm/settings": {
"admin/services/mmpm/settings": {
"title": "Settings",
"order": 4,
"action": {

View File

@ -1,5 +1,5 @@
{
"admin/secubox/services/nextcloud": {
"admin/services/nextcloud": {
"title": "Nextcloud",
"order": 55,
"action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-nextcloud"]
}
},
"admin/secubox/services/nextcloud/overview": {
"admin/services/nextcloud/overview": {
"title": "Overview",
"order": 10,
"action": {
@ -17,7 +17,7 @@
"path": "nextcloud/overview"
}
},
"admin/secubox/services/nextcloud/settings": {
"admin/services/nextcloud/settings": {
"title": "Settings",
"order": 90,
"action": {

View File

@ -1,5 +1,5 @@
{
"admin/secubox/services/ollama": {
"admin/services/ollama": {
"title": "Ollama",
"order": 51,
"action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-ollama"]
}
},
"admin/secubox/services/ollama/dashboard": {
"admin/services/ollama/dashboard": {
"title": "Dashboard",
"order": 10,
"action": {
@ -20,7 +20,7 @@
"acl": ["luci-app-ollama"]
}
},
"admin/secubox/services/ollama/models": {
"admin/services/ollama/models": {
"title": "Models",
"order": 20,
"action": {
@ -31,7 +31,7 @@
"acl": ["luci-app-ollama"]
}
},
"admin/secubox/services/ollama/chat": {
"admin/services/ollama/chat": {
"title": "Chat",
"order": 30,
"action": {
@ -42,7 +42,7 @@
"acl": ["luci-app-ollama"]
}
},
"admin/secubox/services/ollama/settings": {
"admin/services/ollama/settings": {
"title": "Settings",
"order": 90,
"action": {

View File

@ -1,5 +1,5 @@
{
"admin/secubox/services/vhosts": {
"admin/services/vhosts": {
"title": "VHost Manager",
"order": 40,
"action": {
@ -9,7 +9,7 @@
"acl": ["luci-app-vhost-manager"]
}
},
"admin/secubox/services/vhosts/overview": {
"admin/services/vhosts/overview": {
"title": "Overview",
"order": 10,
"action": {
@ -17,7 +17,7 @@
"path": "vhost-manager/overview"
}
},
"admin/secubox/services/vhosts/vhosts": {
"admin/services/vhosts/vhosts": {
"title": "Virtual Hosts",
"order": 20,
"action": {
@ -25,7 +25,7 @@
"path": "vhost-manager/vhosts"
}
},
"admin/secubox/services/vhosts/internal": {
"admin/services/vhosts/internal": {
"title": "Internal Services",
"order": 25,
"action": {
@ -33,7 +33,7 @@
"path": "vhost-manager/internal"
}
},
"admin/secubox/services/vhosts/certificates": {
"admin/services/vhosts/certificates": {
"title": "SSL Certificates",
"order": 30,
"action": {
@ -41,7 +41,7 @@
"path": "vhost-manager/certificates"
}
},
"admin/secubox/services/vhosts/ssl": {
"admin/services/vhosts/ssl": {
"title": "SSL/TLS Configuration",
"order": 35,
"action": {
@ -49,7 +49,7 @@
"path": "vhost-manager/ssl"
}
},
"admin/secubox/services/vhosts/redirects": {
"admin/services/vhosts/redirects": {
"title": "URL Redirects",
"order": 37,
"action": {
@ -57,7 +57,7 @@
"path": "vhost-manager/redirects"
}
},
"admin/secubox/services/vhosts/logs": {
"admin/services/vhosts/logs": {
"title": "Access Logs",
"order": 40,
"action": {