Заметки к выпуску
Added
- Optional plugin settings for new accounts, with English, Russian and Armenian texts:
inode_limit(default 0, no limit),autossl_on_create(ask the panel for a free SSL certificate, off by default) andbackup_on_create(switch backup on, off by default). A switch is sent to the panel only when it is on, and the inode limit is sent as before, so a server with no saved setting behaves as it did. - Usage reports the domains in use (the entries of the domain list of the account detail) and the addon domain limit (
addons_domains). A package listing reports the addon domain limit of each package as its domain limit. The SDK usage figures have no FTP field, so FTP is not reported. - The README has a section on setting up the API key: the permission each operation needs, the IP origin of the key, port 2304 and how the connection test tells these cases apart. The list of assumptions to verify is brought up to date.
Changed
- The connection test calls the panel's own test call,
/v1/testconex, instead of the package list. A key that may not list packages is no longer reported as refused, and the account count is still shown when the key may list accounts. - A sign-in link is asked for with the documented
timerof one hour. The panel counts the timer in hours and keeps a session for 15 hours when none is sent. - The sentences the panel documents for an unknown key (
key does not exist), an address that is not the key's origin (unauthorized host) and a disabled key (Key off) are read as a refused key, and the sentence of an error is read frommsj,resultormessage, as the documentation allows.
Fixed
- A sign-in link for an account the panel issued no session for no longer ends in an exception that the host answers with a gateway error. The lookup below settles it: an account the panel does not hold is not found, an account it holds is a refusal with the reason
Other. The panel's short sentence for the failure, shortened and with the key masked, is now logged, so an operator can see why the Open panel button failed. - The lookup that settles a repeated create, suspend, unsuspend, terminate or package change, and that answers the login details and the sign-in link, read the account detail call as if it carried the user name, the domain and the suspension flag under
msj. The documented reply of that call holds the figures of the account underresultand carries neither the user name nor a state that tells a missing account from an error. The lookup now uses the documented account list, which names the user, the domain, the package and the state, and the account detail call is used for usage only.
Установка этой версии
- 1
Откройте список плагинов в админке Hostpanel.
- 2
Установите плагин с идентификатором «cwp» и выберите версию 1.3.5.
- 3
Hostpanel скачивает этот подписанный пакет из реестра и проверяет подпись и версию SDK перед загрузкой.