Commit Graph

55 Commits

Author SHA1 Message Date
John Reese 31541dda0a Factored out auth string encoding
Rather than re-encoding the auth string for every message, factored it into a
separate method that only gets called when the username or password is changed,
or the plugin is loaded/reloaded.
2011-01-13 17:16:43 -05:00
John Reese 042ade55da Added configurable message title to send_message()
Also abstracted out app name to object-level CString rather than building it
every time send_message() is executed.
2011-01-13 17:09:17 -05:00
John Reese 0baa7d866d Proof of concept completed
User can set and retrieve config values for their Notifo account name
and API secret.  The SEND command allows the user to send an arbitrary
notification to their account.

Fixed issue with encoding credentials in request headers.

Tested against official API and notification succeeded.
2011-01-13 16:28:58 -05:00
John Reese 53e0e30aaf Added MIT license file 2011-01-10 22:37:48 -05:00
John Reese 80e0da5708 Initial commit, any command triggers HTTP POST
Currently the plugin waits for any command to be sent to *notifo, at
which point it triggers a canned HTTP request to a test URL.  This
canned request will be replaced soon with a proper, authenticated
request to the official Notifo service URL.
2011-01-10 22:33:13 -05:00