af3727b34a
have been fully redacted and contain cross-project references. The previous implementation relied on Note#cross_reference_not_visible_for?, which essentially tries to render all the Markdown references in a system note and only displays the note if the user can see the referring project. But this duplicated the work that Banzai::NotesRenderer was doing already. Instead, for each note we render, we memoize the number of visible user references and use it later if it is available. Improves #19273 |
||
---|---|---|
.. | ||
filter | ||
pipeline | ||
reference_parser | ||
cross_project_reference.rb | ||
filter.rb | ||
filter_array.rb | ||
note_renderer.rb | ||
object_renderer.rb | ||
pipeline.rb | ||
querying.rb | ||
redactor.rb | ||
reference_extractor.rb | ||
reference_parser.rb | ||
renderer.rb |