Toshio Kuratomi
65eba72ee6
Get hipchat, sns, and typetalk notification modules compiling on py3 ( #2782 )
8 years ago
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
9 years ago
Michael Scherer
fa65f4dc2b
Mark token as no_log, since that's used for auth ( #2011 )
9 years ago
Brian Beggs
ed35159702
hipchat api v2 rooms are now url escaped
9 years ago
Zach Abrahamson
d738eb2fed
Wrapping room parameter in a string in case of using room IDs
9 years ago
Brian Coca
27bf193483
added missing license headers
...
fixes #508
9 years ago
Nando Vieira
439bccc286
Use correct variable name.
9 years ago
Igor Khomyakov
bbb578ac59
fix user notification for v2 api
...
`notify` parameter is not working as expected for hipchat API v2.
10 years ago
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
10 years ago
Paul Bourdel
9c0cf447bd
removing unnecessary white space
10 years ago
Paul Bourdel
aa93ff944a
fixing grammar on error message
10 years ago
Paul Bourdel
452a590af8
adding author username
10 years ago
Paul Bourdel
98e3ee36b7
adding new line to end of file
10 years ago
Paul Bourdel
0a1784736c
adding check for module.check_mode to v2 message method
10 years ago
Paul Bourdel
f5afe50d79
Merge branch 'devel' of https://github.com/ansible/ansible-modules-extras into feature/Upgrade-To-HipChat-V2-API
10 years ago
Paul Bourdel
6719cbc5a2
Rewriting to use default ansible http libraries.
10 years ago
Greg DeKoenigsberg
a5ea6a611b
Adding author's github id
10 years ago
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.
10 years ago
Paul Bourdel
0fbce5f9dd
Changing from v1 to v2 hipchat api format.
10 years ago
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.
10 years ago
Michael DeHaan
b1e789968b
File extensions!
10 years ago