]> source.dussan.org Git - redmine.git/log
redmine.git
12 years agoUse a single query to retrieve issues on the roadmap.
Jean-Philippe Lang [Fri, 2 Mar 2012 16:27:14 +0000 (16:27 +0000)]
Use a single query to retrieve issues on the roadmap.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9057 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse a single query to retrieve issues_count, open_issues_count and closed_issues_count.
Jean-Philippe Lang [Fri, 2 Mar 2012 16:26:06 +0000 (16:26 +0000)]
Use a single query to retrieve issues_count, open_issues_count and closed_issues_count.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9056 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse #issues_count which is already retrieved.
Jean-Philippe Lang [Fri, 2 Mar 2012 16:23:10 +0000 (16:23 +0000)]
Use #issues_count which is already retrieved.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9055 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a test for when updating a news fails.
Jean-Philippe Lang [Fri, 2 Mar 2012 11:43:33 +0000 (11:43 +0000)]
Adds a test for when updating a news fails.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9054 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds functional test for #test_connection.
Jean-Philippe Lang [Fri, 2 Mar 2012 11:31:44 +0000 (11:31 +0000)]
Adds functional test for #test_connection.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9053 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds functional tests for LdapAuthSourcesController.
Jean-Philippe Lang [Fri, 2 Mar 2012 11:25:19 +0000 (11:25 +0000)]
Adds functional tests for LdapAuthSourcesController.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9052 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed DarcsAdapter for ruby 1.9.3.
Jean-Philippe Lang [Fri, 2 Mar 2012 08:40:41 +0000 (08:40 +0000)]
Fixed DarcsAdapter for ruby 1.9.3.

Unlike 1.8 and 1.9.2, Entries#compact returns an Array with 1.9.3, instead of an Entries object, resulting in a "undefined method `sort_by_name'" error.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9051 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse valid filters in #test_index_with_sort_filters.
Jean-Philippe Lang [Fri, 2 Mar 2012 07:38:43 +0000 (07:38 +0000)]
Use valid filters in #test_index_with_sort_filters.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9050 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoPrevent test:scm:setup:* task to overwrite if the test repository already exists.
Jean-Philippe Lang [Thu, 1 Mar 2012 21:01:37 +0000 (21:01 +0000)]
Prevent test:scm:setup:* task to overwrite if the test repository already exists.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9049 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved obsolete helper empty test class.
Jean-Philippe Lang [Thu, 1 Mar 2012 20:46:06 +0000 (20:46 +0000)]
Removed obsolete helper empty test class.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9048 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRandom test failures in #test_..._if_an_exception_is_raised with ruby1.8.7-p358 and...
Jean-Philippe Lang [Thu, 1 Mar 2012 20:34:41 +0000 (20:34 +0000)]
Random test failures in #test_..._if_an_exception_is_raised with ruby1.8.7-p358 and sqlite3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9047 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed that the bulk edit/copy form does not propose versions and categories for the...
Jean-Philippe Lang [Thu, 1 Mar 2012 20:22:08 +0000 (20:22 +0000)]
Fixed that the bulk edit/copy form does not propose versions and categories for the target project (#10350).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9046 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixes LDAP test.
Jean-Philippe Lang [Thu, 1 Mar 2012 19:47:03 +0000 (19:47 +0000)]
Fixes LDAP test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9045 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds an optional LDAP filter (#1060).
Jean-Philippe Lang [Thu, 1 Mar 2012 16:26:10 +0000 (16:26 +0000)]
Adds an optional LDAP filter (#1060).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9044 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMailHandler: fixed that sender's fullname is not unquoted (#10334).
Jean-Philippe Lang [Thu, 1 Mar 2012 15:32:34 +0000 (15:32 +0000)]
MailHandler: fixed that sender's fullname is not unquoted (#10334).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9043 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoback out from r9031 to r9036
Toshi MARUYAMA [Thu, 1 Mar 2012 11:40:22 +0000 (11:40 +0000)]
back out from r9031 to r9036

On Rails3, 'to_s' is not alias of 'encoded'.
'to_s' is alias of 'decoded'.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9037 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: test: add .to_s for mail's bodies check at unit/mailer_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:10:27 +0000 (08:10 +0000)]
Rails3: test: add .to_s for mail's bodies check at unit/mailer_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9036 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: test: add .to_s for mail's bodies check at unit/repository_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:09:35 +0000 (08:09 +0000)]
Rails3: test: add .to_s for mail's bodies check at unit/repository_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9035 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: test: add .to_s for mail's bodies check at functional/users_controller_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:08:58 +0000 (08:08 +0000)]
Rails3: test: add .to_s for mail's bodies check at functional/users_controller_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9034 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: test: add .to_s for mail's bodies check at functional/messages_controller_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:08:25 +0000 (08:08 +0000)]
Rails3: test: add .to_s for mail's bodies check at functional/messages_controller_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9033 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: test: add .to_s for mail's bodies check at functional/issues_controller_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:07:41 +0000 (08:07 +0000)]
Rails3: test: add .to_s for mail's bodies check at functional/issues_controller_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9032 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: test: add .to_s for mail's bodies check at functional/files_controller_test.rb
Toshi MARUYAMA [Thu, 1 Mar 2012 08:07:10 +0000 (08:07 +0000)]
Rails3: test: add .to_s for mail's bodies check at functional/files_controller_test.rb

