February 16, 201214 yr Now included in SimpleFeatures. Developers: Click link below to see how to add a notification to the webGui! http://code.google.com/p/unraid-simplefeatures/wiki/NotificationsDeveloperInformation On thing I'd love to see in unRAID is an API for notifications. EG, allow a place to push information/events in XML or JSON array so someone can code a notifications plugin and pick it up. This would allow the user to view events that they may have missed in the webgui. Could also potentially allow that information to be passed to email (user set). What do you think?
February 16, 201214 yr Best is use Notifo ... API is Open and you will be have already clients for all platform (windows, mac, linux, and smartphones .. android, iOS etc) http://notifo.com/ https://api.notifo.com/ This look something like this Nice will be add this service to unRaid
February 16, 201214 yr Author I suspect notifo could be used as a plugin to enhance the underlying unRAID notification API? Would rather something built into unRAID - otherwise you rely on notifo API and the changes they might make. All that needs to be done is have a PHP file that takes information posted to it, and pushes it out into a format/file that's usable by every plugin developer. Once a notification has been accepted by someone, have that API archive that message.
February 17, 201214 yr Author I thought I might have a crack at this.. So here's my scope so far. 1. Developer calls on /plugins/notifications/notifications.php?add • add.php will accept JSON post array for: Source Plugin, Subject, Description, Timestamp, Importance, Type (eg email, webGui, both) • Once added, a file is generated and stored on the flash drive, say /boot/config/plugins/notifications/unread/1-*plugin*-*timestamp*.notification 2. On page load a javascript plugin will page /plugins/notifications/notifications.php?get and get any unread notifications, parse them and push them back to be displayed as a growl like notification 3. When someone closes the notification /plugins/notifications/notifications.php?archive will archive the notification into /boot/config/plugins/notifications/archived Any suggestions or improvements?
February 19, 201214 yr Author The majority of the backend work has been completed, ready for testing. Here's a screenshare of how it works: http://unraid-simplefeatures.googlecode.com/files/notifications.mov It's really easy for a developer to create a notification, they just need to post some values to /plugins/notifications/notify.php, and the notification is created You can specify if you want it emailed as well.
February 19, 201214 yr Please make the area where these messages are stored configurable. I would not want them to be on my flash.
February 19, 201214 yr Best is use Notifo ... API is Open and you will be have already clients for all platform (windows, mac, linux, and smartphones .. android, iOS etc) Er, I loved using Nofio until I couldn't... They stopped development in September.
February 19, 201214 yr Author Please make the area where these messages are stored configurable. I would not want them to be on my flash. Easily done
February 19, 201214 yr I like the idea. Is it possible to add some more functions, such as search, delete, purge ? Perhaps a configuration setting specifying how notifications appear (and where)? Good luck and thanks for your efforts.
February 19, 201214 yr Author Absolutely - I'll create a plugin page for this and will provide a sortable table for archived notifications
February 19, 201214 yr speeding_ant, this is very cool. How grand is your vision? Any thought to tapping into desktop notification services, such as Growl? That would be a pretty slick feature!
February 19, 201214 yr Author Tapping into growl would be very easy. Unfortunately the PHP that is included with unRAID doesn't support a number of the built in functions to make this work. Once that has been fixed, then this would be possible
February 22, 201214 yr Author Now included in SimpleFeatures. Developers: Click link below to see how to add a notification to the webGui! http://code.google.com/p/unraid-simplefeatures/wiki/NotificationsDeveloperInformation
June 8, 201214 yr I'd love to dump email and use a proper notification system, I've been using Pushover with CouchPotato and Sickbeard. It is super easy to send notifications via simple URLs and it's fast and reliable.
June 9, 201214 yr Personally, I'd love to see Growl integration, as there are a large amount of apps out there that integrate with it already... then you can use all the other addons like Prowl etc as well. http://www.growl.info
December 2, 201213 yr you seem to have moved the location of the notify.php and notify.sh scripts. could you please update your wiki? as far as i see, the scripts are now in /plugins/simpleFeatures/include/ i'm going to make use of this notification feature in my plugins (with a check, so that it is only run when simplefeatures is installed). so thanks for this
Archived
This topic is now archived and is closed to further replies.