mattermost-plugin-link-filter

module
v0.0.0-...-4192ecb Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0

README

This repo is maintained by Brightscout.

This plugin allows you to filter / surpress links in posts on your Mattermost server. The plugin compares all links in new posts against a configured Allowed Protocols list. If the protocol (http, https, s3, etc). is not present in the white list, the post will be removed.

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.
Usage

You can edit the plugin configuration in System Console > Plugins > Embedded Link Filter*

  • Allowed Protocols lists
    This denotes the list of protocols to allow, separated by commas.
    For example, http,https will allow messages with links like https://github.com or http://github.com but reject posts containing links like s3://YourS3Bucket/dir/filename.filetype. One list allows for formatted links the other allows for plain text links.

  • New Post Warning Message
    This denotes the message that is shown when a new post is created and gets rejected.

  • Modified Post Warning Message
    This denotes the message that is shown when an existing post is modified and gets rejected.

  • Reject Plain Links
    This is a boolean option. If set, the plugin will also filter posts containing plain text links like http://www.google.com in addition to filtering embedded text links.

License

This repository is under the Apache 2.0 License.


Made with ♥ by Brightscout

Directories

Path Synopsis
build
deploy
main handles deployment of the plugin to a development server using either the Client4 API or by copying the plugin bundle into a sibling mattermost-server/plugin directory.
main handles deployment of the plugin to a development server using either the Client4 API or by copying the plugin bundle into a sibling mattermost-server/plugin directory.

Jump to

Keyboard shortcuts

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