Commit Graph

273 Commits

Author SHA1 Message Date
Toshi MARUYAMA 4ff3c9fdb5 partial backout r10263
Backout replacing shoulda context of test/unit/helpers/issues_helper_test.rb.
Test methods in shoulda context do not run on Ruby 1.8.7-p370.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-22 02:03:23 +00:00
Toshi MARUYAMA f188277ab2 backout r10253
Backout replacing shoulda context of test/unit/helpers/issues_helper_test.rb.
Test methods in shoulda context do not run on Ruby 1.8.7-p370.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-22 02:03:11 +00:00
Jean-Philippe Lang 7729178d9d Adds links to locked users when current user is admin.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-18 17:08:42 +00:00
Jean-Philippe Lang 7263862ce3 Cleanup (#12050).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 17:03:40 +00:00
Jean-Philippe Lang 7626b21a1e Fixed that export: links are broken (#12050).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 17:02:22 +00:00
Toshi MARUYAMA 88e1587b08 sort custom field issue filter by type and position (#12018)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 04:48:48 +00:00
Toshi MARUYAMA 7c0c699f95 change "is_private" issue filter order from 15 to 16 (#12018)
Order 15 is duplicate with "watcher_id" filter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 04:09:41 +00:00
Toshi MARUYAMA eaf46c5512 change "status" issue filter order from 1 to 0 (#12018)
Order 1 is duplicate with "project" filter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 04:09:14 +00:00
Toshi MARUYAMA b571c3dbc9 split QueriesHelper filters_options_for_select method and add new unit test (#12018)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 04:08:38 +00:00
Jean-Philippe Lang 265baa1b2c Upgrade to Rails 3.2.8 (#11758).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 10:08:51 +00:00
Toshi MARUYAMA e4b7b7cc38 code cleanup test_with_a_start_date_attribute_* of unit IssuesHelperTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 05:33:43 +00:00
Toshi MARUYAMA 8eb39d682d replace shoulder "with a due_date attribute" context of unit IssuesHelperTest and use with_settings
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 05:33:28 +00:00
Toshi MARUYAMA 4bca584024 use date_format setting at unit IssuesHelperTest test_with_a_start_date_attribute_*
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 04:10:33 +00:00
Toshi MARUYAMA 444987ce91 replace shoulder "with a start_date attribute" context of test/unit/helpers/issues_helper_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:23:59 +00:00
Jean-Philippe Lang 3673fbd881 Fixed: Can't use non-latin anchor in wiki (#11577).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 19:36:00 +00:00
Toshi MARUYAMA 163659d0a5 cherry-pick avatar test from reverted r10184
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-11 00:31:18 +00:00
Jean-Philippe Lang 02b2a61e15 Reverted r10184 (#9365).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-10 16:35:58 +00:00
Jean-Philippe Lang cbfafcd5e2 Use SSL for gravatars according to the protocol in settings (#9365).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-09 18:04:54 +00:00
Jean-Philippe Lang e4518af32a Removed line numbers from syntax highlightment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 14:52:57 +00:00
Jean-Philippe Lang 308010c7c9 Fixed assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 11:17:36 +00:00
Jean-Philippe Lang c6106543e1 html5 compliance.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 10:12:26 +00:00
Jean-Philippe Lang 9b4d29dc0d Do not propose non-assignable version (#11506).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-27 19:41:36 +00:00
Jean-Philippe Lang f03e21fb45 Changed issues css class from priority-{position} to status-{id} (#2071).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-26 16:55:40 +00:00
Jean-Philippe Lang 28cdc8adfc Don't turn #nnn with leading zeros into link (#11494).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-24 21:51:10 +00:00
Toshi MARUYAMA 96f5d315ea add some avatar tests
* the default size was 50px
* class="gravatar"'
* some tests to test the default and option parsing

Contributed Felix Schäfer.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-11 00:18:09 +00:00
Jean-Philippe Lang 5bd90548b0 Adaptive display of "Per page" links (#7720).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-10 18:51:11 +00:00
Jean-Philippe Lang ba5a052c8c Copyright update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:56:53 +00:00
Toshi MARUYAMA 1446c9b7f0 scm: fix git and mercurial branch list box action
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-02 13:19:16 +00:00
Jean-Philippe Lang d1372107e5 Updated test for r9608.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 18:01:21 +00:00
Jean-Philippe Lang 68f8470d4a Makes image_tag pick the image from the current theme if it exists.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 09:47:09 +00:00
Jean-Philippe Lang da43f785be Adds support for :plugin option to image_tag helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 09:18:12 +00:00
Jean-Philippe Lang 03335d014c Restores support for :plugin support to stylesheet_link_tag and javascript_include_tag helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 09:10:46 +00:00
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang 1c31e32df7 No need to save journal details.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 08:26:45 +00:00
Jean-Philippe Lang 4598c64ebd Additional tests for IssuesHelper#show_detail.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 08:24:39 +00:00
Jean-Philippe Lang fa12fad4f2 Include ERB::Util in helpers tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:53:38 +00:00
Jean-Philippe Lang bcd8c64384 No need to save the record.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:03:59 +00:00
Jean-Philippe Lang 739820141a Extracted auto_link and auto_mailto to a module.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 10:04:46 +00:00
Jean-Philippe Lang f1358200d6 Removed obsolete helper empty test class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 20:46:06 +00:00
Jean-Philippe Lang 3c75601976 Moved redmine links escaping assertions to their own test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:59:13 +00:00
Jean-Philippe Lang 5c3ac1a40e Adds support for "Magic links" to notes (#2715).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:49:31 +00:00
Jean-Philippe Lang 4ccb898360 Fixed: {{toc}} uses identical anchors for subsections with the same name (#8194).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-14 08:09:23 +00:00
Jean-Philippe Lang 83458ee824 Updated test against r8860.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:18:32 +00:00
Jean-Philippe Lang 686430ee36 Fixed: wrong section edit links when a heading contains inline code (#10199).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 10:02:24 +00:00
Jean-Philippe Lang dfbab5d61e Fixed "can't convert Fixnum into String" error on projects with numerical identifier (#10135).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 14:44:40 +00:00
Jean-Philippe Lang f2e7aa596b Adds support for multiple repositories to redmine links (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-22 14:23:10 +00:00
Jean-Philippe Lang 45e3dafa8f Adds a <<me>> option at the top of the assignee drop-down (#1102).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 11:06:59 +00:00
Toshi MARUYAMA 1b61fbf739 Rails3.1: test: include ERB::Util in unit/helpers/search_helper_test.rb
undefined method `h' error raises on Rails 3.1.3 and Ruby 1.8.7.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 09:07:57 +00:00
Toshi MARUYAMA 4ee2193112 test: include ERB::Util at test/unit/helpers/issues_helper_test.rb
On Rails 3.1, undefined method `h' error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-22 11:04:25 +00:00
Jean-Philippe Lang 76ad136b2a #new is just fine.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 12:30:00 +00:00
Jean-Philippe Lang 8a563e8f57 #new is just fine.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8282 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:43:32 +00:00
Jean-Philippe Lang a79357bc28 Make sure setting is not changed in test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 10:41:45 +00:00
Jean-Philippe Lang 914f9b603e Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 09:48:37 +00:00
Jean-Philippe Lang eed1a5dfbd Makes tests inherit from ActionView::TestCase.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8277 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-18 08:41:17 +00:00
Jean-Philippe Lang dcce70095b Option to set parent automatically for new wiki pages (#3108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:44:04 +00:00
Jean-Philippe Lang c8066879db Moved wiki links tests together.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:23:26 +00:00
Jean-Philippe Lang ad25e3807d Make sure that tests restore the attachments path to the tmp dir so that fixture files don't get deleted.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-16 17:52:47 +00:00
Jean-Philippe Lang 3507707325 Fixed assert call.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:48:53 +00:00
Jean-Philippe Lang b23827491a Fixes require path in test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 20:27:13 +00:00
Toshi MARUYAMA be29227c12 reset Attachment.storage_path at the end of attachment tests
Attachment files are deleted when database data were deleted.
So, other tests fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 08:10:41 +00:00
Toshi MARUYAMA 4e83057e76 code layout clean up test/unit/helpers/application_helper_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:52:24 +00:00
Toshi MARUYAMA 627dfd80b6 add unit application helper test to use latest image file (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 03:34:57 +00:00
Toshi MARUYAMA 9be9c5f565 fix inconsistent image filename extensions (#9638)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 05:30:53 +00:00
Jean-Philippe Lang 9ac86d4f4e Wiki links for news and forums (#9600).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:16:23 +00:00
Toshi MARUYAMA b38dc9a301 move repositories helper to_utf8 tests to new CodesetUtilTest (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 14:57:58 +00:00
Etienne Massip 1032210edd Don't escape already parsed wiki link title (#9471).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 11:45:59 +00:00
Etienne Massip 8e1cf61d86 Fix failing test (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:47:25 +00:00
Etienne Massip d1efb4f148 Update CodeRay version to 1.0 final (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:34:30 +00:00
Etienne Massip 65b533a8ec Make sure that anchor names generated for headings fully match wiki links (#7215).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 17:25:29 +00:00
Etienne Massip 8bb90f87fb Prepend page title to anchor in single page wiki HTML export to make links more unique.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:57:17 +00:00
Etienne Massip ac2dbde135 Fix generation of blank local link when no title is specified in wiki link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:32:34 +00:00
Etienne Massip 1ee65e0469 Use local links in wiki pages when possible (#3276).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 14:44:07 +00:00
Toshi MARUYAMA d181e697ae Rails3: replace "all" fixtures at test/unit/helpers/issues_helper_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 10:10:36 +00:00
Toshi MARUYAMA 12813cd6ab Rails3: replace "all" fixtures at test/unit/helpers/projects_helper_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 23:57:36 +00:00
Toshi MARUYAMA 5367658323 remove trailing white-spaces from test/unit/helpers/application_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:06:03 +00:00
Toshi MARUYAMA e548f680c1 remove trailing white-spaces from test/unit/helpers/timelog_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 06:19:36 +00:00
Toshi MARUYAMA 80d0bf0ca6 remove trailing white-spaces from test/unit/helpers/sort_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:13:55 +00:00
Toshi MARUYAMA 8ad11c39b4 remove trailing white-spaces from test/unit/helpers/search_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:10:30 +00:00
Toshi MARUYAMA 1dd0d90b38 remove trailing white-spaces from test/unit/helpers/custom_fields_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 10:10:40 +00:00
Toshi MARUYAMA 7c7b11591b remove trailing white-spaces from test/unit/helpers/projects_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 07:09:10 +00:00
Jean-Philippe Lang ed01ae121d Adds a optgroup for groups in users/groups select tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:05:22 +00:00
Jean-Philippe Lang da69f086e7 Fixes version url.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:28:48 +00:00
Toshi MARUYAMA b0dfcca230 back out r6117. use ActionView::TestCase instead of HelperTestCase at IssuesHelperTest.
Tests on CI server fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 07:54:18 +00:00
Toshi MARUYAMA 81e3bc3737 use ActionView::TestCase instead of HelperTestCase at issues_helper_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@6117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:10:02 +00:00
Toshi MARUYAMA 4bc0f9a04a use ActionView::TestCase instead of HelperTestCase at timelog_helper_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@6114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:57:10 +00:00
Toshi MARUYAMA b49487e9a1 use ActionView::TestCase instead of HelperTestCase at sort_helper_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@6113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:56:24 +00:00
Toshi MARUYAMA 0b404184d5 use ActionView::TestCase instead of HelperTestCase at search_helper_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@6112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:56:00 +00:00
Toshi MARUYAMA e715627b3d use ActionView::TestCase instead of HelperTestCase at projects_helper_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@6111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:55:20 +00:00
Toshi MARUYAMA 6c92ac4d78 use ActionView::TestCase instead of HelperTestCase at custom_fields_helper_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@6110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:54:40 +00:00
Toshi MARUYAMA fe566992f0 scm: use ActionView::TestCase instead of HelperTestCase at repository_helper_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@6107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 00:57:17 +00:00
Toshi MARUYAMA 944829861d remove trailing white-spaces excluding here-documents from unit application helper test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:46:50 +00:00
Toshi MARUYAMA a955a5140b remove trailing white-spaces from unit issues helper test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:46 +00:00
Jean-Philippe Lang f89d04074e Warn about subtasks before deleting a parent issue (#6562).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 15:17:18 +00:00
Jean-Philippe Lang 1cd4f5b353 Adds a helper for issue heading (#7647).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:53:14 +00:00
Toshi MARUYAMA 5bb06ae42d scm: additional test of replacing invalid utf-8 sequences instead of stripping in displaying repository contents on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:04:45 +00:00
Toshi MARUYAMA bb48d96d30 scm: replace invalid utf-8 sequences instead of stripping in displaying repository contents on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:03:59 +00:00
Toshi MARUYAMA bf68788867 scm: more strict to_utf8() test in repository helper on Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 03:06:43 +00:00
Jean-Philippe Lang c17ff5f024 Fixed: unknown custom field format causes error when editing/bulk editing (#7985).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 18:24:30 +00:00
Toshi MARUYAMA 09996c3524 scm: add unit test of invalid utf8 sequences should be stripped in repository_helper to_utf8().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 05:46:47 +00:00
Toshi MARUYAMA e6e4256ee4 scm: to_utf8() in repositories_helper always returns UTF-8 in Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 05:46:25 +00:00