Թողարկման նշումներ
Fixed
- Faults are now read the way the ISPConfig JSON server sends them. The server gives every fault the code
remote_faultand drops the fault's own code, so the plugin placed none of them and every call that met one threw, among them the lookup of a user name that no login holds, which a create of a new account starts with. A fault is now placed by its fixed text in the ISPConfig source: the sentences of a refused function and of a refused sign in, the sentence of a user name that no login holds, and a validation report of exactly the shape the panel builds, each believed only from the functions that raise it. Any other text still throws. - A repeated create is settled against the ISPConfig source.
client_addfor a user name that a login already holds is rejected with the validation report and writes nothing, also when the login belongs to no client, such as the panel's own administrator. The create is answered from the client a second lookup finds, or refused withOtherwhen there is none. Tests cover a user name taken by a client and by a login without one. - The README no longer says that the JSON server hands arguments to the function by position, because it reads them by name, and it now lists
client_get_id, the permission the panel checks forclient_get_groupid. - A client is now read in two calls.
client_get_by_usernameanswers thesys_userrow of the login, so the plugin takes only the client number from it and reads the client record withclient_get. Before, the lock state, the main template and the web server of every client were read from a row that does not hold them. - A timeout the caller did not ask for is a
TimedOutfailure instead of a cancellation, and the body deadline and the sign out limit run on an injected clock. - An answer that does not come from the configured scheme, host and port is refused before its body is read (
UnexpectedHost). - Only
HttpRequestExceptionandIOExceptionare reported as a transport failure, and no failure carries an inner exception. - The README states the self signed certificate limit of the SDK transport and which fault codes throw.
Changed
- The
.editorconfigholds only rules that apply to this repository. The StyleCop rules (no analyzer package is referenced), the suppressions of rules the build never enables, the claim thatdotnet formatruns in CI and the preference for primary constructors, which contradictedrules/code-style.md, are gone. - The plugin is built on
Hostpanel.Sdk3.7.0, because it calls the newIPanelTransport.CreateClient(PanelServerConnection). - The client of a session is created for its server, so the operator's setting "accept a self signed certificate" now works for ISPConfig, which installs with a self signed certificate. The README section on self signed certificates describes the setting instead of the old limit.
- The sender uses
PluginHttpof the SDK for the send, the bounded and timed read of the body and the check of the final host. The hand written body reader, host check, connection fault wrapping and deadline are gone, and a refused or dropped connection arrives asPluginHttpFault.Transportand is mapped toIspConfigFailurein one place. The wait for the headers now has a limit of its own (IspConfigRpc.HeadersTimeout, 60 seconds) instead of relying on the host's timeout alone. - The password of a new client prints as
SecretMask.Textof the SDK, and the private mask constant is gone. - Tests run the SDK checks
PluginHttpContract.AssertRedirectIsNotFollowedAsyncand the twoPanelTransportContractself signed checks against a transport double, and cover that the session asks for the client of its server.
Տեղադրել այս տարբերակը
- 1
Բացեք պլագինների ցանկը Hostpanel-ի ադմինում։
- 2
Տեղադրեք «ispconfig» նույնացուցիչով պլագինը և ընտրեք 1.0.1 տարբերակը։
- 3
Hostpanel-ը ռեեստրից ներբեռնում է այս ստորագրված փաթեթը և բեռնելուց առաջ ստուգում ստորագրությունը և SDK-ի տարբերակը։