Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move Markdown/reference logic from Gitlab::Markdown to Banzai | Douwe Maan | 2015-12-15 | 1 | -115/+0 |
| | |||||
* | Move Markdown filters and pipelines into folders. | Douwe Maan | 2015-11-19 | 1 | -44/+36 |
| | |||||
* | Use correct var name | Douwe Maan | 2015-10-22 | 1 | -1/+1 |
| | |||||
* | Fix Markdown XHTML context param | Douwe Maan | 2015-10-22 | 1 | -9/+10 |
| | |||||
* | Make pipelines actually make sense | Douwe Maan | 2015-10-21 | 1 | -178/+38 |
| | |||||
* | Remove unused Gitlab::Markdown#cached? method | Douwe Maan | 2015-10-14 | 1 | -5/+0 |
| | |||||
* | Cache rendered contents of issues, MRs and notes | Douwe Maan | 2015-10-14 | 1 | -1/+11 |
| | |||||
* | Merge branch 'master' into rs-redactor-filter | Douwe Maan | 2015-10-14 | 1 | -0/+2 |
|\ | |||||
| * | Fix: Images cannot show when projects' path was changeduploads_path_fix | Valery Sizov | 2015-10-14 | 1 | -0/+2 |
| | | |||||
* | | Use Gitlab::Markdown for Asciidoc and ReferenceExtractor pipelines | Douwe Maan | 2015-10-14 | 1 | -86/+140 |
| | | |||||
* | | Enable caching of Gitlab::Markdown rendered result | Douwe Maan | 2015-10-14 | 1 | -10/+25 |
| | | |||||
* | | Use Gitlab::Markdown.render with :pipeline option rather than different methods | Douwe Maan | 2015-10-14 | 1 | -124/+112 |
| | | |||||
* | | Pass project to RedactorFilter | Douwe Maan | 2015-10-13 | 1 | -3/+8 |
| | | |||||
* | | Merge branch 'master' into rs-redactor-filter | Douwe Maan | 2015-10-07 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix emoji URLs in Markdown when relative_url_root is used | Stan Hu | 2015-09-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Also adds the ability to run rspecs with relative_url_defined on the enviornment. For example: RELATIVE_URL_ROOT=/gitlab rspec Closes #1728 | ||||
* | | Basic support for an Atom-specific rendering pipeline | Robert Speicher | 2015-09-03 | 1 | -51/+60 |
| | | |||||
* | | Add post_process method to Gitlab::Markdown | Robert Speicher | 2015-09-01 | 1 | -0/+22 |
| | | |||||
* | | Remove `current_user` context from markdown and gfm helpers | Robert Speicher | 2015-09-01 | 1 | -1/+0 |
| | | | | | | | | These helpers are no longer dependent on the current user state. Hooray! | ||||
* | | Add RedactorFilter | Robert Speicher | 2015-09-01 | 1 | -0/+1 |
|/ | |||||
* | Move REDCARPET_OPTIONS to a private method | Robert Speicher | 2015-08-31 | 1 | -14/+16 |
| | | | | | There wasn't really a reason to have them as a constant, and we were getting "already defined" warnings which are always annoying. | ||||
* | Reference filters no longer take a custom class context option | Robert Speicher | 2015-08-27 | 1 | -1/+0 |
| | |||||
* | Decouple Gitlab::Markdown from the GitlabMarkdownHelper | Robert Speicher | 2015-08-27 | 1 | -8/+54 |
| | | | | | This module is now the sole source of knowledge for *how* we render Markdown (and GFM). | ||||
* | Remove the `gfm_with_options` helperrs-remove-gfm_with_options | Robert Speicher | 2015-08-12 | 1 | -11/+1 |
| | | | | It was redundant because `gfm` also took options. | ||||
* | Reuse HTML Pipeline object in Markdown parser | Kamil Trzcinski | 2015-06-30 | 1 | -2/+2 |
| | | | | The patches reduces pressure on GC and reduces markdown processing time | ||||
* | Add a `pipeline` context option for SanitizationFilter | Robert Speicher | 2015-06-02 | 1 | -0/+3 |
| | | | | | 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/+2 |
| | | | | Forces a `rel="nofollow"` attribute on all external links. | ||||
* | Subclass TaskList::Filter to fix a bugrs-issue-1645 | Robert Speicher | 2015-05-20 | 1 | -2/+2 |
| | | | | | | | | | Instead of using a fork, we subclass the filter and only apply the `task-list` class to list items that actually are task lists. Closes #1645 See https://github.com/github/task_list/pull/60 | ||||
* | Merge branch 'dashboard-references' into 'master' | Dmitriy Zaporozhets | 2015-05-15 | 1 | -7/+9 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Fix reference links in dashboard activity and ATOM feeds. References like `@user` were not linked on the dashboard activity feed and in Atom feeds, because the reference parser depends on `@project` which isn't set in those situations. This MR passes the project in question to the reference parsers in an option. cc @rspeicher See merge request !653 | ||||
| * | Fix reference links in dashboard activity and ATOM feeds.dashboard-references | Douwe Maan | 2015-05-14 | 1 | -7/+9 |
| | | |||||
* | | Minor RelativeLinkFilter cleanuprs-relative-link-filter | Robert Speicher | 2015-05-13 | 1 | -2/+2 |
|/ | |||||
* | RelativeLinkFilter: refactor according to suggestions by @tsigo | Jakub Jirutka | 2015-05-11 | 1 | -1/+0 |
| | |||||
* | Extract handling of relative file links to RelativeLinkFilter | Jakub Jirutka | 2015-05-11 | 1 | -1/+9 |
| | |||||
* | Remove all references to `parse_tasks` | Robert Speicher | 2015-05-06 | 1 | -28/+3 |
| | |||||
* | Add TaskList::Filter to pipeline | Robert Speicher | 2015-05-06 | 1 | -4/+7 |
| | |||||
* | Update the Gitlab::Markdown docs | Robert Speicher | 2015-04-30 | 1 | -25/+1 |
| | |||||
* | Add Gitlab::Markdown::SanitizationFilter | Robert Speicher | 2015-04-30 | 1 | -31/+3 |
| | | | | | This just extends the HTML::Pipeline::SanitizationFilter with our custom whitelist. | ||||
* | Add Gitlab::Markdown::AutolinkFilter | Robert Speicher | 2015-04-30 | 1 | -1/+3 |
| | |||||
* | Add Gitlab::Markdown::TableOfContentsFilter | Robert Speicher | 2015-04-30 | 1 | -0/+5 |
| | | | | Removes header and table of contents processing from Redcarpet renderer. | ||||
* | Provide autoload paths for filters to prevent circular dependency | Robert Speicher | 2015-04-23 | 1 | -3/+14 |
| | |||||
* | Update Gitlab::Markdown to use the :new: EmojiFilter :sparkles: | Robert Speicher | 2015-04-21 | 1 | -12/+16 |
| | | | | Removes emoji-centric tests from GFM specs :boom: | ||||
* | Add current_user to filter context | Robert Speicher | 2015-04-20 | 1 | -0/+1 |
| | |||||
* | Run SanitizationFilter before our reference filters | Robert Speicher | 2015-04-20 | 1 | -2/+7 |
| | |||||
* | Reference filters :sparkles: | Robert Speicher | 2015-04-20 | 1 | -283/+41 |
| | | | | | Commit ranges, commits, external issues, issues, labels, merge requests, snippets, users. | ||||
* | Merge branch 'fix-label-color' into 'master' | Dmitriy Zaporozhets | 2015-04-20 | 1 | -16/+16 |
|\ | | | | | | | | | | | | | | | Parse GFM references after sanitizing Parse GFM references - labels, issues, MRs, etc. - after calling the HTML Pipeline `SanitizationFilter` so that we can use non-whitelisted attributes like `style`. See #2188. See merge request !1745 | ||||
| * | Fix GFM extractions | Vinnie Okada | 2015-04-17 | 1 | -13/+13 |
| | | | | | | | | Extract and re-insert links after sanitizing user markup. | ||||
| * | Parse GFM references after sanitizing | Vinnie Okada | 2015-03-28 | 1 | -3/+3 |
| | | | | | | | | | | | | Parse GFM references - labels, issues, MRs, etc. - after calling the HTML Pipeline `SanitizationFilter` so that we can use non-whitelisted attributes like `style`. | ||||
* | | Merge branch 'reference-access-control' into 'master' | Dmitriy Zaporozhets | 2015-04-13 | 1 | -0/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | Don't require user to every gfm call. | Douwe Maan | 2015-04-03 | 1 | -21/+21 |
| | | | |||||
| * | | Fix errors. | Douwe Maan | 2015-04-02 | 1 | -2/+2 |
| | | | |||||
| * | | Only allow user to reference objects they have access to. | Douwe Maan | 2015-04-02 | 1 | -18/+20 |
| | | |