Commit Graph

59 Commits

Author SHA1 Message Date
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
John Reese 5225d4327f Fix #46: Remove notifo support (R.I.P.)
Notifo has finally died, so there's no reason to keep its code around
any longer.  It's probably also safe to remove the section from the
readme about migrating from the old notifo module that has been gone for
over a year now.
2013-08-27 16:46:40 -07:00
John Reese f6e4801c93 Add support for versioning
When building znc-push with the makefile, it will modify the
PUSHVERSION define with version info from `git describe`, build the
module, and then reset PUSHVERSION back to "dev".  When building
directly from znc-buildmod, this will ensure the version is always just
"dev".

A matching command -- `version` -- has been added to the module which
will simply echo the value of PUSHVERSION at the time of compilation.
2013-07-31 17:35:53 +00:00
John Reese 080c767aae Update text when setting pushover service 2013-07-31 16:33:52 +00:00
Jake Watkins be540b540c Remove hardcoded pushover app key; use username/secert for user/token instead 2013-07-30 10:25:46 -07:00
John Reese d3d76bf9c4 Don't display quotes in get command 2013-07-03 10:59:48 -07:00
thealok@gmail.com 49d8bb3a0a Cleanup and update docs 2013-05-09 22:35:54 -04:00
thealok@gmail.com 128f727b83 Add support for PushBullet
https://www.pushbullet.com/
2013-05-02 21:35:36 -04:00
thealok@gmail.com 0c223ab07f fix tabbing 2013-05-02 21:29:39 -04:00
John Reese ec3eb61a94 Readme cleanup and message option reorg 2013-04-29 13:03:45 -07:00
John Reese b56b1cb401 Add support for Pushover message priorities 2013-04-29 12:57:58 -07:00
Ming Tang 060451b02a added support for message_uri titles via "message_uri_title" option for Pushover. 2013-03-01 13:58:03 -08:00
Ming Tang 9182bfdb96 reorganized configuration section of docs and default options of module.
docs and default options should now be properly aligned.
2013-03-01 12:30:28 -08:00
Ming Tang a021d55010 reordered notification settings for default options so that user's can
set message_sound and message_uri on module load
2013-03-01 12:23:48 -08:00
Ming Tang 480ee7baa8 changed "sound" option name to the more specific "message_sound" name 2013-03-01 11:02:42 -08:00
Ming Tang 79774d694b added support for notification sounds with Pushover API 2013-03-01 10:47:32 -08:00
Dan Parsons 11c0e3a634 Changed from <nick> to [nick] in OnChanMsg
Boxcar and other apps delete strings inside <> like IRC nicks, so changed to [nick] from <nick>
2013-02-12 17:55:38 -08:00
John Reese 7114eea23a Use message_uri for URL service rather than target 2013-01-09 15:01:51 -08:00
John Reese 1c612d6922 Fix #25: add support for custom urls using get requests 2013-01-09 14:26:54 -08:00
John Reese a65def9f38 Add string replacement to message title and content to match url 2013-01-09 14:14:45 -08:00
John Reese e41034374d Add correct forms for using ExpandString in highlight checks
This adds the feature intended for revision fa46469, but using the format
found in the core ZNC perform module.  This patch is verified to compile
against ZNC 1.0.
2013-01-02 15:03:41 -08:00
John Reese d52af3483e Revert "add using ExpandString"
This commit is reportedly causing compilation issues against ZNC 1.0.

This reverts commit fa46469662.
2013-01-02 13:05:02 -08:00
Daniel Wallace fa46469662 add using ExpandString
this allows you to add to your highlights something like %nick% so if
you are /nicked to something else you can still get highlights
or any other ExpandStrings
2012-12-22 02:18:26 -05:00
Daniel Wallace e80d02ab0b Get the number of clients on the network
using the size of GetUserClients wasn't working for me
2012-10-26 11:31:04 -07:00
Daniel Wallace e1540e455c Fix #9: fix namespacing issues for map and string 2012-10-26 11:31:04 -07:00
John Reese 1dc2a13f66 Remove legacy version handling 2012-10-26 11:31:04 -07:00
Ed Kellett 10c8fb41ff Fix #3: Fix compatibility with 0.207 dev builds 2012-10-26 11:31:04 -07:00
John Reese 80cd975377 Fix #18: Respond Ok to silent commands that don't error 2012-10-26 11:30:43 -07:00
cbenard 25cf019163 Removed #ifdef include since it doesn't actually work. Added URI for Pushover. 2012-10-24 17:59:17 -05:00
cbenard dae1940dd8 Modified to compile under znc-msvc (ZNC for Windows): http://code.google.com/p/znc-msvc/ 2012-10-24 16:50:23 -05:00
John Reese ea8c52e766 Fix #6: Add 'target' option to support Pushover devices 2012-07-25 16:22:10 -07:00
John Reese 58e24cf331 Fix #4: Add support for Pushover service 2012-07-23 22:07:28 -07:00
Travis La Marr 8379d9b27e Fix #1: Add support for Supertoasty push service 2012-07-23 19:33:15 -07:00
John Reese cb427730e4 Use ints to be compatible with ZNC <= 0.094 2012-03-04 13:03:07 -08:00
John Reese fedb687397 Experimental support for subscribe command
Issue #228
2012-01-09 00:34:37 -05:00
Steven Moazami 0754a2b744 Fix connection hangs when talking to Boxcar service
Signed-off-by: John Reese <john@noswap.com>
2011-12-15 12:49:46 -05:00
John Reese 54340cb90e Import FileUtils.h to fix builds on v0.200+
Fixes #227
2011-10-06 19:20:44 -04:00
John Reese dd432247f8 Added support for the Notify My Android service
Issue #226
2011-10-06 14:54:17 -04:00