* Update idle time when the user sends a notice
* Send incoming channel & private notices through the existing
notification pipeline
Does not add any special handling of notices vs. regular PRIVMSGs or
ACTIONs; all three message types will appear the same.
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.
Documentation states that, in the 'highlight' field, both positive and negative matches terminate the search.
This patch brings znc-push's behaviour in line with said documentation.
Previously, the highlight function returned true immediately upon finding any match, without checking whether any negative matches should be preventing the match.
rather than modifying push.cpp as part of the built process, this
passes in a version string on the command. This is a little cleaner
(it does not lead to false changes in push.cpp) and makes it easier for a
packager to provide explicit version information, e.g., by passing in
version information to make:
make version=`lars-test'
Currently proxy options are passed to make_curl_request() via the
`params` parameter, so they are sent to external services for no good
reason. This commit fixes it by adding proxy parameters to the
function.
The appropriate *_proxy environment variables aren't always detected properly
by libcurl. This allows manually setting the proxy when this happens, and
disabling SSL certificate verification if the proxy requires it.
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.