Release notes
Fixed
- A panel that holds no account no longer ends the connection test with an unknown account count, and a lookup on it no longer ends in an exception. A server with no accounts answers the account list call with a sentence, or nothing, where the list belongs. The plugin reads an accepted reply like that as an empty list: the connection test reports zero accounts and a lookup answers that the account is not found. An accepted reply that holds an object, a number or a flag in place of the list, and a body that is not the panel's JSON, still make the operation throw, because nothing can be said about the account from them.
- When the panel answers a call that names a user with "user does not exist", the operation answers that the account was not found, without reading the account list and without an exception. This covers the sign-in link, the usage read, suspend, unsuspend, terminate (an account that is already gone counts as terminated), the package change and the password change. The Open panel button for a service whose account is not on the panel now shows a refusal that the account was not found, where the host used to answer a gateway error. A refused key keeps its own answer.
Changed
- Whenever the account list answer is not a list, the plugin logs the panel's short sentence (at most 120 characters, on one line, with the key masked) and the size of the body. The log line of a sign-in link that was not issued for an account the panel holds is unchanged.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "cwp" and choose version 1.3.6.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.