]> source.dussan.org Git - redmine.git/log
redmine.git
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

12 years agoAdds required fixtures back.
Jean-Philippe Lang [Thu, 23 Feb 2012 15:23:58 +0000 (15:23 +0000)]
Adds required fixtures back.

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

12 years agoRemoved dead code.
Jean-Philippe Lang [Thu, 23 Feb 2012 15:23:03 +0000 (15:23 +0000)]
Removed dead code.

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

12 years agoPass the message id when previewing in edit mode (#10275).
Jean-Philippe Lang [Thu, 23 Feb 2012 15:17:13 +0000 (15:17 +0000)]
Pass the message id when previewing in edit mode (#10275).

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

12 years agoPass the topic objet to #textilizable (#10275).
Jean-Philippe Lang [Thu, 23 Feb 2012 15:11:17 +0000 (15:11 +0000)]
Pass the topic objet to #textilizable (#10275).

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

12 years agoAdds functional tests.
Jean-Philippe Lang [Thu, 23 Feb 2012 14:39:55 +0000 (14:39 +0000)]
Adds functional tests.

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

12 years agoAdds functional tests.
Jean-Philippe Lang [Thu, 23 Feb 2012 14:26:30 +0000 (14:26 +0000)]
Adds functional tests.

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

12 years agoRemoved dead code.
Jean-Philippe Lang [Thu, 23 Feb 2012 14:19:42 +0000 (14:19 +0000)]
Removed dead code.

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

12 years agoAdds functional tests.
Jean-Philippe Lang [Thu, 23 Feb 2012 14:18:54 +0000 (14:18 +0000)]
Adds functional tests.

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

12 years agoPreserve uploaded files when on documents.
Jean-Philippe Lang [Thu, 23 Feb 2012 13:10:51 +0000 (13:10 +0000)]
Preserve uploaded files when on documents.

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

12 years agoPreserve uploaded files when on news.
Jean-Philippe Lang [Thu, 23 Feb 2012 13:08:32 +0000 (13:08 +0000)]
Preserve uploaded files when on news.

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

12 years agoPreserve uploaded files when on news.
Jean-Philippe Lang [Thu, 23 Feb 2012 13:07:27 +0000 (13:07 +0000)]
Preserve uploaded files when on news.

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

12 years agoDo not check the request http method.
Jean-Philippe Lang [Thu, 23 Feb 2012 13:05:10 +0000 (13:05 +0000)]
Do not check the request http method.

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

12 years agoPreserve uploaded files when creating a forum topic.
Jean-Philippe Lang [Thu, 23 Feb 2012 13:02:35 +0000 (13:02 +0000)]
Preserve uploaded files when creating a forum topic.

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

12 years agoi18n not working with russian gem (#10066).
Jean-Philippe Lang [Thu, 23 Feb 2012 12:55:22 +0000 (12:55 +0000)]
i18n not working with russian gem (#10066).

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

12 years agoscm: mercurial: use to_s for revision in find_changeset_by_name method
Toshi MARUYAMA [Thu, 23 Feb 2012 12:18:30 +0000 (12:18 +0000)]
scm: mercurial: use to_s for revision in find_changeset_by_name method

On Rails 3.0.11, functional test fails.

<pre>
Error: test_diff_two_revs(RepositoriesMercurialControllerTest)
NoMethodError: undefined method `empty?' for 4:Fixnum
app/models/repository/mercurial.rb:76:in `find_changeset_by_name'
</pre>

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

12 years agoBetter message for file size validation error.
Jean-Philippe Lang [Thu, 23 Feb 2012 12:18:10 +0000 (12:18 +0000)]
Better message for file size validation error.

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

12 years agoRails3: test: scm: mercurial: use "repository_path_hash" for path param
Toshi MARUYAMA [Thu, 23 Feb 2012 12:18:03 +0000 (12:18 +0000)]
Rails3: test: scm: mercurial: use "repository_path_hash" for path param

Rails3 new route format returns path param as string not array.

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

12 years agoRails3: test: scm: darcs: use "repository_path_hash" for path param
Toshi MARUYAMA [Thu, 23 Feb 2012 12:17:32 +0000 (12:17 +0000)]
Rails3: test: scm: darcs: use "repository_path_hash" for path param

Rails3 new route format returns path param as string not array.

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

12 years agoMakes container_id and container_type columns nullables.
Jean-Philippe Lang [Thu, 23 Feb 2012 11:15:39 +0000 (11:15 +0000)]
Makes container_id and container_type columns nullables.

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

12 years agoRemoved testing code.
Jean-Philippe Lang [Thu, 23 Feb 2012 10:57:50 +0000 (10:57 +0000)]
Removed testing code.

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

12 years agoadd vendor/cache to .hgignore and .gitignore
Toshi MARUYAMA [Thu, 23 Feb 2012 10:21:27 +0000 (10:21 +0000)]
add vendor/cache to .hgignore and .gitignore

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

12 years agoscm: use to_s for revision in find_changeset_by_name method
Toshi MARUYAMA [Thu, 23 Feb 2012 10:11:19 +0000 (10:11 +0000)]
scm: use to_s for revision in find_changeset_by_name method

On Rails 3.0.11, Subversion functional test fails.

<pre>
Error: test_directory_diff(RepositoriesSubversionControllerTest)
NoMethodError: undefined method `match' for 2:Fixnum
app/models/repository.rb:234:in `find_changeset_by_name'
</pre>

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

12 years agoRails3: test: scm: subversion: use "repository_path_hash" for path param
Toshi MARUYAMA [Thu, 23 Feb 2012 10:10:48 +0000 (10:10 +0000)]
Rails3: test: scm: subversion: use "repository_path_hash" for path param

Rails3 new route format returns path param as string not array.

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

12 years agoAdds vendor/cache to svn:ignore.
Jean-Philippe Lang [Thu, 23 Feb 2012 10:02:10 +0000 (10:02 +0000)]
Adds vendor/cache to svn:ignore.

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

12 years agoAdds support for adding attachments to issues through the REST API (#8171).
Jean-Philippe Lang [Thu, 23 Feb 2012 10:01:16 +0000 (10:01 +0000)]
Adds support for adding attachments to issues through the REST API (#8171).

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

12 years agoRails3: test: scm: bazaar: use "repository_path_hash" for path param
Toshi MARUYAMA [Thu, 23 Feb 2012 08:49:05 +0000 (08:49 +0000)]
Rails3: test: scm: bazaar: use "repository_path_hash" for path param

Rails3 new route format returns path param as string not array.

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

12 years agoRails3: test: scm: cvs: use "repository_path_hash" for path param
Toshi MARUYAMA [Thu, 23 Feb 2012 07:33:44 +0000 (07:33 +0000)]
Rails3: test: scm: cvs: use "repository_path_hash" for path param

Rails3 new route format returns path param as string not array.

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

12 years agoRails3: test: scm: filesystem: use "repository_path_hash" for path param
Toshi MARUYAMA [Thu, 23 Feb 2012 06:12:44 +0000 (06:12 +0000)]
Rails3: test: scm: filesystem: use "repository_path_hash" for path param

Rails3 new route format returns path param as string not array.

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

12 years agoRails3: test: scm: git: use "repository_path_hash" for path param
Toshi MARUYAMA [Thu, 23 Feb 2012 06:12:22 +0000 (06:12 +0000)]
Rails3: test: scm: git: use "repository_path_hash" for path param

Rails3 new route format returns path param as string not array.

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

12 years agoRails3: test: scm: move "repository_path_hash" method in repositories routing test...
Toshi MARUYAMA [Thu, 23 Feb 2012 06:11:59 +0000 (06:11 +0000)]
Rails3: test: scm: move "repository_path_hash" method in repositories routing test to test_helper.rb for common use

Rails3 new route format returns path param as string not array.

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

12 years agoadd ":id => nil" to "Overall activity" link_to
Toshi MARUYAMA [Wed, 22 Feb 2012 14:36:31 +0000 (14:36 +0000)]
add ":id => nil" to "Overall activity" link_to

On Rails 3.2.1, "Overall activity" link becomes "/assets?controller=activities".

Contributed by John Yani.

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

12 years agocode layout cleanup app/views/users/show.html.erb
Toshi MARUYAMA [Wed, 22 Feb 2012 14:36:16 +0000 (14:36 +0000)]
code layout cleanup app/views/users/show.html.erb

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

12 years agoRails3: use image_tag instead of hard-coded html tag to prevent escaping in gravatar...
Toshi MARUYAMA [Wed, 22 Feb 2012 11:41:07 +0000 (11:41 +0000)]
Rails3: use image_tag instead of hard-coded html tag to prevent escaping in gravatar plugin

Contributed by Sernin van de Krol.

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

12 years agoRails3: view: html_safe for common/_diff.html.erb
Toshi MARUYAMA [Wed, 22 Feb 2012 03:38:08 +0000 (03:38 +0000)]
Rails3: view: html_safe for common/_diff.html.erb

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