Commit Graph

71 Commits (4d50f557bd00c4de067785ad486d765ba85818c7)

Author SHA1 Message Date
Brian Coca deb36b00d0 added missing license headers fixes #508 2016-12-08 11:33:06 -05:00
Brian Coca 3acb084902 clarified xmpp lib to use 2016-12-08 11:33:06 -05:00
Toshio Kuratomi 6d1679c47f Use fetch_urls code to do basic auth instead of our own i nthe twilio module 2016-12-08 11:33:05 -05:00
Toshio Kuratomi 1fe074c2b2 Port twilio to fetch_url 2016-12-08 11:33:05 -05:00
Toshio Kuratomi 6ac750f174 Port typetalk to fetch_url 2016-12-08 11:33:05 -05:00
Toshio Kuratomi 91ed01d73e Port sendgrid to fetch_url 2016-12-08 11:33:05 -05:00
Nando Vieira 236b2d5c0d Use correct variable name. 2016-12-08 11:33:03 -05:00
Toshio Kuratomi 4fb7a2821a Use the correct module param names to pass user/pass 2016-12-08 11:33:02 -05:00
Toshio Kuratomi bb0082a67d Port campifre to fetch_url 2016-12-08 11:33:02 -05:00
Brian Coca 71aba1cd51 fixed decriptions to be lists 2016-12-08 11:33:01 -05:00
Rene Moser 56d095cd4d irc: remove version_added for nick option, should have been nick_to option 2016-12-08 11:32:59 -05:00
Brian Coca 1a8c6d552c make token no_log in slack plugin 2016-12-08 11:32:59 -05:00
René Moser 4d3126d8b3 irc: add version_added to new option nick 2016-12-08 11:32:58 -05:00
Adrian Muraru 586aacbd84 Implemented comments 2016-12-08 11:32:58 -05:00
Adrian Muraru 6052b718e1 Add option to send a private message in irc module 2016-12-08 11:32:58 -05:00
Igor Khomyakov 3f697919ef fix user notification for v2 api
`notify` parameter is not working as expected for hipchat API v2.
2016-12-08 11:32:58 -05:00
Toshio Kuratomi 7415accaa4 Add version_added to the subtype parameter 2016-12-08 11:32:54 -05:00
Arnaud Dematte b653b2d0fe Update mail.py to allow html content
Adding parameter subtype to allow html based content. The default behavior of text/plain has been preserved.
2016-12-08 11:32:54 -05:00
Toshio Kuratomi 5afc244147 Modify a few more modules to not conditionalize urllib(2) import. 2016-12-08 11:32:52 -05:00
Toshio Kuratomi 16bd2c7357 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
2016-12-08 11:32:52 -05:00
Billy Kimble c2ff48bfe1 added hall.com notification module 2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
David Siefert 09c5efb5b8 Adding support for setting the topic of a channel 2016-12-08 11:32:49 -05:00
Brian Coca 25f423e42f added copyright/license info to modules I had missed 2016-12-08 11:32:46 -05:00
Paul Bourdel e00df23070 removing unnecessary white space 2016-12-08 11:32:40 -05:00
Paul Bourdel 2177ff1546 adding author username 2016-12-08 11:32:40 -05:00
Toshio Kuratomi 4f07e8b256 Many more doc fixes 2016-12-08 11:32:40 -05:00
Brian Coca d344a3fde3 more string corrections 2016-12-08 11:32:39 -05:00
Willy Barro bab763de89 Fix pushbullet compatibility with python 2.6
Remove dict comprehension usage.
2016-12-08 11:32:39 -05:00
Brian Coca 2753cd186a moar quotes 2016-12-08 11:32:39 -05:00
Willy Barro c19a892dd0 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.
2016-12-08 11:32:39 -05:00
Willy Barro 8a9d932c94 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.
2016-12-08 11:32:39 -05:00
Willy Barro b3e061ee7a Remove changed=True from pushbullet module
By convention, notification modules should not return changed=True
2016-12-08 11:32:39 -05:00
Willy Barro 2274568008 Add pushbullet module 2016-12-08 11:32:39 -05:00
dhutty d0afdd0f5d Additional example, not using local_action 2016-12-08 11:32:37 -05:00
Jean-Fred Berthelot ae5fed65f2 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.
2016-12-08 11:32:36 -05:00
Matt Martz 7fae20f112 Give pushover a .py file extension 2016-12-08 11:32:36 -05:00
Matt Martz 8bd5757720 Fix up modules that have python24 syntax error 2016-12-08 11:32:36 -05:00
Paul Bourdel a03da8d592 Rewriting to use default ansible http libraries. 2016-12-08 11:32:36 -05:00
Paul Bourdel ca28acd07a Changing from v1 to v2 hipchat api format. 2016-12-08 11:32:36 -05:00
Will f6de67e17f Allow sending direct messages with slack module 2016-12-08 11:32:35 -05:00
Joe Ray a91c8caee0 Import boto.ec2 in sns to allow boto profiles to be used 2016-12-08 11:32:35 -05:00
Matt Jaynes 6662b9ccef Remove mentions of 'msg' alias 2016-12-08 11:32:34 -05:00
Matt Jaynes 94f581b83a Document 'msg' param and fix examples
The 'msg' alias for 'subject' isn't in the documentation, so adding it.

In the gmail example, it uses both the 'subject' and 'msg' params, but 'msg' is an alias of 'subject', so you are essentially declaring the same param twice. If you use this example, then no subject is sent (I tested with gmail). Documentation example is updated to use 'body' as intended.

Also, updated the simple example to use 'subject' instead of the 'msg' alias since it is more explicit.
2016-12-08 11:32:34 -05:00
Matthew Makai 065b2fe309 updating main for loop based on @abadger code review 2016-12-08 11:32:33 -05:00
Matthew Makai 6db9b2beda fixing typo in documentation 2016-12-08 11:32:33 -05:00
Matthew Makai dbb50a62ef updating twilio module to optionally support MMS 2016-12-08 11:32:33 -05:00
Matthew Makai 9d1a52e902 updating twilio module docs and making it possible to send to a list of phone numbers 2016-12-08 11:32:33 -05:00
Matthew Makai 1ce89d9f17 updating sendgrid module based on code review by @abadger 2016-12-08 11:32:33 -05:00
Matthew Makai cbb5689e91 adding sendgrid module to extras 2016-12-08 11:32:33 -05:00