aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2012-11-27Pop error message off log when a history save is flunked.Patrick J Cherry
2012-11-27Added tests to make sure validation works with History objects.Patrick J Cherry
2012-11-23Minimal DNS now also extends to resolution of items in the sourcePatrick J Cherry
lists too, as well as the hostname/IP being queried.
2012-11-23Added minimal_dns_lookups configuration directive to allow alert-groupPatrick J Cherry
DNS lookups to occur when needed.
2012-11-23Tidided up postgres test teardownPatrick J Cherry
2012-11-21Added test to make sure alert_group gets cached.Patrick J Cherry
2012-07-05Updated configuration for heartbeat to replace poll_every.Patrick J Cherry
Removed poll_every from other classes. Updated tests to reflect this.
2012-07-05Added HTTP api client tests.Patrick J Cherry
2012-07-05Tidied tests to work with the last change.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-08Changed destroy! to destroy everywhere to ensure Histories are deletedPatrick J Cherry
correctly. Added test.
2012-05-08Fixed up PeopleList#resolve_notifications to check for recursion, and onlyPatrick J Cherry
return notify clauses that refer to people.
2012-05-08Fixed time tests + standardised dead zone + daylight hours.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-03Update Time.bank_holiday? etc. to work correctly.Patrick J Cherry
Mauve::Configuration#do_parse_time now a class method, and used elsewhere to standardise ranges in the configuration file.
2012-05-02Added configuration options for daytime_hours, dead_zone, and working_hours.Patrick J Cherry
2012-05-02Don't generate spurious files.Patrick J Cherry
2012-05-01Don't clean stuff if not needed.Patrick J Cherry
2012-05-01Tidied up sqlite mutex nonsense.Patrick J Cherry
2012-05-01Updated sender to try and get things into UTF8 where poss.Patrick J Cherry
2012-04-30Non-UTF8 stuff is now stripped. Added encoding tests.Patrick J Cherry
2012-04-27Fixed notification when on holiday/off sickPatrick 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 default configuration options for a person.Patrick J Cherry
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-23Adjusted mauve person tests to use the notification debugger.Patrick J Cherry
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
2012-04-21Overhaul of authentication.Patrick J Cherry
* Added new configuration options: ** bytemark_calendar_url ** bytemark_auth_url ** remote_https_verify_mode ** remote_http_timeout ** failed_login_delay * Added authentication tests * Removed remote auth tests in from the web interface tests. * If no bytemark_auth_url is set, then no remote auth takes place. * SSL peer cert validation now takes place by default. * Removed old logic tests * Tidied the way tests take place a little.
2012-04-21Added SSL cert verification for Bytemark Authentication. Also tidied away errorPatrick J Cherry
messages generated during login tests in the web_interface.
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-17Changed method of including the Debug notification module. Now debug! can bePatrick J Cherry
specified in the config to extend that particular instance of a notification method.
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.
2012-03-23Updated badly named test classes.Patrick J Cherry
2012-03-22Tidied up login authentication + tests (woo!)Patrick J Cherry
2012-03-22Updated a couple of test helpers.Patrick J Cherry
2011-11-03Added test to see us through a clock change.Patrick J Cherry
2011-09-16Big documentation update.Patrick J Cherry
2011-09-12Reminders are now unconditionally cleared when an alert is cleared.Patrick J Cherry
2011-09-06Update to suppression code.Patrick J Cherry
XMPP interface fixed.
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-08-22 * Race condition fixed (fixes #1861).Patrick J Cherry
* Reminders get sent at start of during period (fixes #1821)
2011-08-19HTML now sanitised on save.Patrick J Cherry
Added History tests Default polling interval now 5s, 0s for Timer/UDPServer Fixed note entry for alert page.
2011-08-18Removed redundant notification test.Patrick J Cherry