4c3562ea0f
alerts: Added Slack mrkdwn support in alert messages ( #7202 )
2017-09-01 14:50:13 +01:00
d5ba013a8a
refactor: Updated and added more options for http proxy support ( #4718 )
2016-10-13 20:07:07 -05:00
c0a0faba9a
formatting error
2016-07-19 15:20:48 -07:00
cf9432330e
Change slack format to attachment style
...
As documented here: https://api.slack.com/docs/message-attachments
This change also makes things compatible with simple HTML templates by using strip_tags() on the template output.
2016-07-19 15:15:07 -07:00
9e1cbff8ed
Send Slack alerts as pure json
...
Now works with mattermost as well as slack
Set the Content-type header application/json
Removed extraneous code that was urlencoding some apparently unused data ($api)
Removed "payload=" from the alert messsage as it is not proper json
2016-05-13 13:15:38 -05:00
5115095d8f
Give slightly more information on Transport API failure.
2016-03-23 17:01:06 +00:00
4c1e4326d4
Removed <?php from files
2015-07-15 21:25:10 +01:00
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
a41f0922a2
Added a few missing characters
2015-05-27 09:35:52 +02:00
c1c520d781
Removing POST / GET code as slack only uses POST
2015-02-28 11:45:30 +00:00
06bf9cd95e
Removed debug line!
2015-02-27 15:26:13 +00:00
92b069bff1
Final updates (hopefully) for slack transport
2015-02-27 15:23:14 +00:00
4f48346d56
Added slack transport agent
2015-02-27 12:10:34 +00:00