On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9031 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixes r9029.
Jean-Philippe Lang [Tue, 28 Feb 2012 06:27:23 +0000 (06:27 +0000)]
Fixes r9029.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9030 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoImplements the behaviour expected in user_test.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:46:33 +0000 (05:46 +0000)]
Implements the behaviour expected in user_test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9029 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:35:33 +0000 (05:35 +0000)]
Fixed potential test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9028 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:33:46 +0000 (05:33 +0000)]
Fixed potential test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9027 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:29:36 +0000 (05:29 +0000)]
Fixed potential test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9026 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:25:26 +0000 (05:25 +0000)]
Fixed potential test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9025 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed potential test failure.
Jean-Philippe Lang [Tue, 28 Feb 2012 05:25:04 +0000 (05:25 +0000)]
Fixed potential test failure.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9024 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMailer#url_for not called in views with Rails 3.1.
Jean-Philippe Lang [Mon, 27 Feb 2012 20:43:25 +0000 (20:43 +0000)]
Mailer#url_for not called in views with Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9023 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoOverride @#url_for@ in AM to force generation of absolute links (#10251).
Etienne Massip [Mon, 27 Feb 2012 18:42:03 +0000 (18:42 +0000)]
Override @#url_for@ in AM to force generation of absolute links (#10251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9022 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed routing failure with jruby 1.6.
Jean-Philippe Lang [Mon, 27 Feb 2012 18:35:10 +0000 (18:35 +0000)]
Fixed routing failure with jruby 1.6.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9021 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a test for project menu item when displaying a revision.
Jean-Philippe Lang [Mon, 27 Feb 2012 15:26:35 +0000 (15:26 +0000)]
Adds a test for project menu item when displaying a revision.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9020 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a test for when displaying the new message form on boards#show.
Jean-Philippe Lang [Mon, 27 Feb 2012 15:11:50 +0000 (15:11 +0000)]
Adds a test for when displaying the new message form on boards#show.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9019 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse controller_name and action_name instead of params.
Jean-Philippe Lang [Sun, 26 Feb 2012 19:20:37 +0000 (19:20 +0000)]
Use controller_name and action_name instead of params.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9018 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds a helper for displaying validation error messages.
Jean-Philippe Lang [Sun, 26 Feb 2012 18:07:13 +0000 (18:07 +0000)]
Adds a helper for displaying validation error messages.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9017 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: scm: cvs: fix error of test_fetch_changesets_incremental at unit model test
Toshi MARUYAMA [Sun, 26 Feb 2012 14:09:21 +0000 (14:09 +0000)]
Rails3: scm: cvs: fix error of test_fetch_changesets_incremental at unit model test

