Commit Graph

96 Commits

Author SHA1 Message Date
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
Ryan Collins 5f919beaa3 Added Boxcar 2 support 2014-04-23 09:49:48 -04:00
Rasmus Eskola 14f0012b12 url service improvements:
- support POST method at user's preference
- support basic HTTP auth (uses "user" and "secret" for
  username/password)
2014-04-21 20:32:28 +03:00
John Reese 9d7e6ea8f2 Remove support for deprecated PushBullet API
This also moves the call to Base64Encode, which fixes #70 by
preventing a double-encoding of the auth string when building with
support for libcurl instead of csocket.  The base64 encoding is now done
in the csocket request, where it is still required to operate correctly.
2014-04-13 11:48:06 -07:00
John Reese 84cf52fdf1 Extra debug output 2014-04-13 11:48:06 -07:00
John Reese 038bcd2b13 Add support for loading push as a user module
Loading as a user module will require either the webadmin or
controlpanel module, as ZNC Push will retain the current behavior
of loading as a network module by default.

Fixes #79
2014-04-11 13:46:51 -07:00
John Reese 20d3f021b9 Merge pull request #69 from RsrchBoy/topic/add-debug-stmts
additional debug statements for pushes
2014-02-19 11:34:29 -08:00
John Reese d614b57c0e Merge pull request #73 from terminalmage/nma-message-priority
Pass message_priority to NMA
2014-02-19 11:16:00 -08:00
John Reese 5b4ea7d028 formatting cleanup from #72 2014-02-19 11:13:19 -08:00
Erik Johnson 50fc3481c6 Pass message_priority to NMA since it is supported
This allows for message priority to be supported in NMA.
2014-02-17 12:50:48 -06:00
Chris Weyl f80b2b8869 drop template line...
Oops!
2014-02-16 12:11:48 -08:00
Ryan Collins ea84b14304 Added the message_uri parameter to the faast server. You can set it to your irc app, like colloquy:// and Faast will open Colloquy when you select it 2014-02-14 17:34:14 -05:00
Ryan Collins cfa606ab05 * Added support for the Faast app (http://faast.io) for iOS
* Fixed the URL link for the logo for SuperToasty
2014-02-10 20:49:08 -05:00
Chris Weyl e57779b88c additional debug statements for pushes
...because pushbullet is defying me!
2014-01-28 15:38:10 -08:00
Frank Klaassen f94083d669 Merge remote-tracking branch 'upstream/master'
Conflicts:
	README.md
2014-01-22 20:06:04 +01:00
Frank Klaassen f2ba291fc7 Add support for Airgram
Airgram requires a POST over HTTPS, which is not possible with the "url" service so it has been introduced as a service on its own.
2014-01-22 19:47:33 +01:00
Rohan Dhruva 79a13d9cbf Minor word fix 2014-01-22 00:50:07 -08:00
Rohan Dhruva b7804ade9c Add support for PushBullet device_iden in addition to device_id 2014-01-22 00:35:44 -08:00
Reisen 559ab6d5b9 Make nick highlights case insensitive. 2013-12-17 16:37:54 +00:00
alok d01ecd8cea Use difftime to do time_t math
This avoid any assumptions of what the underlying time_t type is.
2013-12-12 23:15:26 -05:00
alok 19e07776a6 Fix unsigned/signed comparison warnings 2013-12-11 23:10:03 -05:00
Tomaz Muraus 3fcc729746 Include module version in the User-Agent header. 2013-11-17 17:51:56 +01:00
Tomaz Muraus bb512f60c3 Make sure server SSL certificate is also validated when using older versions of
cuRL by setting CURLOPT_SSL_VERIFYPEER to 1.

For explicitness sake, also explicity set CURLOPT_SSL_VERIFYHOST option
to a default value of 2.
2013-11-17 17:51:17 +01:00
dgw 976295bc6f Fix pushbullet
Pushbullet gives a misleading error if the client uses
www.pushbullet.com instead of api.pushbullet.com. Whatever
the reason, using the correct hostname fixes it.
2013-11-15 09:44:48 -05:00
John Reese 6ed1610ebd Add debug option when using libcurl 2013-11-14 12:08:35 -08:00
John Reese 77ce3e8c1a Add support for using curl instead of CSocket
When compiling with USE_CURL defined, znc push will use libcurl for
making http requests instead of ZNC's builtin CSocket library.  This
enables some advanced features, such as supporting HTTP proxies for
outbound requests.

Currently, building with curl support requires running the following:

    make curl=yes clean install

libcurl must already be installed and accessible by default.  Otherwise,
it is up to the user to populate CXXFLAGS with the appropriate values so
that znc-buildmod can appropriately find and link libcurl to the module.
2013-10-28 17:01:32 -07:00
Ingmar Runge 2b01e63d0b consistently use time_t and size_t 2013-10-26 11:00:33 +02:00