Skip to content

Release v3.43

Choose a tag to compare

@atulmahankal-leapswitch atulmahankal-leapswitch released this 09 Jan 11:36
· 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=custom requests
    • New ajax.php endpoint bypasses WHMCS routing for reliable JSON responses
    • Actions now work without page reload with real-time feedback

Added

  • modules/servers/cloudpe/ajax.php - Standalone AJAX endpoint
    • Session-based authentication
    • Service ownership validation
    • Comprehensive error handling and logging
  • WEB_ROOT template variable for AJAX endpoint URL

Changed

  • Template uses data-action attributes instead of inline onclick
  • JavaScript calls ajax.php directly instead of clientarea.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