Commit 5e645889 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'rs-banzai-requires' into 'master'

Remove redundant `require`s from Banzai files

We're trying to avoid circular dependency errors.

Related: https://gitlab.com/gitlab-org/gitlab-ce/issues/13521

Sentry: https://sentry.gitlap.com/gitlab/gitlabcom/issues/8/

See merge request !3391
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 07a4aaca
......@@ -16,6 +16,7 @@ v 8.6.2
- Fix an issue hiding the password form when signed-in with a linked account. !3381
- Add links to CI setup documentation from project settings and builds pages. !3384
- Fix an issue with width of project select dropdown. !3386
- Remove redundant `require`s from Banzai files. !3391
- Fix error 500 with cancel button on issuable edit form. !3392 + !3417
- Fix background when editing a highlighted note. !3423
- Remove tabstop from the WIP toggle links. !3426
......
require 'active_support/core_ext/string/output_safety'
module Banzai
module Filter
def self.[](name)
......
require 'html/pipeline/filter'
require 'uri'
module Banzai
......
require 'action_controller'
require 'gitlab_emoji'
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that replaces :emoji: with images.
......
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML Filter to add a `rel="nofollow"` attribute to external links
......
require 'banzai'
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML Filter for parsing Gollum's tags in HTML. It's only parses the
......
require 'html/pipeline/filter'
module Banzai
module Filter
class MarkdownFilter < HTML::Pipeline::TextFilter
......
require 'banzai'
module Banzai
module Filter
# HTML filter that replaces milestone references with links.
......
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that removes references to records that the current user does
......
require 'active_support/core_ext/string/output_safety'
require 'html/pipeline/filter'
module Banzai
module Filter
# Base class for GitLab Flavored Markdown reference filters.
......
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that gathers all referenced records that the current user has
......
require 'html/pipeline/filter'
require 'uri'
module Banzai
......
require 'html/pipeline/filter'
require 'html/pipeline/sanitization_filter'
module Banzai
module Filter
# Sanitize HTML
......
require 'html/pipeline/filter'
require 'rouge/plugins/redcarpet'
module Banzai
......
require 'html/pipeline/filter'
module Banzai
module Filter
# HTML filter that adds an anchor child element to all Headers in a
......
require 'html/pipeline/filter'
require 'uri'
module Banzai
......
require 'html/pipeline/filter'
require 'yaml'
module Banzai
module Filter
class YamlFrontMatterFilter < HTML::Pipeline::Filter
......
require 'html/pipeline'
module Banzai
module Pipeline
class BasePipeline
......
require 'banzai'
module Banzai
module Pipeline
class WikiPipeline < FullPipeline
......
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