Commit Graph
50 Commits
Author SHA1 Message Date
jjaffeux 51d3cc93cb DEV: linting 2020-09-22 17:11:12 +02:00
Joffrey JAFFEUX 9327e705cf DEV: apply coding standards (#43) 2020-09-04 13:23:28 +02:00
David Taylor 933a3f5aa2 DEV: Apply prettier 2020-07-16 12:41:05 +01:00
David Taylor 945c0a6e4f FIX: Allow using thread filter for new rules 2020-07-16 12:31:42 +01:00
David Taylor e3448d3a33 FIX: Allow selecting any tag for rule, ignoring tag group restrictions 2020-06-19 09:32:51 +01: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
Penar Musaraj 63ddf106a4 DEV: Find/replace deprecated decorators 2020-02-19 11:56:45 -05:00
David Taylor a48870ef38 FIX: Access transcript params correctly
Previously we were using an undocumented Ember API
2019-07-27 15:04:42 +01:00
Penar Musaraj 4336374d27 Update deprecated icon names 2019-07-16 12:55:26 -04:00
Joffrey JAFFEUX cd53275098 REFACTOR: uses more modern patterns to prevent issues (#27) 2019-03-20 10:57:07 +00:00
Penar Musaraj 5cd076803a fix icon + relative link without base_url 2018-11-11 22:34:33 -05:00
Penar Musaraj 762300ab22 Avoid targetting "fa-" icon in test, prepare for FA5 in Discourse core 2018-11-01 18:03:39 -04:00
David Taylor 44001e259b DEV: Apply prettier to JS and SCSS files 2018-09-12 16:16:18 +01:00
David Taylor fc721a1768 FEATURE: Improve channel error visibility in the admin panel, stop adding chat integration errors to logs 2018-08-20 12:06:10 +01:00
David Taylor c766a9cae9 FIX: client-side channel validation (#10) 2017-10-15 22:25:02 +08:00
Guo Xiang Tan eb6575fd44 Fix plugin after I broke it while refactoring. 2017-10-03 22:49:19 +08:00
Guo Xiang Tan 44ade676e1 Fix JS tests. 2017-10-03 18:11:58 +08: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 d13bf5409d Improve QUnit tests for admin interface 2017-08-14 16:02:43 +03:00
David Taylor 4932c078ed Correct eslint offences 2017-08-02 11:33:50 +01:00
David Taylor 7c3f58de41 Update display of group rules in admin UI 2017-08-01 20:12:42 +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 d437634f61 Move rule editing into a modal dialog 2017-07-31 17:09:21 +01:00
David Taylor 11c8817ebd Allow enter key to submit admin modal forms 2017-07-28 15:09:04 +01:00
David Taylor 2275793f6c Allow fields to be hidden from channel list (still visible in edit modal). 2017-07-28 14:15:53 +01:00
David Taylor 2d7f25d7e6 Add support for chat transcripts
(still needs to be implemented by providers)
2017-07-24 16:13:53 +01:00
David Taylor 5d18e1e444 Update language strings for new error message 2017-07-18 23:15:56 +01:00
David Taylor c5fdebd1bc Store errors per-channel rather than per-rule, and update UI to match 2017-07-18 23:08:06 +01:00