Merge branch 'backport-ee' into 'master'
Backport two commits from EE Backport part of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/110 See merge request !2424
This commit is contained in:
commit
65eae647a6
43 changed files with 1 additions and 70 deletions
|
@ -44,7 +44,7 @@ module MergeRequests
|
|||
def after_merge
|
||||
MergeRequests::PostMergeService.new(project, current_user).execute(merge_request)
|
||||
|
||||
if params[:should_remove_source_branch]
|
||||
if params[:should_remove_source_branch].present?
|
||||
DeleteBranchService.new(@merge_request.source_project, current_user).
|
||||
execute(merge_request.source_branch)
|
||||
end
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
# Common methods for ReferenceFilters that support an optional cross-project
|
||||
# reference.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'active_support/core_ext/string/output_safety'
|
||||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# Issues, Merge Requests, Snippets, Commits and Commit Ranges share
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
require 'uri'
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces commit range references with links.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces commit references with links.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'action_controller'
|
||||
require 'banzai'
|
||||
require 'gitlab_emoji'
|
||||
require 'html/pipeline/filter'
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces external issue tracker references with links.
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces issue references with links. References to
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces label references with links.
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces merge request references with links. References
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require 'active_support/core_ext/string/output_safety'
|
||||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
require 'uri'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
require 'html/pipeline/sanitization_filter'
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces snippet references with links. References to
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
require 'rouge/plugins/redcarpet'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'task_list/filter'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline/filter'
|
||||
require 'uri'
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Filter
|
||||
# HTML filter that replaces user or group references with links.
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
class LazyReference
|
||||
def self.load(refs)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
def self.[](name)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class AsciidocPipeline < BasePipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class AtomPipeline < FullPipeline
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
require 'banzai'
|
||||
require 'html/pipeline'
|
||||
|
||||
module Banzai
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
module CombinedPipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class DescriptionPipeline < FullPipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class EmailPipeline < FullPipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class FullPipeline < CombinedPipeline.new(PlainMarkdownPipeline, GfmPipeline)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class GfmPipeline < BasePipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class NotePipeline < FullPipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class PlainMarkdownPipeline < BasePipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class PostProcessPipeline < BasePipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class ReferenceExtractionPipeline < BasePipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
module Pipeline
|
||||
class SingleLinePipeline < GfmPipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Banzai
|
||||
# Extract possible GFM references from an arbitrary String for further processing.
|
||||
class ReferenceExtractor
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Gitlab
|
||||
module Markdown
|
||||
class Pipeline
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require 'banzai'
|
||||
|
||||
module Gitlab
|
||||
# Extract possible GFM references from an arbitrary String for further processing.
|
||||
class ReferenceExtractor < Banzai::ReferenceExtractor
|
||||
|
|
Loading…
Reference in a new issue