Commit graph

180 commits

Author SHA1 Message Date
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
955bf92ff8 Add version_added to the subtype parameter 2015-06-25 06:53:28 -07:00
Arnaud Dematte
f1e3260b3f Update mail.py to allow html content
Adding parameter subtype to allow html based content. The default behavior of text/plain has been preserved.
2015-06-24 12:14:56 +02:00
Toshio Kuratomi
dd6e8f354a Modify a few more modules to not conditionalize urllib(2) import. 2015-06-19 09:07:04 -07: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
Brian Coca
35a4e70dee minor fixes 2015-06-19 11:00:58 -04:00
Brian Coca
95434149d3 Merge pull request #199 from bkimble/devel
added hall.com notification module
2015-06-17 12:39:26 -04:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
David Siefert
3bd19b8ea0 Adding support for setting the topic of a channel 2015-06-16 11:33:16 -04:00
Brian Coca
eec8dca006 added copyright/license info to modules I had missed 2015-06-16 11:33:13 -04: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
Toshio Kuratomi
88eff11c04 Many more doc fixes 2015-05-15 12:12:26 -07:00
Brian Coca
08445418aa more string corrections 2015-05-14 10:45:32 -04:00
Brian Coca
9dd4e07fe9 Merge pull request #492 from willybarro/pushbullet-module-py26
Fix pushbullet compatibility with python 2.6
2015-05-14 09:33:46 -04:00
Brian Coca
edf519a0c2 moar quotes 2015-05-14 09:37:00 -04:00
Willy Barro
b1cbbcef4a Fix pushbullet compatibility with python 2.6
Remove dict comprehension usage.
2015-05-14 10:19:56 -03:00
Greg DeKoenigsberg
380a1ddf04 Adding author's github id 2015-05-13 23:47:03 -04:00
Greg DeKoenigsberg
0d20c00314 Adding author's github id 2015-05-13 23:46:11 -04:00
Greg DeKoenigsberg
173f06ea18 Adding author's github id 2015-05-13 23:45:01 -04:00
Greg DeKoenigsberg
5180a64745 Adding author's github id 2015-05-13 23:44:25 -04:00
Greg DeKoenigsberg
aefba2c00a Adding author's github id 2015-05-13 22:35:13 -04:00
Greg DeKoenigsberg
43465e1af2 Adding author's github id 2015-05-13 22:32:52 -04:00
Greg DeKoenigsberg
27e5950fd0 Adding author's github id 2015-05-13 22:31:48 -04:00
Greg DeKoenigsberg
79d7cdecd8 Adding author's github id 2015-05-13 22:30:09 -04:00
Greg DeKoenigsberg
9b051b8a96 Adding author's github id 2015-05-13 22:27:43 -04:00
Greg DeKoenigsberg
7c51f6f891 Adding author's github id 2015-05-13 22:11:22 -04:00
Greg DeKoenigsberg
ee5363930f Adding author's github id 2015-05-13 22:10:17 -04:00
Greg DeKoenigsberg
c5ec2e2f24 Adding author's github id 2015-05-13 22:09:07 -04:00
Greg DeKoenigsberg
51b1c843bb Adding author's github id 2015-05-13 22:08:00 -04:00
Greg DeKoenigsberg
a5ea6a611b Adding author's github id 2015-05-13 22:04:56 -04:00
Greg DeKoenigsberg
7cf6900008 Adding author's github id 2015-05-13 22:03:04 -04:00
Greg DeKoenigsberg
c3db70df10 Adding author's github id 2015-05-13 22:01:52 -04:00
Greg DeKoenigsberg
612ba118e0 Adding author's github id 2015-05-13 21:58:23 -04:00
Brian Coca
d035c1dd99 Merge pull request #226 from willybarro/pushbullet-module
Add pushbullet module
2015-05-13 20:01:27 -04:00
Willy Barro
a4232d657d Handle invalid api key and general api errors on pushbullet
pushbullet.py module has changed it's API and return types
so we're now handling these exceptions.
2015-05-13 20:45:50 -03:00
Willy Barro
318983ee53 Replace manual option check to mutually_exclusive AnsibleModule option
Also return the message "OK" when in check mode to use the same
message as the original success return.
2015-05-13 19:27:41 -03:00
Willy Barro
7ef07893ad Remove changed=True from pushbullet module
By convention, notification modules should not return changed=True
2015-05-13 19:27:38 -03:00
dhutty
33b845a14f Additional example, not using local_action 2015-05-12 12:43:33 -04:00
Brian Coca
a9910c7de5 Merge pull request #423 from JeanFred/hipchat-checkmode
Add check_mode support to HipChat module
2015-05-11 14:52:12 -04:00
Matt Martz
265fefd7ec Give pushover a .py file extension 2015-05-11 09:58:07 -05:00
Matt Martz
e568032bc3 Fix up modules that have python24 syntax error 2015-05-11 09:51:48 -05: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
Brian Coca
18711b32a9 Merge pull request #218 from wkf/patch-1
Allow sending direct messages with slack module
2015-05-08 15:00:26 -04:00