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

12 years agouse English as default language at "test_reminders_should_not_include_closed_issues...
Toshi MARUYAMA [Wed, 22 Feb 2012 03:28:42 +0000 (03:28 +0000)]
use English as default language at "test_reminders_should_not_include_closed_issues" of unit mailer test

On Rails 3.1.3, test fails and output is not English.

<pre>
Error: test_reminders_should_not_include_closed_issues(MailerTest)
ActiveRecord::RecordInvalid: Validation failed: Tracker non รจ incluso nella lista
test/unit/mailer_test.rb:459:in `test_reminders_should_not_include_closed_issues'
</pre>

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

12 years agoFixed magic link in the note added when closing an issue by a commit from a subprojec...
Jean-Philippe Lang [Mon, 20 Feb 2012 21:58:57 +0000 (21:58 +0000)]
Fixed magic link in the note added when closing an issue by a commit from a subproject (#10284).

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

12 years agouse assert_select instead of include? at "test_register" of unit mailer test
Toshi MARUYAMA [Mon, 20 Feb 2012 14:36:43 +0000 (14:36 +0000)]
use assert_select instead of include? at "test_register" of unit mailer test

On Rails 3.0.11, token breaks with new line.
So, test fails.

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

12 years agoDon't use auth_sources fixtures when not needed.
Jean-Philippe Lang [Sun, 19 Feb 2012 21:51:03 +0000 (21:51 +0000)]
Don't use auth_sources fixtures when not needed.

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

12 years agoFixed a test that writes into fixtures directory.
Jean-Philippe Lang [Sun, 19 Feb 2012 21:42:09 +0000 (21:42 +0000)]
Fixed a test that writes into fixtures directory.

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

12 years agoDisabled on the fly registration for auth_source fixture.
Jean-Philippe Lang [Sun, 19 Feb 2012 21:39:29 +0000 (21:39 +0000)]
Disabled on the fly registration for auth_source fixture.

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

12 years agoChanged bundle setup error message.
Jean-Philippe Lang [Sun, 19 Feb 2012 20:15:30 +0000 (20:15 +0000)]
Changed bundle setup error message.

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

12 years agoFriendly response when the LDAP connection fails.
Jean-Philippe Lang [Sun, 19 Feb 2012 18:13:46 +0000 (18:13 +0000)]
Friendly response when the LDAP connection fails.

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

12 years agoFixed random failures in RepositoriesControllerTest with ruby-1.8.7-p358.
Jean-Philippe Lang [Sun, 19 Feb 2012 15:34:06 +0000 (15:34 +0000)]
Fixed random failures in RepositoriesControllerTest with ruby-1.8.7-p358.

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

12 years agoUpgrade to net-ldap 0.3.1 (#10272).
Jean-Philippe Lang [Sun, 19 Feb 2012 15:05:20 +0000 (15:05 +0000)]
Upgrade to net-ldap 0.3.1 (#10272).

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

12 years agoRequire net/ldap.
Jean-Philippe Lang [Sun, 19 Feb 2012 15:04:10 +0000 (15:04 +0000)]
Require net/ldap.

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

12 years agoRemoved faster_csv from lib (#5638).
Jean-Philippe Lang [Sun, 19 Feb 2012 14:44:48 +0000 (14:44 +0000)]
Removed faster_csv from lib (#5638).

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

12 years agoRemoved vendored gems (#5638).
Jean-Philippe Lang [Sun, 19 Feb 2012 14:42:10 +0000 (14:42 +0000)]
Removed vendored gems (#5638).

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

12 years agoUse Bundler for gem management (#5638).
Jean-Philippe Lang [Sun, 19 Feb 2012 14:30:46 +0000 (14:30 +0000)]
Use Bundler for gem management (#5638).

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

12 years agoDo not recognize invalid textile attributes.
Jean-Philippe Lang [Fri, 17 Feb 2012 22:31:01 +0000 (22:31 +0000)]
Do not recognize invalid textile attributes.

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

12 years agofix Italian "description_date_range_list" translation by pasquale [:dedalus] (#10258)
Toshi MARUYAMA [Fri, 17 Feb 2012 14:28:24 +0000 (14:28 +0000)]
fix Italian "description_date_range_list" translation by pasquale [:dedalus] (#10258)

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

12 years agoscm: git: replace "write_attribute" at unit model test for database order consistency...
Toshi MARUYAMA [Fri, 17 Feb 2012 14:28:08 +0000 (14:28 +0000)]
scm: git: replace "write_attribute" at unit model test for database order consistency (#5357)

On Rails 3.0.11, "NoMethodError: private method `write_attribute'" error raises.

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

