-
- Downloads
There was an error fetching the commit references. Please try again later.
WIP: refactor the first-contributor to Issuable
this will remove the need make N queries (per-note) at the cost of having to mark notes with an attribute this opens up the possibility for other special roles for notes
Showing
- app/controllers/concerns/renders_notes.rb 8 additions, 1 deletionapp/controllers/concerns/renders_notes.rb
- app/controllers/projects/commit_controller.rb 1 addition, 1 deletionapp/controllers/projects/commit_controller.rb
- app/controllers/projects/issues_controller.rb 1 addition, 1 deletionapp/controllers/projects/issues_controller.rb
- app/controllers/projects/merge_requests/diffs_controller.rb 1 addition, 1 deletionapp/controllers/projects/merge_requests/diffs_controller.rb
- app/controllers/projects/merge_requests_controller.rb 3 additions, 3 deletionsapp/controllers/projects/merge_requests_controller.rb
- app/controllers/projects/snippets_controller.rb 1 addition, 1 deletionapp/controllers/projects/snippets_controller.rb
- app/controllers/snippets_controller.rb 1 addition, 1 deletionapp/controllers/snippets_controller.rb
- app/helpers/issuables_helper.rb 9 additions, 0 deletionsapp/helpers/issuables_helper.rb
- app/helpers/notes_helper.rb 1 addition, 6 deletionsapp/helpers/notes_helper.rb
- app/models/concerns/issuable.rb 5 additions, 0 deletionsapp/models/concerns/issuable.rb
- app/models/note.rb 24 additions, 1 deletionapp/models/note.rb
- app/models/project_team.rb 1 addition, 1 deletionapp/models/project_team.rb
- app/views/projects/notes/_actions.html.haml 3 additions, 4 deletionsapp/views/projects/notes/_actions.html.haml
- lib/gitlab/access.rb 5 additions, 1 deletionlib/gitlab/access.rb
- spec/helpers/notes_helper_spec.rb 6 additions, 71 deletionsspec/helpers/notes_helper_spec.rb
- spec/models/concerns/issuable_spec.rb 73 additions, 0 deletionsspec/models/concerns/issuable_spec.rb
Please register or sign in to comment