Toshio Kuratomi
65eba72ee6
Get hipchat, sns, and typetalk notification modules compiling on py3 ( #2782 )
2016-08-24 08:40:31 -07:00
Adrian Likins
9d705a4208
Expect 204 status when using hipchat v2 api.
...
When posting to the room notication api with hipchat
v2 api, the expected return code is 204, as per:
https://www.hipchat.com/docs/apiv2/method/send_room_notification
fixes #2143
2016-05-04 07:27:17 +02:00
Michael Scherer
fa65f4dc2b
Mark token as no_log, since that's used for auth ( #2011 )
2016-04-12 10:27:18 -04:00
Brian Beggs
ed35159702
hipchat api v2 rooms are now url escaped
2016-04-06 17:07:03 -04:00
Zach Abrahamson
d738eb2fed
Wrapping room parameter in a string in case of using room IDs
2015-12-15 21:11:41 -05:00
Brian Coca
27bf193483
added missing license headers
...
fixes #508
2015-07-30 14:48:59 -04:00
Nando Vieira
439bccc286
Use correct variable name.
2015-07-27 01:45:03 -03:00
Igor Khomyakov
bbb578ac59
fix user notification for v2 api
...
`notify` parameter is not working as expected for hipchat API v2.
2015-07-02 14:17:56 +03:00
Toshio Kuratomi
4b29146c4d
be explicit about urllib import and remove conditional urllib(2) import
...
urllib and urllib2 have been in the python stdlib since at least
python-2.3. There's no reason to conditionalize it.
Fixes https://github.com/ansible/ansible/issues/11322
2015-06-19 09:01:08 -07:00
Paul Bourdel
9c0cf447bd
removing unnecessary white space
2015-05-15 15:57:10 -05:00
Paul Bourdel
aa93ff944a
fixing grammar on error message
2015-05-15 15:56:06 -05:00
Paul Bourdel
452a590af8
adding author username
2015-05-15 15:54:53 -05:00
Paul Bourdel
98e3ee36b7
adding new line to end of file
2015-05-15 15:54:07 -05:00
Paul Bourdel
0a1784736c
adding check for module.check_mode to v2 message method
2015-05-15 15:46:08 -05:00
Paul Bourdel
f5afe50d79
Merge branch 'devel' of https://github.com/ansible/ansible-modules-extras into feature/Upgrade-To-HipChat-V2-API
2015-05-15 15:45:06 -05:00
Paul Bourdel
6719cbc5a2
Rewriting to use default ansible http libraries.
2015-05-15 15:37:40 -05:00
Greg DeKoenigsberg
a5ea6a611b
Adding author's github id
2015-05-13 22:04:56 -04:00
Jean-Fred Berthelot
f0508fa30e
Add check_mode support to HipChat module
...
The HipChat module declares to support check_mode,
but the message is sent in any case.
With this, if executed in check mode, the module will exit
before actually sending the message to HipChat.
It will return changed=False, as per the convention
for notifications modules.
2015-05-11 12:26:30 +01:00
Paul Bourdel
0fbce5f9dd
Changing from v1 to v2 hipchat api format.
2015-05-10 19:39:26 -05:00
HPLogsdon
c622c54e9e
Fix typo in hipchat notification failure message.
...
Wish it could be more substantial, but alas, it's just a typo in a string.
2015-03-19 17:11:42 -06:00
Michael DeHaan
b1e789968b
File extensions!
2014-09-26 10:40:16 -04:00