gitlabhq/config
Robb Kidd 16ceae895e Separate observing of Note and MergeRequests
* Move is_assigned? and is_being_xx? methods to IssueCommonality

  This is behavior merge requests have in common with issues. Moved
  methods to IssueCommonality role. Put specs directly into
  merge_request_spec because setup differs for issues and MRs
  specifically in the "closed" factory to use.

* Add MergeRequestObserver. Parallels IssueObserver in almost every way.

  Ripe for refactoring.

* Rename MailerObserver to NoteObserver

  With merge request observing moved out of MailerObserver, all that
  was left was Note logic. Renamed to NoteObserver, added tests and
  updated application config for new observer names. Refactored
  NoteObserver to use the note's author and not rely on current_user.

* Set current_user for MergeRequestObserver

  IssueObserver and MergeRequestObserver are the only observers that
  need a reference to the current_user that they cannot look up on
  the objects they are observing.
2012-10-10 17:59:25 -04:00
..
environments set activerecord whitelist_attributes to true 2012-09-26 11:18:35 -07:00
initializers patch rails to ignore text limit 2012-10-10 13:17:48 +04:00
locales update devise 2012-07-05 23:50:24 -07:00
application.rb Separate observing of Note and MergeRequests 2012-10-10 17:59:25 -04:00
boot.rb init commit 2011-10-09 00:36:38 +03:00
database.yml.example cleanup database.yml files 2012-09-27 02:56:20 -07:00
database.yml.mysql cleanup database.yml files 2012-09-27 02:56:20 -07:00
database.yml.postgresql add default postgres config 2012-10-10 03:58:34 +04:00
database.yml.sqlite cleanup database.yml files 2012-09-27 02:56:20 -07:00
environment.rb Use similar interface to access gitolite 2012-08-29 00:04:06 +03:00
gitlab.yml.example improve profile layout after omniauth changes 2012-09-12 18:56:44 +03:00
resque.yml.example Add docs for customizing Redis, add example file 2012-09-18 21:53:27 -04:00
routes.rb specify HTTP verbs for match in routes 2012-10-05 07:23:57 -07:00
unicorn.rb.example Update comment in example unicorn config 2012-09-19 10:27:27 -05:00