gitlab-org--gitlab-foss/lib/banzai/pipeline
Adam Buckland ace833b31d Add indication for closed or merged issuables in GFM
Example: for issues that are closed, the links will now show '[closed]'
following the issue number. This is done as post-process after the markdown has
been loaded from the cache as the status of the issue may change between
the cache being populated and the content being displayed.

In order to avoid N+1 queries problem when rendering notes ObjectRenderer
populates the cache of referenced issuables for all notes at once,
before the post processing phase.

As a part of this change, the Banzai BaseParser#grouped_objects_for_nodes
method has been refactored to return a Hash utilising the node itself as the
key, since this was a common pattern of usage for this method.
2017-04-07 14:31:43 -05:00
..
atom_pipeline.rb Prevent circular reference error in Banzai 2016-01-14 11:30:28 +01:00
base_pipeline.rb Remove redundant requires from Banzai files 2016-03-24 13:23:47 -04:00
broadcast_message_pipeline.rb Add FilterArray class to Banzai 2016-03-01 15:54:35 -05:00
combined_pipeline.rb Add FilterArray class to Banzai 2016-03-01 15:54:35 -05:00
description_pipeline.rb Fix description and GFM pipelines conflicting 2016-06-13 13:06:40 +01:00
email_pipeline.rb Prevent circular reference error in Banzai 2016-01-14 11:30:28 +01:00
full_pipeline.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
gfm_pipeline.rb Merge branch '30125-markdown-security' 2017-04-05 21:03:46 -07:00
note_pipeline.rb Prevent circular reference error in Banzai 2016-01-14 11:30:28 +01:00
plain_markdown_pipeline.rb Add FilterArray class to Banzai 2016-03-01 15:54:35 -05:00
post_process_pipeline.rb Add indication for closed or merged issuables in GFM 2017-04-07 14:31:43 -05:00
pre_process_pipeline.rb Add blockquote fence syntax to Markdown 2016-07-09 21:23:05 -04:00
relative_link_pipeline.rb Support for rendering/redacting multiple documents 2016-06-24 11:46:39 +02:00
single_line_pipeline.rb HTMLEntityFilter -> HtmlEntityFilter 2016-10-10 15:46:26 +01:00
wiki_pipeline.rb Ensure correct filter order to validate with our markdown spec 2016-04-06 03:30:56 -03:00