Commit Graph

120 Commits

Author SHA1 Message Date
Shane Duan 897541a328 added section for pushover 2013-09-06 18:36:03 -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 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
Jake Watkins be540b540c Remove hardcoded pushover app key; use username/secert for user/token instead 2013-07-30 10:25:46 -07:00
John Reese 8be77b27be Add waffle.io badge to readme 2013-07-03 11:07:13 -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
Benjamin Kerensa 73dc732dd4 Update README.md
znc-build does not exist but znc-buildmod does.
2013-05-03 15:39:29 -07: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
Ming Tang 060451b02a added support for message_uri titles via "message_uri_title" option for Pushover. 2013-03-01 13:58:03 -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
John Reese 7114eea23a Use message_uri for URL service rather than target 2013-01-09 15:01:51 -08:00
John Reese 1c612d6922 Fix #25: add support for custom urls using get requests 2013-01-09 14:26:54 -08:00
John Reese a65def9f38 Add string replacement to message title and content to match url 2013-01-09 14:14:45 -08:00
John Reese e2a3bb9ac3 Master branch now supports 1.0 or newer only, use legacy for older releases 2012-11-30 14:10:21 -08:00
cbenard 885e8aa36e Fix documentation to refer to message_uri and not message_url. 2012-10-24 16:54:41 -05:00
John Reese ea8c52e766 Fix #6: Add 'target' option to support Pushover devices 2012-07-25 16:22:10 -07:00
John Reese 2806967e02 Remove roadmap from readme 2012-07-25 16:21:24 -07:00
John Reese 58e24cf331 Fix #4: Add support for Pushover service 2012-07-23 22:07:28 -07:00
John Reese 9761c72b82 Fix #5: Wrong bugtracker link in readme 2012-07-23 19:37:15 -07:00
Travis La Marr 8379d9b27e Fix #1: Add support for Supertoasty push service 2012-07-23 19:33:15 -07:00
John Reese 143ef1a07f Document the subscribe command for Boxcar
Resolves #228
2012-01-09 00:34:45 -05:00
John Reese c762c41478 Documented debug option added from issue #226 2011-10-06 15:58:24 -04:00
John Reese 814065a07e Updated documentation for alternate push services
Resolves #226
2011-10-06 15:17:30 -04:00
John Reese 7817e98dba Add option for service name
Currently enforces either "notifo" or "boxcar", but does not yet change
any behaviors in the rest of the module.  Also prevents appending or
prepending to the option value.

Issue #226
2011-09-29 10:21:15 -04:00
John Reese a69ec09d6b Rebrand project as ZNC Push
Issue #226
2011-09-29 09:30:08 -04:00
John Reese 60632d42fb Implement save/load for user options
In preparation for renaming the project and supparting multiple
notification services, there needs to be a simple method for migrating
user options to the new module name.  Using the built-in dictionary
read/write mechanism, migrating to a new module name would be as simple
as issuing `/msg *notifo save foo` and `/msg *notify load foo`.
2011-09-28 16:28:10 -04:00
John Reese 94ad55784e Implement notification uri keyword expansion
Resolves #198.  Four keywords are supported: context, nick, datetime,
and unixtime.
2011-03-09 11:02:34 -05:00
John Reese 3a09f6c1fc Add details on obtaining the user's api secret 2011-03-09 09:39:29 -05:00
John Reese b9c7049bc6 Update bug tracker info to select project 2011-03-09 09:37:01 -05:00
John Reese a855fe7eb5 Update readme to use quotes for channel_conditions details 2011-02-14 14:33:52 -05:00
John Reese 33b381eb87 Implemented custom expression evaluation options
This option allows customization of the boolean logic used to
determine how conditional values are used to filter notifications for
channel messages.  It evaluates as a full boolean logic expression,
including the use of sub-expressions.  The default value of "all" will
bypass this evaluation and simply require all conditions to be true.

The expression consists of space-separated tokens in the following grammar:

* expression = expression operator expression | "(" expression ")" | value
* operator = "and" | "or"
* value = "true" | "false" | condition
* condition = <any condition option>

