Go to file
Michael K Johnson da9106127a
FEATURE: Enable optional support for threading slack posts (#38)
When creating a new Discourse post from slack with the `post` feature, record the
slack `ts` thread ID for the resulting topic post using an HTML comment to pass
the `ts` through.

When notifying slack of new Discourse posts, record the slack `ts` thread ID in
the post's topic if it has not yet been recorded. (Normally, this will be done
for the topic post, except where notifications are being posted for old topics
before this feature was created.)

Add a new rule filter `thread` which posts threaded responses to slack if there
is a `ts` recorded for the post topic.

Modify the `trigger_notifications` interface to enable other integrations to
implement similar functionality.

Present the `thread` rule in the help text and admin UI only for the slack
providers.

https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759
2020-06-15 16:45:25 +01:00
.tx Update translations 2018-09-10 14:00:37 -04:00
app FEATURE: Enable optional support for threading slack posts (#38) 2020-06-15 16:45:25 +01:00
assets FEATURE: Enable optional support for threading slack posts (#38) 2020-06-15 16:45:25 +01:00
bin Add frozen string literal comment to files. 2019-05-13 10:37:49 +08:00
config FEATURE: Enable optional support for threading slack posts (#38) 2020-06-15 16:45:25 +01:00
lib/discourse_chat FEATURE: Enable optional support for threading slack posts (#38) 2020-06-15 16:45:25 +01:00
spec FEATURE: Enable optional support for threading slack posts (#38) 2020-06-15 16:45:25 +01:00
test/javascripts/acceptance REFACTOR: uses more modern patterns to prevent issues (#27) 2019-03-20 10:57:07 +00:00
.eslintrc DEV: eslint/prettier 2019-01-11 17:30:57 +01:00
.gitignore DEV: eslint/prettier 2019-01-11 17:30:57 +01:00
.rubocop.yml DEV: Update rubocop-discourse 2020-05-02 11:46:33 +02:00
.travis.yml DEV: Update .travis.yml 2018-09-12 18:10:27 +01:00
Gemfile DEV: Add rubocop-discourse gem 2020-05-02 09:32:30 +02:00
Gemfile.lock DEV: Update rubocop-discourse 2020-05-02 11:46:33 +02:00
LICENSE Initial commit 2017-06-26 15:08:06 +01:00
README.md Update README to remove scary message 2017-07-21 16:09:19 +01:00
package.json DEV: eslint/prettier 2019-01-11 17:30:57 +01:00
plugin.rb FEATURE: Enable optional support for threading slack posts (#38) 2020-06-15 16:45:25 +01:00
yarn.lock DEV: eslint/prettier 2019-01-11 17:30:57 +01:00

README.md

discourse-chat-integration

Build Status

This plugin integrates Discourse with a number of external chatroom systems. For more information, click here