gitlab-org--gitlab-foss/lib/banzai
Stan Hu 494e00caa3 Fix 404s for snippet uploads when relative URL root used
Personal snippet uploads have neither a group nor a project. If a GitLab
instance were configured with a relative URL root (e.g. `/gitlab`), then
the Markdown filter would not include this root in the generated path.
We fix this by adding this root if there is no group or project.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56280
2019-01-22 17:56:25 -08:00
..
filter Fix 404s for snippet uploads when relative URL root used 2019-01-22 17:56:25 -08:00
pipeline Properly process footnotes in markdown 2019-01-08 16:33:28 -06:00
reference_parser Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
renderer Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
color_parser.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
commit_renderer.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
cross_project_reference.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
filter.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
filter_array.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
issuable_extractor.rb Prepare Banzai to work with group issuables 2018-10-31 16:04:48 +01:00
object_renderer.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
pipeline.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
querying.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
redactor.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
reference_extractor.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
reference_parser.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
render_context.rb Support Markdown rendering using multiple projects 2018-04-11 14:10:19 +02:00
renderer.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
request_store_reference_cache.rb Enable more frozen string in lib/**/*.rb 2018-10-06 17:02:50 -07:00
suggestions_parser.rb Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00