<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/lib/banzai, branch docs-debug-dstanley</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Remove gfm_embed_metrics flag from BE</title>
<updated>2019-08-09T20:35:43+00:00</updated>
<author>
<name>Tristan Read</name>
<email>tread@gitlab.com</email>
</author>
<published>2019-08-09T20:35:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=5e6a58040bcfaa4c933027cddfad04810042b904'/>
<id>5e6a58040bcfaa4c933027cddfad04810042b904</id>
<content type='text'>
Removes the feature flag that controls whether
metrics dashboard urls unfurl the metrics dashboard
charts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes the feature flag that controls whether
metrics dashboard urls unfurl the metrics dashboard
charts.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial commit of WIP code for consideration</title>
<updated>2019-08-07T15:13:13+00:00</updated>
<author>
<name>Kerri Miller</name>
<email>kerrizor@kerrizor.com</email>
</author>
<published>2019-08-07T15:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=336d3ccc65d522633162b1f6b5fc54591c588221'/>
<id>336d3ccc65d522633162b1f6b5fc54591c588221</id>
<content type='text'>
Squash this commit and reword before merging..
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Squash this commit and reword before merging..
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq</title>
<updated>2019-07-29T18:19:50+00:00</updated>
<author>
<name>Robert Speicher</name>
<email>rspeicher@gmail.com</email>
</author>
<published>2019-07-29T18:19:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=fe22704a203111ab2146143a4ff9d2e1256aecc7'/>
<id>fe22704a203111ab2146143a4ff9d2e1256aecc7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract SanitizeNodeLink and apply to WikiLinkFilter</title>
<updated>2019-07-26T13:41:11+00:00</updated>
<author>
<name>Kerri Miller</name>
<email>kerrizor@kerrizor.com</email>
</author>
<published>2019-07-26T13:41:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=acc694ead6f8a7428efab126aa6b8a29b132db43'/>
<id>acc694ead6f8a7428efab126aa6b8a29b132db43</id>
<content type='text'>
The SanitizationFilter was running before the WikiFilter. Since
WikiFilter can modify links, we could see links that _should_ be stopped
by SanatizationFilter being rendered on the page. I (kerrizor) had
previously addressed the bug in: https://gitlab.com/gitlab-org/gitlab-ee/commit/7bc971915bbeadb950bb0e1f13510bf3038229a4
However, an additional exploit was discovered after that was merged.
Working through the issue, we couldn't simply shuffle the order of
filters, due to some implicit assumptions about the order of filters, so
instead we've extracted the logic that sanitizes a Nokogiri-generated
Node object, and applied it to the WikiLinkFilter as well.

On moving filters around:
Once we start moving around filters, we get cascading failures; fix one,
another one crops up. Many of the existing filters in the WikiPipeline
chain seem to assume that other filters have already done their work,
and thus operate on a "transform anything that's left" basis;
WikiFilter, for instance, assumes any link it finds in the markdown
should be prepended with the wiki_base_path.. but if it does that, it
also turns `href="@user"` into `href="/path/to/wiki/@user"`, which the
UserReferenceFilter doesn't see as a user reference it needs to
transform into a user profile link. This is true for all the reference
filters in the WikiPipeline.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SanitizationFilter was running before the WikiFilter. Since
WikiFilter can modify links, we could see links that _should_ be stopped
by SanatizationFilter being rendered on the page. I (kerrizor) had
previously addressed the bug in: https://gitlab.com/gitlab-org/gitlab-ee/commit/7bc971915bbeadb950bb0e1f13510bf3038229a4
However, an additional exploit was discovered after that was merged.
Working through the issue, we couldn't simply shuffle the order of
filters, due to some implicit assumptions about the order of filters, so
instead we've extracted the logic that sanitizes a Nokogiri-generated
Node object, and applied it to the WikiLinkFilter as well.

On moving filters around:
Once we start moving around filters, we get cascading failures; fix one,
another one crops up. Many of the existing filters in the WikiPipeline
chain seem to assume that other filters have already done their work,
and thus operate on a "transform anything that's left" basis;
WikiFilter, for instance, assumes any link it finds in the markdown
should be prepended with the wiki_base_path.. but if it does that, it
also turns `href="@user"` into `href="/path/to/wiki/@user"`, which the
UserReferenceFilter doesn't see as a user reference it needs to
transform into a user profile link. This is true for all the reference
filters in the WikiPipeline.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefer `flat_map` over `map` + `flatten`</title>
<updated>2019-07-26T10:44:13+00:00</updated>
<author>
<name>Peter Leitzen</name>
<email>pleitzen@gitlab.com</email>
</author>
<published>2019-07-26T10:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=8136fac26c8f470720ff90d152b93abf50f5084d'/>
<id>8136fac26c8f470720ff90d152b93abf50f5084d</id>
<content type='text'>
Convert several occurrences of `map` + `flatten` to
`flat_map` where applicable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert several occurrences of `map` + `flatten` to
`flat_map` where applicable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'issue-64645-asciidoctor-footnote-links' into 'master'</title>
<updated>2019-07-17T15:19:07+00:00</updated>
<author>
<name>Nick Thomas</name>
<email>nick@gitlab.com</email>
</author>
<published>2019-07-17T15:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=2860cfaaff0a435792081b72a5f97de85e0d4f70'/>
<id>2860cfaaff0a435792081b72a5f97de85e0d4f70</id>
<content type='text'>
Preserve footnote link ids

Closes #64645

See merge request gitlab-org/gitlab-ce!30790</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Preserve footnote link ids

Closes #64645

See merge request gitlab-org/gitlab-ce!30790</pre>
</div>
</content>
</entry>
<entry>
<title>Preserve footnote link ids</title>
<updated>2019-07-17T06:40:50+00:00</updated>
<author>
<name>Guillaume Grossetie</name>
<email>ggrossetie@gmail.com</email>
</author>
<published>2019-07-10T08:30:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=34c6f2723c3bc44aba1d9d886522fdfe8db6a9f6'/>
<id>34c6f2723c3bc44aba1d9d886522fdfe8db6a9f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename Redactor classes to ReferenceRedactor</title>
<updated>2019-07-16T20:19:08+00:00</updated>
<author>
<name>Sarah Yasonik</name>
<email>syasonik@gitlab.com</email>
</author>
<published>2019-07-16T20:19:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cea7ba513c6d623ef921fba07910e98cca71435b'/>
<id>cea7ba513c6d623ef921fba07910e98cca71435b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable section anchors</title>
<updated>2019-07-16T10:53:38+00:00</updated>
<author>
<name>Guillaume Grossetie</name>
<email>ggrossetie@gmail.com</email>
</author>
<published>2019-07-10T08:30:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=0cba81c0ecc71f411153b1f2a2952c07125217f9'/>
<id>0cba81c0ecc71f411153b1f2a2952c07125217f9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'issue-63298-asciidoc-sanitization' into 'master'</title>
<updated>2019-07-12T08:34:14+00:00</updated>
<author>
<name>Douwe Maan</name>
<email>douwe@gitlab.com</email>
</author>
<published>2019-07-12T08:34:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=84054830318a4d4221cc05ca987240c197369fcf'/>
<id>84054830318a4d4221cc05ca987240c197369fcf</id>
<content type='text'>
Prevent excessive sanitization of AsciiDoc ouptut

Closes #63298

See merge request gitlab-org/gitlab-ce!30290</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent excessive sanitization of AsciiDoc ouptut

Closes #63298

See merge request gitlab-org/gitlab-ce!30290</pre>
</div>
</content>
</entry>
</feed>
