aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert_changed.rb
AgeCommit message (Collapse)Author
2013-05-01Added conditions to prevent races.Patrick J Cherry
2012-12-04Fixed typoPatrick J Cherry
2012-11-29Added alert suppression to the server code + protobuf.Patrick J Cherry
2012-11-27Be more picky when setting updated_at/created_at timestamps.Patrick J Cherry
2012-11-27Reverted change to alert_changed now there's the validation monkeyPatrick J Cherry
patch in places.
2012-11-26Updated alert changed to log when saves fail, but saves them anyway.Patrick J Cherry
2012-11-23Check return value when saving AlertChanged object.Patrick J Cherry
2012-05-08Changed destroy! to destroy everywhere to ensure Histories are deletedPatrick J Cherry
correctly. Added test.
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-16Added time-fixation when processing "during" clauses, I think.Patrick J Cherry
2011-11-03Fixed everything up to use EpochTime everywhere instead of regular Times.Patrick J Cherry
Datamapper can't handle timezones.
2011-09-16Big documentation update.Patrick 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-19Don't remind about acknowledged or cleared alerts!Patrick J Cherry
2011-08-19Added last_state_changed thing for MauveThread. Closes #1836.Patrick J Cherry
2011-08-18 * Fixed up Alert to postpone raises/clears within initial sleep period for ↵Patrick J Cherry
old alerts * Fixed up AlertChanged to do the same * Added a migration method for the new AlertHistories table * added singleton cleanup for tests * moar tests * cleaned up Alert a bit
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-08-17Changed DateTime to Time everywhere. Much better.Patrick J Cherry
2011-08-10Removed MauveTime. Added more tests.Patrick J Cherry
2011-07-14 * Improved logging.Patrick J Cherry
* Updated message suppression
2011-07-13Further tweaks.Patrick J Cherry
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-19Added check to make sure reminders are fired at the correct time, as per the ↵Patrick J Cherry
"during" statement.
2011-06-19Fixed reminders for group notificationsPatrick J Cherry
2011-06-17 Reinstated relevance.Patrick J Cherry
2011-06-17 * Bytemark auth fixed.Patrick J Cherry
* Some hot fixes.
2011-06-15Missed from last commitPatrick J Cherry
2011-04-13new version.Patrick J Cherry