gitlab-org--gitlab-foss/app
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
..
assets Merge branch '38869-milestone' into 'master' 2017-11-21 10:45:23 +00:00
controllers Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
finders Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
helpers Merge branch '39497-inline-edit-issue-on-mobile' into 'master' 2017-11-20 18:43:57 +00:00
mailers
models Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
policies Merge branch 'master' into fix/sm/31771-do-not-allow-jobs-to-be-erased-new 2017-11-07 22:12:19 +09:00
presenters
serializers Merge branch 'fix/sm/31771-do-not-allow-jobs-to-be-erased-new' into 'master' 2017-11-14 10:54:30 +00:00
services Merge branch 'osw-merge-process-logs' into 'master' 2017-11-20 15:08:50 +00:00
uploaders
validators Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
views Merge branch '39821-fix-commits-list-with-multi-file-editor' into 'master' 2017-11-21 08:49:35 +00:00
workers Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master' 2017-11-20 09:22:14 +00:00