gitlab-ce/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 Merge branch 'refactor-services-for-audit-events-ce' into 'master' 2017-11-03 08:40:00 +00:00
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 Reuse the groups tree for explore and dashboard. 2017-10-04 22:49:41 +02:00
google_api Improve redirect uri state and fix all remaining tests 2017-10-06 16:14:14 +02:00
groups Nest the group_children_path inside the canonical group path 2017-10-12 11:36:55 +02:00
import Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
oauth refactor code 2017-10-31 09:03:59 +01:00
profiles Merge branch 'refactor-services-for-audit-events-ce' into 'master' 2017-11-03 08:40:00 +00:00
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 use a delegate for `username` to be more future friendly 2017-10-27 16:32:48 +02:00
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 Added ssh fingerprint, gitlab ci and pages information in an instance configuration page 2017-10-25 23:51:26 +03:00
invites_controller.rb
jwt_controller.rb Consistently use PersonalAccessToken instead of PersonalToken 2017-11-02 11:39:02 +01:00
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 Move RSS and incoming email tokens from User Settings > Accounts to User Settings > Access Tokens 2017-11-02 11:39:03 +01:00
projects_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
registrations_controller.rb Show confirmation modal before deleting account 2017-10-06 20:40:41 +00:00
root_controller.rb
search_controller.rb
sent_notifications_controller.rb
sessions_controller.rb Create idea of read-only database 2017-10-06 22:37:40 +02:00
snippets_controller.rb Add support for markdown preview to group milestones 2017-10-11 20:03:19 +11:00
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