Commit Graph

122 Commits

Author SHA1 Message Date
Mike Crute fbdd3608a1 Add Igloo support for second device 2021-05-05 21:54:22 -07:00
Mike Crute 9a23f6dfd0 Add Igloo push support 2021-05-03 01:40:14 +00:00
Philip T 15ac8cc3fb
Update Discord Webhook
the old domain will be shutdown November 7th, see https://github.com/discord/discord-api-docs/issues/1585
2020-10-03 00:18:41 +02:00
dgw 78d0385f95
Merge pull request #213 from Georgiy-Tugai/patch-1
Fix highlight match behaviour
2019-05-21 03:12:03 -04:00
Jonathan Herlin 321a166dca Remove code for NMA 2019-03-23 13:11:01 +01:00
dgw 601efce52c Add notice handling
* Update idle time when the user sends a notice
* Send incoming channel & private notices through the existing
  notification pipeline

Does not add any special handling of notices vs. regular PRIVMSGs or
ACTIONs; all three message types will appear the same.
2018-10-30 02:29:31 -05:00
John Reese d2cf0d3a95
Merge pull request #237 from raimue/message-escape
Add new option message_escape
2018-03-29 13:41:41 -07:00
Rainer Müller 11f0eb672e Add new option message_escape
Allow to escape the keyword replacements before they are put into
message_content with any of the ZNC supported formats. An unknown
value will leave the string unmodified.
2018-03-28 11:57:14 +02:00
Rainer Müller 904a784bd8 Check HTTP status code with libcurl
HTTP signals success with a 2xx status code. This assumes all services
return a code in this range for successful API requests.
2018-03-28 11:16:56 +02:00
phit f79e8ea8fb
small typo 2017-07-21 02:13:49 +02:00
phit 98a558cf56
added Discord support 2017-07-21 02:08:59 +02:00
dgw 3477d71f6f Don't crash when sending a push when user has no networks
Fixes #231
2017-06-29 04:34:57 -05:00
dgw d3637c4857 Tweak {message} to remove unexpected extra text
Resolves #226
2017-04-01 02:22:38 -04:00
Kevin Siml 333a401e79 Update push.cpp 2017-02-27 09:16:41 +01:00
Kevin Siml a432dbf449 Update push.cpp 2017-02-26 23:10:46 +01:00
Kevin Siml 31721d1eca Update push.cpp 2017-02-26 22:32:26 +01:00
John Reese ed0263249a Fix context filtering to case insensitivity 2017-01-09 12:53:05 -08:00
Georgiy Tugai e5b8fc0964 Fix highlight match behaviour
Documentation states that, in the 'highlight' field, both positive and negative matches terminate the search.
This patch brings znc-push's behaviour in line with said documentation.
2016-12-14 01:53:30 +10:30
John Reese b552972820 Revert "Fix pushbullet device_iden parameter." 2016-10-12 14:09:53 -07:00
dgw 645f0fe555 Airgram has vanished from the face of the Internet
See #205.
2016-09-23 03:32:42 -05:00
Wen-chien Jesse Sung c01d078806 Support telegram
Signed-off-by: Wen-chien Jesse Sung <jesse@cola.voip.idv.tw>
2016-07-27 15:34:44 +08:00
Fabien Wernli d49837056e Fix libcurl implementation when using query params
Query parameters were silently dropped
Fixes #195
2016-04-01 14:53:44 +02:00
Naine d749141f17 Fix my previous fix. 2016-02-19 17:04:59 +11:00
John Reese aaa148feb5 Merge pull request #191 from jesopo/master
Fix pushbullet device_iden parameter.
2016-02-18 19:11:13 -08:00
jesopo 8a5b59058a changed pushbullet's device identity parameter from device_iden to target_device_iden.
Signed-off-by: jesopo <github@lolnerd.net>
2016-02-18 15:38:43 +00:00
Naine 9361dd7a23 Rename variable in highlight()
Rename "push" to "negate_match" and reverse its values to better reflect its new purpose.
2016-02-18 15:36:40 +11:00
Naine aebf9460d9 Fix negative matching/filtering
Previously, the highlight function returned true immediately upon finding any match, without checking whether any negative matches should be preventing the match.
2016-02-17 13:01:01 +11:00
shodan 769fb80c48 Add Pushjet support 2015-11-20 18:58:51 -08:00
Lars Kellogg-Stedman 4087133a5e change handling of embedded version information
rather than modifying push.cpp as part of the built process, this
passes in a version string on the command.  This is a little cleaner
(it does not lead to false changes in push.cpp) and makes it easier for a
packager to provide explicit version information, e.g., by passing in
version information to make:

    make version=`lars-test'
2015-09-28 21:54:35 -04:00
Akinori MUSHA 6788a63ff5 Do not send proxy info to external services
Currently proxy options are passed to make_curl_request() via the
`params` parameter, so they are sent to external services for no good
reason.  This commit fixes it by adding proxy parameters to the
function.
2015-08-28 18:36:06 +09:00
John Reese a949deddc3 Merge pull request #168 from omnidan/network-blacklist
network-blacklist option
2015-07-30 13:02:56 -07:00
Mathieu Poussin e9fc5a9589 Add pushalot support 2015-07-14 03:25:52 -04:00
Daniel Bugl 18cbe2d61b implement network_blacklist 2015-07-05 23:15:40 +02:00
ggrog 1a6ee99f54 Add context filter 2015-03-25 22:57:12 -05:00
Sergey Lukjanov b0db56e0f0 Add title to the text itself and make it bold 2015-02-26 13:21:01 +03:00
Sergey Lukjanov 3512238b09 Add slack.com support using incoming webhooks 2015-02-22 01:51:12 +03:00
Erhan Justice ff4518cad8 Added better error checking for target 2014-10-15 18:33:15 -07:00
Erhan Justice 79572136ef Added nexmo service instructions 2014-10-15 18:29:13 -07:00
Erhan Justice ea6e9190ed Added support for nexmo SMS service 2014-10-15 18:14:29 -07:00
John Reese d29ce3be2a Fix #114: revert proxy change that breaks w/o libcurl 2014-09-02 12:08:06 -07:00
John Reese aac08a1430 Merge pull request #112 from creesch/patch-1
Pushbullet: use type "link" when message_uri is set
2014-08-28 12:00:07 -07:00
Joel Goguen b9995692e8 Add explicit proxy support when using libcurl.
The appropriate *_proxy environment variables aren't always detected properly
by libcurl. This allows manually setting the proxy when this happens, and
disabling SSL certificate verification if the proxy requires it.
2014-08-28 11:52:40 -07:00
creesch 2246fb0399 Pushbullet use type "link" when message_uri is set 2014-08-27 10:28:14 +02:00
Joel Goguen bf63856fb7 Add support for airgram authenticated service 2014-08-20 10:07:36 -07:00
Kyle Clemens 7ba914d660 Fixed: Show who messages come from 2014-06-17 01:03:19 -04:00
Richard Schwab 0317a26ec7 Add {network} for keyword expansion 2014-05-30 22:50:18 +02:00
John Reese 8c814bfacc Fix #91: Update pushbullet to api v2 2014-05-16 11:44:37 -07:00
John Reese 055fc3981d Reindent 2014-05-16 11:44:30 -07:00
John Reese 4fc6d45458 Merge pull request #85 from FruitieX/fruitiex/url_improvements
URL service improvements:
2014-04-23 16:35:33 -07:00
Rasmus Eskola c73f4d55be URL service: enable HTTP basic auth if either username or secret is set
Update documentation accordingly.
2014-04-23 21:33:12 +03:00