aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2015-04-16Use 1.9's Encoding to do do away with UTF8-checking in mauve/alert.rbAlex Young
2015-04-13Fix syntax errors in lib/mauve/heartbeat.rbAlex Young
2015-03-25Add a timestamping testAlex Young
2015-02-24Add some basic UDPServer tests.Alex Young
2015-02-23Get tests passing on ruby 1.9.3-p551Alex Young
2015-02-23Stub out test calls to auth which relied on a user who no longer existsAlex Young
2013-05-16Tweaked level-based suppression condition for notifications (to work)Patrick J Cherry
2013-05-16Updated Person#should_suppress to take into account alert level whenPatrick J Cherry
deciding to suppress an alert.
2013-05-16Logging in tests can now be set using LOGLEVEL env variable.Patrick J Cherry
2013-05-14Database now queried to work out if a notification should be suppressed.Patrick J Cherry
2012-12-12Fixed up alert truncating only to work on strings. Added test case.Patrick J Cherry
2012-12-05Make sure that the datamapper query is evaluated when clearing all alerts.Patrick J Cherry
2012-12-04Fixed up alert notification suppression to notify when alerts get re-raised.Patrick J Cherry
2012-12-04Added more suppression tests.Patrick J Cherry
2012-11-29Rewrote how the decision is made to notify and how update types are set.Patrick J Cherry
2012-11-29Added alert suppression to the server code + protobuf.Patrick J Cherry
2012-11-28Finalised hack to validations such that they only occur when the object is ↵Patrick J Cherry
dirty.
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.