Commit Graph

71 Commits

Author SHA1 Message Date
Jarek Radosz bc81d30dc8
DEV: Update linting (#181) 2023-11-29 23:01:31 +01:00
David Taylor bd9bf836ad
DEV: Resolve router deprecation and only load assets for admin (#180) 2023-11-27 12:45:21 +00:00
David Taylor 3860d82625
FIX: Update transcript handling following core updates (#179) 2023-11-27 12:04:54 +00:00
Mark VanLandingham a92108b69b
FEATURE: New rule filter to send message when topic tags change (#162) 2023-04-06 06:55:47 -05:00
Keegan George bdc2f27a2a
DEV: Ember upgrade (#155) 2023-01-23 10:30:48 -08:00
David Taylor ccceb8841c
DEV: Update eslint-config-discourse, use prettier for hbs (#151) 2023-01-04 13:35:48 +01:00
Jan Cernik 7b8a1a3960
DEV: Replace bootbox confirm dialog (#142) 2022-10-27 10:16:00 -03:00
Kris e3426c40fe
UX: admin controls alignment (#125) 2022-04-15 11:22:47 -04:00
David Taylor 55f9b7873b
FIX: Use correct copy for 'all categories' (#112)
The select-kit API has changed since this plugin's original implementation. `rootNoneLabel` and `rootNone` have been replaced with `none`
2022-03-15 00:00:29 +00:00
Jarek Radosz 359d6f6be8
DEV: Fix imports (#111) 2022-03-06 21:18:46 +01:00
Jarek Radosz 46cdce24bd
DEV: Lose the es6 suffix (#110) 2022-03-04 19:27:42 +01:00
Andrei Prigorshnev 356a1d1a72
DEV: migrate routes to the new @action pattern (#100) 2022-01-06 15:16:23 +04:00
David Taylor 15e8f9470d
FEATURE: Allow selecting 'automatic' groups for rules (#97) 2021-12-02 14:28:05 +00:00
David Taylor 9bfb3ec4b2
FIX: Ensure edit modal validation works on first opening (#96)
(Ember's `defineProperty` no longer sees to fire the notifyPropertyChange event, so we need to do it manually)
2021-12-02 14:27:50 +00:00
Jarek Radosz 369ca14711
DEV: Fix imports in tests, minor clean up (#93)
Still doesn't work with ember cli though.
2021-11-14 14:14:49 +01:00
David Taylor 08dd442c1c
FIX: Remove use of InputValidation library (#92)
This was deprecated in e39d89ecd9, and stopped working following the move to Ember CLI
2021-11-09 14:45:50 +00:00
Mark VanLandingham a8b7e9631b
DEV: Move admin namespace (#87) 2021-08-26 08:52:53 -05:00
Penar Musaraj da2391e45d
DEV: Remove SCSS color vars fallbacks (#76) 2021-05-12 16:15:07 -04:00
discoursebot 2e15402cf4
DEV: Update CI workflows (#61)
* DEV: Update CI workflows

* DEV: Fix template linting issues

Co-authored-by: CvX <CvX@users.noreply.github.com>
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2021-02-11 10:42:26 +00:00
David Taylor aaf077d8f2
UX: Style fixes for rule/channel modals (#58) 2021-01-26 20:33:15 +00:00
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
Penar Musaraj f93b540f93
DEV: Use CSS custom properties for colors in SCSS
Prepares the plugin for an upcoming change in core while maintaining
backwards compatiblity.
2020-08-03 13:28:45 -04: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