summaryrefslogtreecommitdiff
path: root/spec/lib/banzai
Commit message (Collapse)AuthorAgeFilesLines
* Make Pipelines responsible for defining their custom whitelistrs-whitelist-in-pipelineRobert Speicher2016-02-032-22/+37
| | | | | This allows for future pipelines to more easily define a custom whitelist.
* Increase the minimum length for commit SHA matching to 7rs-issue-12706Robert Speicher2016-01-291-2/+2
| | | | | | This is the git default and will help to prevent false positive matches. Closes #12706
* Whitelist raw "abbr" elements when parsing MarkdownBenedict Etzel2016-01-231-0/+5
| | | | Closes #12517
* Refactoring Banzai::Filter::GollumTagsFilterDouglas Barbosa Alexandre2016-01-141-4/+0
|
* Add Banzai::Filter::GollumTagsFilter for parsing Gollum's tags in HTMLDouglas Barbosa Alexandre2016-01-141-0/+93
|
* Add spec for single-item task listsrs-single-item-task-list-specRobert Speicher2016-01-071-0/+6
|
* Milestone reference is a Markdown linkmilestone-refDouwe Maan2016-01-071-1/+3
|
* Remove icon from milestone reference.Douwe Maan2016-01-051-2/+2
|
* Merge branch 'master' into milestone-refDouwe Maan2016-01-053-3/+37
|\
| * Merge branch 'rs-relative-links-to-root' into 'master' Douwe Maan2016-01-051-0/+8
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support a single directory traversal in RelativeLinkFilter Prior, if we were viewing a blob at `https://example.com/namespace/project/blob/master/doc/some-file.md` and it contained a relative link such as `[README](../README.md)`, the resulting link when viewing the blob would be: `https://example.com/namespace/project/blob/README.md` which omits the `master` ref, resulting in a 404. Fixes https://gitlab.com/gitlab-org/release-tools/issues/3 See merge request !2247
| | * Support a single directory traversal in RelativeLinkFilterrs-relative-links-to-rootRobert Speicher2015-12-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Prior, if we were viewing a blob at `https://example.com/namespace/project/blob/master/doc/some-file.md` and it contained a relative link such as `[README](../README.md)`, the resulting link when viewing the blob would be: `https://example.com/namespace/project/blob/README.md` which omits the `master` ref, resulting in a 404.
| * | Optimize CSS expressions produced by Nokogiriautocomplete-performanceYorick Peterse2015-12-311-0/+13
| |/ | | | | | | | | | | | | | | | | Nokogiri produces inefficient XPath expressions when given CSS expressions such as "a.gfm". Luckily these expressions can be optimized quite easily while still achieving the same results. In the two cases where this optimization is applied the run time has been reduced from around 170 ms to around 15 ms.
| * Only allow group/project members to mention `@all`Douwe Maan2015-12-241-3/+16
| |
* | Render milestone links as referencesDouwe Maan2015-12-241-0/+73
|/
* Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan2015-12-1520-0/+2235