Name |
Last commit
|
Last update |
---|---|---|
.. | ||
controllers | ||
helpers | ||
lib | ||
mailers | ||
models | ||
observers | ||
requests | ||
roles | ||
routing | ||
support | ||
workers | ||
factories.rb | ||
factories_spec.rb | ||
seed_project.tar.gz | ||
spec_helper.rb |
BigW Consortium Gitlab
* 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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
controllers | Loading commit data... | |
helpers | Loading commit data... | |
lib | Loading commit data... | |
mailers | Loading commit data... | |
models | Loading commit data... | |
observers | Loading commit data... | |
requests | Loading commit data... | |
roles | Loading commit data... | |
routing | Loading commit data... | |
support | Loading commit data... | |
workers | Loading commit data... | |
factories.rb | Loading commit data... | |
factories_spec.rb | Loading commit data... | |
seed_project.tar.gz | Loading commit data... | |
spec_helper.rb | Loading commit data... |