nathanaelhoun / mattermost-plugin-broomer

Mattermost Plugin to clean your channels with /broom
Apache License 2.0
9 stars 0 forks source link
mattermost-plugin

Broom logo Plugin Broomer CircleCI branch

Clean your channels with /broom!

Plugin screenshot

Supported Mattermost Server Versions: 5.24+

Features

/broom last [number-of-post] Delete the last [number-of-post] posts in the current channel

Available options :

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 under System Console > Plugins > Management to install the plugin. To learn more about how to upload a plugin, see the documentation.
  3. Activate the plugin at System Console > Plugins > Management.

Contribution

Feel free to file an issue to submit possible improvements. PR are also welcomed!

Development

If your Mattermost server is running locally, you can enable local mode to streamline deploying your plugin. Edit your server configuration as follows:

{
    "ServiceSettings": {
        ...
        "EnableLocalMode": true,
        "LocalModeSocketLocation": "/var/tmp/mattermost_local.socket"
    }
}

and then deploy your plugin:

make deploy
Alternatives without LocalMode To avoid having to manually install your plugin, build and deploy your plugin with login credentials: ``` export MM_SERVICESETTINGS_SITEURL=http://localhost:8065 export MM_ADMIN_USERNAME=admin export MM_ADMIN_PASSWORD=password make deploy ``` or with a [personal access token](https://docs.mattermost.com/developer/personal-access-tokens.html): ``` export MM_SERVICESETTINGS_SITEURL=http://localhost:8065 export MM_ADMIN_TOKEN=j44acwd8obn78cdcx7koid4jkr make deploy ```

Thanks to