gitlab-org--gitlab-foss/lib/api
Kerri Miller 29f9d92642 Confirm existence of head_pipeline if pipeline success required
Pipelines are created by an async worker, so a rapid sequence of API
calls can trigger a state where the pipeline, whose existence is part of
determining if we wait for the pipeline to successfully complete before
merging, can trigger the MR to be immediately merged instead.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55127
2019-05-07 16:06:53 +00:00
..
entities Add Container Registry API 2019-01-25 13:13:48 +01:00
helpers Use a path for the related merge requests endpoint 2019-05-07 06:16:39 -07:00
release Prevent Releases links API to leak tag existance 2019-02-08 16:39:15 +00:00
validations/types Add array support for labels 2019-03-06 13:28:42 +02:00
access_requests.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
api.rb Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
api_guard.rb Add config to disable impersonation 2018-11-29 09:37:16 +01:00
applications.rb
avatar.rb
award_emoji.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
badges.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
boards.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
boards_responses.rb
branches.rb Introduce ServiceResponse to wrap around response 2019-04-22 17:16:32 +08:00
broadcast_messages.rb
circuit_breakers.rb
commit_statuses.rb Fix deprecation: Passing ActiveRecord::Base objects to sanitize_sql_hash_for_assignment 2018-12-13 21:48:43 +01:00
commits.rb Accept force option on commit via API 2019-03-06 10:44:59 +00:00
container_registry.rb Add Container Registry API 2019-01-25 13:13:48 +01:00
custom_attributes_endpoints.rb
deploy_keys.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
deployments.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
discussions.rb Allow replying to an individual note in the API 2019-05-06 19:48:32 +01:00
entities.rb Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
environments.rb Add new API endpoint to expose single environment 2019-04-09 09:16:57 +00:00
events.rb Add new api class for projects events 2019-04-24 17:20:11 +02:00
features.rb Allow setting feature flags per GitLab group 2019-02-19 14:57:03 +08:00
files.rb Use read_repository scope on read-only files API 2018-12-04 11:55:34 +01:00
group_boards.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
group_labels.rb Add documentation 2019-02-06 14:56:16 +01:00
group_milestones.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
group_variables.rb Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
groups.rb Backport some changes from EE 2019-04-02 23:20:43 -05:00
helpers.rb Get rid of the user_namespace API helper method 2019-04-24 19:39:59 +02:00
import_github.rb Return a `401` error code 2019-04-11 06:43:09 +00:00
internal.rb Whitelist query limits for internal API 2019-05-03 04:02:15 +00:00
issues.rb Set correct timestamps when creating past issues 2019-04-16 19:57:49 +08:00
job_artifacts.rb API: delete job_artifacts of a single job 2019-03-06 11:06:21 +00:00
jobs.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
keys.rb
labels.rb Simplify label helper and correct version 2019-01-31 13:49:52 +01:00
lint.rb Allow to include files from another projects 2019-01-07 09:38:05 +01:00
markdown.rb
members.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
merge_request_diffs.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
merge_requests.rb Confirm existence of head_pipeline if pipeline success required 2019-05-07 16:06:53 +00:00
milestone_responses.rb Resolve "Get milestone by title via API" 2019-03-27 09:01:07 +00:00
namespaces.rb Get rid of the user_namespace API helper method 2019-04-24 19:39:59 +02:00
notes.rb Refactor API noteable types constants 2019-03-04 17:44:56 +01:00
notification_settings.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
pages_domains.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
pagination_params.rb
pipeline_schedules.rb Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
pipelines.rb Forbid the use of `#reload` and prefer `#reset` 2019-04-15 13:05:14 +02:00
project_clusters.rb Add gitlab-managed option to clusters form 2019-05-03 01:05:53 +00:00
project_events.rb Add new api class for projects events 2019-04-24 17:20:11 +02:00
project_export.rb
project_hooks.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
project_import.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
project_milestones.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
project_snapshots.rb
project_snippets.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
project_statistics.rb Add project http fetch statistics API 2019-02-27 11:52:35 +01:00
project_templates.rb Merge branch 'sh-fix-cpp-templates-404' into 'master' 2019-02-26 12:21:57 +01:00
projects.rb Forbid the use of `#reload` and prefer `#reset` 2019-04-15 13:05:14 +02:00
projects_relation_builder.rb Enable the Layout/ExtraSpacing cop 2019-01-24 13:05:45 +01:00
protected_branches.rb Backport changes to API::ProtectedBranches 2019-03-26 14:18:29 +01:00
protected_tags.rb Fix API::Namespaces to accept namepaces with dots 2018-11-28 12:54:11 +01:00
releases.rb Allow guests users to access project releases 2019-05-03 13:29:20 +00:00
repositories.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
resource_label_events.rb Move eventable types constant to a helper 2019-03-04 17:44:56 +01:00
runner.rb Add configuration of access_level for runners on registration via API 2019-04-18 09:57:12 -04:00
runners.rb add tag_list param to runners api 2019-02-27 20:19:49 +01:00
scope.rb
search.rb Apply suggestion to lib/api/search.rb 2019-03-15 21:03:49 +01:00
services.rb Move API::Services constants to a helper 2019-03-04 17:44:57 +01:00
settings.rb Backport of 328-versioned-es-schema 2019-05-02 22:22:45 -06:00
sidekiq_metrics.rb
snippets.rb Allow all personal snippets to be accessed by API 2019-03-06 09:05:03 +00:00
submodules.rb
subscriptions.rb Simplify label helper and correct version 2019-01-31 13:49:52 +01:00
suggestions.rb Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
system_hooks.rb
tags.rb Search project tags via API 2019-01-21 10:01:00 +00:00
templates.rb Prevent a path traversal attack on global file templates 2018-12-05 14:12:35 +00:00
time_tracking_endpoints.rb
todos.rb Significantly reduce N+1 queries in /api/v4/todos endpoint 2019-03-06 07:03:46 -08:00
triggers.rb Update Triggers documentation per EE 2019-03-04 17:44:57 +01:00
users.rb Backport some changes from EE 2019-04-02 23:20:43 -05:00
variables.rb Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
version.rb Add metadata about the GitLab server to GraphQL 2019-03-05 15:00:32 +00:00
wikis.rb Added list_pages method to avoid loading all wiki pages content 2019-04-25 04:19:07 +00:00