On Rails 3.1, ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error raises.
For more details, see r7062.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9016 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility (order declared on association takes precedence).
Jean-Philippe Lang [Sun, 26 Feb 2012 13:05:19 +0000 (13:05 +0000)]
Rails 3.1 compatibility (order declared on association takes precedence).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9015 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMoved tests about session reset to functional tests.
Jean-Philippe Lang [Sun, 26 Feb 2012 12:00:41 +0000 (12:00 +0000)]
Moved tests about session reset to functional tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9014 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoMake sure that projects_to_search is a Project Array.
Jean-Philippe Lang [Sun, 26 Feb 2012 11:42:29 +0000 (11:42 +0000)]
Make sure that projects_to_search is a Project Array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9013 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoremove trailing white-spaces from app/models/attachment.rb
Toshi MARUYAMA [Sun, 26 Feb 2012 10:16:09 +0000 (10:16 +0000)]
remove trailing white-spaces from app/models/attachment.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9012 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: html_safe for project_tree_options_for_select method in application helper
Toshi MARUYAMA [Sun, 26 Feb 2012 07:10:54 +0000 (07:10 +0000)]
Rails3: html_safe for project_tree_options_for_select method in application helper

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9011 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoremove trailing white-spaces from vendor/plugins/acts_as_watchable/lib/acts_as_watcha...
Toshi MARUYAMA [Sun, 26 Feb 2012 04:28:12 +0000 (04:28 +0000)]
remove trailing white-spaces from vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9010 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRewrite test without shoulda macros.
Jean-Philippe Lang [Sat, 25 Feb 2012 20:47:23 +0000 (20:47 +0000)]
Rewrite test without shoulda macros.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9009 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved assertions on blank template.
Jean-Philippe Lang [Sat, 25 Feb 2012 20:42:31 +0000 (20:42 +0000)]
Removed assertions on blank template.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9008 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sat, 25 Feb 2012 16:33:00 +0000 (16:33 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9007 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sat, 25 Feb 2012 16:31:13 +0000 (16:31 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9006 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sat, 25 Feb 2012 15:23:20 +0000 (15:23 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9005 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails 3.1 compatibility.
Jean-Philippe Lang [Sat, 25 Feb 2012 15:20:28 +0000 (15:20 +0000)]
Rails 3.1 compatibility.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9004 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUpdated Ruby required version.
Etienne Massip [Sat, 25 Feb 2012 13:26:51 +0000 (13:26 +0000)]
Updated Ruby required version.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9003 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoCode cleanup.
Jean-Philippe Lang [Sat, 25 Feb 2012 13:04:34 +0000 (13:04 +0000)]
Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9002 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoCan not use Project#find on scopes with Rails 3.1.
Jean-Philippe Lang [Sat, 25 Feb 2012 12:57:30 +0000 (12:57 +0000)]
Can not use Project#find on scopes with Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9001 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse content_tag for empty option.
Jean-Philippe Lang [Sat, 25 Feb 2012 12:37:28 +0000 (12:37 +0000)]
Use content_tag for empty option.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9000 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoClean up assertion.
Jean-Philippe Lang [Sat, 25 Feb 2012 12:35:22 +0000 (12:35 +0000)]
Clean up assertion.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8999 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoPreserve xml output with Rails 3.1.
Jean-Philippe Lang [Sat, 25 Feb 2012 12:19:56 +0000 (12:19 +0000)]
Preserve xml output with Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8998 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUndefined #builtin= with Rails 3.1.3.
Jean-Philippe Lang [Sat, 25 Feb 2012 11:48:29 +0000 (11:48 +0000)]
Undefined #builtin= with Rails 3.1.3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8997 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed migration broken with Rails 3.1.3 (#10320).
Jean-Philippe Lang [Sat, 25 Feb 2012 11:46:19 +0000 (11:46 +0000)]
Fixed migration broken with Rails 3.1.3 (#10320).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8996 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoYAML files parsing issues.
Jean-Philippe Lang [Sat, 25 Feb 2012 11:33:30 +0000 (11:33 +0000)]
YAML files parsing issues.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8995 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed escaping issue with Rails 3.1.
Jean-Philippe Lang [Sat, 25 Feb 2012 11:06:14 +0000 (11:06 +0000)]
Fixed escaping issue with Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8994 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse content_tag for empty option.
Jean-Philippe Lang [Sat, 25 Feb 2012 11:04:38 +0000 (11:04 +0000)]
Use content_tag for empty option.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8993 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds missing format parameter.
Jean-Philippe Lang [Sat, 25 Feb 2012 10:41:22 +0000 (10:41 +0000)]
Adds missing format parameter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8992 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoDo not do assertions on mail class.
Jean-Philippe Lang [Sat, 25 Feb 2012 09:58:23 +0000 (09:58 +0000)]
Do not do assertions on mail class.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8991 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed escaping issue with Rails 3.1.
Jean-Philippe Lang [Sat, 25 Feb 2012 09:37:18 +0000 (09:37 +0000)]
Fixed escaping issue with Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8990 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse content_tag for "no change" options.
Jean-Philippe Lang [Sat, 25 Feb 2012 09:29:56 +0000 (09:29 +0000)]
Use content_tag for "no change" options.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8989 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: prevent double rendering file view and annotate on Rails 3.0.11 and Rails...
Toshi MARUYAMA [Sat, 25 Feb 2012 06:01:48 +0000 (06:01 +0000)]
Rails3: prevent double rendering file view and annotate on Rails 3.0.11 and Rails 3.1.3

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8988 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: test: fix ordering functional/comments_controller_test.rb
Toshi MARUYAMA [Sat, 25 Feb 2012 01:43:11 +0000 (01:43 +0000)]
Rails3: test: fix ordering functional/comments_controller_test.rb

On Rails 3.0.11, test fails.

<pre>
Failure: <"This is a test comment"> expected but was
<"my first comment">.
test_add_comment(CommentsControllerTest)
test/functional/comments_controller_test.rb:34:in `test_add_comment'
</pre>

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8987 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed Version#issues_progress for Rails 3.1.
Jean-Philippe Lang [Sat, 25 Feb 2012 00:07:09 +0000 (00:07 +0000)]
Fixed Version#issues_progress for Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8986 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixed escaping issues in #textilizable with Rails 3.1.
Jean-Philippe Lang [Sat, 25 Feb 2012 00:00:58 +0000 (00:00 +0000)]
Fixed escaping issues in #textilizable with Rails 3.1.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8985 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoReplace auto_link with link_to in email templates.
Jean-Philippe Lang [Fri, 24 Feb 2012 23:16:59 +0000 (23:16 +0000)]
Replace auto_link with link_to in email templates.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8984 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse fixture.
Jean-Philippe Lang [Fri, 24 Feb 2012 21:24:00 +0000 (21:24 +0000)]
Use fixture.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8983 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse :joins instead of :include.
Jean-Philippe Lang [Fri, 24 Feb 2012 18:55:09 +0000 (18:55 +0000)]
Use :joins instead of :include.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8982 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoPotential test failure fixed.
Jean-Philippe Lang [Fri, 24 Feb 2012 18:43:35 +0000 (18:43 +0000)]
Potential test failure fixed.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8981 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRound hours when reading TimeEntry attribute.
Jean-Philippe Lang [Fri, 24 Feb 2012 18:40:22 +0000 (18:40 +0000)]
Round hours when reading TimeEntry attribute.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8980 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoCleanup instance variables when reloading a project.
Jean-Philippe Lang [Fri, 24 Feb 2012 18:38:05 +0000 (18:38 +0000)]
Cleanup instance variables when reloading a project.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8979 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRemoved useless option.
Jean-Philippe Lang [Fri, 24 Feb 2012 18:27:38 +0000 (18:27 +0000)]
Removed useless option.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8978 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoUse subclasses method instead of class variable.
Jean-Philippe Lang [Fri, 24 Feb 2012 18:23:58 +0000 (18:23 +0000)]
Use subclasses method instead of class variable.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8977 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: scm: mercurial: use .to_s for overriding human_attribute_name parameter
Toshi MARUYAMA [Fri, 24 Feb 2012 14:59:54 +0000 (14:59 +0000)]
Rails3: scm: mercurial: use .to_s for overriding human_attribute_name parameter

On Rails 3.0.11, parameter is symbol not string in activerecord validation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8976 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: scm: git: use .to_s for overriding human_attribute_name parameter
Toshi MARUYAMA [Fri, 24 Feb 2012 14:59:31 +0000 (14:59 +0000)]
Rails3: scm: git: use .to_s for overriding human_attribute_name parameter

On Rails 3.0.11, parameter is symbol not string in activerecord validation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8975 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: scm: filesystem: use .to_s for overriding human_attribute_name parameter
Toshi MARUYAMA [Fri, 24 Feb 2012 14:59:06 +0000 (14:59 +0000)]
Rails3: scm: filesystem: use .to_s for overriding human_attribute_name parameter

On Rails 3.0.11, parameter is symbol not string in activerecord validation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8974 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: scm: darcs: use .to_s for overriding human_attribute_name parameter
Toshi MARUYAMA [Fri, 24 Feb 2012 14:58:43 +0000 (14:58 +0000)]
Rails3: scm: darcs: use .to_s for overriding human_attribute_name parameter

On Rails 3.0.11, parameter is symbol not string in activerecord validation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8973 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: scm: cvs: use .to_s for overriding human_attribute_name parameter
Toshi MARUYAMA [Fri, 24 Feb 2012 14:58:18 +0000 (14:58 +0000)]
Rails3: scm: cvs: use .to_s for overriding human_attribute_name parameter

On Rails 3.0.11, parameter is symbol not string in activerecord validation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8972 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: scm: bazaar: use .to_s for overriding human_attribute_name parameter
Toshi MARUYAMA [Fri, 24 Feb 2012 14:57:52 +0000 (14:57 +0000)]
Rails3: scm: bazaar: use .to_s for overriding human_attribute_name parameter

On Rails 3.0.11, parameter is symbol not string in activerecord validation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8971 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: scm: use .to_s for overriding human_attribute_name parameter at repository...
Toshi MARUYAMA [Fri, 24 Feb 2012 14:57:26 +0000 (14:57 +0000)]
Rails3: scm: use .to_s for overriding human_attribute_name parameter at repository model

On Rails 3.0.11, parameter is symbol not string in activerecord validation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8970 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: use .to_s for overriding human_attribute_name parameter at group model
Toshi MARUYAMA [Fri, 24 Feb 2012 14:56:54 +0000 (14:56 +0000)]
Rails3: use .to_s for overriding human_attribute_name parameter at group model

On Rails 3.0.11, parameter is symbol not string in activerecord validation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8969 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: cvs: add test to override human_attribute_name
Toshi MARUYAMA [Fri, 24 Feb 2012 14:02:26 +0000 (14:02 +0000)]
scm: cvs: add test to override human_attribute_name

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8968 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: filesystem: add test to override human_attribute_name of "Root directory"
Toshi MARUYAMA [Fri, 24 Feb 2012 13:04:06 +0000 (13:04 +0000)]
scm: filesystem: add test to override human_attribute_name of "Root directory"

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8967 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: mercurial: remove unnecessary log_encoding from overriding human_attribute_name...
Toshi MARUYAMA [Fri, 24 Feb 2012 12:38:58 +0000 (12:38 +0000)]
scm: mercurial: remove unnecessary log_encoding from overriding human_attribute_name test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8966 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: git: remove unnecessary log_encoding from overriding human_attribute_name test
Toshi MARUYAMA [Fri, 24 Feb 2012 12:38:35 +0000 (12:38 +0000)]
scm: git: remove unnecessary log_encoding from overriding human_attribute_name test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8965 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: mercurial: add test to override human_attribute_name of "path to repository"
Toshi MARUYAMA [Fri, 24 Feb 2012 11:31:59 +0000 (11:31 +0000)]
scm: mercurial: add test to override human_attribute_name of "path to repository"

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8964 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: git: add test to override human_attribute_name of "path to repository"
Toshi MARUYAMA [Fri, 24 Feb 2012 11:31:38 +0000 (11:31 +0000)]
scm: git: add test to override human_attribute_name of "path to repository"

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8963 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: mercurial: split unit model test setup whether repository required or not
Toshi MARUYAMA [Fri, 24 Feb 2012 11:18:59 +0000 (11:18 +0000)]
scm: mercurial: split unit model test setup whether repository required or not

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8962 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: git: split unit model test setup whether repository required or not
Toshi MARUYAMA [Fri, 24 Feb 2012 11:18:37 +0000 (11:18 +0000)]
scm: git: split unit model test setup whether repository required or not

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8961 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: bazaar: add test to override human_attribute_name of "path to repository"
Toshi MARUYAMA [Fri, 24 Feb 2012 10:02:20 +0000 (10:02 +0000)]
scm: bazaar: add test to override human_attribute_name of "path to repository"

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8960 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: darcs: add test to override human_attribute_name of "path to repository"
Toshi MARUYAMA [Fri, 24 Feb 2012 10:01:58 +0000 (10:01 +0000)]
scm: darcs: add test to override human_attribute_name of "path to repository"

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8959 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agocode layout cleanup test/unit/repository_test.rb
Toshi MARUYAMA [Fri, 24 Feb 2012 04:09:06 +0000 (04:09 +0000)]
code layout cleanup test/unit/repository_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8958 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoscm: add test to override human_attribute_name of log_encoding
Toshi MARUYAMA [Fri, 24 Feb 2012 04:08:47 +0000 (04:08 +0000)]
scm: add test to override human_attribute_name of log_encoding

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8957 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoRails3: view: html_safe for auto_link of project homepage
Toshi MARUYAMA [Thu, 23 Feb 2012 23:08:00 +0000 (23:08 +0000)]
Rails3: view: html_safe for auto_link of project homepage

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8956 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoFixes HTML.
Jean-Philippe Lang [Thu, 23 Feb 2012 15:42:15 +0000 (15:42 +0000)]
Fixes HTML.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8955 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoAdds functional tests.
Jean-Philippe Lang [Thu, 23 Feb 2012 15:41:29 +0000 (15:41 +0000)]
Adds functional tests.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8954 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 years agoCode cleanup.
Jean-Philippe Lang [Thu, 23 Feb 2012 15:28:49 +0000 (15:28 +0000)]
Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8953 e93f8b46-1217-0410-a6f0-8f06a7374b81