New IssueObserver class and spec.
Handles emails for new issues and reassigned issues. Need to add creating a Note on Issue close.
Add method for an issue to know whether it is being closed
Update IssueObserver to create a Note on the issue its being closed.
Disable observers in specs. Enable only when observer is under test.
Used the built-in observer enable/disable feature in ActiveModel[1]. ActiveRecord::Base includes ActiveModel::Observing which provides this behavior. Simple wraps to enable the observer under test were added to the specs for: ActivityObserver, IssueObserver, Admin::Users and Issues. The spec for Project.last_activity was refactored to separate the tests for #last_activity and #last_activity_date. Each had doubles added to isolate the spec from the hidden dependency on the ActivityObserver action to create an Event for the project when an Issue is created. This ActivityObserver behavior is already tested by its spec. [1] http://api.rubyonrails.org/classes/ActiveModel/ObserverArray.html
Remove upvotes method from Issue.
Must have snuck in during one of the multiple rebases while observers were being refactored.
Remove :issue from MailerObserver; handled by IssueObserver now.
:issue snuck back in during rebasing.
Merge pull request #959 from NARKOZ/raphael-js
Downgrade Raphael.js
Merge pull request #961 from NARKOZ/load_assets_group
load assets group to allow lazy compilation in production
Merge branch 'separate_user_and_issue_observer_from_mail_observer' of h…
…ttps://github.com/robbkidd/gitlabhq into robbkidd-separate_user_and_issue_observer_from_mail_observer
Merge pull request #982 from JamesEarlDouglas/mailer-controller-typo
fix typo: 'avaialble' -> 'available'
Merge pull request #971 from gingko/master
Automatic password creation..
Issue Labels: Edit, show, index + filter
Remove critical status from Issue. Move sort instead