Release notes
Changed
- Built on
Hostpanel.Sdk3.7.0, pinned to[3.7.0]. - Panel requests and answers go through
PluginHttp: the deadline of the headers and of the body, the size limit and the final host check are the SDK's, and a refused or dropped connection, a timeout, an oversized answer or an answer from another host is mapped toCyberPanelApiExceptionin one place. The log names the kind of fault instead of the exception type. - The client is created with
IPanelTransport.CreateClient(server), so the operator's "accept a self signed certificate" setting works for CyberPanel servers. - The masked password of a new website prints with
SecretMask.Textinstead of a private copy of the mask. - The domain types of the plugin (account state, refusals, results and the like) are internal: nothing outside the plugin uses them.
Added
- Tests with the SDK contract checks
PluginHttpContract.AssertRedirectIsNotFollowedAsyncandPanelTransportContract.AssertSelfSignedIsRefusedByDefaultAsyncandAssertSelfSignedIsAcceptedForTheServerOnlyAsync. - Tests of the connection test for a website list refused for a reason other than access denied, and for an unrecognised or still running listing.
Documentation
- The README says that the host transport must not follow redirects, and that the host must never give one user name to two customers.
- Dead references to other projects are removed from
.editorconfig.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "cyberpanel" and choose version 1.0.1.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.