Commit 65eae647 authored by Robert Speicher's avatar Robert Speicher

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
parents 14695798 255445c3
......@@ -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
......
require 'banzai'
module Banzai
# Common methods for ReferenceFilters that support an optional cross-project
# reference.
......
require 'active_support/core_ext/string/output_safety'
require 'banzai'
module Banzai
module Filter
......
require 'banzai'
module Banzai
module Filter
# Issues, Merge Requests, Snippets, Commits and Commit Ranges share
......
require 'banzai'
require 'html/pipeline/filter'
require 'uri'
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces commit range references with links.
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces commit references with links.
......
require 'action_controller'
require 'banzai'
require 'gitlab_emoji'
require 'html/pipeline/filter'
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces external issue tracker references with links.
......
require 'banzai'
require 'html/pipeline/filter'
module Banzai
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces issue references with links. References to
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces label references with links.
......
require 'banzai'
require 'html/pipeline/filter'
module Banzai
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces merge request references with links. References
......
require 'banzai'
require 'html/pipeline/filter'
module Banzai
......
require 'active_support/core_ext/string/output_safety'
require 'banzai'
require 'html/pipeline/filter'
module Banzai
......
require 'banzai'
require 'html/pipeline/filter'
module Banzai
......
require 'banzai'
require 'html/pipeline/filter'
require 'uri'
......
require 'banzai'
require 'html/pipeline/filter'
require 'html/pipeline/sanitization_filter'
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces snippet references with links. References to
......
require 'banzai'
require 'html/pipeline/filter'
require 'rouge/plugins/redcarpet'
......
require 'banzai'
require 'html/pipeline/filter'
module Banzai
......
require 'banzai'
require 'task_list/filter'
module Banzai
......
require 'banzai'
require 'html/pipeline/filter'
require 'uri'
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces user or group references with links.
......
require 'banzai'
module Banzai
class LazyReference
def self.load(refs)
......
require 'banzai'
module Banzai
module Pipeline
def self.[](name)
......
require 'banzai'
module Banzai
module Pipeline
class AsciidocPipeline < BasePipeline
......
require 'banzai'
module Banzai
module Pipeline
class AtomPipeline < FullPipeline
......
require 'banzai'
require 'html/pipeline'
module Banzai
......
require 'banzai'
module Banzai
module Pipeline
module CombinedPipeline
......
require 'banzai'
module Banzai
module Pipeline
class DescriptionPipeline < FullPipeline
......
require 'banzai'
module Banzai
module Pipeline
class EmailPipeline < FullPipeline
......
require 'banzai'
module Banzai
module Pipeline
class FullPipeline < CombinedPipeline.new(PlainMarkdownPipeline, GfmPipeline)
......
require 'banzai'
module Banzai
module Pipeline
class GfmPipeline < BasePipeline
......
require 'banzai'
module Banzai
module Pipeline
class NotePipeline < FullPipeline
......
require 'banzai'
module Banzai
module Pipeline
class PlainMarkdownPipeline < BasePipeline
......
require 'banzai'
module Banzai
module Pipeline
class PostProcessPipeline < BasePipeline
......
require 'banzai'
module Banzai
module Pipeline
class ReferenceExtractionPipeline < BasePipeline
......
require 'banzai'
module Banzai
module Pipeline
class SingleLinePipeline < GfmPipeline
......
require 'banzai'
module Banzai
# Extract possible GFM references from an arbitrary String for further processing.
class ReferenceExtractor
......
require 'banzai'
module Gitlab
module Markdown
class Pipeline
......
require 'banzai'
module Gitlab
# Extract possible GFM references from an arbitrary String for further processing.
class ReferenceExtractor < Banzai::ReferenceExtractor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment