- May 18, 2017
-
-
Toon Claes authored
The ProjectCacheWorker refreshes cache periodically, but it runs outside Rails context. So include the ActionView helpers so the `content_tag` method is available.
-
- May 10, 2017
-
-
Rémy Coutable authored
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
(security-9-1) Render asciidoc & other markup using banzai in a pipeline See merge request !2098
-
- Apr 28, 2017
-
-
Douwe Maan authored
-
- Apr 27, 2017
-
-
Toon Claes authored
-
Toon Claes authored
-
Toon Claes authored
-
Toon Claes authored
-
Toon Claes authored
-
-
Toon Claes authored
Because the post-processing of the rendered README is dependent on the context (i.e. the current user), do the post-processing when the README is being displayed.
-
Toon Claes authored
-
Toon Claes authored
It does more than solely GitLab Markdown, so rename to MarkupHelper.
-
- Apr 26, 2017
-
-
Jarka Kadlecova authored
-
- Mar 14, 2017
-
-
Douwe Maan authored
-
- Jan 03, 2017
-
-
James Lopez authored
Also added relevant specs and refactored to_references in a bunch of places to be more consistent.
-
- Dec 02, 2016
-
-
Oswaldo Ferreira authored
-
- Oct 07, 2016
-
-
Nick Thomas authored
This commit alters views for the following models to use the markdown cache if present: * AbuseReport * Appearance * ApplicationSetting * BroadcastMessage * Group * Issue * Label * MergeRequest * Milestone * Project At the same time, calls to `escape_once` have been moved into the `single_line` Banzai pipeline, so they can't be missed out by accident and the work is done at save, rather than render, time.
-
Nick Thomas authored
This commit adds a number of _html columns and, with the exception of Note, starts updating them whenever the content of their partner fields changes. Note has a collision with the note_html attr_accessor; that will be fixed later A background worker for clearing these cache columns is also introduced - use `rake cache:clear` to set it off. You can clear the database or Redis caches separately by running `rake cache:clear:db` or `rake cache:clear:redis`, respectively.
-
- Jun 21, 2016
-
-
Yorick Peterse authored
The method Banzai::Renderer.pre_process would always be called, regardless of whether the Markdown to render was already cached or not. In cache the document _was_ cached the output of the pre-processing pipeline was ignored resulting in it doing nothing but wasting CPU cycles. This commit moves Banzai::Renderer.pre_process into Banzai::Renderer.render_result so that it's _only_ used when needed.
-
- Jun 17, 2016
-
-
Phil Hughes authored
-
- Jun 09, 2016
-
-
Timothy Andrew authored
- Need to pass in a `page_slug` to the filter, so it can rewrite based on the current page (all links are rewritten to the level of the app root). - The earlier `markdown_preview` endpoint was at the level of the wiki. We need to know the current page (for rewriting, as above), so this commit moves the endpoint to the level of a wiki page. - Fix all tests
-
- Jun 03, 2016
-
-
James Lopez authored
This reverts commit 3e991230.
-
James Lopez authored
# Conflicts: # app/models/project.rb
-
- May 23, 2016
-
-
Robert Speicher authored
-
- Apr 10, 2016
-
-
Robert Speicher authored
Only usage got removed in !3442
-
- Mar 03, 2016
-
-
Robert Speicher authored
-
- Feb 12, 2016
-
-
Ben Boeckel authored
- Apply the RelativeLinkFilter filter to other formats, e.g., reStructuredText so links from the Files view or the Project view work - Remove the AsciidocPipeline pipeline Fixes #3533.
-
- Jan 14, 2016
-
-
Douglas Barbosa Alexandre authored
-
- Dec 15, 2015
-
-
Douwe Maan authored
-
Gabriel Mazetto authored
-
- Nov 17, 2015
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- Oct 14, 2015
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- Oct 13, 2015
-
-
Douwe Maan authored
-
- Oct 07, 2015
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- Oct 01, 2015
-
-
SAKATA Sinji authored
-