| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| |
| |
| | |
Add frozen_string_literal to spec/features
See merge request gitlab-org/gitlab-ce!31131
|
| |
| |
| |
| |
| | |
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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`.
|
|
|
|
|
| |
This removes extraneous newlines when copying comments
with an ordered list.
|
| |
|
|
|
|
|
| |
This engine was replaced with CommonMarker in 11.4, it was deprecated
since then.
|
| |
|
| |
|
|
|
|
|
| |
Supports both suggestions transformed from GFM to HTML and from GFM to
HTML to Vue component.
|
|
|
|
|
| |
The spec needed to be updated because in some cases the resulting
Markdown is slightly different, though equally valid.
|
|
|
| |
Refer to https://github.com/KaTeX/KaTeX/pull/1700 for additional details.
|
|
|
|
|
| |
[master] Fix XSS in mermaid diagrams
See merge request gitlab/gitlabhq!2597
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
[10.4] Fix stored XSS in code blocks
|