summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Convert UserReferenceFilter#link_to_group to use a guard clauseRobert Speicher2015-04-251-7/+5
|
* Refactor `UserReferenceFilter#user_link_filter`Robert Speicher2015-04-251-35/+43
|
* Fix docs for `push_result`Robert Speicher2015-04-251-2/+2
| | | | [ci skip]
* Fix NotificationService specRobert Speicher2015-04-252-5/+5
|
* Add CommitRange directly to results HashRobert Speicher2015-04-251-1/+1
|
* DRY up ReferenceExtractorRobert Speicher2015-04-251-9/+11
|
* Don't allow nil references to get added to resultsRobert Speicher2015-04-251-0/+2
|
* Update CommitRangeReferenceFilter to use CommitRange classRobert Speicher2015-04-251-33/+10
| | | | | Also matches CommitReferenceFilter's new behavior of always using short SHAs in the link text.
* Always use short SHAs as commit reference link textRobert Speicher2015-04-251-1/+1
| | | | | | Now when a user pastes a full SHA like `d7f61affaf845f44b4cc995e34eb1606c47c8eff`, its link text will only show `d7f61aff` for brevity.
* Refactor ReferenceExtractor to use pipeline filtersRobert Speicher2015-04-251-119/+36
|
* Add results to reference filtersRobert Speicher2015-04-257-2/+22
|
* Initialize the references result Hash in ReferenceFilterRobert Speicher2015-04-251-0/+16
|
* Revert "Rename namespace_regex to namespace_path_regex."Douwe Maan2015-04-244-7/+7
| | | | This reverts commit c0116926c743818b2593474946abb40b56d8fefa.
* Rename namespace_regex to namespace_path_regex.Douwe Maan2015-04-244-7/+7
|
* Revert "Revert disallowing usernames to end in period."Douwe Maan2015-04-241-2/+2
| | | | This reverts commit c75c6b840ba9ed82bb01eca52e968c2b0ec985e6.
* Fix errors.Douwe Maan2015-04-241-1/+0
|
* No longer needed to pass project argument to commit methods.Douwe Maan2015-04-242-3/+2
|
* Use project.commit convenience method.Douwe Maan2015-04-247-10/+10
|
* Let commit model know about its project.Douwe Maan2015-04-241-2/+2
|
* Provide autoload paths for filters to prevent circular dependencyRobert Speicher2015-04-232-4/+15
|
* 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.
* | Use `search_text_nodes` helper in our custom filtersrs-search_text_nodesRobert Speicher2015-04-222-2/+2
| | | | | | | | Closes #1477
* | Update Gitlab::Markdown to use the :new: EmojiFilter :sparkles:Robert Speicher2015-04-211-12/+16
| | | | | | | | Removes emoji-centric tests from GFM specs :boom:
* | Add Gitlab::Markdown::EmojiFilterRobert Speicher2015-04-211-0/+79
| |
* | Merge branch 'rs-reference-filters' into 'master'Dmitriy Zaporozhets2015-04-2112-285/+874
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert GFM reference handling to html-pipeline filters - `Gitlab::Markdown` is now much cleaner - Better separation of concerns - Cleaner, less brittle, more maintainable specs for each reference type. - Label references actually work! See merge request !1753
| * | Tweak single-word label regex to fix pending spec.Douwe Maan2015-04-201-1/+1
| | |
| * | project_from_ref returns nil when reference doesn't exist.Douwe Maan2015-04-201-9/+6
| | |
| * | project_from_ref returns nil when reference can't be accessedRobert Speicher2015-04-206-9/+14
| | | | | | | | | | | | | | | Prior it would return the project from the current context, which wasn't the intended behavior.
| * | Better commit lookup for CommitRangeReferenceFilterRobert Speicher2015-04-201-3/+15
| | |
| * | Remove extraneous IGNORE_PARENTS from filterRobert Speicher2015-04-201-4/+0
| | |
| * | Fix `user_can_reference_project?` checkRobert Speicher2015-04-201-1/+1
| | |
| * | Escape title attributes in referencesRobert Speicher2015-04-206-5/+10
| | |
| * | Better guard against nil projects in ReferenceFilterRobert Speicher2015-04-202-2/+7
| | |
| * | Minor doc fixRobert Speicher2015-04-201-1/+1
| | | | | | | | | | | | [ci skip]
| * | Fix Issue and ExternalIssue reference specsRobert Speicher2015-04-201-0/+4
| | |
| * | DRY up reference filters using ReferenceFilter base classRobert Speicher2015-04-2010-320/+55
| | |
| * | Add a ReferenceFilter base classRobert Speicher2015-04-201-0/+68
| | | | | | | | | | | | | | | This will allow for the removal of a lot of duplication from the reference filters.
| * | Fix `user_can_reference_group?` checkRobert Speicher2015-04-201-1/+0
| | |
| * | Add permission check to ReferenceExtractor's user mentionsRobert Speicher2015-04-201-1/+1
| | |
| * | Rename `user_can_read_group?` to `user_can_reference_group?`Robert Speicher2015-04-201-2/+2
| | |
| * | Check for project read permissions in cross-referencesRobert Speicher2015-04-201-3/+13
| | |
| * | Add current_user to filter contextRobert Speicher2015-04-201-0/+1
| | |
| * | Remove Gitlab::Markdown from Gitlab::ReferenceExtractorRobert Speicher2015-04-201-2/+66
| | |
| * | Add permission checking to UserReferenceFilterRobert Speicher2015-04-201-3/+12
| | |
| * | Add name-based referencing to LabelReferenceFilterRobert Speicher2015-04-201-8/+35
| | |
| * | Run SanitizationFilter before our reference filtersRobert Speicher2015-04-201-2/+7
| | |
| * | Make CommitRange and Snippets cross-referableRobert Speicher2015-04-201-12/+14
| | |
| * | Reference filters :sparkles:Robert Speicher2015-04-2010-283/+928
| |/ | | | | | | | | Commit ranges, commits, external issues, issues, labels, merge requests, snippets, users.
* | Don't autolink masked imported email addresses.Douwe Maan2015-04-211-1/+4
| |