Commit Graph

156 Commits

Author SHA1 Message Date
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
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
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
Neil Lalonde 956f3993fe Update translations 2018-05-31 15:30:30 -04:00
Neil Lalonde 3c84180b5e Update translations 2018-04-24 10:30:53 -04:00
Neil Lalonde 3b033bcd16 Update translations 2018-03-07 14:17:52 -05:00
Neil Lalonde a039c7c484 Update translations 2018-01-31 11:13:31 -05:00
Neil Lalonde 805cd762df Update translations 2018-01-03 13:26:44 -05:00
Neil Lalonde 37bc7eccff Update translations 2017-12-29 16:40:13 -05:00
SidV a41ebcf225 Fix typos (#16) 2017-12-20 22:13:22 +08:00
Neil Lalonde 2afc86d568 Add new languages 2017-12-12 11:35:06 -05:00
Guo Xiang Tan e22a7e38b8 UX: Move site settings under its own tab.
https://meta.discourse.org/t/chatroom-integration-plugin-discourse-chat-integration/66522/88
2017-11-27 16:05:25 +08:00
Maja Komel 92d6a6ba0e Add notification support for Flowdock 2017-10-16 16:44:21 +02:00
Guo Xiang Tan 1f6bb6db1c Mark transcript as experimental first. 2017-10-10 12:23:21 +08:00
David Taylor 47a6a89e5a Defer processing of transcripts to avoid timeouts 2017-09-15 23:12:02 +01:00
David Taylor 1fa228b68c Add site setting to allow adding “content” to Discord messages
This can include ‘mentions’ such as `@everyone`
2017-09-01 21:03:31 +01:00
jafethdc e90d65f5d5 Add notifications support for Gitter 2017-08-30 18:11:06 -05:00
David Taylor 5ea6553236 Add support for Rocket.Chat 2017-08-23 16:43:27 +01:00
David Taylor 9b229b63f9 Use generic messages API for Zulip
It is now available to bots, so there is no need for the custom discourse endpoint any more :)
2017-08-23 12:36:11 +01:00
David Taylor e3f09d8eb5 Add Zulip support 2017-08-21 23:34:04 +01:00
David Taylor 148dd8df6b Tidy up Slack provider implementation 2017-08-21 15:28:37 +01:00
David Taylor 12f3b96e02 Improve slack transcript posting UI with message buttons 2017-08-04 00:47:04 +01:00
David Taylor 7c3f58de41 Update display of group rules in admin UI 2017-08-01 20:12:42 +01:00
David Taylor 01d7fb47ef Display group rules correctly in slash commands 2017-08-01 19:16:47 +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 4b2e8af711 Backend support for group pms 2017-07-31 14:51:03 +01:00
David Taylor 092f05d566 Fix locale indentation 2017-07-28 15:04:17 +01:00
David Taylor 5a4faa637f Add matrix support 2017-07-27 17:09:44 +01:00
David Taylor 5c93b7792c Add ‘view on slack’ link to transcripts 2017-07-26 19:51:44 +01:00
David Taylor e733c2564f Add mattermost slash command support 2017-07-26 13:09:05 +01:00
David Taylor 61a4fd2c23 Add Mattermost support 2017-07-25 22:14:48 +01:00
David Taylor c51e8ec3b5 Add HipChat support 2017-07-24 19:22:19 +01:00
David Taylor 858533a788 ‘Deprecate’ the webhook slack integration method (for now) 2017-07-24 17:44:01 +01:00
David Taylor 8ca4797797 Add transcript posting support to slack 2017-07-24 16:43:37 +01:00
David Taylor b5e2741214 Add discord support 2017-07-21 15:48:57 +01:00
David Taylor 7371c2ef72 Tidy up language strings 2017-07-20 12:07:40 +01:00
David Taylor bf0b645f31 Add site setting language strings 2017-07-19 17:41:08 +01:00
David Taylor 509e7bc997 Add telegram slash commands 2017-07-19 17:28:36 +01:00
David Taylor 2e94f23fbe Add Telegram provider.
Does not yet support slash commands, and is without tests.
2017-07-19 16:28:02 +01:00
David Taylor 5d18e1e444 Update language strings for new error message 2017-07-18 23:15:56 +01:00
David Taylor bdb81191d7 New admin interface for improved channel definitions 2017-07-18 16:17:03 +01:00
David Taylor f001320574 Add integration tests for slack ‘slash commands’
Adapted from existing slack plugin
2017-07-06 23:30:27 +01:00
David Taylor 062aa8d875 Add create/delete rule functionality to the slack ‘slash commands’ 2017-07-06 21:42:37 +01:00
David Taylor e4ff1997c8 Add a helper class for common provider functionality
Initially implemented a ‘status_for_channel’ function, based on the existing slack plugin
2017-07-05 23:00:58 +01:00
David Taylor aaaffdf371 Add ‘send test message’ functionality to the admin interface 2017-07-04 23:35:45 +01:00
David Taylor d97d35fd0d Handle errors on trigger_notification
Providers can define their own errors, and these are presented in the user interface. e.g. Slack can define an error that says “That channel doesn’t exist”.
Errors in the UI disappear once a message has been sent successfully, or the rule is edited.
2017-07-04 19:37:56 +01:00
David Taylor 4be010fd07 Allow providers to specify a regex that the channel identifier is checked against during validation 2017-07-04 00:14:01 +01:00
David Taylor 444e380ca1 Tidy up admin user interface 2017-07-03 22:11:17 +01:00