jerry / admin_tickler
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
Jerry Richardson (author)
Sat Nov 08 20:02:26 -0800 2008
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Fri Nov 07 13:43:51 -0800 2008 | |
| |
README | Sat Nov 08 20:02:26 -0800 2008 | |
| |
README.textile | Sat Nov 08 20:02:26 -0800 2008 | |
| |
Rakefile | Fri Nov 07 13:43:51 -0800 2008 | |
| |
generators/ | Fri Nov 07 13:43:51 -0800 2008 | |
| |
init.rb | Sat Nov 08 20:02:26 -0800 2008 | |
| |
install.rb | Fri Nov 07 13:43:51 -0800 2008 | |
| |
lib/ | Sat Nov 08 20:02:26 -0800 2008 | |
| |
tail_feather.jpg | Sat Nov 08 19:32:04 -0800 2008 | |
| |
tail_feather.png | Sat Nov 08 19:32:04 -0800 2008 | |
| |
tasks/ | Fri Nov 07 13:43:51 -0800 2008 | |
| |
test/ | Fri Nov 07 13:43:51 -0800 2008 | |
| |
uninstall.rb | Fri Nov 07 13:43:51 -0800 2008 |
README.textile
AdminTickler
In-App Notifications based on model conditions – like validations that run on a schedule
- takes a hash of conditions for a model
- Assumes Restful Authentication but can be configured to use other schemes
- Round-Robin Messaging of On-Call Admins
- XMPP for Notifications via Jabber
- jsjac for XMPP-notifications inside the site
- If the admin is offline:
- fallback to email for high-priority messages
- queue until next login for low-priority messages
Example
# alert an admin that a user account was created but never activated over XMPP, falling back to admin e-mail
tickle_on { :created_at => 30.days.ago, :activated_at => nil }, :type => :alert_admin, :message => "User has not activated account."
# send an activation reminder to user who created an account over 30 days ago but never activated
tickle_on { :created_at => 30.days.ago, :activated_at => nil }, :type => :send_email, :mailer => "UserMailer.activation_reminder(self)"
Copyright © 2008 Disruptive Ventures, Inc., released under the MIT
Amazon Parrot Tail Feather image used with permission of Ask-a-Biologist
