aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert.rb
AgeCommit message (Expand)Author
2015-04-21Minor Alert extract method refactorAlex Young
2015-04-16Use 1.9's Encoding to do do away with UTF8-checking in mauve/alert.rbAlex Young
2015-03-31Use DROP VIEW on postgres, DROP TABLE on sqliteAlex Young
2015-02-23Get tests passing on ruby 1.9.3-p551Alex Young
2013-05-21Load all alert properties when updating.Patrick J Cherry
2013-05-01Allow alert to clear raised_at/cleared_at times if none specifiedPatrick J Cherry
2012-12-12Fixed up alert truncating only to work on strings. Added test case.Patrick J Cherry
2012-12-12Added field truncation + warning logs.Patrick J Cherry
2012-12-05Make sure that the datamapper query is evaluated when clearing all alerts.Patrick J Cherry
2012-12-05Make sure the update_type is always set on save.Patrick J Cherry
2012-12-05Record alert summary in the history.Patrick J Cherry
2012-12-05Added an update_type getter that returns "cleared" if the update typePatrick J Cherry
2012-12-05Make sure the update type is always set to cleared by default.Patrick J Cherry
2012-11-30Re-set raised_at if the alert has just been unacknowledged.Patrick J Cherry
2012-11-29Raised time now set to unacknowledgment time when alerts become unacknowledgedPatrick 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-29Removed unused methodPatrick 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-27Don't do useless database fetches, when super/dirty_attributes can bePatrick J Cherry
2012-11-27Re-jigged alert saving / history saving using transactions.Patrick J Cherry
2012-11-27Tell datamapper which is the primary key on the alert_earliest_changesPatrick J Cherry
2012-11-27Be more picky when setting updated_at/created_at timestamps.Patrick J Cherry
2012-11-27Make sure nil event_types are no treated as strings.Patrick J Cherry
2012-11-23AlertGroup is no longer looked for on raise/clear/ack. It is looked up on no...Patrick J Cherry
2012-11-21Make sure notifications only get sent on Alert#save if the state hasPatrick J Cherry
2012-11-21Fixed couple of typosPatrick J Cherry
2012-11-21Removed duplicate code from Alert#in_source_list, andPatrick J Cherry
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
2012-07-02Clear cleared_at time if raised_at time is set on alert reception.Patrick J Cherry
2012-05-03Notify anyone who has contributed to an alert's history since its last raise,Patrick J Cherry
2012-04-30Non-UTF8 stuff is now stripped. Added encoding tests.Patrick J Cherry
2012-04-25Big update.Patrick J Cherry
2012-04-20Further tinkering involving when to Sanitize html -- now only done if thePatrick J Cherry
2012-04-17 * The notification buffer is now used to store Alerts/AlertChangeds and timesPatrick J Cherry
2012-04-16Added time-fixation when processing "during" clauses, I think.Patrick J Cherry
2012-03-23Updated Alert to only search for one matching alert group instead of all.Patrick J Cherry
2012-03-22Update to alert to clear cached IPs for the alert subject when it changes.Patrick J Cherry
2012-03-22Rejigged caching of alert_group, and the way source lists are searched, toPatrick J Cherry
2012-03-22Improved caching, I think.Patrick J Cherry
2012-03-21Possible performance improvements.Patrick J Cherry
2012-01-30Added possibility of using postgres databases.Patrick J Cherry
2011-11-03Fixed everything up to use EpochTime everywhere instead of regular Times.Patrick J Cherry
2011-09-16Big documentation update.Patrick J Cherry
2011-09-13Version bumbPatrick 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
2011-08-31Fixed up alert suppression to be less jumpyPatrick J Cherry