gitlab-org--gitlab-foss/app/services/merge_requests
Stan Hu d3fa9c9539 Fix remove_source_branch merge request API handling
Users attempting to set merge requests to `remove_source_branch` to
`false` would encounter an Error 500 because the UpdateService and API
checked `present?`, which would always return `false`. We now just
use `has_key?` to decide whether the parameter is present.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60530
2019-04-15 11:27:33 -07:00
..
conflicts Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
add_todo_when_build_fails_service.rb Fix merge requst relationships with pipeline in MWPSService 2019-04-05 09:26:56 +07:00
assign_issues_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
base_service.rb [CE] Support multiple assignees for merge requests 2019-04-08 18:40:00 -03:00
build_service.rb Check issue milestone availability 2019-02-14 15:28:02 +01:00
close_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
create_from_issue_service.rb Creates /create_merge_request quickaction 2018-11-14 15:16:19 +01:00
create_service.rb Create detached merge request pipelines 2019-03-29 13:58:45 +07:00
delete_non_latest_diffs_service.rb Add a thin encapsulation around .pluck(:id) 2019-03-28 16:18:23 +00:00
ff_merge_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
get_urls_service.rb Revert "Merge branch 'blackst0ne-update-push-new-merge-request-url' into 'master'" 2018-11-07 13:32:20 +00:00
merge_base_service.rb Move error check to pvt 2019-02-25 10:41:03 -03:00
merge_service.rb Allow custom hooks errors to appear in GitLab UI 2019-03-26 13:05:40 +13:00
merge_to_ref_service.rb Check mergeability in merge to ref service 2019-04-01 14:02:57 +07:00
merge_when_pipeline_succeeds_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
migrate_external_diffs_service.rb Allow external diffs to be used conditionally 2019-03-27 16:51:33 +00:00
post_merge_service.rb Retrieve merge request closing issues from database cache 2018-08-06 11:58:22 -03:00
push_options_handler_service.rb Fix MR assignees for push options 2019-04-09 20:40:12 +01:00
rebase_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
refresh_service.rb Update comments about N + 1 Gitaly calls 2019-04-09 17:21:16 +02:00
reload_diffs_service.rb Comment on any expanded diff line on MRs 2018-11-09 16:56:48 -02:00
reopen_service.rb Disallow reopening of locked merge requests 2019-03-08 08:34:20 +00:00
resolved_discussion_notification_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00
squash_service.rb Externalize strings detected by rubocop-i18n 2019-04-15 12:25:48 +00:00
update_service.rb Fix remove_source_branch merge request API handling 2019-04-15 11:27:33 -07:00
working_copy_base_service.rb Enable more frozen string in app/services/**/*.rb 2018-07-17 15:19:40 -07:00