hubot-mattermost-adapter
v1.0.4
Published
Hubot Mattermost Adapter ========================
Downloads
18
Readme
Hubot Mattermost Adapter
for Gitlab SSO
Install
npm install hubot-mattermost-adapter --save
Usage
| Variable | Required | Description |
|----------|----------|-------------|
| MATTERMOST_HOST | Yes | The Mattermost host e.g. mm.yourcompany.com |
| MATTERMOST_GROUP | Yes | The team/group on your Mattermost server e.g. core |
| MATTERMOST_TOKEN | Yes | The token of an already logged-in Mattermost user using Gitlab SSO |
| MATTERMOST_WSS_PORT | No | Overrides the default port 443
for websocket (wss://
) connections |
| MATTERMOST_HTTP_PORT | No | Overrides the default port (80
or 443
) for http://
or https://
connections |
| MATTERMOST_TLS_VERIFY | No | (default: true) set to 'false' to allow connections when certs can not be verified (ex: self-signed, internal CA, ... - MITM risks) |
| MATTERMOST_USE_TLS | No | (default: true) set to 'false' to switch to http/ws protocols |
| MATTERMOST_LOG_LEVEL | No | (default: info) set log level (also: debug, ...) |
| MATTERMOST_REPLY | No | (default: true) set to 'false' to stop posting reply
responses as comments |
| MATTERMOST_IGNORE_USERS | No | (default: empty) Enter a comma-separated list of user senderi_names to ignore. |
More details see README of hubot-matteruser
More
This project is modified based on hubot-matteruser and mattermost-client.
So we can use a logged-in account to automatically connect to Mattermost server.