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 |
---|---|---|
.. | ||
admin | Loading commit data... | |
admin_controller.rb | Loading commit data... | |
application_controller.rb | Loading commit data... | |
blame_controller.rb | Loading commit data... | |
blob_controller.rb | Loading commit data... | |
commit_controller.rb | Loading commit data... | |
commits_controller.rb | Loading commit data... | |
compare_controller.rb | Loading commit data... | |
dashboard_controller.rb | Loading commit data... | |
deploy_keys_controller.rb | Loading commit data... | |
errors_controller.rb | Loading commit data... | |
groups_controller.rb | Loading commit data... | |
help_controller.rb | Loading commit data... | |
hooks_controller.rb | Loading commit data... | |
issues_controller.rb | Loading commit data... | |
keys_controller.rb | Loading commit data... | |
labels_controller.rb | Loading commit data... | |
merge_requests_controller.rb | Loading commit data... | |
milestones_controller.rb | Loading commit data... | |
notes_controller.rb | Loading commit data... | |
omniauth_callbacks_controller.rb | Loading commit data... | |
profile_controller.rb | Loading commit data... | |
project_resource_controller.rb | Loading commit data... | |
projects_controller.rb | Loading commit data... | |
protected_branches_controller.rb | Loading commit data... | |
refs_controller.rb | Loading commit data... | |
repositories_controller.rb | Loading commit data... | |
search_controller.rb | Loading commit data... | |
snippets_controller.rb | Loading commit data... | |
team_members_controller.rb | Loading commit data... | |
tree_controller.rb | Loading commit data... | |
wikis_controller.rb | Loading commit data... |