summaryrefslogtreecommitdiff
path: root/spec/features/markdown
Commit message (Collapse)AuthorAgeFilesLines
* Update rouge to v3.7.0Stan Hu2019-07-291-1/+1
| | | | | | | | This adds support for a number of new languages (e.g. Ada) and fixes a number of lexers: https://github.com/rouge-ruby/rouge/compare/v3.5.1..v3.7.0 Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64625
* Change qa-* class references to js-* for suggestionsTanya Pazitny2019-07-291-3/+3
|
* Merge branch 'frozen_string_spec_features' into 'master'Rémy Coutable2019-07-295-0/+10
|\ | | | | | | | | Add frozen_string_literal to spec/features See merge request gitlab-org/gitlab-ce!31131
| * Add frozen_string_literal to spec/featuresThong Kuah2019-07-265-0/+10
| | | | | | | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* | Feature test for gfm embedding metricsTristan Read2019-07-261-0/+60
|/
* Fix linebreak rendering in Mermaid flowchartsMartin Hanzel2019-07-161-0/+18
|
* Use Redis for CacheMarkDownField on non AR modelsPatrick Bajao2019-06-051-2/+1
| | | | | | | | | | | | | | | | | | This allows using `CacheMarkdownField` for models that are not backed by ActiveRecord. When the including class inherits `ActiveRecord::Base` we include `Gitlab::MarkdownCache::ActiveRecord::Extension`. This will cause the markdown fields to be rendered and the generated HTML stored in a `<field>_html` attribute on the record. We also store the version used for generating the markdown. All other classes that include this model will include the `Gitlab::MarkdownCache::Redis::Extension`. This add the `<field>_html` attributes to that model and will generate the html in them. The generated HTML will be cached in redis under the key `markdown_cache:<class>:<id>`. The class this included in must therefore respond to `id`.
* Added tightLists option to copy_as_gfm markdown serializerConstance Okoghenun2019-03-051-11/+0
| | | | | This removes extraneous newlines when copying comments with an ordered list.
* Reduce Bundle Size by lazy loading markdown-itTim Zallmann2019-02-061-2/+15
|
* Remove Redcarpet markdown engineJan Provaznik2019-02-041-26/+1
| | | | | This engine was replaced with CommonMarker in 11.4, it was deprecated since then.
* Fix rubocop violationsGabriel Mazetto2019-01-311-1/+1
|
* [master] Resolve "[Security] Stored XSS via KaTeX"Constance Okoghenun2019-01-311-1/+17
|
* Allow suggestions to be copied and pasted as GFMDouwe Maan2019-01-251-0/+62
| | | | | Supports both suggestions transformed from GFM to HTML and from GFM to HTML to Vue component.
* Use nodes and marks to power Copy-as-GFMdb-copy-as-gfm-prosemirrorDouwe Maan2019-01-241-75/+109
| | | | | The spec needed to be updated because in some cases the resulting Markdown is slightly different, though equally valid.
* Update spec/features/markdown/math_spec.rbAndrew Harmon2019-01-181-2/+2
| | | Refer to https://github.com/KaTeX/KaTeX/pull/1700 for additional details.
* Merge branch 'security-mermaid-xss' into 'master'Cindy Pallares2018-11-281-1/+1
| | | | | [master] Fix XSS in mermaid diagrams See merge request gitlab/gitlabhq!2597
* Remove Gitlab::Git::Repository#rugged and Gollum codeAlejandro Rodríguez2018-10-021-3/+3
| | | | | | | | Cleanup code, and refactor tests that still use Rugged. After this, there should be no Rugged code that access the instance's repositories on non-test environments. There is still some rugged code for other tasks like the repository import task, but since it doesn't access any repository storage path it can stay.
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-1/+1
|
* enable CommonMark as the defaultBrett Walker2018-06-142-15/+49
|
* Combine multiple `it` blocks to improve Markdown feature spec timesRobert Speicher2018-06-051-107/+97
| | | | | The setup of each spec is too expensive to perform as many times as we were doing it. Reduced duration from 255 seconds to 43.
* move render_gfm into behaviors directoryMike Greiling2018-03-191-1/+1
|
* Merge branch 'fix-mermaid-xss' into 'security-10-4'Douwe Maan2018-02-095-0/+1298
[10.4] Fix stored XSS in code blocks