Commit Graph

15 Commits

Author SHA1 Message Date
Jim Ladd
4e9ec271c5 Refactor notification backends to use CustomNotificationBase 2019-10-29 11:24:13 -04:00
Jim Ladd
6cd6a42e20 Render default notifications using Jinja templates 2019-10-29 11:24:13 -04:00
Jim Ladd
7bf250ecfa show default messages in options 2019-08-24 20:37:59 -07:00
Romain Brucker
cdc6096515 fixing indent 2017-09-28 11:37:07 -05:00
Romain Brucker
31e559b6a1 Checking if color is not None before setting it to lowercase 2017-09-28 11:33:45 -05:00
Romain Brucker
1bb72cc680 Adding a check to see if the color is 'None' before lowercasing it for @matburt 2017-09-28 11:15:14 -05:00
Romain Brucker
e67549e4a1 Changing the color option for hipchat to always be lowercase (expected by the API)
Signed-off-by: Romain Brucker <romain.brucker@amalto.com>
2017-09-26 11:32:05 -05:00
Matthew Jones
9fe6453b1c Refactor Notification backend for tower -> awx 2017-07-26 13:33:30 -04:00
Matthew Jones
8553b8eda6 Ignore hipchat certificate verification 2017-02-14 14:21:51 -05:00
sundeep-co-in
d7b3b90f4d update strings 2016-10-25 16:12:41 +05:30
Matthew Jones
9ba98d9cac Rename channels to rooms for hipchat notifications 2016-05-17 15:33:22 -04:00
Matthew Jones
4b1493f456 Fixing up some unicode issues 2016-02-23 15:26:29 -05:00
Matthew Jones
ab3669efa9 Refactor message generator
* Job object can now control the output and generate K:V output for
  notification types that can support it
* Notifications store the body as json/dict now to encode more
  information
* Notification Type can further compose the message based on what is
  sensible for the notification type
* This will also allow customizing the message template in the future
* All notification types use sane defaults for the level of detail now
2016-02-22 17:09:36 -05:00
Matthew Jones
7abcb6e306 Add webhook notification backend 2016-02-10 17:03:57 -05:00
Matthew Jones
34ebe0a848 Pagerduty and Hipchat backends plus some cleanup 2016-02-10 15:17:11 -05:00