secubox-openwrt/luci-app-client-guardian/htdocs/luci-static/resources/view/client-guardian
CyberMind-FR 9177bbbfdf fix(client-guardian): correct API method names in all views
Fixed inconsistency between API method declarations and their usage.
The api.js exports methods with names like getClients, getStatus, etc.
but views were calling them as callClients, callStatus, etc.

Changes across 7 view files:
- api.callStatus() → api.getStatus()
- api.callClients() → api.getClients()
- api.callZones() → api.getZones()
- api.callGetAlerts() → api.getAlerts()
- api.callGetLogs() → api.getLogs()
- api.callParental() → api.getParental()
- api.callPortal() → api.getPortal()
- api.callApproveClient() → api.approveClient()
- api.callUpdateClient() → api.updateClient()
- api.callBanClient() → api.banClient()
- api.callQuarantineClient() → api.quarantineClient()
- api.callSendTestAlert() → api.sendTestAlert()
- api.callUpdatePortal() → api.updatePortal()
- api.callUpdateZone() → api.updateZone()

This fixes TypeError: api.callClients is not a function errors.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-31 09:26:47 +01:00
..
alerts.js fix(client-guardian): correct API method names in all views 2025-12-31 09:26:47 +01:00
captive.js chore: sync luCI modules 2025-12-30 17:17:12 +01:00
clients.js fix(client-guardian): correct API method names in all views 2025-12-31 09:26:47 +01:00
logs.js fix(client-guardian): correct API method names in all views 2025-12-31 09:26:47 +01:00
overview.js fix(client-guardian): correct API method names in all views 2025-12-31 09:26:47 +01:00
parental.js fix(client-guardian): correct API method names in all views 2025-12-31 09:26:47 +01:00
portal.js fix(client-guardian): correct API method names in all views 2025-12-31 09:26:47 +01:00
settings.js chore: sync luCI modules 2025-12-30 17:17:12 +01:00
zones.js fix(client-guardian): correct API method names in all views 2025-12-31 09:26:47 +01:00