David Taylor
f1df1f5234
Fix discord avatar URL
2017-07-31 14:47:27 +01:00
David Taylor
5a4faa637f
Add matrix support
2017-07-27 17:09:44 +01:00
David Taylor
dac2dd3b25
Fix slack transcript spec
2017-07-26 20:04:46 +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
8ca4797797
Add transcript posting support to slack
2017-07-24 16:43:37 +01:00
David Taylor
0d9b251030
Allow telegram to send notifications to ‘broadcast channels’
2017-07-21 19:12:31 +01:00
David Taylor
701e246ad2
Support slash commands in telegram group chats
2017-07-21 17:55:33 +01:00
David Taylor
b5e2741214
Add discord support
2017-07-21 15:48:57 +01:00
David Taylor
970c38c7fe
Add telegram specs
2017-07-19 21:26:16 +01:00
David Taylor
4422f14c6d
Move slash command specs into helper_spec
2017-07-19 18:22:50 +01:00
David Taylor
ebb6fa947d
Update slack provider to deal with new channel structure
2017-07-13 23:21:15 +01:00
David Taylor
b04b5c22dd
Refactor specs to match new directory structure
2017-07-13 14:01:30 +01:00
David Taylor
56da3639ab
Use real ActiveRecord for the “Rule” model by extending the PluginStoreRow class.
...
This gives us all the activerecord awesomeness for free, like validations, safe form params etc.
2017-07-12 18:28:45 +01:00
David Taylor
ba484dc9a1
Move ‘dummy provider’ logic into a shared context, to allow for use by multiple specs
2017-07-10 18:19:59 +01:00
David Taylor
52b8e3f3a6
Remove unneeded comments
2017-07-07 11:51:19 +01:00
David Taylor
95dd6bc09c
Add error handling to the slack API requests, and associated tests
2017-07-07 11:23:25 +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
527063aed0
Add helper function for deleting rules
2017-07-06 21:36:50 +01:00
David Taylor
aa6430e23e
Add helper method to intelligently create new rules (avoiding duplicates)
2017-07-06 01:11:26 +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
95344c348f
Allow filtering of rules by channel
2017-07-05 22:38:53 +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
0547543a1d
Add server-side validation to rules
2017-07-03 17:38:13 +01:00
David Taylor
1c416d5a81
Allow providers to be disabled, and tidy up translations
2017-07-03 15:53:26 +01:00
David Taylor
4643ad255c
Rename plugin to discourse-chat-integration
2017-07-03 11:08:14 +01:00
David Taylor
b824773a8a
Add tests for SlackProvider
2017-06-30 16:39:19 +01:00
David Taylor
4ad9ad6a7a
Move lib files inside a discourse_chat directory, and make the notifications run on a delay after post creation
2017-06-30 11:10:11 +01:00