summaryrefslogtreecommitdiff
path: root/spec/support/filter_spec_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix brittle specsRémy Coutable2017-04-031-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Split Markdown rendering & reference gatheringYorick Peterse2016-05-261-2/+1
| | | | | | | | | | This splits the Markdown rendering and reference extraction phases into two distinct code bases. The reference extraction phase no longer relies on the html-pipeline Gem (and any related code) and allows for extracting of references from multiple HTML nodes in a single pass. This means that if you want to extract user references from 200 comments you no longer need to run 200 times N number of queries, instead only a handful of queries may be needed.
* Added & use Gitlab::Routing for URL helpersroutingYorick Peterse2016-04-011-1/+1
| | | | | | | Rails' "url_helpers" method creates an anonymous Module (which a bunch of methods) on every call. By caching the output of this method in a dedicated method we can shave off about 10 seconds of loading time for an issue with around 200 comments.
* 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
* Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan2015-12-151-18/+18
|
* Autolink first so we don't pick up numeric anchors as issue references.Douwe Maan2015-12-011-3/+16
|
* Refactor reference gathering to use a dedicated filterDouwe Maan2015-10-071-1/+8
|
* Merge branch 'master' into rs-redactor-filterDouwe Maan2015-10-071-1/+1
|\
| * Groundwork for merging CI into CEDouwe Maan2015-08-251-1/+1
| |
* | Remove all permission checking from Reference filtersRobert Speicher2015-09-011-14/+0
|/
* Rename ReferenceFilterSpecHelper to FilterSpecHelperRobert Speicher2015-06-021-0/+77
And make it more generalized for all filter specs.