gitlab-org--gitlab-foss/app/controllers/projects
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
..
clusters Add more tests to Projects::Clusters::ApplicationsController 2017-11-06 18:21:10 +01:00
cycle_analytics
merge_requests Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
registry Add serializer matchers 2017-10-02 23:17:31 +02:00
settings
application_controller.rb Merge branch 'security-10-1' into '10-1-stable' 2017-10-17 15:58:58 -07:00
artifacts_controller.rb Test against public projects 2017-10-05 12:41:22 +02:00
autocomplete_sources_controller.rb
avatars_controller.rb
badges_controller.rb
blame_controller.rb
blob_controller.rb fixed bug with tabs not switching correctly 2017-10-23 10:46:27 +01:00
boards_controller.rb
branches_controller.rb Fetch the merged branches at once 2017-10-27 15:55:08 +00:00
build_artifacts_controller.rb
builds_controller.rb
clusters_controller.rb Merge branch '35616-move-gke-form-1st-iteration' into move-kubernetes-from-service-to-clusters-page-10-2-ver 2017-11-04 03:34:13 +09:00
commit_controller.rb Batchload blobs for diff generation 2017-11-21 13:53:26 +01:00
commits_controller.rb Optimise getting the pipeline status of commits 2017-11-16 16:01:14 +01:00
compare_controller.rb Detect n+1 issues involving Gitaly 2017-09-19 10:55:37 +00:00
cycle_analytics_controller.rb
deploy_keys_controller.rb created services for keys 2017-09-15 15:35:24 +00:00
deployments_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
discussions_controller.rb
environments_controller.rb
find_file_controller.rb
forks_controller.rb Employ ForkProjectsFinder in ForksController 2017-09-20 08:27:16 +10:00
git_http_client_controller.rb Consistently use PersonalAccessToken instead of PersonalToken 2017-11-02 11:39:02 +01:00
git_http_controller.rb
graphs_controller.rb
group_links_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
hook_logs_controller.rb
hooks_controller.rb
imports_controller.rb
issues_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
jobs_controller.rb Add doc. Fix spec. Add erase_build in protected_ref rule 2017-11-07 02:47:05 +09:00
labels_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
lfs_api_controller.rb Create idea of read-only database 2017-10-06 22:37:40 +02:00
lfs_storage_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
mattermosts_controller.rb
merge_requests_controller.rb Optimise getting the pipeline status of commits 2017-11-16 16:01:14 +01:00
milestones_controller.rb Allow promoting project milestones to group milestones 2017-10-31 15:03:52 +00:00
network_controller.rb Detect n+1 issues involving Gitaly 2017-09-19 10:55:37 +00:00
notes_controller.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
pages_controller.rb
pages_domains_controller.rb
pipeline_schedules_controller.rb
pipelines_controller.rb move `lib/ci/charts.rb` into `lib/gitlab/ci/charts.rb` 2017-09-12 22:32:01 +03:00
pipelines_settings_controller.rb
project_members_controller.rb
prometheus_controller.rb
protected_branches_controller.rb
protected_refs_controller.rb
protected_tags_controller.rb
raw_controller.rb
refs_controller.rb fixed karma test 2017-11-06 10:52:04 +00:00
releases_controller.rb
repositories_controller.rb
runner_projects_controller.rb
runners_controller.rb
services_controller.rb
snippets_controller.rb
tags_controller.rb
templates_controller.rb
todos_controller.rb
tree_controller.rb added feature spec 2017-10-23 10:47:22 +01:00
triggers_controller.rb
uploads_controller.rb Do not perform hard check (presence of file on storage) 2017-09-19 16:41:28 +02:00
variables_controller.rb
wikis_controller.rb Merge branch '18040-rubocop-line-break-after-guard-clause' into 'master' 2017-11-20 09:22:14 +00:00