aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/configuration_builders/person.rb
AgeCommit message (Collapse)Author
2013-05-14Database now queried to work out if a notification should be suppressed.Patrick J Cherry
2012-06-08Fixed notify_when_on_holiday/off_sick flags in configuration + added tests.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-04-27Fixed notification when on holiday/off sickPatrick J Cherry
2012-04-27Added default configuration options for a person.Patrick 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-23Persons/PeopleLists can now specify multiple notification preferences.Patrick J Cherry
2012-04-23People/PeopleLists can now specify individualy notification times/frequenciesPatrick J Cherry
* Added PeopleList builder * Added Person#during, PeopleList#during, Person#every, PeopleList#every * Notification now uses #during/#every from the Person/PeopleList if nothing was specified * Added tests
2011-09-16Big documentation update.Patrick J Cherry
2011-09-06Fixed up suppression some more, so it works.Patrick J Cherry
2011-08-31Fixed up alert suppression to be less jumpyPatrick J Cherry
2011-07-22 * Rejigged configurationPatrick J Cherry
* Added --test and --verbose flags for the server config * Started proper test suite * Config parsing now gives more sensible errors + backtrace * Rejigged people and source lists