feat: add CyberPanel hosting integration with domain mapping and auto-SSL#786
feat: add CyberPanel hosting integration with domain mapping and auto-SSL#786superdav42 merged 2 commits intomainfrom
Conversation
…-SSL
Adds CyberPanel as a core hosting provider integration using the standard
CyberPanel API (/api/{endpoint}) with adminUser/adminPass body auth.
Based on customer-supplied tested integration (KursoPro), aligned to use:
- createWebsite/deleteWebsite for domain management
- submitWebsiteStatus for explicit SSL issuance via Let's Encrypt
- verifyConn for connection testing
- sslverify disabled for self-signed CyberPanel certs
- Wildcard DNS+SSL NOOP for subdomains (proven in production)
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 20 minutes and 5 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
What this doesNew files:
How it worksDomain mapping flow (custom domains):
Key design decisions aligned with customer's tested code
Related issues
Merged via PR #786 to main. aidevops.sh v3.6.235 spent 5m on this as a headless bash routine. |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
|
Performance Test Results Performance test results for a4bb4df are in 🛎️! Note: the numbers in parentheses show the difference to the previous (baseline) test run. Differences below 2% or 0.5 in absolute values are not shown. URL:
|
…le, superseded by PR #786)
Summary
/api/{endpoint}) withadminUser/adminPassbody authentication -- verified working in productionWhat this does
New files:
inc/integrations/providers/cyberpanel/class-cyberpanel-integration.php-- API wrapper with connection testing, setup wizard fields, credential managementinc/integrations/providers/cyberpanel/class-cyberpanel-domain-mapping.php-- Domain mapping capability with auto-SSLModified files:
inc/integrations/class-integration-registry.php-- registers integration + domain-mapping capabilityHow it works
Domain mapping flow (custom domains):
wu_add_domainfirescreateWebsiteto add the domain withssl=1submitWebsiteStatuswithstate=issueSSLas a safety netSubdomain flow:
Wildcard DNS + wildcard SSL handle subdomains automatically -- NOOP (proven in customer's production environment).
Key design decisions aligned with customer's tested code
/api/) not Cloud API (/cloudAPI/)adminUser/adminPassin body, not Basic Auth headersslverify: falsecreateWebsitenotsubmitDomainCreationsubmitWebsiteStatusSSL callssl=1flagDOMAIN_CURRENT_SITEfallback for master domainRelated issues