Commit Graph

434 Commits

Author SHA1 Message Date
Neil Lalonde d56188e90e Transifex integration 2017-12-07 17:42:46 -05:00
Vinoth Kannan 8168c717a8 Return help text if message text is unavailable 2017-12-06 13:07:45 +05:30
Joshua Rosenfeld 2ca3fb1d21
Remove thumb_url from Rocket.Chat
Results in broken thumbnail appearing in all posts.
2017-11-30 09:56:47 -05:00
David Taylor da9ee8dcb5 Fix mattermost icon selection 2017-11-27 16:14:43 +08:00
David Taylor 5f555849e5 Replace `render nothing: true` with a JSON response. This has the added benefit of showing a “loading” message (#12)
render:nothing was producing an error 500 for some reason
2017-11-27 16:08:19 +08:00
David Taylor b69abe3913 Include attachments in message selection dropdowns (#13)
* Include attachments in message selection dropdowns

* DRY up message attachment string generation

* Add specs for attachments in UI
2017-11-27 16:07:54 +08:00
David Taylor 6ed0deedf8 Don’t load responses to threads (#14)
* Don’t load responses to threads

* Add test case for ignoring threaded messages

* Appease rubocop
2017-11-27 16:07:25 +08: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
Sam a217ca928f
Merge pull request #11 from majakomel/flowdock
Add notification support for Flowdock
2017-11-14 19:00:37 +11:00
Guo Xiang Tan 2c9cdb2ed3 Remove unnecessary logging. 2017-11-09 08:27:10 +08:00
Guo Xiang Tan 0cdb1d6538 FIX: Old channel may be invalid. 2017-10-20 20:21:02 +08:00
Maja Komel 7889691cdb fix rubocop offenses 2017-10-17 12:21:36 +02:00
Maja Komel 92d6a6ba0e Add notification support for Flowdock 2017-10-16 16:44:21 +02:00
David Taylor c766a9cae9 FIX: client-side channel validation (#10) 2017-10-15 22:25:02 +08:00
David Taylor f1d42b5dd4 Unhide slack icon URL (#9) 2017-10-11 22:14:09 +08:00
Guo Xiang Tan 0e52edd1fd FIX: Ensure that user exists before migrating. 2017-10-10 15:12:10 +08:00
Guo Xiang Tan 6bbac0a1e9 Maintain backwards compatibility with existing slash command. 2017-10-10 13:30:44 +08:00
Guo Xiang Tan ba883e0af4 Move specs to the right folder. 2017-10-10 13:09:25 +08:00
Guo Xiang Tan 2b74fe0767 Remove unnecessary extension. 2017-10-10 13:01:46 +08:00
Guo Xiang Tan b19550502e Fix the build. 2017-10-10 12:56:48 +08:00
Guo Xiang Tan 1f6bb6db1c Mark transcript as experimental first. 2017-10-10 12:23:21 +08:00
Guo Xiang Tan 5d11f443c0 REFACTOR: No need for `return` at end of each method. 2017-10-10 12:02:27 +08:00
Guo Xiang Tan efddfe1d9b Minor refactor. 2017-10-10 10:08:26 +08:00
Guo Xiang Tan 2e69d6a934 FIX: Properly migrate settings from `discourse-slack-official`. 2017-10-04 15:03:23 +08:00
Guo Xiang Tan eb6575fd44 Fix plugin after I broke it while refactoring. 2017-10-03 22:49:19 +08:00
Guo Xiang Tan 44ade676e1 Fix JS tests. 2017-10-03 18:11:58 +08:00
Guo Xiang Tan f836047f90 REFACTOR: Clean up code in plugin. 2017-10-03 17:42:07 +08:00
Guo Xiang Tan aa4d169c0e Add some basic tests for migrating discourse-slack-official job. 2017-10-03 16:33:20 +08:00
Guo Xiang Tan 5cfa7f913d Don't migrate categories that do not exists anymore. 2017-10-03 16:33:07 +08:00
Guo Xiang Tan 1a3928b803 More improvements to migration script. 2017-10-03 15:41:27 +08:00
Guo Xiang Tan 2d6737ce5c REFACTOR: Remove hardcoded base `KEY_PREFIX`. 2017-10-03 15:35:44 +08:00
Guo Xiang Tan d77afa4c98 Remove self-explaintory comment. 2017-10-03 15:31:38 +08:00
Guo Xiang Tan 530e715588 STYLE: Shorten long lines. 2017-10-03 15:30:38 +08:00
Guo Xiang Tan f6e9fe9eb7 Remove dev dugging commands. 2017-10-03 15:16:09 +08:00
Guo Xiang Tan b33fb671f2 Filter out invalid tags when migrating. 2017-09-28 17:27:20 +08:00
Guo Xiang Tan 435b1cc9b5 Refactor plugin. 2017-09-28 16:32:38 +08:00
Guo Xiang Tan b0708c1aac Make sure we run the migrations in a transaction. 2017-09-28 16:19:12 +08:00
Guo Xiang Tan 49f58ec190 Fix tests to work with Rails 5.1. (#8) 2017-09-25 11:06:27 +08:00
David Taylor 47a6a89e5a Defer processing of transcripts to avoid timeouts 2017-09-15 23:12:02 +01:00
David Taylor 6a976c4d66 Remove thumb_url from Mattermost, and restore accidental deletion from Slack 2017-09-09 23:08:45 +01:00
David Taylor 438a9d92fe Remove incorrect thumb_url from mattermost 2017-09-09 21:07:07 +01:00
David Taylor 92e22d65da Fix onceoff job to only run when slack is installed 2017-09-07 22:45:54 +01:00
David Taylor 1e52671c03 Add once-off job to migrate from discourse-slack-official 2017-09-04 13:58:09 +01:00
David Taylor 2251afbac0 Smart_create_rule should only use ‘normal’ rules 2017-09-04 13:14:15 +01:00
Guo Xiang Tan 16c5607fa4 Use `before_action` instead of `before_filter` for Rails 5.1 compatibility. 2017-09-04 10:44:32 +08: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
David Taylor 9d99f5659a Adjust gitter regex 2017-08-31 01:51:28 +01:00
David Taylor 9f327e74e8 Merge pull request #7 from JafethDC/gitter
Add notifications support for Gitter
2017-08-31 01:48:44 +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