Commit Graph

45 Commits

Author SHA1 Message Date
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
John Reese 080c767aae Update text when setting pushover service 2013-07-31 16:33:52 +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 d3d76bf9c4 Don't display quotes in get command 2013-07-03 10:59:48 -07:00
thealok@gmail.com 49d8bb3a0a Cleanup and update docs 2013-05-09 22:35:54 -04:00
thealok@gmail.com 128f727b83 Add support for PushBullet
https://www.pushbullet.com/
2013-05-02 21:35:36 -04:00
thealok@gmail.com 0c223ab07f fix tabbing 2013-05-02 21:29:39 -04: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 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 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 480ee7baa8 changed "sound" option name to the more specific "message_sound" name 2013-03-01 11:02:42 -08:00
Ming Tang 79774d694b added support for notification sounds with Pushover API 2013-03-01 10:47:32 -08:00
Dan Parsons 11c0e3a634 Changed from <nick> to [nick] in OnChanMsg
Boxcar and other apps delete strings inside <> like IRC nicks, so changed to [nick] from <nick>
2013-02-12 17:55:38 -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 e41034374d Add correct forms for using ExpandString in highlight checks
This adds the feature intended for revision fa46469, but using the format
found in the core ZNC perform module.  This patch is verified to compile
against ZNC 1.0.
2013-01-02 15:03:41 -08:00
John Reese d52af3483e Revert "add using ExpandString"
This commit is reportedly causing compilation issues against ZNC 1.0.

This reverts commit fa46469662.
2013-01-02 13:05:02 -08:00
Daniel Wallace fa46469662 add using ExpandString
this allows you to add to your highlights something like %nick% so if
you are /nicked to something else you can still get highlights
or any other ExpandStrings
2012-12-22 02:18:26 -05:00
Daniel Wallace e80d02ab0b Get the number of clients on the network
using the size of GetUserClients wasn't working for me
2012-10-26 11:31:04 -07:00
Daniel Wallace e1540e455c Fix #9: fix namespacing issues for map and string 2012-10-26 11:31:04 -07:00
John Reese 1dc2a13f66 Remove legacy version handling 2012-10-26 11:31:04 -07:00
Ed Kellett 10c8fb41ff Fix #3: Fix compatibility with 0.207 dev builds 2012-10-26 11:31:04 -07:00
John Reese 80cd975377 Fix #18: Respond Ok to silent commands that don't error 2012-10-26 11:30:43 -07:00
cbenard 25cf019163 Removed #ifdef include since it doesn't actually work. Added URI for Pushover. 2012-10-24 17:59:17 -05:00
cbenard dae1940dd8 Modified to compile under znc-msvc (ZNC for Windows): http://code.google.com/p/znc-msvc/ 2012-10-24 16:50:23 -05:00
John Reese ea8c52e766 Fix #6: Add 'target' option to support Pushover devices 2012-07-25 16:22:10 -07:00
John Reese 58e24cf331 Fix #4: Add support for Pushover service 2012-07-23 22:07:28 -07:00
Travis La Marr 8379d9b27e Fix #1: Add support for Supertoasty push service 2012-07-23 19:33:15 -07:00
John Reese cb427730e4 Use ints to be compatible with ZNC <= 0.094 2012-03-04 13:03:07 -08:00
John Reese fedb687397 Experimental support for subscribe command
Issue #228
2012-01-09 00:34:37 -05:00
Steven Moazami 0754a2b744 Fix connection hangs when talking to Boxcar service
Signed-off-by: John Reese <john@noswap.com>
2011-12-15 12:49:46 -05:00
John Reese 54340cb90e Import FileUtils.h to fix builds on v0.200+
Fixes #227
2011-10-06 19:20:44 -04:00
John Reese dd432247f8 Added support for the Notify My Android service
Issue #226
2011-10-06 14:54:17 -04:00
John Reese e418634485 Added support for the Prowl service
Issue #226
2011-10-06 14:53:04 -04:00
John Reese 77196be1ca Initial support for Boxcar API
Issue #226
2011-10-05 15:26:03 -04:00
John Reese c21c135d78 Add debug messages to CPushSocket::Request() 2011-09-29 16:36:28 -04:00
John Reese d76bc28067 Check for username/secret when sending messages 2011-09-29 15:44:58 -04:00
John Reese 4667fd52bc Move Notifo-specific details into send_message()
Issue #226
2011-09-29 15:42:33 -04:00
John Reese 0af5679f1d Extract HTTP request handling to CPushSocket
When sending HTTP requests, the notification code doesn't need to know
how to build arbitrary requests.

Issue #226
2011-09-29 15:23:07 -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 1f76601c56 Get missing defaults and save options when loading
Follow-up to ref 60632d42f.  Initial implementation would lose loaded
options when the module was reloaded, and would cause errors if the
loaded dictionary did not contain all of the option values.
2011-09-29 09:54:44 -04:00
John Reese a69ec09d6b Rebrand project as ZNC Push
Issue #226
2011-09-29 09:30:08 -04:00
Renamed from notifo.cpp (Browse further)