aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert_group.rb
AgeCommit message (Collapse)Author
2013-05-01Further update to alert_group to find the last reminder for the same update ↵Patrick J Cherry
type.
2013-05-01Added conditions to prevent races.Patrick J Cherry
2013-05-01Fixed typoPatrick J Cherry
2013-05-01Altered alert_group to only set one reminder.Patrick J Cherry
2012-12-04Fixed up alert notification suppression to notify when alerts get re-raised.Patrick J Cherry
2012-11-29Tidied up extra spacesPatrick J Cherry
2012-11-29Tidied up history entriesPatrick J Cherry
2012-11-29Changed UNACKNOWLEDGED to RE-RAISED when alerts are no longer ack'dPatrick J Cherry
2012-11-29Added alert suppression to the server code + protobuf.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-03Notify anyone who has contributed to an alert's history since its last raise,Patrick J Cherry
either by acknowledging, or by being notified about it.
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-04-16Added time-fixation when processing "during" clauses, I think.Patrick J Cherry
2012-03-23Added find and find_all methods to AlertGroup class.Patrick J Cherry
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-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-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
2011-07-13 Big commitPatrick J Cherry
* Added manpages for all binaries * Added log-reopening for mauvealert-server, and logrotate snippet * mauveserver now adds a user on install, and runs as that user * Big logging tidy-up * Alert subjects are only overwritten by the source, when the subject in the databse is empty * Removed various attr_writer methods that were being redifined * Added a notes box to the acknowledge form, but this doesn't work yet
2011-07-08Added first basic history functionality, and rejigged when notify is called forPatrick J Cherry
an alert.
2011-06-17 * Bytemark auth fixed.Patrick J Cherry
* Some hot fixes.
2011-06-15 * Added Alert#subject to return source when subject unspecifiedPatrick J Cherry
* Added extra arg to acknowledge! * Alert#all_raised / all_cleared does not returned ack'd alerts * Added sanitising for source/subject * Catch empty alert_group notifications in AlertChanged * Tidied up alert_group * Added skip bytemark_auth when RACK_ENV is development * Tidied up logging in MauveThread, Timer, UdpServer * Added extra convenience methods to Time and Date * Moved working/daylight/dead_zone hours into Time
2011-06-13 * Tidied up mauveserver to handle HUP restartsPatrick J Cherry
* Added HTML santizing to the alert class, so bad HTML is stripped as part of processing. * Alert#cleared? now means "not raised" * Better error handling in the Timer class, making sure that the timer never gets permanently frozen. * Moved notification and packet buffers to the Server class, meaning that if the Processor or Notifier threads crash, we don't lose all the items waiting to be processed/notified. * XMPP/Email Alerts now use templates, instead of instance methods. * Emails now get sent as multipart with HTML to allow detail fields to be shown as nature intended.
2011-06-09Big commitPatrick J Cherry
--HG-- rename : views/please_authenticate.haml => views/login.haml
2011-04-13new version.Patrick J Cherry