Commit Graph

429 Commits

Author SHA1 Message Date
David Taylor 3900586557
FIX: Correct error in AdminDashboardData problem check (#119)
This would cause admin checks to fail when the plugin is disabled.

Unfortunately plugin-contributed AdminDashboardData checks are not currently testable, but I hope to fix that in a future core commit.

Follow-up to 8de3e498b2
2022-03-31 12:14:40 +01:00
Discourse Translator Bot d63e11cf33
Update translations (#118) 2022-03-30 14:52:54 +02:00
David Taylor 8de3e498b2
FIX: Only show admin dashboard errors when plugin/provider enabled (#117) 2022-03-25 15:53:49 +00:00
discoursebot 0c367e19ca
DEV: Update CI workflows (#116)
Co-authored-by: discoursebuild <build@discourse.org>
2022-03-22 14:02:57 +01:00
David Taylor d63477fec0
FIX: Use correct identifier in transcript thread hint (#115)
We were using the internal UID of the channel in the hint, which would then fail to match any 'channel' configs in Discourse (which use the human-friendly `#channel` format). This was causing automatic threading for transcripts to fail.
2022-03-21 16:03:23 +00:00
David Taylor cd5387c567
DEV: Fix flaky specs (#114) 2022-03-15 13:47:53 +00:00
David Taylor 20f0b1c6ce
DEV: Cache slack users list for 10 minutes (#113)
This should help to avoid Slack API rate limiting in very large slack communities
2022-03-15 13:32:28 +00: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
Discourse Translator Bot 5db7e159d9
Update translations (#109) 2022-03-01 22:56:25 +01:00
Blake Erickson 0eebd9f3ed
DEV: Adds post_to_slack scriptable for automation (#108)
This allows for the discourse automation plugin to have a "Send Slack
Message" script.

The script fields are a message, url, and slack channel. This will allow
for a custom slack message to be posted but can link back to an
arbitrary url (hopefully a discourse url) like a list of unanswered
topics instead of strictly only allowing a slack message that links back
to a Discourse Post object.
2022-02-25 12:17:20 -07:00
Gavin 1cd745010a
DEV: Update README.md (#107)
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2022-02-21 21:03:09 +01:00
David Taylor 36087f3004
DEV: Update Discord webhook domain (#106)
discordapp.com is being deprecated and replaced with discord.com - https://github.com/discord/discord-api-docs/discussions/4510
2022-02-15 11:53:53 +00:00
discoursebot ddee0c4417
DEV: Update CI workflows (#105)
Co-authored-by: discoursebuild <build@discourse.org>
2022-01-25 11:27:00 +00:00
Discourse Translator Bot 64aedd3f8d
Update translations (#104) 2022-01-18 14:41:24 +01:00
Discourse Translator Bot 45a16e2c40
Update translations (#103) 2022-01-11 14:21:26 +01:00
Andrei Prigorshnev 356a1d1a72
DEV: migrate routes to the new @action pattern (#100) 2022-01-06 15:16:23 +04:00
Discourse Translator Bot e9522c5f7d
Update translations (#102) 2022-01-04 17:39:24 +01:00
Dax74 4ac3f26135
UX: Correct typo in Microsoft Teams channel config (#101) 2021-12-31 13:03:05 +00:00
Discourse Translator Bot 693c7e9aae
Update translations (#99) 2021-12-28 14:13:47 +01:00
discoursebot 46b2c05cbd
DEV: Update CI workflows (#98)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-12-16 16:17:55 +00:00
David Taylor 6e7fa8ebd1
FIX: Store slack thread_ts on a per-channel basis (#95)
When notifications about a topic are posted to multiple slack channels, and the Discourse channels are configured to "thread" the notifications, each channel will have a different thread_id. Previously we were only storing a single slack thread id per Discourse topic. This commit fixes that logic, so that threads in different channels are tracked separately.
2021-12-02 14:29:06 +00: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
Aljaž Srebrnič ae0389ca89
FIX: Ensure telegram bot only responds to slash-commands (#94)
Co-authored-by: Froggy C <me@froggyc.eu>
2021-12-01 22:19: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
Discourse Translator Bot 8ade892b38
Update translations (#90) 2021-10-05 15:59:18 +02:00
David Taylor 2a477ea398
FIX: Update dashboard warning link to point to new chat-integration URL (#89)
https://meta.discourse.org/t/chat-integration-error-links-to-the-wrong-url/204977
2021-10-01 17:08:40 +01:00
discoursebot 368560d75a
DEV: Update CI workflows (#88)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 19:55:36 +02:00
Mark VanLandingham a8b7e9631b
DEV: Move admin namespace (#87) 2021-08-26 08:52:53 -05:00
dependabot[bot] e34998ed7d
Bump path-parse from 1.0.6 to 1.0.7 (#86)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 00:49:32 +02:00
Discourse Translator Bot 6652bd58c3
Update translations (#85) 2021-08-04 14:13:27 +02:00
Mark VanLandingham a73f5da114
Rename DiscourseChat to DiscourseChatIntegration (#82) 2021-07-13 14:36:16 -05:00
discoursebot c0bd802f78
DEV: Update CI workflows (#81)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-07-02 17:02:39 +02:00
Discourse Translator Bot 07f0ea5463
Update translations (#80) 2021-06-29 16:00:10 +02:00
dependabot[bot] f32ee34bca
Bump glob-parent from 5.1.1 to 5.1.2 (#79)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 13:56:26 +02:00
Discourse Translator Bot 065fdf2d1e
Update translations (#78) 2021-05-25 15:27:13 +02:00
Discourse Translator Bot 93b6c49779
Update translations (#77) 2021-05-18 15:09:28 +02:00
Penar Musaraj da2391e45d
DEV: Remove SCSS color vars fallbacks (#76) 2021-05-12 16:15:07 -04:00
dependabot[bot] 51e8bb29dd
Bump lodash from 4.17.20 to 4.17.21 (#75)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:22:11 +02:00
dependabot[bot] c33e705ad9
Bump handlebars from 4.7.6 to 4.7.7 (#74)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:48:40 +10:00
dependabot[bot] a1bd6031a9
Bump rexml from 3.2.4 to 3.2.5 (#73)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-02 17:09:32 +02:00
Discourse Translator Bot ec7cf1eade
Update translations (#72) 2021-04-27 15:47:40 +02:00
David Taylor cae4bf86fa
UX: Update button copy to replace 'Discourse' with 'Forum' (#71) 2021-04-22 21:12:56 +01:00
David Taylor 610364ff6d
FEATURE: Add support for slack message shortcuts for transcripts (#68)
Once configured, this adds a new item to the context menu of slack messages. When clicked, the menu item will generate a transcript and present the user with a custom "Post to Discourse" modal. This provides the same functionality as the existing slash-command interface, but is much more user friendly.
2021-04-22 18:50:11 +01:00
David Taylor 08e6718722
FEATURE: Improve formatting for Slack transcript messages (#70)
- Fix multi-line code blocks
- Add strikethrough support
- Fix HTML entities inside code blocks
- Do not process formatting inside code blocks
- Ensure links are never created with no URL
- Replace - with _ in emoji names
2021-04-22 18:49:21 +01:00
Discourse Translator Bot 23d65684f1
Update translations (#69) 2021-04-20 15:31:28 +02:00
Discourse Translator Bot db3ca002df
Update translations (#67) 2021-04-06 14:03:47 +01:00