summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting
Commit message (Collapse)AuthorAgeFilesLines
* Sanitize image links and handle nils in the toc formatter. #5445Eric Davis2010-06-241-1/+3
| | | | | | Based on contribution by Yuki Kita. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display the link name when external links are used in the toc macro. #5445Eric Davis2010-06-191-0/+3
| | | | | | Contributed by Yuki Kita and Jean-Baptiste Barth git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Escape href attribute in auto links (#5179).Jean-Philippe Lang2010-03-241-2/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3612 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace the hardcoded "CodeRay" css class name for highlighted elements.Jean-Philippe Lang2010-03-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3585 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract CodeRay calls to Redmine::SyntaxHighlighting (#2985).Jean-Philippe Lang2010-03-141-2/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3584 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not html escape code that is going to be highlighted (#2985, #3359).Jean-Philippe Lang2010-03-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3582 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to cache textile rendering (off by default).Jean-Philippe Lang2010-02-061-29/+2
| | | | | | | | * it uses ActionController cache store which is MemoryStore by default and can be configured with config.action_controller.cache_store * macro processing was moved out of textile rendering so that it doesn't get cached * no noticeable improvement is expected for small portions of text, so only texts larger than 2KB are cached git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3372 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes jstoolbar lang files case (#4190).Jean-Philippe Lang2009-11-111-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3025 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: child_pages macro fails on wiki page history (#4152).Jean-Philippe Lang2009-11-041-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3006 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rename the wiki toolbar's JavaScript variable, 'toolbar' conflicts withEric Davis2009-10-171-1/+1
| | | | | | the browser's variable. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow line breaks in wiki table cells (#2346).Jean-Philippe Lang2009-07-191-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2824 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: TOC does not parse wiki page reference links with description (#2601).Jean-Philippe Lang2009-01-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2336 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Slight changes to ease Rails 2.2 support.Jean-Philippe Lang2009-01-041-2/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2234 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not use compute_public_path.Jean-Philippe Lang2009-01-041-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable textile inline styles to prevent XSS attacks (#2377).Jean-Philippe Lang2008-12-281-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2192 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extends child_pages macro to display child pages based on page parameter ↵Jean-Philippe Lang2008-11-221-13/+27
| | | | | | | | (#1975). It can also be called from anywhere now (not only from wiki pages). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2053 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Turn ftps and sftp proto into links (#1514).Jean-Philippe Lang2008-11-111-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2018 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes wiki text formatter pluggable.Jean-Philippe Lang2008-10-272-0/+226
| | | | | | Original patch #2025 by Yuki Sonoda slightly edited. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds child_pages macro for wiki pages (#528).Jean-Philippe Lang2008-07-261-0/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1699 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include macro can include a page of another project wiki using ↵Jean-Philippe Lang2008-04-131-13/+16
| | | | | | !{{include(projectname:Foo)}} (#1052). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1350 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: inline image not displayed when including a wiki page (closes #1001).Jean-Philippe Lang2008-04-051-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added:Jean-Philippe Lang2008-02-161-2/+19
| | | | | | | * the 'include' macro to include a wiki page * macro escaping support (with exclamation mark) git-svn-id: http://redmine.rubyforge.org/svn/trunk@1153 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added wiki macros support. 2 builtin macros are defined: hello_world (sample ↵Jean-Philippe Lang2007-11-121-0/+81
macro that displays the arguments) and macro_list (display the list of installed macros). git-svn-id: http://redmine.rubyforge.org/svn/trunk@897 e93f8b46-1217-0410-a6f0-8f06a7374b81