matterpoll

module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2018 License: MIT

README

Build Status Code Coverage Go Report Card Releases

Matterpoll is a plugin for Mattermost. It allows users to create poll by using a slash command.

Supported Mattermost Server Versions: 5.4+

Installation

  1. Go to the releases page of this Github repository and download the latest release for your Mattermost server.
  2. Upload this file in the Mattermost System Console > Plugins > Management page to install the plugin. To learn more about how to upload a plugin, see the documentation.
  3. You should set Enable integrations to override usernames and Enable integrations to override profile picture icons in System Console > Custom Integrations to true.

Settings

You can configure Matterpoll from System Console > Plugins > Matterpoll.

  • Trigger: Change trigger word for poll command. (default /poll)

Usage

/poll "Is Matterpoll great?" creates a poll with the answer options "Yes" and "No". You can also leave out the double quotes and just type /poll Is Matterpoll great?.

If you want to define all answer options by yourself, type /poll "Is Matterpoll great?" "Of course" "In any case" "Definitely"- Note that the double quotes are required in this case.

Poll Settings

Poll Settings provider further customisation, e.g. /poll "Is Matterpoll great?" "Of course" "In any case" "Definitely" --progress --anonymous. The available Poll Settings are:

  • --anonymous: Don't show who voted for what at the end
  • --progress: During the poll, show how many votes each answer option got

Troubleshooting

Pressing the poll buttons does nothing and creates a 400 error in the Mattermost log

Make sure to set your Site URL properly. For example, this error happens in case you set SiteURL starting with http://, in spite of running Mattermost server through https.

Poll command returns error Received invalid response from the server

Check system logs. If you find the following message, Matterpoll doesn't support your Mattermost. Please update your Mattermost server.

RPC call to GetServerVersion API failed: rpc: can't find method Plugin.GetServerVersion {"plugin_id": "com.github.matterpoll.matterpoll", "source": "plugin_stderr"}

Contributing

We welcome contributions of any bug reports, issues, feature requests, feature implementations and pull requests. Feel free to file a new issue to join the Matterpoll channel on the Mattermost community server.

Directories

Path Synopsis
build module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL