Commit Graph

19 Commits

Author SHA1 Message Date
David Taylor 15e8f9470d
FEATURE: Allow selecting 'automatic' groups for rules (#97) 2021-12-02 14:28:05 +00:00
Mark VanLandingham a8b7e9631b
DEV: Move admin namespace (#87) 2021-08-26 08:52:53 -05:00
Joffrey JAFFEUX 9327e705cf
DEV: apply coding standards (#43) 2020-09-04 13:23:28 +02:00
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
Robin Ward 368b60cd80 DEV: Discourse.Route has been deprecated 2020-05-12 14:24:33 -04:00
Joffrey JAFFEUX cd53275098 REFACTOR: uses more modern patterns to prevent issues (#27) 2019-03-20 10:57:07 +00:00
David Taylor 44001e259b DEV: Apply prettier to JS and SCSS files 2018-09-12 16:16:18 +01:00
Guo Xiang Tan f836047f90 REFACTOR: Clean up code in plugin. 2017-10-03 17:42:07 +08:00
David Taylor 645c21f2f7 Correct eslint fails 2017-08-21 16:46:43 +01:00
David Taylor 4932c078ed Correct eslint offences 2017-08-02 11:33:50 +01:00
David Taylor 209daf7801 Add group messages support to admin UI, and add a ‘type’ field for further improvements 2017-08-01 15:20:00 +01:00
David Taylor bdb81191d7 New admin interface for improved channel definitions 2017-07-18 16:17:03 +01:00
David Taylor 4be010fd07 Allow providers to specify a regex that the channel identifier is checked against during validation 2017-07-04 00:14:01 +01:00
David Taylor 1c416d5a81 Allow providers to be disabled, and tidy up translations 2017-07-03 15:53:26 +01:00
David Taylor 984211e9ce Fix javascript imports after plugin rename 2017-07-03 12:18:30 +01:00
David Taylor 8d70b4ad46 Allow add, edit & delete in the admin UI 2017-06-29 20:19:40 +01:00
David Taylor 304d8f962f Refresh the list of rules when the modal dialog closes 2017-06-29 12:56:48 +01:00
David Taylor 8e0bec6e6f Use RestModel and buildPluginAdapter to deal with communication of data models between client and server 2017-06-28 22:32:02 +01:00
David Taylor d8e5494d4c Add (currently read-only) UI to the admin panel, displaying all existing rules. Dynamic routes created for each registered provider. 2017-06-28 15:12:37 +01:00