gitlab-org--gitlab-foss/app/controllers
Zeger-Jan van de Weg f9565e3039
Batchload blobs for diff generation
After installing a new gem, batch-loader, a construct can be used to
queue data to be fetched in bulk. The gem was also introduced in both
gitlab-org/gitlab-ce!14680 and gitlab-org/gitlab-ce!14846, but those mrs
are not merged yet.

For the generation of diffs, both the old blob and the new blob need to
be loaded. This for every file in the diff, too. Now we collect all
these so we do 1 fetch. Three `.allow_n_plus_1_calls` have been removed,
which I expect to be valid, but this needs to be confirmed by a full CI
run.

Possibly closes:
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37445
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37599
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37431
2017-11-21 13:53:26 +01:00
..
admin
boards Add issue sidebar and toggle_subscription endpoint in board issues data 2017-11-20 12:38:53 -02:00
ci
concerns Make sure NotesActions#noteable returns a Noteable in the update action 2017-11-16 15:12:23 +01:00
dashboard Fix access to the final page of todos 2017-11-09 13:13:48 +00:00
explore
google_api
groups
import Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
oauth
profiles
projects Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
sherlock
snippets Make sure NotesActions#noteable returns a Noteable in the update action 2017-11-16 15:12:23 +01:00
abuse_reports_controller.rb
application_controller.rb Impersonation no longer gets stuck on password change. 2017-11-20 18:02:41 +01:00
autocomplete_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
confirmations_controller.rb
dashboard_controller.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
groups_controller.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00
health_check_controller.rb
health_controller.rb
help_controller.rb
invites_controller.rb
jwt_controller.rb
koding_controller.rb
metrics_controller.rb
notification_settings_controller.rb
omniauth_callbacks_controller.rb Changing OAuth lookup to be case insensitive 2017-11-17 14:24:25 +00:00
passwords_controller.rb
profiles_controller.rb
projects_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
registrations_controller.rb
root_controller.rb
search_controller.rb
sent_notifications_controller.rb
sessions_controller.rb
snippets_controller.rb
unicorn_test_controller.rb
uploads_controller.rb
users_controller.rb Resolve "DashboardController#activity.json is slow due to SQL" 2017-11-06 16:52:56 +00:00