aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-11-26Updated alert changed to log when saves fail, but saves them anyway.Patrick J Cherry
2012-11-26Changed source list to use IPAddress instead of IPAddr.Patrick J Cherry
2012-11-23Check return value when saving AlertChanged object.Patrick J Cherry
2012-11-23Version bumpPatrick J Cherry
2012-11-23Missed the fact that the alert group was being looked up earlier in ↵Patrick J Cherry
Notifier#notify.
2012-11-23Tidied notifier a little. Alert#cached_alert_group is reset before ↵Patrick J Cherry
notification.
2012-11-23AlertGroup is no longer looked for on raise/clear/ack. It is looked up on ↵Patrick J Cherry
notification. Made Alert#alert_group a bit clearer.
2012-11-23Update web_interface to use public_folder instead of just publicPatrick J Cherry
2012-11-23Updated datamapper to use aggregatesPatrick J Cherry
2012-11-23Version bumpPatrick 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-23Alerts only saved on notificaion if the cached_alert_group hasPatrick J Cherry
changed. Also the save! method is now used to avoid the callbacks which might trigger further notifications.
2012-11-21Make sure notifications only get sent on Alert#save if the state hasPatrick J Cherry
changed in a sane way.
2012-11-21Fixed typoPatrick J Cherry
2012-11-21Updated xmmp notifier to crash mauve on exception (ugh().Patrick J Cherry
2012-11-21The notifier now saves the alert following notification. This shouldPatrick J Cherry
ensure that the cached group gets updated.
2012-11-21Added a server sleep to make sure doesn't spam the logs too much.Patrick J Cherry
2012-11-21Removed dependency on dm-serializer -- I don't think it was everPatrick J Cherry
needed.
2012-11-21Fixed couple of typosPatrick J Cherry
2012-11-21Altered web interface not to issue so many database queries.Patrick J Cherry
2012-11-21Removed duplicate code from Alert#in_source_list, andPatrick J Cherry
SourceList#include. Also cut down on DNS queries, and IPAddr conversions.
2012-11-21Updated alert queries to be more precise.Patrick J Cherry
2012-11-21Fixed all_raised to properly compare the raised_at and cleared_atPatrick J Cherry
times.
2012-07-05Version bumpPatrick 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-05Moved http api requests into separate module. Added ability to poll a URL forPatrick J Cherry
lists of IPs.
2012-07-04Added URL-ability for source lists.Patrick J Cherry
2012-07-04Moved HTTP requests into a generic http api client.Patrick J Cherry
2012-07-03Removed ability to freeze threads, since that is not used any more.Patrick J Cherry
Added checks to make sure threads are run at least every two minutes.
2012-07-03Downgraded buffer size warnings to "info".Patrick J Cherry
2012-07-02Version bumpPatrick J Cherry
2012-07-02Clear cleared_at time if raised_at time is set on alert reception.Patrick J Cherry
2012-06-08Version bumpPatrick 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-09Version bumpPatrick J Cherry
2012-05-09mergePatrick J Cherry
2012-05-09DuringRunner#no_one_in now is only evaluated once per instance per people_listPatrick J Cherry
to prevent the calendar getting thrashed.
2012-05-09Remnoved destroy command and replaced with clear.Patrick J Cherry
2012-05-08Added dummy xmpp method to PeopleList to make sure that it doesn't cause thePatrick J Cherry
XMPP stuff to barf.
2012-05-08Changed destroy! to destroy everywhere to ensure Histories are deletedPatrick J Cherry
correctly. Added test.
2012-05-08Version bumpPatrick J Cherry
2012-05-08Updated notifier only to try to connect to objects that respond to xmpp.Patrick J Cherry
2012-05-08Changed Person#resolve_notification to match the signature for the people_listPatrick J Cherry
version.
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-08Web interface now uses an ajax call to work out ack times, falling back toPatrick J Cherry
javascript if that takes too long. Default working hours are now 9.30 - 5.30 as per SLA.
2012-05-04Updated changelogPatrick 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.