summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-251-3/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extracted auto_link and auto_mailto to a module.Jean-Philippe Lang2012-03-041-1/+59
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9063 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Handle the case of a text formatter that doesn't support section edit (#2222).Jean-Philippe Lang2011-11-181-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki: allows single section edit (#2222).Jean-Philippe Lang2011-11-181-31/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/wiki_formatting.rb.Toshi MARUYAMA2011-09-011-17/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Deselecting textile text formatting causes interning empty string ↵Jean-Philippe Lang2010-02-171-4/+4
| | | | | | errors (#4867). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3446 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renames WikiFormatting.cache to .cache_storeJean-Philippe Lang2010-02-061-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3374 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a setting to cache textile rendering (off by default).Jean-Philippe Lang2010-02-061-1/+52
| | | | | | | | * 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
* Fixed: error raised when rendering text that contains an email address with ↵Jean-Philippe Lang2009-11-241-0/+1
| | | | | | textile disabled (#4268). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes that Redmine::WikiFormatting.register did not raise ArgumentError when ↵Jean-Philippe Lang2009-03-071-1/+1
| | | | | | giving name as a string (#2856). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2562 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes wiki text formatter pluggable.Jean-Philippe Lang2008-10-271-152/+41
| | | | | | 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
* Fixed: http links containing parentheses fail to reder correctly (#1591). ↵Jean-Philippe Lang2008-09-171-2/+8
| | | | | | Patch by Paul Rivier. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1871 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renames bundled RedCloth to RedCloth3 to avoid RedCloth 4 to be loaded ↵Jean-Philippe Lang2008-09-111-2/+2
| | | | | | instead (#1754). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1800 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds Trac-Like anchors on wiki headings (#1647).Jean-Philippe Lang2008-07-281-10/+18
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* TOC rendered as an unordered list.Jean-Philippe Lang2008-07-221-3/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1693 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Turn ftp urls into links (#1514).Jean-Philippe Lang2008-06-231-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: urls containing @ are parsed as email adress by the wiki formatter ↵Jean-Philippe Lang2008-06-171-3/+7
| | | | | | (#1456). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1559 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: TOC does not remove colorization markups (#1423).Jean-Philippe Lang2008-06-151-0/+3
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1542 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds multi-levels blockquotes support by using > at the beginning of lines.Jean-Philippe Lang2008-05-301-1/+1
| | | | | | Textile is preserved inside quoted text. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1479 e93f8b46-1217-0410-a6f0-8f06a7374b81
* No multiline text for textile links.Jean-Philippe Lang2008-05-261-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1463 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: error when using upcase language name in coderay (#1162) (Windows ↵Jean-Philippe Lang2008-05-021-1/+1
| | | | | | specific). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1405 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add Redcloth's :block_markdown_rule to allow horizontal rules in wiki (#967).Jean-Philippe Lang2008-05-011-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1389 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added:Jean-Philippe Lang2008-02-161-7/+14
| | | | | | | * 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
* Fixed: Textile image with style attribute cause internal server error.Jean-Philippe Lang2007-12-191-1/+2
| | | | | | Also added tests for inline images with attributes and moved auto_link and auto_mailto rules after textile rules. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1017 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added wiki macros support. 2 builtin macros are defined: hello_world (sample ↵Jean-Philippe Lang2007-11-121-6/+44
| | | | | | 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
* Better handling of external link style assignment.Jean-Philippe Lang2007-10-011-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@792 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed TOC positionning in wiki pages.Jean-Philippe Lang2007-10-011-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@791 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Span caps turned off in textile formatting.Jean-Philippe Lang2007-10-011-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@790 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Links get chopped by punctuation marks in anchors.Jean-Philippe Lang2007-09-301-14/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@775 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Links to other wiki pages in headings get corrupted (class attributes ↵Jean-Philippe Lang2007-09-271-2/+4
| | | | | | shown). git-svn-id: http://redmine.rubyforge.org/svn/trunk@769 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Small fix to TOC regexp.Jean-Philippe Lang2007-09-091-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@719 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added automatic table of content support on wiki pages, based on h1., h2. ↵Jean-Philippe Lang2007-09-091-2/+29
| | | | | | | | | | and h3. headings. To display the page TOC, insert a line with this tag: {{toc}} or {{<toc}} => left aligned toc {{>toc}} => right aligned toc git-svn-id: http://redmine.rubyforge.org/svn/trunk@718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added code highlighting support in wiki, using this syntax:Jean-Philippe Lang2007-09-061-1/+17
| | | | | | | | | | | | <pre><code> <-- cut here <pre><code class="ruby"> Place you code here. </code></pre> cut here --> </pre></code> git-svn-id: http://redmine.rubyforge.org/svn/trunk@710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added Redmine::WikiFormatting module and tests for wiki links.Jean-Philippe Lang2007-09-021-0/+79
RedCloth librairy is now present in Redmine lib directory. git-svn-id: http://redmine.rubyforge.org/svn/trunk@699 e93f8b46-1217-0410-a6f0-8f06a7374b81