Заметки к выпуску
Added
- Login details (
provisioningPanelLogin): the user name, the domain, the server's IP address and the sign-in page address of an account. The panel never returns a password, so the details carry none. - Package listing (
provisioningPanelPackages): the packages of a server with their disk quota, traffic quota, mailbox limit and database limit, read from thelistaction of/v1/packages. A limit of zero is reported as no limit. - Usage now also reports the mailboxes and databases used and their limits, read from
account_info. - A create or a list for a reseller account is refused with the reason
Otherwithout calling the panel, so a user account is never made in place of a reseller. - The plugin icon (
assets/icon.png) and the marketplace cover use the official Control Web Panel logo from control-webpanel.com, unaltered, replacing the drawn icon. The vendor publishes no SVG of the mark, so the icon is a PNG, which the host accepts.
Fixed
- A package change now uses the account update route with the package name. The package change route takes a package id and refused a name.
Changed
- The plugin is built against
Hostpanel.Sdk3.11.0, andminHostVersionis now0.8.0, because an older host refuses the two new capabilities. - The API address and the sign-in page address are built by the SDK from the saved server. A saved host name that is not a host name, or a saved port outside 1 to 65535, is refused with the reason
Otherbefore anything is sent, for every operation. The connection test reports such a server as not configured. - A package listing the panel refuses is reported with the reason
AccessDenied, the same cause the connection test reports as a failed authentication. - The connection test and the package listing share one call to
/v1/packages. A reply to it that is not a list now makes the connection test report unreachable. - A size or count from the panel that is too large to hold is reported as unknown, where it could wrap to a wrong number before.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «cwp» и выберите версию 1.2.0.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.