Skip to content

Brightscout/mattermost-plugin-disable-dm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mattermost-plugin-disable-dm

A mattermost plugin to disable direct messages and group chats.

Installation and setup

Platform & tools

Building the plugins

  • Run the following commands to prepare a compiled, distributable plugin zip:
$ mkdir -p ${GOPATH}/src/github.com/Brightscout
$ cd ${GOPATH}/src/github.com/Brightscout
$ git clone git@github.com:Brightscout/mattermost-plugin-disable-dm.git
$ cd mattermost-plugin-disable-dm
$ make dist
  • This will produce three tar.gz files in /dist directory corresponding to various platforms:
Flavor Distribution
Linux mattermost-plugin-disable-dm-v<X.Y.Z>-linux-amd64.tar.gz
MacOS mattermost-plugin-disable-dm-v<X.Y.Z>-darwin-amd64.tar.gz
Windows mattermost-plugin-disable-dm-v<X.Y.Z>-windows-amd64.tar.gz

This will also install, Glide - the Go package manager.

Install the plugin to Mattermost

  • Make sure that the plugin uploads are enabled in PluginSettings.EnableUploads in your config.json file.
  • Go to System Console > Plugins (Beta) > Management and set Enable Plugins to true.
  • From System Console > Plugins (Beta) > Management, upload the plugin generated above based on the OS of your Mattermost server.
  • Once installed, open System Console > Plugins (Beta) > Team Membership in left-hand sidebar and configure the plugin settings.
  • Enable the plugin from System Console > Plugins (Beta) > Management.

Made with ♥ by Brightscout