This release adds dual menu access for Network Modes (both SecuBox and LuCI Network menus) and significantly expands RPCD permissions for all mode configuration operations. ## Network Modes - Dual Menu Access (2 files) - Added Network Modes to standard LuCI Network menu (admin/network/modes) - Maintains existing SecuBox menu location (admin/secubox/network/modes) - Users can now access Network Modes from both locations - Menu order: 60 in Network menu, 10 in SecuBox Network category ## Network Modes - Enhanced Permissions (1 file) Added 13+ new RPCD methods to ACL for complete mode management: Read permissions: - preview_changes - sniffer_config, ap_config, relay_config, router_config - travel_config, doublenat_config, multiwan_config, vpnrelay_config - travel_scan_networks Write permissions: - apply_mode, confirm_mode, rollback - update_settings - generate_wireguard_keys, apply_wireguard_config - apply_mtu_clamping, enable_tcp_bbr - add_vhost, generate_config ## Network Modes - View Updates (11 files) Updated all mode views for consistency: - helpers.js: 28 lines refactored - overview.js: Enhanced view structure - All mode views: wizard, router, multiwan, doublenat, accesspoint, relay, vpnrelay, travel, sniffer ## Theme Enhancements (1 file) - theme.js: 89 lines added - Enhanced theme initialization and configuration - Improved component styling support ## SecuBox Dashboard (2 files) - Updated dashboard.js and modules.js - Improved view rendering and integration ## System Hub (3 files) - Enhanced logs.js, overview.js, services.js - Better view consistency and functionality Summary: - 19 files changed (+282, -36) - Dual menu access for Network Modes - 13+ new RPCD permission methods - All network mode views updated - Theme significantly enhanced 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
199 lines
3.7 KiB
JSON
199 lines
3.7 KiB
JSON
{
|
|
"admin/secubox/network/modes": {
|
|
"title": "Network Modes",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-network-modes"]
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/overview"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/wizard": {
|
|
"title": "Mode Wizard",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/wizard"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/router": {
|
|
"title": "Router Mode",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/router"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/multiwan": {
|
|
"title": "Multi-WAN Mode",
|
|
"order": 35,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/multiwan"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/doublenat": {
|
|
"title": "Double NAT Mode",
|
|
"order": 37,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/doublenat"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/accesspoint": {
|
|
"title": "Access Point Mode",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/accesspoint"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/relay": {
|
|
"title": "Relay Mode",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/relay"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/vpnrelay": {
|
|
"title": "VPN Relay Mode",
|
|
"order": 52,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/vpnrelay"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/travel": {
|
|
"title": "Travel Mode",
|
|
"order": 55,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/travel"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/sniffer": {
|
|
"title": "Sniffer Mode",
|
|
"order": 60,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/sniffer"
|
|
}
|
|
},
|
|
"admin/secubox/network/modes/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/settings"
|
|
}
|
|
},
|
|
"admin/network/modes": {
|
|
"title": "Network Modes",
|
|
"order": 60,
|
|
"action": {
|
|
"type": "firstchild"
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-network-modes"]
|
|
}
|
|
},
|
|
"admin/network/modes/overview": {
|
|
"title": "Overview",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/overview"
|
|
}
|
|
},
|
|
"admin/network/modes/wizard": {
|
|
"title": "Mode Wizard",
|
|
"order": 20,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/wizard"
|
|
}
|
|
},
|
|
"admin/network/modes/router": {
|
|
"title": "Router Mode",
|
|
"order": 30,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/router"
|
|
}
|
|
},
|
|
"admin/network/modes/multiwan": {
|
|
"title": "Multi-WAN Mode",
|
|
"order": 35,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/multiwan"
|
|
}
|
|
},
|
|
"admin/network/modes/doublenat": {
|
|
"title": "Double NAT Mode",
|
|
"order": 37,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/doublenat"
|
|
}
|
|
},
|
|
"admin/network/modes/accesspoint": {
|
|
"title": "Access Point Mode",
|
|
"order": 40,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/accesspoint"
|
|
}
|
|
},
|
|
"admin/network/modes/relay": {
|
|
"title": "Relay Mode",
|
|
"order": 50,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/relay"
|
|
}
|
|
},
|
|
"admin/network/modes/vpnrelay": {
|
|
"title": "VPN Relay Mode",
|
|
"order": 52,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/vpnrelay"
|
|
}
|
|
},
|
|
"admin/network/modes/travel": {
|
|
"title": "Travel Mode",
|
|
"order": 55,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/travel"
|
|
}
|
|
},
|
|
"admin/network/modes/sniffer": {
|
|
"title": "Sniffer Mode",
|
|
"order": 60,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/sniffer"
|
|
}
|
|
},
|
|
"admin/network/modes/settings": {
|
|
"title": "Settings",
|
|
"order": 90,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "network-modes/settings"
|
|
}
|
|
}
|
|
}
|