bfosberry/GameSocial — pull request #53 by bfosberry (2013-09-28 14:43:08+00:00)
Title: Notifications

This adds functionality to trigger alerts from alert schedules.

Once an alert schedule is defined, any time a game location is created matching the user and the game (as well as it being the right time of day and DOW), a new alert will be created, assuming no alert has already been created for this game location for this user for this alert schedule.

Still todo, outside the scope of this change
1) Adjust times to CST/local timezome
2) Consider removing alert uniqueness for alert schedules since multiple alerts could be triggered for one user from one game location
3) Display alerts on a users home page
4) Dispatch alert (only by email for now)