12 years agoscm: git: replace "order" at unit model test of fetching from scratch (#5357)
Toshi MARUYAMA [Fri, 17 Feb 2012 14:27:52 +0000 (14:27 +0000)]
scm: git: replace "order" at unit model test of fetching from scratch (#5357)

On Rails 3.0.11, this test fails.
Revision order of Git and Mercurial is not date/time order.

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

12 years agoItalian translation for 1.3-stable updated by Andrea Saccavini (#10258)
Toshi MARUYAMA [Fri, 17 Feb 2012 11:01:09 +0000 (11:01 +0000)]
Italian translation for 1.3-stable updated by Andrea Saccavini (#10258)

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

12 years agoRails3: view: mail: html_safe for auto_link
Toshi MARUYAMA [Fri, 17 Feb 2012 09:20:49 +0000 (09:20 +0000)]
Rails3: view: mail: html_safe for auto_link

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

12 years agoRails3: view: mail: html_safe for header and footer
Toshi MARUYAMA [Fri, 17 Feb 2012 08:23:59 +0000 (08:23 +0000)]
Rails3: view: mail: html_safe for header and footer

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

12 years agoAdds a rake test that removes old unattached uploads (#10253).
Jean-Philippe Lang [Thu, 16 Feb 2012 21:18:01 +0000 (21:18 +0000)]
Adds a rake test that removes old unattached uploads (#10253).

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

12 years agoMissing argument to new_project_query_path named route (#10254).
Jean-Philippe Lang [Thu, 16 Feb 2012 21:01:48 +0000 (21:01 +0000)]
Missing argument to new_project_query_path named route (#10254).

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

12 years agoBetter handling of attachments when issue validation fails (#10253).
Jean-Philippe Lang [Thu, 16 Feb 2012 21:00:11 +0000 (21:00 +0000)]
Better handling of attachments when issue validation fails (#10253).

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

12 years agoremove trailing white-spaces from public/javascripts/context_menu.js
Toshi MARUYAMA [Thu, 16 Feb 2012 01:35:52 +0000 (01:35 +0000)]
remove trailing white-spaces from public/javascripts/context_menu.js

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

12 years agoreplace tabs to spaces and fix indents public/javascripts/context_menu.js
Toshi MARUYAMA [Thu, 16 Feb 2012 01:35:23 +0000 (01:35 +0000)]
replace tabs to spaces and fix indents public/javascripts/context_menu.js

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

12 years agoreplace tabs to spaces app/views/issues/show.html.erb
Toshi MARUYAMA [Thu, 16 Feb 2012 01:34:58 +0000 (01:34 +0000)]
replace tabs to spaces app/views/issues/show.html.erb

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

12 years agoreplace tabs to spaces app/views/issues/new.html.erb
Toshi MARUYAMA [Thu, 16 Feb 2012 01:34:28 +0000 (01:34 +0000)]
replace tabs to spaces app/views/issues/new.html.erb

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

12 years agoroute: split issue preview route to adding and editing
Toshi MARUYAMA [Wed, 15 Feb 2012 22:49:03 +0000 (22:49 +0000)]
route: split issue preview route to adding and editing

"No route matches" error raises in "preview_issue_path"
at app/views/issues/new.html.erb:35 on Rails 3.0.11 and Rails 3.1.3 new route format.

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

12 years agouse with_settings instead of direct "Setting" at "test_index" of functional issues...
Toshi MARUYAMA [Wed, 15 Feb 2012 21:42:34 +0000 (21:42 +0000)]
use with_settings instead of direct "Setting" at "test_index" of functional issues controller test

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

12 years agoAdds confirmation message to changeset/issue relation delete link.
Jean-Philippe Lang [Wed, 15 Feb 2012 20:19:16 +0000 (20:19 +0000)]
Adds confirmation message to changeset/issue relation delete link.

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