aboutsummaryrefslogtreecommitdiff
path: root/test/tc_mauve_notification.rb
AgeCommit message (Collapse)Author
2012-12-05Make sure that the datamapper query is evaluated when clearing all alerts.Patrick J Cherry
2012-11-21Added test to make sure alert_group gets cached.Patrick J Cherry
2012-06-08Fixed notify_when_on_holiday/off_sick flags in configuration + added tests.Patrick J Cherry
2012-06-07Updated DuringRunner to cache calls to the calendar more.Patrick J Cherry
2012-05-03* Person and people lists have now become interchangeable, with notificationsPatrick J Cherry
only recording the username, rather than the Person/PeopleList. This means that notifications in alert groups can use default #during clauses and #every values from people lists and persons. * Notify clauses can now take an array of persons/people_lists, and people_lists can refer to other people lists. * PeopleList names are now in the same namespace as usernames. * Tests to go with.
2012-05-03Updated notification tests to test bank_holiday changes etc.Patrick J Cherry
2012-05-02Added configuration options for daytime_hours, dead_zone, and working_hours.Patrick J Cherry
2012-04-27Added better time-based people list polling, and added a "calendar" method toPatrick J Cherry
the config to easily generate Procs to call for people_lists.
2012-04-27Added no_one_in test for DuringRunnerPatrick J Cherry
2012-04-25Big update.Patrick J Cherry
* Max acknowledgement time is now specified in the config * Calendar interface improved. * holiday_url no longer used -- replaced by notify_when_on_holiday! * added notify_when_off_sick! * Added ability for the calendar to be queried for a list of bank holdays. * Added ability for Time to be given a list of bank holidays to check against. * PeopleLists can now be a Proc, allowing downloading of lists * Person is no longer a struct * Moved the method_missing bit into ObjectBuilder from various sub classes. * Added tests for the calendar interface * Updated tests in other bits.
2012-04-24Updated people_list and notification tests.Patrick J Cherry
2012-04-23Persons/PeopleLists can now specify multiple notification preferences.Patrick J Cherry
2012-04-20Updated tests to use coupled processor/notifier.Patrick J Cherry
2012-04-17 * The notification buffer is now used to store Alerts/AlertChangeds and timesPatrick J Cherry
to notify about, rather than notifications to be sent. * Fixed up the debug notifier a bit more. * Using the debug notifier extras more now.
2012-04-17 * DuringRunner#now? caches its answer, indexed by time. The cache is renewedPatrick J Cherry
on reinitialization. * AlertGroup#notify now initialises and keeps track of each DuringRunner to ensure cache usage.
2011-09-16Big documentation update.Patrick J Cherry
2011-08-31Fixed up alert suppression to be less jumpyPatrick J Cherry
2011-08-22 * Race condition fixed (fixes #1861).Patrick J Cherry
* Reminders get sent at start of during period (fixes #1821)
2011-08-18Fixed up test_time bits in mauve_notification and merged tests.Patrick J Cherry
2011-08-18 * Fixed up Alert to postpone raises/clears within initial sleep period for ↵Patrick J Cherry
old alerts * Fixed up AlertChanged to do the same * Added a migration method for the new AlertHistories table * added singleton cleanup for tests * moar tests * cleaned up Alert a bit
2011-08-17* Reminder notifications now take the same path to notify as initial alertsPatrick J Cherry
* Threading tidied -- processor will not do anything unless the timer has frozen * Person#send_alert now tidied and merged with alert_changed * POP3 server only shows alerts relevant to the user * Server now defaults to using an in-memory SQLite database (good for testing) * Server initializes a blank mauve config. * Tests tidied up
2011-08-10Removed MauveTime. Added more tests.Patrick J Cherry
2011-08-10Updated during_runner to work better.Patrick J Cherry
--HG-- rename : test/time_test.rb => test/tc_mauve_time.rb