Release notes
Added
- The organisation identifier has its own field on the server form (
serverAccountIdLabel, with texts in English, Russian and Armenian) and is read fromPanelServerConnection.AccountId. The user name field is no longer used, so a server saved with the identifier in the user name is reported as not configured until the identifier is entered in the new field. There is no fallback read. - The client is taken with
IPanelTransport.CreateClient(PanelServerConnection), so the operator's setting that accepts a self signed certificate works for an Enhance server. - Tests run
PluginHttpContract.AssertRedirectIsNotFollowedAsyncandPanelTransportContract(self signed refused by default, accepted for the allowed server only), and pin that the user name is not read as the organisation. - Tests pin the address of the sign in request (the organisation first, the member second), the acceptance of its
201answer and the refusal of a sign in answer that is not a JSON string.
Changed
- Built on
Hostpanel.Sdk3.7.0. - Every call goes through
PluginHttp: the send with a deadline, the bounded read of the answer, the check of the final address and the wrapping of a connection fault replace the plugin's own copies. A fault arrives asPluginHttpExceptionand is turned into the plugin'sEnhanceProtocolExceptionin one place. EnhanceNewLoginandEnhanceNewLoginWireprintSecretMask.Text, and the plugin's ownEnhanceSecretMaskis deleted.- The README separates what the Enhance API description says about
ownerId, the sign in answer and paging (read from description version 12.26.3) from what stays an assumption until it is tried on a real panel: thatownerIdis the membership identifier, and the shape of the sign in answer. The API offers no key to start a customer listing after, sinceoffsetandlimitare the only paging parameters of the whole description, so the account listing still reads the whole customer listing for each page. .editorconfigis trimmed to what this plugin uses and is saved with LF line endings.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "enhance" and choose version 1.0.1.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.