summaryrefslogtreecommitdiff
path: root/lib/gitlab/reference_extractor.rb
Commit message (Collapse)AuthorAgeFilesLines
* Split Markdown rendering & reference gatheringYorick Peterse2016-05-261-11/+8
| | | | | | | | | | 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.
* Improvements in issue move feaure (refactoring)Grzegorz Bizon2016-03-191-0/+10
| | | | According to endbosses' suggestions.
* Move reference unfolder for GFM to separate classGrzegorz Bizon2016-03-171-1/+7
|
* Prevent circular reference error in BanzaiDouwe Maan2016-01-141-2/+0
|
* Merge branch 'master' into milestone-refDouwe Maan2016-01-051-7/+12
|\
| * Only allow group/project members to mention `@all`Douwe Maan2015-12-241-7/+12
| |
* | Render milestone links as referencesDouwe Maan2015-12-241-1/+1
|/
* Backport JIRA serviceDrew Blessing2015-12-181-1/+11
|
* Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan2015-12-151-44/+9
|
* Move Markdown filters and pipelines into folders.Douwe Maan2015-11-191-2/+1
|
* Slight refactoringDouwe Maan2015-10-221-10/+2
|
* Merge branch 'master' into reference-pipeline-and-cachingDouwe Maan2015-10-211-1/+1
|\
| * Fix bug where a push would only create cross references from the first commit.hash-block-returnDouwe Maan2015-10-181-1/+1
| |
| * Merge branch 'master' into rs-redactor-filterDouwe Maan2015-10-151-0/+2
| |\
| | * Simplify code around (cross)-referencesDouwe Maan2015-10-121-0/+2
| | |
* | | Cache rendered contents of issues, MRs and notesDouwe Maan2015-10-141-10/+10
| | |
* | | Use Gitlab::Markdown for Asciidoc and ReferenceExtractor pipelinesDouwe Maan2015-10-141-8/+10
| | |
* | | Enable caching of Gitlab::Markdown rendered resultDouwe Maan2015-10-141-2/+2
| | |
* | | Use Gitlab::Markdown.render with :pipeline option rather than different methodsDouwe Maan2015-10-141-11/+9
|/ /
* | Explicitly only parse references by specified filterDouwe Maan2015-10-141-2/+6
| |
* | Have Issue#participants load all users mentioned in notes using a single queryDouwe Maan2015-10-141-10/+11
| |
* | Code cleanupDouwe Maan2015-10-131-9/+3
| |
* | Allow ReferenceExtractor to efficiently load references from multiple texts ↵Douwe Maan2015-10-131-5/+18
| | | | | | | | at once
* | Refactor reference gathering to use a dedicated filterDouwe Maan2015-10-071-1/+1
|/
* Require gitlab/markdown in ReferenceExtractorRobert Speicher2015-09-011-0/+2
|
* Decouple Gitlab::Markdown from the GitlabMarkdownHelperRobert Speicher2015-08-271-6/+2
| | | | | This module is now the sole source of knowledge for *how* we render Markdown (and GFM).
* Ignore references in blockquotes.Douwe Maan2015-06-021-1/+2
|
* Actually ignore references in code blocks etc.Douwe Maan2015-06-021-34/+17
|
* DRY up ReferenceExtractorRobert Speicher2015-04-251-9/+11
|
* Refactor ReferenceExtractor to use pipeline filtersRobert Speicher2015-04-251-119/+36
|
* Merge branch 'issue-body-code-mentions' into 'master'Dmitriy Zaporozhets2015-04-231-2/+2
|\ | | | | | | | | | | | | | | Fix bug causing at-username inside code blocks to sometimes be picked up as a user mention. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2254. See merge request !553
| * Fix bug causing `@whatever` inside code blocks to sometimes be picked up as ↵issue-body-code-mentionsDouwe Maan2015-04-211-2/+2
| | | | | | | | a user mention.
* | Add permission check to ReferenceExtractor's user mentionsRobert Speicher2015-04-201-1/+1
| |
* | Remove Gitlab::Markdown from Gitlab::ReferenceExtractorRobert Speicher2015-04-201-2/+66
|/
* Merge branch 'reference-access-control' into 'master'Dmitriy Zaporozhets2015-04-131-53/+53
|\ | | | | | | | | | | | | | | Only allow users to reference groups, projects, issues, MRs, commits they have access to. Addresses https://dev.gitlab.org/gitlab/gitlabhq/issues/2183. See merge request !1742
| * Refactor ReferenceExtractor.Douwe Maan2015-04-031-29/+28
| |
| * Fix errors.Douwe Maan2015-04-021-18/+6
| |
| * Don't allow full access to guests in ReferenceExtractorDouwe Maan2015-04-021-3/+0
| |
| * Refactor Mentionable mentioned users to use ReferenceExtractor.Douwe Maan2015-04-021-2/+10
| |
| * Only allow user to reference objects they have access to.Douwe Maan2015-04-021-3/+11
| |
| * Slightly refactor ReferenceExtractor.Douwe Maan2015-04-021-35/+35
| |
* | Be more explicit about which "Markdown" ReferenceExtractor includesRobert Speicher2015-04-091-1/+1
|/
* Disable reference creation for comments surrounded by code/preformatted blocksStan Hu2015-03-191-1/+7
|
* Automatically link commit ranges to compare page.Douwe Maan2015-03-071-3/+13
|
* Add ExternalIssue base model to make issue referencing more robust for ↵Marin Jankovski2015-02-111-1/+1
| | | | external issue trackers.
* Add labels notesNikita Verkhovin2015-02-081-2/+9
|
* Track projects in ReferenceExtractorVinnie Okada2014-10-031-20/+32
| | | | | | Store both the project and identifier of extracted references. This prevents `ReferenceExtractor` from returning objects in the wrong project for cross-project references.
* Fix ReferenceExtractorVinnie Okada2014-10-031-1/+1
| | | | | The cross-project reference feature broke the ReferenceExtractor class; this fixes it.
* Add parenthesis to function def with arguments.Ciro Santilli2014-10-031-6/+6
|
* links to issues on main dashboardskv2014-05-261-1/+1
|