Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-17 | Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42 | GitLab Bot | |
2023-02-20 | Add latest changes from gitlab-org/gitlab@15-9-stable-eev15.9.0-rc42 | GitLab Bot | |
2022-12-20 | Add latest changes from gitlab-org/gitlab@15-7-stable-eev15.7.0-rc42 | GitLab Bot | |
2022-11-17 | Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42 | GitLab Bot | |
2022-06-20 | Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42 | GitLab Bot | |
2022-03-31 | Add latest changes from gitlab-org/security/gitlab@14-9-stable-ee | GitLab Bot | |
2022-01-20 | Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42 | GitLab Bot | |
2021-12-20 | Add latest changes from gitlab-org/gitlab@14-6-stable-eev14.6.0-rc42 | GitLab Bot | |
2021-11-18 | Add latest changes from gitlab-org/gitlab@14-5-stable-eev14.5.0-rc42 | GitLab Bot | |
2021-10-20 | Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42 | GitLab Bot | |
2021-05-31 | Add latest changes from gitlab-org/security/gitlab@13-12-stable-ee | GitLab Bot | |
2021-05-19 | Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42 | GitLab Bot | |
2021-04-21 | Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43 | GitLab Bot | |
2020-12-17 | Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42 | GitLab Bot | |
2020-08-20 | Add latest changes from gitlab-org/gitlab@13-3-stable-ee | GitLab Bot | |
2019-09-10 | Avoid calling freeze on already frozen strings in lib | Dinesh Panda | |
2019-07-02 | Enable AsciiDoc syntax highlighting (using Rouge) | Guillaume Grossetie | |
2019-03-20 | Implement multi-line suggestions filtering | Oswaldo Ferreira | |
Implements the filtering logic for `suggestion:-x+y` syntax. | |||
2019-02-04 | Remove Redcarpet markdown engine | Jan Provaznik | |
This engine was replaced with CommonMarker in 11.4, it was deprecated since then. | |||
2019-01-24 | Use nodes and marks to power Copy-as-GFM | Douwe Maan | |
The spec needed to be updated because in some cases the resulting Markdown is slightly different, though equally valid. | |||
2018-12-13 | Allow suggesting single line changes in diffs | Oswaldo Ferreira | |
2018-07-23 | Enable frozen strings in remaining lib/banzai/filter/*.rb files | Stan 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-07 | Add CommonMark markdown engine | blackst0ne | |
2018-02-09 | Merge branch 'fix-mermaid-xss' into 'security-10-4' | Douwe Maan | |
[10.4] Fix stored XSS in code blocks | |||
2017-11-22 | Add support of Mermaid | Vitaliy @blackst0ne Klachkov | |
2017-04-06 | Merge branch '30125-markdown-security' | Robert Speicher | |
Remove class from SanitizationFilter whitelist See merge request !2079 | |||
2017-03-15 | Copy code as GFM from diffs, blobs and GFM code blocks | Douwe Maan | |
2017-01-17 | Fix SyntaxHighlightFilter spec | Douwe Maan | |
2017-01-17 | Copying a rendered issue/comment will paste into GFM textareas as actual GFM | Douwe Maan | |
2016-10-04 | Removed puts code :see_no_evil: | Phil Hughes | |
2016-10-04 | Adds v-pre to code blocks in comments | Phil Hughes | |
Closes #22911 | |||
2016-08-03 | Improve performance of SyntaxHighlightFilter | Yorick 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-16 | Don't fail to highlight when Rouge doesn't have a lexer | Douwe Maan | |
2016-07-15 | use %(...) and %[...] in favor of %<...> | http://jneen.net/ | |
2016-07-14 | bugfix: don't error in css_classes | http://jneen.net/ | |
2016-07-14 | without line anchors, this is just the plain HTML formatter | http://jneen.net/ | |
2016-07-14 | kill the :cssclass option | http://jneen.net/ | |
2016-07-14 | add the wrapping back in for the banzai filter | http://jneen.net/ | |
2016-07-01 | Metrics for Rouge::Plugins::Redcarpet and Rouge::Formatters::HTMLGitlab | Paco Guzman | |
2016-03-24 | Remove redundant `require`s from Banzai files | Robert Speicher | |
We're trying to avoid circular dependency errors. | |||
2016-01-14 | Prevent circular reference error in Banzai | Douwe Maan | |
2015-12-15 | Move Markdown/reference logic from Gitlab::Markdown to Banzai | Douwe Maan | |