Also implemented EVAL command for testing purposes.
2011-02-14 14:27:18 -05:00
John Reese 5c5c198ab7 Implemented replied condition, defaulted to yes
If set to "yes", notifications will only be sent if you have replied to the
channel or query window more recently than the last time a notification was
sent for that context.
2011-01-26 13:09:55 -05:00
John Reese e913ed4558 Updated roadmap again, all conditions are done 2011-01-19 13:53:08 -05:00
John Reese 3f11b309b8 Updated roadmap 2011-01-19 13:50:24 -05:00
John Reese 06fac8b254 Implemented configurable highlight terms 2011-01-19 13:48:43 -05:00
John Reese 74c813a656 Implemented PREPEND command for modifying config values 2011-01-19 12:54:05 -05:00
John Reese f2de10139c Implemented APPEND command for modifying config values 2011-01-19 11:36:07 -05:00
John Reese d4fd3ce741 Fix #191: ZNC < 0.090 does not support IsIRCAway()
To maintain compatibility with ZNC < 0.090 (such as 0.078 used by
Ubuntu), we need to conditionally disable the away_only condition when
compiled against versions that don't support CUser->IsIRCAway().
2011-01-19 09:27:39 -05:00
John Reese de4c84a36b Added context parameter to STATUS command 2011-01-18 16:14:16 -05:00
John Reese c85cb39c12 Implemented idle condition
Time in seconds since the last activity by the user on any channel or query
window, including joins, parts, messages, and actions.  Notifications will
only be sent if the elapsed time is greater than this value.  A value of
0 (zero) will disable this condition.
2011-01-18 15:24:50 -05:00
John Reese c9cac29c0e Implemented last_active condition
Time in seconds since the last message sent by the user on that channel or
query window. Notifications will only be sent if the elapsed time is greater
than this value.  A value of 0 (zero) will disable this condition.

Note that this condition keeps track of the last message sent to each channel
and query window separately, so a recent PM to Joe will not affect a
notification sent from channel #foo.
2011-01-18 13:06:07 -05:00
John Reese 16f28cb04a Implemented nick_blacklist condition
Space-separated list of nicks.  Applies to both channel mentions and
query windows. Notifications will only be sent for messages from nicks
that are not present in this list, using a case-insensitive comparison.

Note that wildcard patterns can be used to match multiple nicks with
a single blacklist entry. For example, `set nick_blacklist *bot` will
not send notifications from nicks like "channelbot", "FooBot", or
"Robot".  Care must be used to not accidentally blacklist legitimate
nicks with wildcards.
2011-01-18 11:12:58 -05:00
John Reese 54f9607f0d Updated readme with bugtracker info 2011-01-14 12:47:06 -08:00
John Reese 2b30fc39e3 Updated roadmap 2011-01-14 10:55:04 -05:00
John Reese 798a50f3a8 Implemented last_notification condition
Time in seconds since the last notification sent from that channel or query
window. Notifications will only be sent if the elapsed time is greater than
this value. A value of 0 (zero) will disable this condition.

Note that this condition keeps track of the last notification sent from each
channel and query window separately, so a recent PM from Joe will not affect a
notification sent from channel #foo.
2011-01-14 10:49:08 -05:00
John Reese 786e0b4928 Updated roadmap 2011-01-14 10:02:51 -05:00
John Reese 307f17e493 Implemented away_only condition 2011-01-14 09:45:47 -05:00
John Reese 9f89dc5c9c Added roadmap to readme 2011-01-14 09:18:46 -05:00
John Reese 5b2389d8d1 Expanded project description 2011-01-13 23:14:06 -05:00
John Reese 828b51bb32 Copout HELP command 2011-01-13 22:58:49 -05:00
John Reese e2906f5aab Hide vim:set from rendered README 2011-01-13 22:57:35 -05:00
John Reese 3aaafb7ffb Implemented UNSET command to restore default values 2011-01-13 22:56:15 -05:00
John Reese 563b52bab7 Added message_length option 2011-01-13 22:46:02 -05:00
John Reese c749f4874b Added message_uri option 2011-01-13 22:43:02 -05:00
John Reese 53a965fe5c Modified format for condition options/defaults 2011-01-13 22:16:32 -05:00
John Reese 90aa6bdb0a Documented commands and client_count condition 2011-01-13 22:15:20 -05:00
John Reese 42dc9a34e0 Capitalization 2011-01-13 21:23:42 -05:00
John Reese f3e6c8eafb Added ZNC and Notifo links to readme 2011-01-13 21:23:06 -05:00
John Reese 65449b763c Added readme 2011-01-13 21:17:13 -05:00