Commit Graph

336 Commits

Author SHA1 Message Date
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
Discourse Translator Bot 30fc9d9d6e
Update translations (#59) 2021-02-02 14:37:10 +01:00
David Taylor aaf077d8f2
UX: Style fixes for rule/channel modals (#58) 2021-01-26 20:33:15 +00:00
David Taylor 13fea5b803
FEATURE: Google Chat integration (#57) 2021-01-26 20:33:03 +00:00
David Taylor 00ec1f486a
FIX: Relax validation for teams webhook urls to support custom domains (#56) 2021-01-26 17:45:49 +00:00
Discourse Translator Bot 39edff4db4
Update translations (#55) 2021-01-26 14:50:26 +01:00
discoursebot 9549822b5c
DEV: Update CI workflows (#53)
Co-authored-by: justindirose <justindirose@users.noreply.github.com>
2021-01-04 14:11:12 -06:00
Roman Rizzi ac90815bdc
REFACTOR: Use the new format for acceptance tests. (#52) 2020-12-30 15:51:57 -03:00
Discourse Translator Bot f4cce75b3a
Update translations (#51) 2020-12-29 13:05:42 +00:00
Discourse Translator Bot e9b3041feb
Update translations (#50) 2020-12-15 13:34:28 +00:00
Mathieu Trudel-Lapierre 0c0e86b772
FEATURE: Add support for Webex Teams (#49) 2020-12-11 09:43:03 +00:00
Osama Sayegh 4c9553725d
DEV: Delete Travis config file (#48) 2020-12-01 10:15:55 +03:00
Discourse Translator Bot e52783559e
Update translations (#47) 2020-11-24 17:23:08 +01:00
Discourse CI 7216cb0319 DEV: Update CI workflows 2020-11-15 16:09:39 +00:00
David Taylor 1dc753771b
FIX: Update telegram webhook correctly and remove old code (#46)
The `site_setting_changed` event passes the setting name as a symbol, not a string. This commit also removes the backwards-compatible `site_setting_saved` event, which was deprecated in 2.3.0.
2020-11-02 16:58:29 +00:00
Discourse CI 69a08f5e34 DEV: Update CI workflows 2020-10-14 16:27:47 +00:00
Discourse Translator Bot 30fa6595f7 Update translations 2020-10-13 15:13:40 +02:00
Discourse CI 2335e80403 DEV: Update CI workflows 2020-10-12 08:16:49 +00:00
Discourse CI 0376aa9a2b DEV: Update CI workflows 2020-10-09 19:03:16 +00:00
Discourse CI b11414a516 DEV: Update CI workflows 2020-10-09 16:15:00 +00:00
Discourse CI 4d9b789d57 DEV: Update CI workflows 2020-10-09 15:09:41 +00:00
Discourse Translator Bot 2fa3a0ab70
Update translations (#44) 2020-10-06 14:12:10 +01:00
jjaffeux d5808f4e9a FIX: these are not spe and dont have response.parsed_body 2020-09-25 21:08:28 +02:00
jjaffeux d483f4ae5a DEV: s/JSON.parse(response.body)/response.parsed_body 2020-09-25 20:47:30 +02:00
Justin DiRose 77f3077d62
DEV: Add plugin testing workflow 2020-09-25 13:07:08 -05:00
Justin DiRose 2ea757790b
DEV: Add linting workflow 2020-09-25 13:06:55 -05:00
jjaffeux 51d3cc93cb DEV: linting 2020-09-22 17:11:12 +02:00
Discourse Translator Bot 964c282931 Update translations 2020-09-22 13:02:27 +00:00
Discourse Translator Bot ac31f1dac0 Update translations 2020-09-16 10:16:20 +00:00
Discourse Translator Bot 787142253f Update translations 2020-09-15 13:02:23 +00:00
Discourse Translator Bot ff85581094 Update translations 2020-09-09 14:58:21 +00:00
Joffrey JAFFEUX 9327e705cf
DEV: apply coding standards (#43) 2020-09-04 13:23:28 +02:00
Discourse Translator Bot ebb190d5e6 Update translations 2020-08-18 13:01:25 +00:00
David Taylor bb4143a695
FIX: Allow discord.com webhook URLs 2020-08-18 00:34:59 +01:00
David Taylor fd51671991
DEV: Remove trailing whitespace 2020-08-14 19:24:05 +01:00
David Taylor bdca153a09
FIX: Send new topic Slack notifications to the correct thread
This applies when topics are created using the slack transcript feature, and there is a rule configured with filter=thread
2020-08-14 19:15:02 +01:00