Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-3689

Slack notification of discourse activity

    Details

      Description

      It would be nice to have a hipchat channel with notifications of discourse activity. As a power up, perhaps new topics under certain categories, I'm thinking specifically of DM Notifications, could generate posts to select general HC channels – similar to how RFC notifications are currently handled.

      A quick google search turns up this plugin for integration:

      https://github.com/binaryage/discourse-hipchat-plugin

        Attachments

          Activity

          Hide
          jsick Jonathan Sick added a comment -

          I have implemented binaryage's Discourse --> HipChat plugin (see the 'Bot: Discourse' room).

          However, it has a serious security flaw in that activity from private categories is being forwarded to HipChat. Do we really want this feature? If so we'll have to fork the (ruby) plugin and spend story points.

          Show
          jsick Jonathan Sick added a comment - I have implemented binaryage's Discourse --> HipChat plugin (see the 'Bot: Discourse' room). However, it has a serious security flaw in that activity from private categories is being forwarded to HipChat. Do we really want this feature? If so we'll have to fork the (ruby) plugin and spend story points.
          Hide
          tjenness Tim Jenness added a comment -

          Is the plugin for Slack better?

          Show
          tjenness Tim Jenness added a comment - Is the plugin for Slack better?
          Hide
          jsick Jonathan Sick added a comment -

          The Slack plugin seems to suffer from privacy issues too.

          I've forked the discourse-hipchat-bot to https://github.com/lsst-sqre/discourse-hipchat-plugin and will work on adding a mapping of Discourse category to individual HipChat rooms. This will effectively whitelist the categories that people see activity for.

          This work also involves creating a test Discourse installation to develop the plugin.

          Show
          jsick Jonathan Sick added a comment - The Slack plugin seems to suffer from privacy issues too. I've forked the discourse-hipchat-bot to https://github.com/lsst-sqre/discourse-hipchat-plugin and will work on adding a mapping of Discourse category to individual HipChat rooms. This will effectively whitelist the categories that people see activity for. This work also involves creating a test Discourse installation to develop the plugin.
          Hide
          jsick Jonathan Sick added a comment -

          This work will be rolled into the community_mailbot https://github.com/lsst-sqre/community_mailbot since it will be easier to maintain an independent bot server than a plugin integrated into Discourse. Most the infrastructure is already in place with the community_mailbot; I'd only need to add awareness to the HipChat API. It would also become more trivial to migrate that integration into Slack.

          Show
          jsick Jonathan Sick added a comment - This work will be rolled into the community_mailbot https://github.com/lsst-sqre/community_mailbot since it will be easier to maintain an independent bot server than a plugin integrated into Discourse. Most the infrastructure is already in place with the community_mailbot; I'd only need to add awareness to the HipChat API. It would also become more trivial to migrate that integration into Slack.
          Hide
          jsick Jonathan Sick added a comment -

          The move to Slack allowed us to implement chat notifications from Discourse more quickly. We're using the new Official Discourse Slack plugin (https://meta.discourse.org/t/the-official-discourse-slack-plugin/51412?u=jsick).

          The current notification configuration is documented at https://community.lsst.org/t/community-forum-notifications-on-slack/1403/8?u=jsick

          Show
          jsick Jonathan Sick added a comment - The move to Slack allowed us to implement chat notifications from Discourse more quickly. We're using the new Official Discourse Slack plugin ( https://meta.discourse.org/t/the-official-discourse-slack-plugin/51412?u=jsick ). The current notification configuration is documented at https://community.lsst.org/t/community-forum-notifications-on-slack/1403/8?u=jsick
          Hide
          frossie Frossie Economou added a comment -

          This has been working very nicely, thanks!

          Show
          frossie Frossie Economou added a comment - This has been working very nicely, thanks!

            People

            • Assignee:
              jsick Jonathan Sick
              Reporter:
              jhoblitt Joshua Hoblitt
              Reviewers:
              Frossie Economou
              Watchers:
              Frossie Economou, Jonathan Sick, Joshua Hoblitt, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel