Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-17Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42GitLab Bot
2023-02-20Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42GitLab Bot
2022-12-20Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.0-rc42GitLab Bot
2022-11-17Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42GitLab Bot
2022-06-20Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42GitLab Bot
2022-03-31Add latest changes from gitlab-org/security/gitlab@14-9-stable-eeGitLab Bot
2022-01-20Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42GitLab Bot
2021-12-20Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42GitLab Bot
2021-11-18Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42GitLab Bot
2021-10-20Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42GitLab Bot
2021-05-31Add latest changes from gitlab-org/security/gitlab@13-12-stable-eeGitLab Bot
2021-05-19Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot
2021-04-21Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot
2020-12-17Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot
2020-08-20Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot
2019-09-10Avoid calling freeze on already frozen strings in libDinesh Panda
2019-07-02Enable AsciiDoc syntax highlighting (using Rouge)Guillaume Grossetie
2019-03-20Implement multi-line suggestions filteringOswaldo Ferreira
Implements the filtering logic for `suggestion:-x+y` syntax.
2019-02-04Remove Redcarpet markdown engineJan Provaznik
This engine was replaced with CommonMarker in 11.4, it was deprecated since then.
2019-01-24Use nodes and marks to power Copy-as-GFMDouwe Maan
The spec needed to be updated because in some cases the resulting Markdown is slightly different, though equally valid.
2018-12-13Allow suggesting single line changes in diffsOswaldo Ferreira
2018-07-23Enable frozen strings in remaining lib/banzai/filter/*.rb filesStan Hu
This also fixes a bug with the ImageLazyLoadFilter not doing the right thing when an existing class attribute is present. Part of #47424
2018-03-07Add CommonMark markdown engineblackst0ne
2018-02-09Merge branch 'fix-mermaid-xss' into 'security-10-4'Douwe Maan
[10.4] Fix stored XSS in code blocks
2017-11-22Add support of MermaidVitaliy @blackst0ne Klachkov
2017-04-06Merge branch '30125-markdown-security'Robert Speicher
Remove class from SanitizationFilter whitelist See merge request !2079
2017-03-15Copy code as GFM from diffs, blobs and GFM code blocksDouwe Maan
2017-01-17Fix SyntaxHighlightFilter specDouwe Maan
2017-01-17Copying a rendered issue/comment will paste into GFM textareas as actual GFMDouwe Maan
2016-10-04Removed puts code :see_no_evil:Phil Hughes
2016-10-04Adds v-pre to code blocks in commentsPhil Hughes
Closes #22911
2016-08-03Improve performance of SyntaxHighlightFilterYorick Peterse
By using Rouge::Lexer.find instead of find_fancy() and memoizing the HTML formatter we can speed up the highlighting process by between 1.7 and 1.8 times (at least when measured using synthetic benchmarks). To measure this I used the following benchmark: require 'benchmark/ips' input = '' Dir['./app/controllers/**/*.rb'].each do |controller| input << <<-EOF <pre><code class="ruby">#{File.read(controller).strip}</code></pre> EOF end document = Nokogiri::HTML.fragment(input) filter = Banzai::Filter::SyntaxHighlightFilter.new(document) puts "Input size: #{(input.bytesize.to_f / 1024).round(2)} KB" Benchmark.ips do |bench| bench.report 'call' do filter.call end end This benchmark produces 250 KB of input. Before these changes the timing output would be as follows: Calculating ------------------------------------- call 1.000 i/100ms ------------------------------------------------- call 22.439 (±35.7%) i/s - 93.000 After these changes the output instead is as follows: Calculating ------------------------------------- call 1.000 i/100ms ------------------------------------------------- call 41.283 (±38.8%) i/s - 148.000 Note that due to the fairly high standard deviation and this being a synthetic benchmark it's entirely possible the real-world improvements are smaller.
2016-07-16Don't fail to highlight when Rouge doesn't have a lexerDouwe Maan
2016-07-15use %(...) and %[...] in favor of %<...>http://jneen.net/
2016-07-14bugfix: don't error in css_classeshttp://jneen.net/
2016-07-14without line anchors, this is just the plain HTML formatterhttp://jneen.net/
2016-07-14kill the :cssclass optionhttp://jneen.net/
2016-07-14add the wrapping back in for the banzai filterhttp://jneen.net/
2016-07-01Metrics for Rouge::Plugins::Redcarpet and Rouge::Formatters::HTMLGitlabPaco Guzman
2016-03-24Remove redundant `require`s from Banzai filesRobert Speicher
We're trying to avoid circular dependency errors.
2016-01-14Prevent circular reference error in BanzaiDouwe Maan
2015-12-15Move Markdown/reference logic from Gitlab::Markdown to BanzaiDouwe Maan