SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.03k stars 1.23k forks source link

[Request] Please add push module to ZNC. #1521

Closed iruyanka closed 9 years ago

iruyanka commented 9 years ago

http://humanoids.be/log/2014/11/install-znc-synology-diskstation/

Get fitting ZNC Installation Package

Depending which version of ZNC and the push module (or custom modules) you want, you will have to create the package yourself. But don’t worry, as long as your custom modules you want to add to ZNC aren’t too complex this is just a matter of typing some commands on a linux system. If you do not need Pushbullet push functionality you might be just fine with the pre-built packages available.

https://github.com/jreese/znc-push

Please add pushbullet module to ZNC. I want to notification by pushbullet. I do not know how to install the module.

Thanks for the ZNC package!

iruyanka commented 9 years ago

http://wiki.znc.in/Compiling_modules

NAS> znc-buildmod push.cpp -ash: znc-buildmod: not found

How to Compiling a module?

iruyanka commented 9 years ago

http://wiki.znc.in/Push

Official project page: https://github.com/jreese/znc-push

ZNC Push is a module for ZNC that will send notifications to multiple push notification services, or SMS for any private message or channel highlight that matches a configurable set of conditions. ZNC Push supports multiple push services, including Boxcar, Pushover, and PushBullet.

You can get this module's source code and documentation at the github project page. You should also read compiling modules.

iruyanka commented 9 years ago

push.cpp Add title to the text itself and make it bold, latest commit : 16 days ago

Please add latest Push module.

Dr-Bean commented 9 years ago

Push is already included in the ZNC package. Maybe it's caused because it's a bit outdated. When I get to updating ZNC, I'll take a look at it.

iruyanka commented 9 years ago

Dr-Bean Thank you.

[14/23:57:09] <*push> NOT using libcurl

Please the available libcurl.

[14/23:57:09] send test [14/23:57:09] <_push> service: pushbullet [14/23:57:09] <_push> service_host: api.pushbullet.com [14/23:57:09] <_push> service_url: /v2/pushes [14/23:57:09] <_push> service_auth: auth: [14/23:57:09] <_push> use_port: 443 [14/23:57:09] <_push> use_ssl: 1 [14/23:57:09] <_push> use_post: 1 [14/23:57:09] <_push> NOT using libcurl [14/23:57:09] <_push> Building notification to api.pushbullet.com/v2/pushes... [14/23:57:09] <_push> User-Agent: ZNC Push/dev [14/23:57:09] <_push> Authorization: Basic Authorization [14/23:57:09] <_push> Query string: body=test&device_iden=target&title=New+Message&type=note [14/23:57:09] <_push> Request sending [14/23:57:09] <_push> Ok [14/23:57:10] <_push> Status: 200 [14/23:57:10] <_push> Message: OK [14/23:57:10] <_push> Data: X-Ratelimit-Limit: 16384 [14/23:57:10] <_push> Data: X-Ratelimit-Remaining: 16380 [14/23:57:10] <_push> Data: X-Ratelimit-Reset: 1426345902 [14/23:57:10] <_push> Data: Content-Type: application/json; charset=utf-8 [14/23:57:10] <_push> Data: Date: Sat, 14 Mar 2015 14:57:10 GMT [14/23:57:10] <_push> Data: Server: Google Frontend [14/23:57:10] <_push> Data: Cache-Control: private [14/23:57:10] <_push> Data: Connection: close [14/23:57:10] <_push> Data: [14/23:57:10] <_push> Disconnected.

Dr-Bean commented 9 years ago

Updated the module with 831a7b18fc0f15370d6ebeb4527a18edfd20594c.