Commit Graph

298 Commits

Author SHA1 Message Date
Jared 4f69d4874d
Makefile - Escape version a bit more
Closes #212
2018-08-26 14:21:09 -04:00
John Reese d2cf0d3a95
Merge pull request #237 from raimue/message-escape
Add new option message_escape
2018-03-29 13:41:41 -07:00
John Reese ca66f397ba
Merge pull request #236 from raimue/curl-result
Check HTTP status code with libcurl
2018-03-29 13:39:29 -07:00
Rainer Müller 8291d4ee92 Document message_escape option
Also add a configuration example for the Telegram service.
2018-03-28 11:57:14 +02:00
Rainer Müller 11f0eb672e Add new option message_escape
Allow to escape the keyword replacements before they are put into
message_content with any of the ZNC supported formats. An unknown
value will leave the string unmodified.
2018-03-28 11:57:14 +02:00
Rainer Müller 904a784bd8 Check HTTP status code with libcurl
HTTP signals success with a 2xx status code. This assumes all services
return a code in this range for successful API requests.
2018-03-28 11:16:56 +02:00
John Reese e077fd97db Merge pull request #235 from Stonebound/feature/discord
added discord.gg support via webhook
2017-07-21 19:21:08 -04:00
phit f79e8ea8fb
small typo 2017-07-21 02:13:49 +02:00
phit 98a558cf56
added Discord support 2017-07-21 02:08:59 +02:00
John Reese ad20898554 Merge pull request #233 from dgw/safe-blank-user
Don't crash when sending a push when user has no networks
2017-06-29 20:25:54 -07:00
dgw 3477d71f6f Don't crash when sending a push when user has no networks
Fixes #231
2017-06-29 04:34:57 -05:00
AConsolePeasant aa4c576a2b Small README.md Improvments (#230)
* Add Setup Guides to README.md

Seriously, I setup all of the telegram thing wrong because the guide isn't in the readme :\

* Reverting changes from before, updating installation

* remove extra lines

They were blank.

* remove extra space

holy crap
2017-06-01 10:14:38 -07:00
John Reese dcb1939b85 Merge pull request #227 from dgw/issue-226
Tweak {message} to remove unexpected extra text
2017-04-03 16:35:31 -07:00
dgw d3637c4857 Tweak {message} to remove unexpected extra text
Resolves #226
2017-04-01 02:22:38 -04:00
John Reese 27dbd7e628 Merge pull request #222 from appzer/master
add Pushsafer notification service
2017-03-03 10:00:36 -08:00
Kevin Siml 1cbc4f1357 Update README.md 2017-02-27 14:17:46 +01:00
Kevin Siml 333a401e79 Update push.cpp 2017-02-27 09:16:41 +01:00
Kevin Siml a432dbf449 Update push.cpp 2017-02-26 23:10:46 +01:00
Kevin Siml 4bf46901fa Update README.md 2017-02-26 23:08:47 +01:00
Kevin Siml 31721d1eca Update push.cpp 2017-02-26 22:32:26 +01:00
John Reese ed0263249a Fix context filtering to case insensitivity 2017-01-09 12:53:05 -08:00
John Reese cf08b9e0f4 Merge pull request #210 from jreese/revert-191-master
Revert "Fix pushbullet device_iden parameter."
2016-10-12 14:12:49 -07:00
John Reese b552972820 Revert "Fix pushbullet device_iden parameter." 2016-10-12 14:09:53 -07:00
John Reese 4d1cc97641 Merge pull request #208 from mat128/slack
Add Slack to README
2016-10-04 13:44:11 -07:00
Mathieu Mitchell 3cd832469f Add Slack to README
Currently, Slack is supported by the codebase, but support for it is not
indicated in the README.

Help future readers by adding it to the readme as an officially
supported service.
2016-10-04 07:52:53 -04:00
John Reese 2922c91255 Merge pull request #206 from dgw/rip-airgram
Airgram has vanished from the face of the Internet
2016-09-24 11:35:39 -07:00
dgw 098b777846 Purge Airgram from documentation as well 2016-09-24 02:30:01 -05:00
dgw 645f0fe555 Airgram has vanished from the face of the Internet
See #205.
2016-09-23 03:32:42 -05:00
John Reese d5908dc7a0 Merge pull request #203 from rubinlinux/patch-1
There is an easier way to obtain your chat_id
2016-08-19 17:30:55 -04:00
Rubin 91c8842749 There is an easier way to obtain your chat_id 2016-08-19 13:17:10 -07:00
John Reese ca11c9b100 Merge pull request #202 from jessesung/telegram
Add support for sending notifications via Telegram
2016-07-28 15:30:38 -04:00
Wen-chien Jesse Sung 6e59c03009 Update documents for telegram
Signed-off-by: Wen-chien Jesse Sung <jesse@cola.voip.idv.tw>
2016-07-27 16:24:11 +08:00
Wen-chien Jesse Sung c01d078806 Support telegram
Signed-off-by: Wen-chien Jesse Sung <jesse@cola.voip.idv.tw>
2016-07-27 15:34:44 +08:00
John Reese 3c6a6a5ead Merge pull request #201 from JDogHerman/patch-1
Invalid option name error on Show Me Everything
2016-07-19 20:20:47 -05:00
Justin Herman 94470a959a Invalid option name error on Show Me Everything
Changed query_condition to query_conditions. 

set query_condition nick_blacklist
<*push> Error: invalid option name
2016-07-19 11:42:25 -04:00
John Reese ca77935496 Merge pull request #199 from faxm0dem/fix/curl-queryparam
Fix libcurl implementation when using query params
2016-05-06 14:36:45 -07:00
Fabien Wernli d49837056e Fix libcurl implementation when using query params
Query parameters were silently dropped
Fixes #195
2016-04-01 14:53:44 +02:00
John Reese 46148fc081 Add Travis badge to readme 2016-02-24 12:39:01 -08:00
John Reese 5553b812e4 Build with and without libcurl, let gcc build fail 2016-02-24 12:18:56 -08:00
John Reese a7353cfad8 Add initial travis CI build config 2016-02-24 10:47:54 -08:00
John Reese fa10bad8c9 Fix #194: Move url/message_uri to correct location 2016-02-24 09:49:03 -08:00
John Reese 366a804638 Merge pull request #192 from Naine/master
Fix my previous fix.
2016-02-18 23:07:52 -08:00
Naine d749141f17 Fix my previous fix. 2016-02-19 17:04:59 +11:00
John Reese aaa148feb5 Merge pull request #191 from jesopo/master
Fix pushbullet device_iden parameter.
2016-02-18 19:11:13 -08:00
John Reese edfde596f0 Merge pull request #190 from Naine/master
Fix negative matching/filtering
2016-02-18 19:10:34 -08:00
jesopo 8a5b59058a changed pushbullet's device identity parameter from device_iden to target_device_iden.
Signed-off-by: jesopo <github@lolnerd.net>
2016-02-18 15:38:43 +00:00
Naine 9361dd7a23 Rename variable in highlight()
Rename "push" to "negate_match" and reverse its values to better reflect its new purpose.
2016-02-18 15:36:40 +11:00
Naine aebf9460d9 Fix negative matching/filtering
Previously, the highlight function returned true immediately upon finding any match, without checking whether any negative matches should be preventing the match.
2016-02-17 13:01:01 +11:00
John Reese 717a2b1741 Merge pull request #183 from InAnimaTe/master
Added note about installing ca-certificates
2015-12-06 21:47:25 -08:00
Mario Loria 0df072b9b7 Added note about installing ca-certificates
I know there is a note about the default communication method not actually checking the certificate which is why libcurl is recommended. However, I just tested this without curl and it doesn't send anything without ca-certificates installed.

I followed your model of making examples use `aptitude` however, I might consider changing that in the future to `apt-get` just so newcomers don't sit there wondering what `aptitude` is ;)
2015-12-07 00:06:45 -05:00