summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/wiki_formatting
Commit message (Collapse)AuthorAgeFilesLines
* Merged r9430 from trunk.Jean-Philippe Lang2012-04-181-0/+30
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9434 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not recognize invalid textile attributes.Jean-Philippe Lang2012-02-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8902 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows custom styles in textile formatting using a white list of styles (#2416).Jean-Philippe Lang2012-02-121-0/+44
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* ruby1.9: macro must accept 2 arguments.Jean-Philippe Lang2011-12-101-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for child_pages macro failure.Jean-Philippe Lang2011-12-031-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for macro registration.Jean-Philippe Lang2011-12-031-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8054 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for macro_list wiki macro.Jean-Philippe Lang2011-12-031-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8053 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Wiki section edit escapes pre tags inside pre blocks (#9673).Jean-Philippe Lang2011-11-281-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Wiki section edit escapes code tags inside pre blocks (#9673).Jean-Philippe Lang2011-11-281-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Angle brackets within 'pre' blocks are silently replaced by HTML ↵Jean-Philippe Lang2011-11-281-0/+10
| | | | | | entities during wiki section-edit (#9673). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7969 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki: allows single section edit (#2222).Jean-Philippe Lang2011-11-181-0/+105
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add unit test of escaping image urls (#9245)Toshi MARUYAMA2011-11-021-0/+7
| | | | | | Contributed by Holger Just. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7707 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from ↵Toshi MARUYAMA2011-08-301-15/+15
| | | | | | test/unit/lib/redmine/wiki_formatting/macros_test.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from ↵Toshi MARUYAMA2011-08-301-18/+18
| | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use ActionView::TestCase instead of HelperTestCase at ↵Toshi MARUYAMA2011-06-221-1/+1
| | | | | | | | | test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb. ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb does not exist on Rails 3.0. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use ActionView::TestCase instead of HelperTestCase at ↵Toshi MARUYAMA2011-06-221-1/+1
| | | | | | | | | test/unit/lib/redmine/wiki_formatting/macros_test.rb. ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb does not exist on Rails 3.0. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: line breaks are ignored in quoted text (#6148).Jean-Philippe Lang2011-03-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5133 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved text formatting tests from application_helper tests to formatter tests.Jean-Philippe Lang2011-03-141-0/+109
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5132 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Wiki headings containing backslash followed by a digit are not ↵Jean-Philippe Lang2011-03-121-3/+9
| | | | | | | | displayed correctly (#7846). Contributed by Etienne Massip. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5100 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050Jean-Baptiste Barth2010-12-122-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract headings and TOC parsing from the textile formatter.Jean-Philippe Lang2010-11-061-0/+3
| | | | | | Fixes #2038 and #3707 and will allow to support TOC with other text formatters. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4376 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes textile formatter accept 2 letters acronym (#6591).Jean-Philippe Lang2010-11-061-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4374 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Double-dash results in strikethrough text (#5122).Jean-Philippe Lang2010-03-201-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3605 e93f8b46-1217-0410-a6f0-8f06a7374b81
* More detailed failures message.Jean-Philippe Lang2010-03-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3570 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes a test failure.Jean-Philippe Lang2010-03-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3569 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactors textile formatting tests.Jean-Philippe Lang2010-03-121-16/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3568 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: inline code with less-then/greater-than produces @lt; and @gt; (#1416).Jean-Philippe Lang2010-03-121-0/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3567 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: text formatting breaks when using parenthesis inside bold tags (#1334).Jean-Philippe Lang2010-03-121-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3563 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: some textile modifiers combinations don't work, eg. bold inside ↵Jean-Philippe Lang2010-03-111-0/+45
| | | | | | underline (#5045). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3561 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converted routing and urls to follow the Rails REST convention.Eric Davis2009-01-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch supplied by commits from Gerrit Kaiser on Github. Existing routes will still work (backwards compatible) but any new urls will be generated using the new routing rules. Changes listed below: * made the URLs for some project tabs and project settings follow the new rails RESTful conventions of /collection/:id/subcollection/:sub_id * prettier URL for project roadmap * more nice project URLs * use GET for filtering form * prettified URLs used on issues tab * custom route for activity atom feeds * prettier repository urls * fixed broken route definition * fixed failing tests for issuecontroller that were hardcoding the url string * more RESTful routes for boards and messages * RESTful routes for wiki pages * RESTful routes for documents * moved old routes that are retained for compatibility to the bottom and grouped them together * added RESTful URIs for issues * RESTfulness for the news section * fixed route order * changed hardcoded URLs in tests * fixed badly written tests * fixed forgotten parameter in routes * changed hardcoded URLS to new scheme * changed project add url to the standard POST to collection * create new issue by POSTing to collection * changed hardcoded URLs in integrations tests * made project add form work again * restful routes for project deletion * prettier routes for project (un)archival * made routes table more readable * fixed note quoting * user routing * fixed bug * always sort by GET * Fixed: cross-project issue list should not show issues of projects for which the issue tracking module was disabled. * prettified URLs used on issues tab * urls for time log * fixed reply routing * eliminate revision query paremeter for diff and entry actions * fixed test failures with hard-coded urls * ensure ajax links always use get * refactored ajax link generation into separate method #1901 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2317 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extends child_pages macro to display child pages based on page parameter ↵Jean-Philippe Lang2008-11-221-0/+98
(#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