Release notes
Added
- Slack notification channel (
slack, typeApp) built onHostpanel.Sdk3.19.0 through the SDK notification channel contract (INotificationChannelPlugin, capabilitynotificationChannel); minimum host 0.12.0. The host chooses which events go to the channel and callsDeliverAsyncfrom its outbox. - Posts staff messages to one Slack channel through an incoming webhook, or through
chat.postMessagewith a bot token (chat:write) and a channel id. Client messages are skipped (audience_not_supported): a Slack channel is a staff channel. - Each message is rendered from the operator's template with
{text},{number}and{link}(the admin panel link); every value is escaped for Slack, so the host's text can never notify a whole channel or disguise a link. - Each event is posted once, keyed by the event id and the destination in the plugin store. A 429, 503,
ratelimitedorservice_unavailableis waited out when Slack asks for 5 seconds or less, otherwise answered as a retry with Slack'sRetry-After. A refusal fails the message withslack_<error>; an unknown outcome (timeout, dropped connection, other 5xx,fatal_error) fails it withoutcome_unknownand is never posted again. POST /test(admin) posts a real test message; Test Connection checks a bot token withauth.testwithout posting.- The webhook address and the bot token are secret settings, never logged and never posted; the webhook address must be
https://hooks.slack.com/services/....
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "slack" and choose version 1.0.0.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.