Giter Site home page Giter Site logo

iquiw / redmine_messenger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alphanodes/redmine_messenger

0.0 1.0 0.0 883 KB

Messenger plugin for Redmine with Slack, Discord, Rocket.Chat and Mattermost support

Home Page: https://www.redmine.org/plugins/redmine_messenger

License: Other

Ruby 80.33% Slim 19.67%

redmine_messenger's Introduction

Messenger plugin for Redmine

This plugin posts updates to issues in your Redmine installation to Slack, Rocket.Chat, Discord or Mattermost channel.

Rate at redmine.org Run Linters Tests

Features

  • Post information to messenger channel
    • post issue updates
    • post private issue updates
    • display watchers
    • convert username to mentions
    • post wiki updates
    • post db entry (if redmine_db is installed) updates
    • post password (if redmine_passwords is installed) updates
    • post contact (if redmine_contacts is installed) updates
  • Post information directly to users to be notified (users names should be the same in Redmine and chat). Tested with Rocket.Chat
  • overwrite messenger settings at project level
  • parent project support (inherit messenger settings from parent project)
  • multiple channel support (define one or more channels to deliver note)

Screenshot

Rocket.Chat output:

screenshot

Redmine configuration:

screenshot

  • Convert names to mentions: Automatically converts Redmine mentions into Slack mentions so a user is notified through Slack when mentioned in a Redmine note. Depends on Redmine Mentions plugin.

  • Display watchers: Issue watchers are included in notifications.

  • Post issue updates: All newly created notes on an issue generate a notification (does not include private issues).

  • Description in new issue: Include the text description of a new issue in the notification.

  • Description in update issue: Include the text encompassed in a note upon updating the issue in the notification.

  • Post updates for private issue: Same as Post issue updates but for private issues.

  • Post private notes: Same as Description in update issue but for private issues.

  • Post wiki updates: Generates a notification when a projects Wiki is updated.

Prepare your messenger service

Slack

Go to Slack documentation Incoming Webhooks for more information to set up Incoming WebHook

Mattermost

Go to Mattermost documentation Incoming Webhooks for more information to set up Incoming WebHook

Discord

Go to Discord documentation Intro to Webhooks for more information to set up Incoming WebHook You have to add /slack after your webhook url.

Rocket.Chat

Go to Rocket.Chat documentation Incoming WebHook Scripting for more information to set up Incoming WebHook

Requirements

  • Redmine version >= 4.1.0
  • Ruby version >= 2.6.0

Older versions

  • If you want to use it with Redmine 3.x, use git tag 1.0.5
  • If you want to use it with Redmine 4.0, use git tag 1.0.7

Installation

Install redmine_messenger plugin for Redmine

cd $REDMINE_ROOT
git clone https://github.com/AlphaNodes/redmine_messenger.git plugins/redmine_messenger
bundle update
bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Make sure that the directory is named redmine_messenger (you cannot use another name for it)! Restart Redmine (application server) and you should see the plugin show up in the Plugins page. Under the configuration options, set the Messenger API URL to the URL for an Incoming WebHook integration in your Messenger account and also set the Messenger Channel to the channel's handle (be careful, this is not the channel's display name visible to users, you can find each channel's handle by navigating inside the channel and clicking the down-arrow and selecting view info).

Uninstall

Uninstall redmine_messenger

cd $REDMINE_ROOT
bundle exec rake redmine:plugins:migrate NAME=redmine_messenger VERSION=0 RAILS_ENV=production
rm -rf plugins/redmine_messenger

Restart Redmine (application server)

Credits

The source code is forked from

Special thanks to the original author and contributors for making this awesome hook for Redmine. This fork is just refactored to use Messenger-namespaced configuration options in order to use all hooks for Rocket.Chat, Mattermost AND Slack in a Redmine installation.

redmine_messenger's People

Contributors

alexandermeindl avatar thanosk avatar iquiw avatar keritaf avatar zeroocool avatar phlegx avatar evroon avatar lucianocosta avatar ujifman avatar punycode avatar claudiameindl avatar earzur avatar jcppkkk avatar potatogim avatar elenoar avatar tobenschmidt avatar yoto avatar danfai avatar wucris avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.