Commit Graph

71 Commits

Author SHA1 Message Date
Ryan Collins 5f919beaa3 Added Boxcar 2 support 2014-04-23 09:49:48 -04: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
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