Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move Markdown/reference logic from Gitlab::Markdown to Banzai | Douwe Maan | 2015-12-15 | 20 | -2235/+0 |
| | |||||
* | Merge branch 'master' into tmp-reference-pipeline-and-cachingtmp-reference-pipeline-and-caching | Douwe Maan | 2015-12-10 | 20 | -20/+20 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # spec/lib/gitlab/markdown/autolink_filter_spec.rb # spec/lib/gitlab/markdown/commit_range_reference_filter_spec.rb # spec/lib/gitlab/markdown/commit_reference_filter_spec.rb # spec/lib/gitlab/markdown/cross_project_reference_spec.rb # spec/lib/gitlab/markdown/emoji_filter_spec.rb # spec/lib/gitlab/markdown/external_issue_reference_filter_spec.rb # spec/lib/gitlab/markdown/external_link_filter_spec.rb # spec/lib/gitlab/markdown/issue_reference_filter_spec.rb # spec/lib/gitlab/markdown/label_reference_filter_spec.rb # spec/lib/gitlab/markdown/merge_request_reference_filter_spec.rb # spec/lib/gitlab/markdown/redactor_filter_spec.rb # spec/lib/gitlab/markdown/reference_gatherer_filter_spec.rb # spec/lib/gitlab/markdown/relative_link_filter_spec.rb # spec/lib/gitlab/markdown/sanitization_filter_spec.rb # spec/lib/gitlab/markdown/snippet_reference_filter_spec.rb # spec/lib/gitlab/markdown/syntax_highlight_filter_spec.rb # spec/lib/gitlab/markdown/table_of_contents_filter_spec.rb # spec/lib/gitlab/markdown/task_list_filter_spec.rb # spec/lib/gitlab/markdown/upload_link_filter_spec.rb # spec/lib/gitlab/markdown/user_reference_filter_spec.rb | ||||
| * | Tag lib specs | Douwe Maan | 2015-12-09 | 20 | -20/+20 |
| | | |||||
* | | Store the demodulized reference filter name in data attribute | Robert Speicher | 2015-12-07 | 2 | -14/+14 |
| | | |||||
* | | Merge branch 'master' into reference-pipeline-and-caching | Douwe Maan | 2015-12-07 | 7 | -111/+370 |
|\ \ | |/ | |||||
| * | Use URL helpers in specs | Douwe Maan | 2015-12-03 | 1 | -3/+3 |
| | | |||||
| * | Merge branch 'master' into link-refs | Douwe Maan | 2015-12-02 | 1 | -3/+3 |
| |\ | |||||
| * | | Satisfy Rubocop | Douwe Maan | 2015-12-02 | 2 | -2/+2 |
| | | | |||||
| * | | Pick up direct links to issues/MRs as references. | Douwe Maan | 2015-12-01 | 7 | -41/+145 |
| | | | |||||
| * | | Autolink first so we don't pick up numeric anchors as issue references. | Douwe Maan | 2015-12-01 | 5 | -87/+87 |
| | | | |||||
| * | | Render commit reference using short sha, but include full sha in comment. | Douwe Maan | 2015-12-01 | 2 | -4/+4 |
| | | | |||||
| * | | Fix specs | Douwe Maan | 2015-11-30 | 2 | -3/+1 |
| | | | |||||
| * | | Recognize commit range with named refs in compare URLs. | Douwe Maan | 2015-11-30 | 1 | -5/+6 |
| | | | |||||
| * | | Recognize issue/MR/snippet/commit links as references. | Douwe Maan | 2015-11-30 | 5 | -3/+158 |
| | | | |||||
| * | | Render commit range reference with short shas, link to full shas. | Douwe Maan | 2015-11-30 | 1 | -3/+4 |
| | | | |||||
* | | | Merge branch 'master' into reference-pipeline-and-caching | Douwe Maan | 2015-12-02 | 1 | -3/+3 |
|\ \ \ | | |/ | |/| | |||||
| * | | fix specsrails_update_to_4_2 | Valery Sizov | 2015-11-30 | 1 | -3/+3 |
| |/ | |||||
* | | Move Markdown filters and pipelines into folders. | Douwe Maan | 2015-11-19 | 39 | -1996/+1961 |
| | | |||||
* | | Merge branch 'master' into reference-pipeline-and-caching | Douwe Maan | 2015-11-19 | 1 | -10/+91 |
|\ \ | |/ | |||||
| * | Merge branch 'rs-dev-issue-2613' into 'master' | Douwe Maan | 2015-11-02 | 1 | -10/+91 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add custom protocol whitelisting to SanitizationFilter Addresses internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2613 We allow any protocol for autolinks: irc://irc.freenode.net/git But manual Markdown links with the same protocol get sanitized: `[This will not be clickable](irc://irc.freenode.net/git)`: [This will not be clickable](irc://irc.freenode.net/git) To get around this we have to first allow *all* protocols, and then manually clean dangerous (i.e., `javascript:`) protocols. See merge request !1496 | ||||
| | * | Add custom protocol whitelisting to SanitizationFilterrs-dev-issue-2613 | Robert Speicher | 2015-10-01 | 1 | -10/+91 |
| | | | | | | | | | | | | Addresses internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2613 | ||||
| * | | Merge branch 'master' into rs-redactor-filter | Douwe Maan | 2015-10-15 | 1 | -0/+75 |
| |\ \ | |||||
* | | | | Fix specs | Douwe Maan | 2015-10-22 | 1 | -4/+4 |
| | | | | |||||
* | | | | Merge branch 'master' into rs-redactor-filter | Douwe Maan | 2015-10-14 | 1 | -0/+75 |
|\ \ \ \ | |/ / / |/| / / | |/ / | |||||
| * | | Fix: Images cannot show when projects' path was changeduploads_path_fix | Valery Sizov | 2015-10-14 | 1 | -0/+75 |
| |/ | |||||
* | | Refactor reference gathering to use a dedicated filter | Douwe Maan | 2015-10-07 | 9 | -86/+226 |
| | | |||||
* | | Merge branch 'master' into rs-redactor-filter | Douwe Maan | 2015-10-07 | 2 | -4/+41 |
|\ \ | |/ | |||||
| * | Allow RelativeLinkFilter to go up multiple directoriesrs-relative-link-up-one | Robert Speicher | 2015-09-20 | 1 | -0/+8 |
| | | |||||
| * | Allow relative links to go up one directory level | Robert Speicher | 2015-09-18 | 1 | -4/+14 |
| | | |||||
| * | Add comments and clean up test for !1274 | Stan Hu | 2015-09-10 | 1 | -3/+0 |
| | | |||||
| * | Gracefully handle errors in syntax highlighting by leaving the block unformatted | Stan Hu | 2015-09-10 | 1 | -0/+22 |
| | | | | | | | | Closes #2433 | ||||
* | | Remove unnecessary current_user context from filter specs | Robert Speicher | 2015-09-02 | 2 | -24/+11 |
| | | |||||
* | | Add RedactorFilter specs for invalid Group and Project references | Robert Speicher | 2015-09-01 | 1 | -0/+12 |
| | | |||||
* | | Add RedactorFilter | Robert Speicher | 2015-09-01 | 1 | -0/+76 |
| | | |||||
* | | Remove all permission checking from Reference filters | Robert Speicher | 2015-09-01 | 7 | -199/+103 |
|/ | |||||
* | Reference filters no longer take a custom class context option | Robert Speicher | 2015-08-27 | 8 | -40/+0 |
| | |||||
* | Re-enable the "links with adjacent text" UserReferenceFilter specrs-re-enable-user-reference-spec | Robert Speicher | 2015-08-24 | 1 | -1/+0 |
| | |||||
* | Remove trailing HTML entities from non-Rinku autolinks as well.rs-dev-issue-2550 | Robert Speicher | 2015-08-20 | 1 | -0/+10 |
| | |||||
* | Merge branch 'rs-reference-data-attrs' into 'master' | Robert Speicher | 2015-08-10 | 7 | -0/+64 |
|\ | | | | | | | | | | | | | Add `data-[type]-id` attribute to reference links This is to let us redact them later in another filter. See merge request !1110 | ||||
| * | Add `data-[type]-id` attribute to reference linksrs-reference-data-attrs | Robert Speicher | 2015-08-08 | 7 | -0/+64 |
| | | | | | | | | This is to let us redact them later in another filter. | ||||
* | | Add `Group#add_*` convenience methodsrs-group-convenience-methods | Robert Speicher | 2015-08-07 | 1 | -1/+1 |
|/ | | | | Encapsulates the logic for `Gitlab::Access::WHATEVER` levels. | ||||
* | Add spec to RelativeLinkFilter for Unicode filenames | Robert Speicher | 2015-07-30 | 1 | -0/+16 |
| | |||||
* | Fix Style/IndentationWidth cop violations | Stan Hu | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | Fix Style/SpaceInsideHashLiteralBraces cop violations | Robert Speicher | 2015-06-22 | 1 | -2/+2 |
| | | | | These fixes were performed automatically by Rubocop's `-a` flag. | ||||
* | Further limit the limited whitelist for project/group descriptionsrs-more-nofollow | Robert Speicher | 2015-06-02 | 1 | -2/+17 |
| | |||||
* | Rename ReferenceFilterSpecHelper to FilterSpecHelper | Robert Speicher | 2015-06-02 | 14 | -27/+15 |
| | | | | And make it more generalized for all filter specs. | ||||
* | Add a `pipeline` context option for SanitizationFilter | Robert Speicher | 2015-06-02 | 1 | -0/+14 |
| | | | | | When this option is `:description`, we use a more restrictive whitelist. This is used for Project and Group description fields. | ||||
* | Add ExternalLinkFilter to Markdown pipeliners-dont-follow-me | Robert Speicher | 2015-05-27 | 1 | -0/+33 |
| | | | | Forces a `rel="nofollow"` attribute on all external links. | ||||
* | Support only double quotes for multi-word label references | Robert Speicher | 2015-05-26 | 1 | -40/+14 |
| | |||||
* | Use `to_reference` in reference filter specs | Robert Speicher | 2015-05-26 | 8 | -92/+82 |
| |