Commit Graph

14 Commits (9df04739329db72be59d862fcf57435ad8d37c95)

Author SHA1 Message Date
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