Commit Graph

471 Commits

Author SHA1 Message Date
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
dependabot[bot] 9fd0f52192
Bump y18n from 4.0.0 to 4.0.1 (#66)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 10:03:26 +02:00
discoursebot 198469ee77
DEV: Update CI workflows (#62)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-03-18 16:30:04 +11:00
Robin Ward 8c166e1b06 Revert "Add username and fullname for formatting (#65)"
This reverts commit 7f5ef4f8f5.
2021-03-16 10:27:14 -04:00
Gökhan Gurbetoğlu 7f5ef4f8f5
Add username and fullname for formatting (#65)
Added username and fullname to make them usable in the custom formatting for the posts.
2021-03-15 11:19:05 -04:00
Discourse Translator Bot 74b5e2fa77
Update translations (#64) 2021-03-02 15:28:01 +01:00
David Taylor 4261814162
FIX: Improve error handling for slack transcript generation (#63)
- Stop using `break` in a block - it doesn't work. The failure here was hidden because it was within a `defer` block, so would not cause a server error
- Refactor the error handling so that the error is passed back to Slack and displayed to the user
- Return specific error messages for user / message-history / message errors
- Tidy up the SlackCommandController to make all non-requestable methods private
- Add a test to ensure error messages are passed correctly to Slack
2021-03-01 19:07:31 +00: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
Discourse Translator Bot 6beefdb49d
Update translations (#60) 2021-02-09 14:50:01 +01:00