Commit Graph

243 Commits

Author SHA1 Message Date
John Reese 87271649a2 Merge pull request #87 from dgw/readme-loading
Alternative to webadmin/controlpanel for user mode
2014-05-03 10:12:45 -07:00
dgw cbc578592f Alternative to webadmin/controlpanel for user mode
The LoadMod command accepts a --type= argument.

Also replaced a stray tab with spaces.
2014-05-03 12:36:49 -04: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
Rasmus Eskola 5b960484eb Document the usage of URL basic authentication options 2014-04-23 21:28:58 +03:00
John Reese 66420f3fc5 Merge pull request #86 from mrrcollins/rc-boxcar2
Added Boxcar 2 support
2014-04-23 10:28:42 -07: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 cf4f4cb868 Mention issues with libcurl in readme 2014-04-11 14:10:15 -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 e0e6ad28a0 Whitespace consistency 2014-04-11 13:39:53 -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 2e6849fdb7 Move rpm spec to contrib/ 2014-02-19 11:21:27 -08:00
John Reese 52d0f0daf3 Merge pull request #40 from renecunningham/master
rpm spec file
2014-02-19 11:18:24 -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
John Reese 326da4980b Merge pull request #72 from mrrcollins/faast
Add support for Faast
2014-02-19 11:13:00 -08:00
Erik Johnson 9f901a9caa Update README to reflect message_priority on NMA 2014-02-17 12:53:04 -06: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 535b36a470 Added Faast to the list of supported services 2014-02-10 20:57:39 -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
John Reese a16370fb63 Merge pull request #68 from RsrchBoy/topic/link-libcurl.so
ensure push.so is linked with libcurl properly
2014-01-27 18:15:35 -08:00
Chris Weyl 4cf7a22f24 ensure push.so is linked with libcurl properly
It looks as if the push module was not actually linking against the libcurl
shared library without these additional flags being passed.
2014-01-27 18:00:18 -08:00
John Reese 9fe9eaf052 Merge pull request #67 from syphernl/master
Add support for Airgram
2014-01-22 11:12:01 -08:00
Frank Klaassen f94083d669 Merge remote-tracking branch 'upstream/master'
Conflicts:
	README.md
2014-01-22 20:06:04 +01:00
John Reese 47b5c589ee Merge pull request #65 from rohandhruva/master
Add support for PushBullet device_iden
2014-01-22 10:51:18 -08: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 c9e3378cf7 Remove duplicate word 2014-01-22 00:41:01 -08:00
Rohan Dhruva b7804ade9c Add support for PushBullet device_iden in addition to device_id 2014-01-22 00:35:44 -08:00
John Reese 90594e0764 Merge pull request #60 from Reisen/master
Make nick highlights case insensitive.
2013-12-17 09:12:09 -08:00
Reisen 559ab6d5b9 Make nick highlights case insensitive. 2013-12-17 16:37:54 +00:00
John Reese 0c6de121df Merge pull request #59 from alok0/fix01
Fix unsigned/signed comparison warnings
2013-12-13 10:17:54 -08: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
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