travis-ci/travis-core — pull request #117 by svenfuchs (2012-10-15 03:35:56+00:00)
Title: Add an Event model, service, api etc, audit trail events

@joshk as requested :)

This adds an Event audit trail. It makes Request issue events just like other first class objects, listens to events and saves Event records, associates them with their source and repository, makes them available through the api.

It also changes Request to carry a :result and :message, where :result can either be :accepted or :rejected and :message will be a more human readable string giving reasons for a rejection.

I also have a basic UI ready for this locally showing events per repository on another tab. I'd like to merge this, run migrations and deploy to hub staging, so I could possibly make this available on next.