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
base_pipeline.rb
broadcast_message_pipeline.rb
combined_pipeline.rb
description_pipeline.rb
email_pipeline.rb
full_pipeline.rb
gfm_pipeline.rb Merge branch '30125-markdown-security' 2017-04-05 21:03:46 -07:00
note_pipeline.rb
plain_markdown_pipeline.rb
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
relative_link_pipeline.rb
single_line_pipeline.rb HTMLEntityFilter -> HtmlEntityFilter 2016-10-10 15:46:26 +01:00
wiki_pipeline.rb