Թողարկման նշումներ
First version of the cPanel License Reseller plugin (issue innovayse/hostpanel#1123).
Built on Hostpanel.Sdk 3.19.0 (SDK 3.19.0 / host 0.12.0), the first release with the licence contract it implements (ILicenceProviderPlugin, LicenceBinding, LicenceContract and PanelRefusalReason.AddressInvalid and AddressTaken). minHostVersion is 0.12.0.
Added
- The
licencecapability for cPanel License Reseller through the Manage2 API, authenticated with the partner user name and password (HTTP Basic) from the server record: list products (the valid cPanel and WHM packages, IP address bindings only), order a licence for an IP address, read a licence, change its IP address in place, cancel it by expiring it, and test the connection. - The host's reference is stored as the external notes of the licence, so a repeated order finds its licence and answers
AlreadyApplied; a licence of another holder or package on the address is refused withAddressTaken. - A host name is refused with
AddressInvalid: cPanel licences are bound to an IP address. - The account id of the server record is the group id new licences are added to (
serverAccountIdLabelisGroup ID). - Suspend and unsuspend answer
NotSupported: Manage2 has no such function. - An operator page,
docs/operator.md, that states the plugin was not tested against a real reseller account.
Տեղադրել այս տարբերակը
- 1
Բացեք պլագինների ցանկը Hostpanel-ի ադմինում։
- 2
Տեղադրեք «cpanellicense» նույնացուցիչով պլագինը և ընտրեք 1.0.0 տարբերակը։
- 3
Hostpanel-ը ռեեստրից ներբեռնում է այս ստորագրված փաթեթը և բեռնելուց առաջ ստուգում ստորագրությունը և SDK-ի տարբերակը։