gitlab-org--gitlab-foss/lib/api
Stan Hu 46a6edc731 Remove N+1 queries with /projects/:project_id/{access_requests,members} API endpoints
We can simplify the code quite a bit and improve performance by using
grape-entity merge fields:

https://github.com/ruby-grape/grape-entity/tree/v0.6.0#merge-fields

Relates to #42030
2018-01-30 21:46:09 -08:00
..
helpers Default to Gitaly for 'git push' HTTP/SSH, and make Gitaly mandatory for SSH pull 2018-01-22 16:51:47 +00:00
v3 Remove N+1 queries with /projects/:project_id/{access_requests,members} API endpoints 2018-01-30 21:46:09 -08:00
access_requests.rb Remove N+1 queries with /projects/:project_id/{access_requests,members} API endpoints 2018-01-30 21:46:09 -08:00
api.rb Add application create API 2018-01-24 09:42:04 +01:00
api_guard.rb Changes after rebase 2017-11-17 10:09:56 +01:00
applications.rb Make the exposing of the Application secret more explicit 2018-01-24 09:44:07 +01:00
award_emoji.rb
boards.rb EE-BACKPORT group boards 2018-01-04 17:28:10 -02:00
boards_responses.rb EE-BACKPORT group boards 2018-01-04 17:28:10 -02:00
branches.rb Renamed ProtectedBranches::ApiUpdateService to LegacyApiUpdateService 2017-11-23 12:43:13 +00:00
broadcast_messages.rb Removes default scope from sortable 2017-09-07 13:01:59 +01:00
circuit_breakers.rb Fix duplication in API::CircuitBreakers 2018-01-15 14:03:39 +03:00
commit_statuses.rb
commits.rb Add option to disable commit stats to commit API 2018-01-09 11:36:12 +00:00
custom_attributes_endpoints.rb Support custom attributes on users 2017-09-28 16:49:42 +00:00
deploy_keys.rb Make ruby lint happy 2018-01-17 11:42:32 -02:00
deployments.rb Adds sorting to deployments API 2018-01-17 08:47:55 +01:00
entities.rb Remove N+1 queries with /projects/:project_id/{access_requests,members} API endpoints 2018-01-30 21:46:09 -08:00
environments.rb
events.rb
features.rb
files.rb
group_milestones.rb
group_variables.rb
groups.rb Refactored /projects and /user/:user_id/projects endpoints 2017-12-01 18:32:12 +01:00
helpers.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
internal.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
issues.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
job_artifacts.rb
jobs.rb Use preload instead of includes to avoid joins 2018-01-15 22:04:08 +01:00
keys.rb
labels.rb EE-BACKPORT group boards 2018-01-04 17:28:10 -02:00
lint.rb move `lib/ci/gitlab_ci_yaml_processor.rb` into `lib/gitlab/ci/yaml_processor.rb` 2017-09-12 22:32:02 +03:00
members.rb Remove N+1 queries with /projects/:project_id/{access_requests,members} API endpoints 2018-01-30 21:46:09 -08:00
merge_request_diffs.rb Removes default scope from sortable 2017-09-07 13:01:59 +01:00
merge_requests.rb Merge branch '39214__pipeline_api' into 'master' 2018-01-11 11:29:53 +00:00
milestone_responses.rb Removes default scope from sortable 2017-09-07 13:01:59 +01:00
namespaces.rb Allow request namespace by ID or path 2017-11-23 17:44:05 +01:00
notes.rb support ordering of project notes in notes api 2017-11-29 16:22:22 +00:00
notification_settings.rb refactor users update service 2017-09-28 08:46:39 +02:00
pages_domains.rb Add administrative endpoint to list all pages domains 2017-11-13 16:05:44 +00:00
pagination_params.rb
pipeline_schedules.rb
pipelines.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
project_hooks.rb
project_milestones.rb Enables Project Milestone Deletion via API 2018-01-16 13:11:59 +01:00
project_snippets.rb Fix the user-agent detail API endpoint for project snippets 2018-01-17 14:30:07 +00:00
projects.rb Resolve "Projects API: filter 'with_issues_enabled=true' returns projects with 'issues_enabled=false'" 2018-01-19 07:33:58 +00:00
projects_relation_builder.rb Not forcing to redefine preload_relation 2017-12-01 19:21:04 +01:00
protected_branches.rb Fix protected branches API to accept name parameter with dot 2018-01-19 20:07:44 +00:00
repositories.rb Adds Rubocop rule for line break around conditionals 2018-01-11 16:34:01 +00:00
runner.rb Store expire_at in ci_job_artifacts 2017-12-03 12:05:23 +01:00
runners.rb Refactorize jobs finding logic 2017-11-28 00:36:50 +01:00
scope.rb
services.rb Merge branch 'security-10-3-do-not-expose-passwords-or-tokens-in-service-integrations-api' into 'security-10-3' 2018-01-16 17:04:38 -08:00
settings.rb Add timeouts for Gitaly calls 2017-11-29 09:12:12 +00:00
sidekiq_metrics.rb
snippets.rb Adds Rubocop rule for line break after guard clause 2017-11-16 17:58:29 +01:00
subscriptions.rb
system_hooks.rb api support for merge_requests_events system hook 2018-01-04 09:33:41 +01:00
tags.rb sorting for tags api 2017-12-14 13:42:15 +00:00
templates.rb Remove 'Repo' prefix from API entites 2017-10-05 19:48:05 +11:00
time_tracking_endpoints.rb Only include the user's ID in the time_spent command's update hash 2017-12-19 15:45:08 -06:00
todos.rb
triggers.rb
users.rb Added default order to UserFinder 2017-12-04 09:49:53 +00:00
variables.rb
version.rb
wikis.rb Add API support for wiki pages 2017-09-07 09:21:52 +11:00