Repository navigation
Release v3.43
·
5 commits
to main
since this release
Fixed
- Client Area VM Actions: Created standalone AJAX endpoint to bypass WHMCS routing
- v3.42 AJAX approach failed because WHMCS intercepts
modop=customrequests - New
ajax.phpendpoint bypasses WHMCS routing for reliable JSON responses - Actions now work without page reload with real-time feedback
- v3.42 AJAX approach failed because WHMCS intercepts
Added
modules/servers/cloudpe/ajax.php- Standalone AJAX endpoint- Session-based authentication
- Service ownership validation
- Comprehensive error handling and logging
WEB_ROOTtemplate variable for AJAX endpoint URL
Changed
- Template uses
data-actionattributes instead of inline onclick - JavaScript calls
ajax.phpdirectly instead ofclientarea.php?modop=custom - VNC Console opens in sized popup window (1024x768)
Security
- AJAX endpoint validates client session before processing
- Service ownership check prevents unauthorized access
- Active service status verification