- 21 Jun, 2016 1 commit
-
-
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.
-
- 17 Jun, 2016 1 commit
-
-
Phil Hughes authored
-
- 09 Jun, 2016 1 commit
-
-
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
-
- 03 Jun, 2016 2 commits
-
-
James Lopez authored
This reverts commit 3e991230.
-
James Lopez authored
# Conflicts: # app/models/project.rb
-
- 23 May, 2016 1 commit
-
-
Robert Speicher authored
-
- 10 Apr, 2016 1 commit
-
-
Robert Speicher authored
Only usage got removed in !3442
-
- 03 Mar, 2016 1 commit
-
-
Robert Speicher authored
-
- 12 Feb, 2016 1 commit
-
-
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.
-
- 14 Jan, 2016 1 commit
-
-
Douglas Barbosa Alexandre authored
-
- 15 Dec, 2015 2 commits
-
-
Douwe Maan authored
-
Gabriel Mazetto authored
-
- 17 Nov, 2015 2 commits
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 14 Oct, 2015 2 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- 13 Oct, 2015 1 commit
-
-
Douwe Maan authored
-
- 07 Oct, 2015 2 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
- 01 Oct, 2015 1 commit
-
-
SAKATA Sinji authored
-
- 23 Sep, 2015 1 commit
-
-
Stan Hu authored
HTML would be stripped in `truncate_if_block` when a comment had multiple lines and the first wasn't long enough to be truncated. The use of `node.content` would strip all HTML tags. Using `node.inner_html` retains these tags and puts the "..." in between paragraph tags. Closes #2586
-
- 20 Sep, 2015 1 commit
-
-
Stan Hu authored
Closes #2586
-
- 09 Sep, 2015 1 commit
-
-
Dmitriy Zaporozhets authored
-
- 03 Sep, 2015 2 commits
-
-
Robert Speicher authored
-
Robert Speicher authored
-
- 01 Sep, 2015 3 commits
-
-
Robert Speicher authored
-
Robert Speicher authored
These helpers are no longer dependent on the current user state. Hooray!
-
Robert Speicher authored
-
- 31 Aug, 2015 3 commits
-
-
Robert Speicher authored
This adds some duplication, but this helper is temporary.
-
Robert Speicher authored
Some usages of the `gfm` helper depend on the text not being rendered as standard Markdown. Ugh.
-
Robert Speicher authored
We need to send `path`, not `requested_path`.
-
- 27 Aug, 2015 3 commits
-
-
Robert Speicher authored
Some views are still calling `gfm` directly. We'll need to update them to instead call `markdown` with a `pipeline: ...` argument.
-
Robert Speicher authored
-
Robert Speicher authored
This module is now the sole source of knowledge for *how* we render Markdown (and GFM).
-
- 26 Aug, 2015 1 commit
-
-
Douwe Maan authored
-
- 25 Aug, 2015 1 commit
-
-
Robert Speicher authored
Instead of rendering this value server-side, we use Javascript and Gon to apply the user's color scheme (or the default) to any syntax highlighted code blocks. This will make it easier to cache these blocks in the future because they're no longer state-dependent.
-
- 09 Jul, 2015 1 commit
-
-
Darby authored
-
- 01 Jul, 2015 1 commit
-
-
Darby authored
-
- 24 Jun, 2015 2 commits
-
-
Robert Speicher authored
-
Robert Speicher authored
-