Commit Graph

103 Commits (5128a11cdca479590605c52ee5dd4155e5de68ab)

Author SHA1 Message Date
P Stark 0349fcd894 add type declaration to the port parameter of the irc module. #AnsibleZH (#2349) 2016-12-08 11:34:19 -05:00
Adrian Likins a66a0187d1 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-12-08 11:34:11 -05:00
Michael Scherer d79c427722 Set api_key as no_log, since that's likely something that should be kept private (#2038) 2016-12-08 11:34:06 -05:00
Michael Scherer 7c19002f34 Fix arguments for pushover module
Since user_key and app_token are used for authentication, I
suspect both of them should be kept secret.

According to the API manual, https://pushover.net/api
priority go from -2 to 2, so the argument should be constrained.
2016-12-08 11:34:06 -05:00
Michael Scherer 1d1fba5476 Mark token as no_log, since that's used for auth (#2011) 2016-12-08 11:34:05 -05:00
Michael Scherer 7a704ac600 Auth_toekn is a secret, shouldn't be logged (#1999) 2016-12-08 11:34:04 -05:00
Brian Beggs 75b172c706 hipchat api v2 rooms are now url escaped 2016-12-08 11:34:04 -05:00
Michael Scherer 817335ae0d Client_secret is supposed to be kept secret, so mark it as no_log (#1995) 2016-12-08 11:34:03 -05:00
Michael Scherer e7e1a8bfea Avoid token leak by marking it as sensitive with no_log (#1966) 2016-12-08 11:34:03 -05:00
Michael Scherer b8706a1f95 Do not leak mail password by error 2016-12-08 11:34:03 -05:00
Michael Scherer 0dd3296ddd Mark password as 'no_log', to avoid leaking it 2016-12-08 11:34:03 -05:00
Michael Scherer 3b79c1621b Prevent password leaks in notification/irc 2016-12-08 11:34:03 -05:00
Michael Scherer 67b2623e92 Use no_log=True for campfire module to avoid leaks 2016-12-08 11:34:03 -05:00
Michael Scherer f2bf444395 Set no log for jabber.py password 2016-12-08 11:34:03 -05:00
Toshio Kuratomi 7a686ab6d8 U() markings in pushover docs should remain but need to be uppercased.
pri description needs to be a list.
2016-12-08 11:33:49 -05:00
Baptiste Mille-Mathias 1c3bbfe767 remove unicode prefix and correct text in table
Remove the unicode prefix displayed before the url pushover.net
Attempt to correct the text in the table which appear vertically.
2016-12-08 11:33:48 -05:00
Toshio Kuratomi 255c4b01a8 Remove duplicate documentation fields 2016-12-08 11:33:46 -05:00
quoing 6f782c342f Fix 'An error occurred while looking up _xmpp-client._tcp.10.100.1.108' when IP host is configured
...
    jabber: user=ansible@mydomain.tld
            host=10.100.1.108
...

fatal: [bruce.mess.cz] => failed to parse: Invalid debugflag given: always
Invalid debugflag given: nodebuilder
2016-12-08 11:33:40 -05:00
Zach Abrahamson 7d072140b3 Wrapping room parameter in a string in case of using room IDs 2016-12-08 11:33:40 -05:00
Jonathan Davila 66569ab725 Sendgrid docs fix 2016-12-08 11:33:34 -05:00
Jonathan Mainguy c277a8b191 Added style= and more colors. 2016-12-08 11:33:34 -05:00
Brian Coca 577566139f fixed undefined msg and now actually return something meaningful fixes #1127 2016-12-08 11:33:29 -05:00
Ramon de la Fuente 1d09eaf6d0 updated the examples to the new Slack API 2016-12-08 11:33:26 -05:00
Ramon de la Fuente 918012a42f module guidelines compliency 2016-12-08 11:33:26 -05:00
Stefan Berggren aeb1090542 Add attachments support to slack module. 2016-12-08 11:33:26 -05:00
Brian Coca 1426c3ba02 added missing GPL licences fixes #508 2016-12-08 11:33:26 -05:00
Matt Martz a87cf4967e sys.exit removal for notification/mail.py 2016-12-08 11:33:25 -05:00
Michael J. Schultz 6b6aeefa7b sns: remove BabyJSON 2016-12-08 11:33:24 -05:00
kovacsbalu a034f19a41 Use push_type and send link with push_link. 2016-12-08 11:33:23 -05:00
Jonathan Mainguy 1b7b7a2578 Adds part=false feature to irc module. This allows people to use a faux bot without part/dconns between messages, tested using a user logged into znc as our faux bot, defaults to old style of part/dconn if part= not specified 2016-12-08 11:33:21 -05:00
baba c230c66324 Fix missing parameter in typetalk module 2016-12-08 11:33:17 -05:00
Toshio Kuratomi 7434c48d9d Switch from httplib to fetch_url 2016-12-08 11:33:07 -05:00
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