Commit Graph

205 Commits

Author SHA1 Message Date
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
John Reese 2a5242b139 Merge pull request #57 from Kami/specify_curl_ssl_options_update_readme
Force older versions of cURL to verify server SSL certificate, update readme, add module version to the User-Agent header
2013-11-17 10:39:06 -08:00
Tomaz Muraus f579d64076 Update readme. 2013-11-17 18:32:00 +01: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
John Reese 7b9129caca Merge pull request #56 from dgw/master
Fix pushbullet
2013-11-15 09:23:56 -08: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
John Reese 103933f492 Merge pull request #53 from KiNgMaR/master
consistently use time_t and size_t
2013-10-26 16:13:24 -07:00
Ingmar Runge 2b01e63d0b consistently use time_t and size_t 2013-10-26 11:00:33 +02:00
John Reese d2941c7e17 Merge pull request #52 from ericduran/patch-1
Minor type-o
2013-10-18 10:26:32 -07:00
Eric J. Duran 9f74d17897 Minor type-o 2013-10-18 13:12:38 -04:00
John Reese b0f35781e7 Set up service-specific docs
Clean up new pushover docs from wolfdancer; import screenshots directly
into repo; move non-readme docs into doc; etc.
2013-09-09 11:36:32 -07:00
Shane Duan 897541a328 added section for pushover 2013-09-06 18:36:03 -07:00
John Reese b4952f277e Fix #49: Bundle ZNC logo as used on Pushover.net 2013-09-03 08:58:52 -07: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 97791061a7 Update build version to flag a dirty working copy
When building with a dirty working copy, that should be made clear in
the build version.  This avoids building from a dirty working copy based
directly from a tag, where it's not obvious that the build contains
local modifications that have not been committed.
2013-08-27 16:45:39 -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
Rene Cunningham 21e29845a6 - bumped znc requires to 1.0.
- removed tabs.
2013-07-13 09:49:42 +10:00
Rene Cunningham f506f1c7bd rpm spec file which produces a znc-push rpm. builds on rhel6, centos6 and fedora19. 2013-07-10 15:09:48 +10:00
John Reese 8be77b27be Add waffle.io badge to readme 2013-07-03 11:07:13 -07:00
John Reese d3d76bf9c4 Don't display quotes in get command 2013-07-03 10:59:48 -07:00
John Reese 3e13fe55f9 Merge pull request #35 from alok0/master
Support for PushBullet
2013-05-09 21:01:13 -07:00
thealok@gmail.com 49d8bb3a0a Cleanup and update docs 2013-05-09 22:35:54 -04:00
John Reese f6939e3ad5 Merge pull request #36 from bkerensa/patch-1
Update README.md
2013-05-03 16:19:40 -07:00
Benjamin Kerensa 73dc732dd4 Update README.md
znc-build does not exist but znc-buildmod does.
2013-05-03 15:39:29 -07: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
John Reese e7fd72248d Merge pull request #33 from mingtang/master
Pushover Message URL Title Support
2013-03-01 14:29:09 -08: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
John Reese dae170524c Merge pull request #32 from mingtang/master
Pushover Sound Support
2013-03-01 13:16:41 -08:00
Ming Tang 5f41d4a3d3 Removed section about loadmodule defaults 2013-03-01 13:06:45 -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 98d422c854 re-ordered notifications settings doc 2013-03-01 12:25:57 -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 28908b6eb6 more formatting tweaks 2013-03-01 11:19:49 -08:00
Ming Tang 2870283369 added more formatting changes 2013-03-01 11:18:52 -08:00
Ming Tang a7f852f3da tweaked format 2013-03-01 11:16:52 -08:00
Ming Tang e7443d6392 updated wording for footnote 2013-03-01 11:14:54 -08:00
Ming Tang c6b60892ef tweaked README for a more exclipit description of the loadmod function 2013-03-01 11:11:57 -08:00
Ming Tang 9a3bb732c2 adding documentation for Pushover's sound support in README.md 2013-03-01 11:08:45 -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
John Reese 66a06d465c Merge pull request #29 from danparsons/master
Changed from <nick> to [nick] in OnChanMsg
2013-02-12 18:40:35 -08:00