Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
85584834
Commit
85584834
authored
Mar 24, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant `require`s from Banzai files
We're trying to avoid circular dependency errors.
parent
6b95be1d
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
0 additions
and
38 deletions
+0
-38
lib/banzai/filter.rb
lib/banzai/filter.rb
+0
-2
lib/banzai/filter/autolink_filter.rb
lib/banzai/filter/autolink_filter.rb
+0
-1
lib/banzai/filter/emoji_filter.rb
lib/banzai/filter/emoji_filter.rb
+0
-4
lib/banzai/filter/external_link_filter.rb
lib/banzai/filter/external_link_filter.rb
+0
-2
lib/banzai/filter/gollum_tags_filter.rb
lib/banzai/filter/gollum_tags_filter.rb
+0
-3
lib/banzai/filter/markdown_filter.rb
lib/banzai/filter/markdown_filter.rb
+0
-2
lib/banzai/filter/milestone_reference_filter.rb
lib/banzai/filter/milestone_reference_filter.rb
+0
-2
lib/banzai/filter/redactor_filter.rb
lib/banzai/filter/redactor_filter.rb
+0
-2
lib/banzai/filter/reference_filter.rb
lib/banzai/filter/reference_filter.rb
+0
-3
lib/banzai/filter/reference_gatherer_filter.rb
lib/banzai/filter/reference_gatherer_filter.rb
+0
-2
lib/banzai/filter/relative_link_filter.rb
lib/banzai/filter/relative_link_filter.rb
+0
-1
lib/banzai/filter/sanitization_filter.rb
lib/banzai/filter/sanitization_filter.rb
+0
-3
lib/banzai/filter/syntax_highlight_filter.rb
lib/banzai/filter/syntax_highlight_filter.rb
+0
-1
lib/banzai/filter/table_of_contents_filter.rb
lib/banzai/filter/table_of_contents_filter.rb
+0
-2
lib/banzai/filter/upload_link_filter.rb
lib/banzai/filter/upload_link_filter.rb
+0
-1
lib/banzai/filter/yaml_front_matter_filter.rb
lib/banzai/filter/yaml_front_matter_filter.rb
+0
-3
lib/banzai/pipeline/base_pipeline.rb
lib/banzai/pipeline/base_pipeline.rb
+0
-2
lib/banzai/pipeline/wiki_pipeline.rb
lib/banzai/pipeline/wiki_pipeline.rb
+0
-2
No files found.
lib/banzai/filter.rb
View file @
85584834
require
'active_support/core_ext/string/output_safety'
module
Banzai
module
Banzai
module
Filter
module
Filter
def
self
.
[]
(
name
)
def
self
.
[]
(
name
)
...
...
lib/banzai/filter/autolink_filter.rb
View file @
85584834
require
'html/pipeline/filter'
require
'uri'
require
'uri'
module
Banzai
module
Banzai
...
...
lib/banzai/filter/emoji_filter.rb
View file @
85584834
require
'action_controller'
require
'gitlab_emoji'
require
'html/pipeline/filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
# HTML filter that replaces :emoji: with images.
# HTML filter that replaces :emoji: with images.
...
...
lib/banzai/filter/external_link_filter.rb
View file @
85584834
require
'html/pipeline/filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
# HTML Filter to add a `rel="nofollow"` attribute to external links
# HTML Filter to add a `rel="nofollow"` attribute to external links
...
...
lib/banzai/filter/gollum_tags_filter.rb
View file @
85584834
require
'banzai'
require
'html/pipeline/filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
# HTML Filter for parsing Gollum's tags in HTML. It's only parses the
# HTML Filter for parsing Gollum's tags in HTML. It's only parses the
...
...
lib/banzai/filter/markdown_filter.rb
View file @
85584834
require
'html/pipeline/filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
class
MarkdownFilter
<
HTML
::
Pipeline
::
TextFilter
class
MarkdownFilter
<
HTML
::
Pipeline
::
TextFilter
...
...
lib/banzai/filter/milestone_reference_filter.rb
View file @
85584834
require
'banzai'
module
Banzai
module
Banzai
module
Filter
module
Filter
# HTML filter that replaces milestone references with links.
# HTML filter that replaces milestone references with links.
...
...
lib/banzai/filter/redactor_filter.rb
View file @
85584834
require
'html/pipeline/filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
# HTML filter that removes references to records that the current user does
# HTML filter that removes references to records that the current user does
...
...
lib/banzai/filter/reference_filter.rb
View file @
85584834
require
'active_support/core_ext/string/output_safety'
require
'html/pipeline/filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
# Base class for GitLab Flavored Markdown reference filters.
# Base class for GitLab Flavored Markdown reference filters.
...
...
lib/banzai/filter/reference_gatherer_filter.rb
View file @
85584834
require
'html/pipeline/filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
# HTML filter that gathers all referenced records that the current user has
# HTML filter that gathers all referenced records that the current user has
...
...
lib/banzai/filter/relative_link_filter.rb
View file @
85584834
require
'html/pipeline/filter'
require
'uri'
require
'uri'
module
Banzai
module
Banzai
...
...
lib/banzai/filter/sanitization_filter.rb
View file @
85584834
require
'html/pipeline/filter'
require
'html/pipeline/sanitization_filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
# Sanitize HTML
# Sanitize HTML
...
...
lib/banzai/filter/syntax_highlight_filter.rb
View file @
85584834
require
'html/pipeline/filter'
require
'rouge/plugins/redcarpet'
require
'rouge/plugins/redcarpet'
module
Banzai
module
Banzai
...
...
lib/banzai/filter/table_of_contents_filter.rb
View file @
85584834
require
'html/pipeline/filter'
module
Banzai
module
Banzai
module
Filter
module
Filter
# HTML filter that adds an anchor child element to all Headers in a
# HTML filter that adds an anchor child element to all Headers in a
...
...
lib/banzai/filter/upload_link_filter.rb
View file @
85584834
require
'html/pipeline/filter'
require
'uri'
require
'uri'
module
Banzai
module
Banzai
...
...
lib/banzai/filter/yaml_front_matter_filter.rb
View file @
85584834
require
'html/pipeline/filter'
require
'yaml'
module
Banzai
module
Banzai
module
Filter
module
Filter
class
YamlFrontMatterFilter
<
HTML
::
Pipeline
::
Filter
class
YamlFrontMatterFilter
<
HTML
::
Pipeline
::
Filter
...
...
lib/banzai/pipeline/base_pipeline.rb
View file @
85584834
require
'html/pipeline'
module
Banzai
module
Banzai
module
Pipeline
module
Pipeline
class
BasePipeline
class
BasePipeline
...
...
lib/banzai/pipeline/wiki_pipeline.rb
View file @
85584834
require
'banzai'
module
Banzai
module
Banzai
module
Pipeline
module
Pipeline
class
WikiPipeline
<
FullPipeline
class
WikiPipeline
<
FullPipeline
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment