Commit Graph

113 Commits

Author SHA1 Message Date
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
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
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
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 13fea5b803
FEATURE: Google Chat integration (#57) 2021-01-26 20:33:03 +00:00
Discourse Translator Bot 39edff4db4
Update translations (#55) 2021-01-26 14:50:26 +01: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
Discourse Translator Bot e52783559e
Update translations (#47) 2020-11-24 17:23:08 +01:00
Discourse Translator Bot 30fa6595f7 Update translations 2020-10-13 15:13:40 +02:00
Discourse Translator Bot 2fa3a0ab70
Update translations (#44) 2020-10-06 14:12:10 +01: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
Discourse Translator Bot ebb190d5e6 Update translations 2020-08-18 13:01:25 +00:00
Discourse Translator Bot d93fea8206 Update translations 2020-08-11 13:02:07 +00:00
Discourse Translator Bot f48df632cb Update translations 2020-08-05 13:25:16 +00:00
Ahmed Gagan fa5ef22262
FEATURE: Support for Microsoft Teams webhooks (#42) 2020-07-29 17:20:02 +01:00
Neil Lalonde ecaec7b33e
Update translations 2020-06-24 11:40:52 -04: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
Gerhard Schlager b2daff34eb DEV: Use consistent interpolation key format in translations 2020-06-02 19:21:30 +02:00
Neil Lalonde 080a0b916e
Update translations 2020-05-27 16:53:55 -04:00
Tosin Sonuyi ccbc41428b
GroupMe added as Provider (#36)
* adds groupme configuration and relative

* first pass at groupme provider

* add group id site setting w/ english translation

* rework to use bots groupme api intstead of developer, no access tokens reqd

also should catch 404 response codes

* add strings to locale yml files for i18n

* better error handling for multi-bot case

* add channel param for separate Groupme instances, include name in errorbody

* bugfix for multi bot msg forwarding

this gives us the ability to treat diff groupme instances like slack channels, lots of people use them this way for better or worse. use case is certain category posts only go to a particular GM instance

* add spec for groupme provider

* fix channel param constraint

* specify channels by groupme name, not bot api token

* fix some linting issues w/ spacing

* newline and trailing space lint fixes
2020-05-11 15:10:37 -04:00
Neil Lalonde ad3e73c964
Update translations 2020-05-04 10:49:19 -04:00
Neil Lalonde 898fc6a080 Update translations 2020-02-25 10:32:48 -05:00
Neil Lalonde 7c2d265d69 Update translations 2020-02-13 15:05:10 -05:00
Neil Lalonde 15cbd16937 Update translations 2020-01-20 11:21:05 -05:00
Neil Lalonde f023574194 Update translations 2019-12-19 12:50:10 -05:00
Neil Lalonde bf6f66ada8 Update translations 2019-11-06 10:46:15 -05:00
Neil Lalonde 5236720825 Update translations 2019-10-10 11:25:36 -04:00
Raimundo Herrera 695d56a3dd FEATURE: support for slack custom username (#22)
* FEATURE: support for slack custom username

* make slack username setting backwards compatible

* fix slack username behavior when empty string
2019-09-11 10:08:40 -04:00
Neil Lalonde 32877ce8f8 Update translations 2019-07-15 14:01:20 -04:00
Neil Lalonde a148aacd98 Update translations 2019-06-17 13:57:25 -04:00
Neil Lalonde d19004a216 Update translations 2019-06-10 10:39:13 -04:00
Neil Lalonde 3c030c8fbf Update translations 2019-05-30 11:31:31 -04:00
David Taylor bf30b755cf Remove HipChat integration
As of February 15th, HipChat has been declared end-of-life. For more information, see https://community.atlassian.com/t5/Stride-articles/Stride-and-Hipchat-Cloud-have-reached-End-of-Life-updated/ba-p/940248
2019-04-15 17:56:01 +01:00
Neil Lalonde 28b4195467 Update translations 2019-04-05 10:13:40 -04:00
Neil Lalonde 56d11903c0 Update translations 2019-03-04 10:16:43 -05:00
Neil Lalonde b674247fc0 Update translations 2019-01-31 16:36:15 -05:00
Tisza Gergő bf1939f08d FEATURE: Add Matrix option for using plain text instead of notice (#25)
Notices are problematic on certain IRC clients and lead to bans
if the Matrix channel is bridged to IRC.
2018-12-28 23:44:43 +00:00
Neil Lalonde d3a0c16a2c Update translations 2018-11-29 11:06:57 -05:00
Gerhard Schlager c9ff8d8cb6 FIX: Relative links in translations should work with subfolder 2018-11-07 23:26:36 +01:00
Neil Lalonde e6ed0480d8 Update translations 2018-09-10 14:00:37 -04:00
Neil Lalonde 2b5d1d75f8 Update translations 2018-08-23 09:47:29 -04: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