]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoscm: replace RAILS_DEFAULT_LOGGER to Rails.logger at abstract adapter.
Toshi MARUYAMA [Wed, 22 Jun 2011 23:42:37 +0000 (23:42 +0000)]
scm: replace RAILS_DEFAULT_LOGGER to Rails.logger at abstract adapter.

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

13 years agoPDF: replace RAILS_ROOT to Rails.root at vendor/plugins/rfpdf/lib/tcpdf.rb.
Toshi MARUYAMA [Wed, 22 Jun 2011 23:41:54 +0000 (23:41 +0000)]
PDF: replace RAILS_ROOT to Rails.root at vendor/plugins/rfpdf/lib/tcpdf.rb.

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

13 years agoback out r6118. use ActionView::TestCase instead of HelperTestCase at MenuHelperTest.
Toshi MARUYAMA [Wed, 22 Jun 2011 07:55:02 +0000 (07:55 +0000)]
back out r6118. use ActionView::TestCase instead of HelperTestCase at MenuHelperTest.

Tests on CI server fail.

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

13 years agoback out r6117. use ActionView::TestCase instead of HelperTestCase at IssuesHelperTest.
Toshi MARUYAMA [Wed, 22 Jun 2011 07:54:18 +0000 (07:54 +0000)]
back out r6117. use ActionView::TestCase instead of HelperTestCase at IssuesHelperTest.

Tests on CI server fail.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/menu_mana...
Toshi MARUYAMA [Wed, 22 Jun 2011 04:10:43 +0000 (04:10 +0000)]
use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/menu_manager/menu_helper_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at issues_helper_test.rb.
Toshi MARUYAMA [Wed, 22 Jun 2011 04:10:02 +0000 (04:10 +0000)]
use ActionView::TestCase instead of HelperTestCase at issues_helper_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/wiki_form...
Toshi MARUYAMA [Wed, 22 Jun 2011 04:02:27 +0000 (04:02 +0000)]
use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/wiki_form...
Toshi MARUYAMA [Wed, 22 Jun 2011 04:01:45 +0000 (04:01 +0000)]
use ActionView::TestCase instead of HelperTestCase at test/unit/lib/redmine/wiki_formatting/macros_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at timelog_helper_test.rb.
Toshi MARUYAMA [Wed, 22 Jun 2011 03:57:10 +0000 (03:57 +0000)]
use ActionView::TestCase instead of HelperTestCase at timelog_helper_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at sort_helper_test.rb.
Toshi MARUYAMA [Wed, 22 Jun 2011 03:56:24 +0000 (03:56 +0000)]
use ActionView::TestCase instead of HelperTestCase at sort_helper_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at search_helper_test.rb.
Toshi MARUYAMA [Wed, 22 Jun 2011 03:56:00 +0000 (03:56 +0000)]
use ActionView::TestCase instead of HelperTestCase at search_helper_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at projects_helper_test.rb.
Toshi MARUYAMA [Wed, 22 Jun 2011 03:55:20 +0000 (03:55 +0000)]
use ActionView::TestCase instead of HelperTestCase at projects_helper_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActionView::TestCase instead of HelperTestCase at custom_fields_helper_test.rb.
Toshi MARUYAMA [Wed, 22 Jun 2011 03:54:40 +0000 (03:54 +0000)]
use ActionView::TestCase instead of HelperTestCase at custom_fields_helper_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActiveSupport::TestCase instead of HelperTestCase at test/unit/lib/redmine/views...
Toshi MARUYAMA [Wed, 22 Jun 2011 03:50:35 +0000 (03:50 +0000)]
use ActiveSupport::TestCase instead of HelperTestCase at test/unit/lib/redmine/views/builders/xml_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agouse ActiveSupport::TestCase instead of HelperTestCase at test/unit/lib/redmine/views...
Toshi MARUYAMA [Wed, 22 Jun 2011 03:49:53 +0000 (03:49 +0000)]
use ActiveSupport::TestCase instead of HelperTestCase at test/unit/lib/redmine/views/builders/json_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agoscm: use ActionView::TestCase instead of HelperTestCase at repository_helper_test.rb.
Toshi MARUYAMA [Wed, 22 Jun 2011 00:57:17 +0000 (00:57 +0000)]
scm: use ActionView::TestCase instead of HelperTestCase at repository_helper_test.rb.

ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

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

13 years agoreplace RAILS_ROOT to Rails.root at test/test_helper.rb.
Toshi MARUYAMA [Mon, 20 Jun 2011 12:33:58 +0000 (12:33 +0000)]
replace RAILS_ROOT to Rails.root at test/test_helper.rb.

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

13 years agoRussian translation update by SERGEY ERSHOV (#8646).
Toshi MARUYAMA [Mon, 20 Jun 2011 08:46:38 +0000 (08:46 +0000)]
Russian translation update by SERGEY ERSHOV (#8646).

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

13 years agoAdded a test to ensure 'Project' column can be removed on issues list (#8411)
Jean-Baptiste Barth [Mon, 20 Jun 2011 01:09:38 +0000 (01:09 +0000)]
Added a test to ensure 'Project' column can be removed on issues list (#8411)

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

13 years agoAdded Project#enable_module! and Project#disable_module! (#7115)
Jean-Baptiste Barth [Sun, 19 Jun 2011 23:45:22 +0000 (23:45 +0000)]
Added Project#enable_module! and Project#disable_module! (#7115)

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

13 years agopt-BR translation update by Enderson Maia (#8591, #8594).
Toshi MARUYAMA [Sat, 18 Jun 2011 10:13:01 +0000 (10:13 +0000)]
pt-BR translation update by Enderson Maia (#8591, #8594).

Better translation to keep a pattern in translations.

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

13 years agoGerman translation updated by Jens Martsch (#8467, #8576).
Toshi MARUYAMA [Fri, 17 Jun 2011 07:08:33 +0000 (07:08 +0000)]
German translation updated by Jens Martsch (#8467, #8576).

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

13 years agoreplace RAILS_ROOT to Rails.root at lib/generators/redmine_plugin_model/redmine_plugi...
Toshi MARUYAMA [Fri, 17 Jun 2011 06:48:02 +0000 (06:48 +0000)]
replace RAILS_ROOT to Rails.root at lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb.

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

13 years agoreplace RAILS_ROOT to Rails.root at lib/generators/redmine_plugin_model/redmine_plugi...
Toshi MARUYAMA [Fri, 17 Jun 2011 06:47:40 +0000 (06:47 +0000)]
replace RAILS_ROOT to Rails.root at lib/generators/redmine_plugin_model/redmine_plugin_model_generator.rb.

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

13 years agoreplace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.
Toshi MARUYAMA [Fri, 17 Jun 2011 05:04:16 +0000 (05:04 +0000)]
replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.

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

13 years agoback out r6089.
Toshi MARUYAMA [Fri, 17 Jun 2011 04:59:07 +0000 (04:59 +0000)]
back out r6089.

NoMethodError: undefined method `load!' for #<Pathname:/app/views>

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

13 years agoreplace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.
Toshi MARUYAMA [Fri, 17 Jun 2011 01:57:11 +0000 (01:57 +0000)]
replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.

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

13 years agoreplace RAILS_ROOT to Rails.root at lib/tasks/extract_fixtures.rake.
Toshi MARUYAMA [Fri, 17 Jun 2011 01:20:55 +0000 (01:20 +0000)]
replace RAILS_ROOT to Rails.root at lib/tasks/extract_fixtures.rake.

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

13 years agoreplace RAILS_ROOT to Rails.root at lib/tasks/initializers.rake.
Toshi MARUYAMA [Fri, 17 Jun 2011 01:20:34 +0000 (01:20 +0000)]
replace RAILS_ROOT to Rails.root at lib/tasks/initializers.rake.

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

13 years agoreplace RAILS_ROOT to Rails.root at lib/redmine/views/my_page/block.rb.
Toshi MARUYAMA [Fri, 17 Jun 2011 01:20:12 +0000 (01:20 +0000)]
replace RAILS_ROOT to Rails.root at lib/redmine/views/my_page/block.rb.

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

13 years agoscm: replace RAILS_ROOT to Rails.root at lib/redmine/scm/adapters/abstract_adapter.rb.
Toshi MARUYAMA [Fri, 17 Jun 2011 01:19:50 +0000 (01:19 +0000)]
scm: replace RAILS_ROOT to Rails.root at lib/redmine/scm/adapters/abstract_adapter.rb.

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

13 years agoreplace RAILS_ROOT to Rails.root at lib/redmine/plugin.rb.
Toshi MARUYAMA [Fri, 17 Jun 2011 01:19:27 +0000 (01:19 +0000)]
replace RAILS_ROOT to Rails.root at lib/redmine/plugin.rb.

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

13 years agoreplace RAILS_ROOT to Rails.root at lib/redmine/version.rb.
Toshi MARUYAMA [Fri, 17 Jun 2011 01:18:52 +0000 (01:18 +0000)]
replace RAILS_ROOT to Rails.root at lib/redmine/version.rb.

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

13 years agoreplace RAILS_ROOT to Rails.root at lib/redmine/i18n.rb.
Toshi MARUYAMA [Fri, 17 Jun 2011 00:56:48 +0000 (00:56 +0000)]
replace RAILS_ROOT to Rails.root at lib/redmine/i18n.rb.

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

13 years agoreplace RAILS_ROOT to Rails.root in test/test_helper.rb.
Toshi MARUYAMA [Thu, 16 Jun 2011 04:02:31 +0000 (04:02 +0000)]
replace RAILS_ROOT to Rails.root in test/test_helper.rb.

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

13 years agoback out r6078.
Toshi MARUYAMA [Thu, 16 Jun 2011 03:53:07 +0000 (03:53 +0000)]
back out r6078.

NoMethodError: undefined method `mkdir_p' for #<Pathname:0x7f56f9deb3c0>

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

13 years agoreplace RAILS_ROOT to Rails.root in test/fixtures/repositories.yml.
Toshi MARUYAMA [Thu, 16 Jun 2011 01:54:47 +0000 (01:54 +0000)]
replace RAILS_ROOT to Rails.root in test/fixtures/repositories.yml.

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

13 years agoreplace RAILS_ROOT to Rails.root in test/test_helper.rb.
Toshi MARUYAMA [Thu, 16 Jun 2011 01:54:05 +0000 (01:54 +0000)]
replace RAILS_ROOT to Rails.root in test/test_helper.rb.

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

13 years agoreplace RAILS_ROOT to Rails.root in functional attachments controller test.
Toshi MARUYAMA [Thu, 16 Jun 2011 01:53:24 +0000 (01:53 +0000)]
replace RAILS_ROOT to Rails.root in functional attachments controller test.

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

13 years agoreplace RAILS_ROOT to Rails.root in setting model.
Toshi MARUYAMA [Thu, 16 Jun 2011 01:52:45 +0000 (01:52 +0000)]
replace RAILS_ROOT to Rails.root in setting model.

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

13 years agoreplace RAILS_ROOT to Rails.root if functional application controller test.
Toshi MARUYAMA [Thu, 16 Jun 2011 01:15:16 +0000 (01:15 +0000)]
replace RAILS_ROOT to Rails.root if functional application controller test.

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

13 years agoreplace RAILS_ROOT to Rails.root of attachments storage path.
Toshi MARUYAMA [Wed, 15 Jun 2011 23:39:37 +0000 (23:39 +0000)]
replace RAILS_ROOT to Rails.root of attachments storage path.

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

13 years agoDo not cache I18n strings when truncating a long diff (#5089).
Jean-Baptiste Barth [Mon, 13 Jun 2011 22:09:01 +0000 (22:09 +0000)]
Do not cache I18n strings when truncating a long diff (#5089).

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

13 years agoDo not show inactive time entry activities in repository settings (#8573).
Jean-Baptiste Barth [Mon, 13 Jun 2011 20:33:26 +0000 (20:33 +0000)]
Do not show inactive time entry activities in repository settings (#8573).

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

13 years agoDo not show inactive document categories where not necessary (#8573).
Jean-Baptiste Barth [Mon, 13 Jun 2011 20:33:06 +0000 (20:33 +0000)]
Do not show inactive document categories where not necessary (#8573).

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

13 years agoDo not show inactive issue priorities where not necessary (#8573).
Jean-Baptiste Barth [Mon, 13 Jun 2011 19:43:40 +0000 (19:43 +0000)]
Do not show inactive issue priorities where not necessary (#8573).

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

13 years agopt-BR translation update by Rodrigo Rosenfeld Rosas (#8594).
Toshi MARUYAMA [Sat, 11 Jun 2011 21:08:46 +0000 (21:08 +0000)]
pt-BR translation update by Rodrigo Rosenfeld Rosas (#8594).

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

13 years agotranslate field_path_to_repository in pt-BR.yml (#8591).
Toshi MARUYAMA [Sat, 11 Jun 2011 01:27:00 +0000 (01:27 +0000)]
translate field_path_to_repository in pt-BR.yml (#8591).

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

13 years agopt-BR translation update by Rodrigo Rosenfeld Rosas (#8591).
Toshi MARUYAMA [Sat, 11 Jun 2011 01:26:15 +0000 (01:26 +0000)]
pt-BR translation update by Rodrigo Rosenfeld Rosas (#8591).

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

13 years agopt-BR translation update by Enderson Maia (#8591).
Toshi MARUYAMA [Sat, 11 Jun 2011 01:25:25 +0000 (01:25 +0000)]
pt-BR translation update by Enderson Maia (#8591).

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

13 years agoscm: cvs: replace RAILS_ROOT to Rails.root in functional test.
Toshi MARUYAMA [Fri, 10 Jun 2011 12:54:02 +0000 (12:54 +0000)]
scm: cvs: replace RAILS_ROOT to Rails.root in functional test.

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

13 years agoscm: cvs: replace RAILS_ROOT to Rails.root in unit model test.
Toshi MARUYAMA [Fri, 10 Jun 2011 12:53:41 +0000 (12:53 +0000)]
scm: cvs: replace RAILS_ROOT to Rails.root in unit model test.

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

13 years agoscm: cvs: replace RAILS_ROOT to Rails.root in unit adapter test.
Toshi MARUYAMA [Fri, 10 Jun 2011 12:53:19 +0000 (12:53 +0000)]
scm: cvs: replace RAILS_ROOT to Rails.root in unit adapter test.

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

13 years agoscm: bazaar: replace RAILS_ROOT to Rails.root in functional test.
Toshi MARUYAMA [Fri, 10 Jun 2011 12:03:20 +0000 (12:03 +0000)]
scm: bazaar: replace RAILS_ROOT to Rails.root in functional test.

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

13 years agoscm: bazaar: replace RAILS_ROOT to Rails.root in unit model test.
Toshi MARUYAMA [Fri, 10 Jun 2011 12:02:44 +0000 (12:02 +0000)]
scm: bazaar: replace RAILS_ROOT to Rails.root in unit model test.

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

13 years agoscm: bazaar: replace RAILS_ROOT to Rails.root in unit adapter test.
Toshi MARUYAMA [Fri, 10 Jun 2011 12:02:10 +0000 (12:02 +0000)]
scm: bazaar: replace RAILS_ROOT to Rails.root in unit adapter test.

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

13 years agoscm: filesystem: replace RAILS_ROOT to Rails.root in functional test.
Toshi MARUYAMA [Fri, 10 Jun 2011 11:12:38 +0000 (11:12 +0000)]
scm: filesystem: replace RAILS_ROOT to Rails.root in functional test.

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

13 years agoscm: filesystem: replace RAILS_ROOT to Rails.root in unit model test.
Toshi MARUYAMA [Fri, 10 Jun 2011 11:11:58 +0000 (11:11 +0000)]
scm: filesystem: replace RAILS_ROOT to Rails.root in unit model test.

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

13 years agoscm: filesystem: replace RAILS_ROOT to Rails.root in unit adapter test.
Toshi MARUYAMA [Fri, 10 Jun 2011 11:11:28 +0000 (11:11 +0000)]
scm: filesystem: replace RAILS_ROOT to Rails.root in unit adapter test.

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

13 years agoscm: mercurial: replace RAILS_ROOT to Rails.root in functional test.
Toshi MARUYAMA [Fri, 10 Jun 2011 11:11:00 +0000 (11:11 +0000)]
scm: mercurial: replace RAILS_ROOT to Rails.root in functional test.

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

13 years agoscm: mercurial: replace RAILS_ROOT to Rails.root in unit model test.
Toshi MARUYAMA [Fri, 10 Jun 2011 11:10:23 +0000 (11:10 +0000)]
scm: mercurial: replace RAILS_ROOT to Rails.root in unit model test.

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

13 years agoscm: mercurial: replace RAILS_ROOT to Rails.root in unit adapter test.
Toshi MARUYAMA [Fri, 10 Jun 2011 11:09:50 +0000 (11:09 +0000)]
scm: mercurial: replace RAILS_ROOT to Rails.root in unit adapter test.

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

13 years agoscm: darcs: replace RAILS_ROOT to Rails.root in functional test.
Toshi MARUYAMA [Fri, 10 Jun 2011 10:12:19 +0000 (10:12 +0000)]
scm: darcs: replace RAILS_ROOT to Rails.root in functional test.

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

13 years agoscm: darcs: replace RAILS_ROOT to Rails.root in unit model test.
Toshi MARUYAMA [Fri, 10 Jun 2011 10:11:57 +0000 (10:11 +0000)]
scm: darcs: replace RAILS_ROOT to Rails.root in unit model test.

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

13 years agoscm: darcs: replace RAILS_ROOT to Rails.root in unit adapter test.
Toshi MARUYAMA [Fri, 10 Jun 2011 10:11:23 +0000 (10:11 +0000)]
scm: darcs: replace RAILS_ROOT to Rails.root in unit adapter test.

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

13 years agoscm: git: replace RAILS_ROOT to Rails.root in unit model test.
Toshi MARUYAMA [Fri, 10 Jun 2011 07:06:59 +0000 (07:06 +0000)]
scm: git: replace RAILS_ROOT to Rails.root in unit model test.

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

13 years agoscm: git: replace RAILS_ROOT to Rails.root in functional test.
Toshi MARUYAMA [Fri, 10 Jun 2011 07:06:38 +0000 (07:06 +0000)]
scm: git: replace RAILS_ROOT to Rails.root in functional test.

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

13 years agoscm: mercurial: fix unit adapter annotate test fails on Windows Mercurial 1.8.4+29...
Toshi MARUYAMA [Fri, 10 Jun 2011 07:06:11 +0000 (07:06 +0000)]
scm: mercurial: fix unit adapter annotate test fails on Windows Mercurial 1.8.4+29-e597ef52a7c2.

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

13 years agoscm: mercurial: add functional test of annotate file which does not exist in *tip...
Toshi MARUYAMA [Fri, 10 Jun 2011 07:05:36 +0000 (07:05 +0000)]
scm: mercurial: add functional test of annotate file which does not exist in *tip* is not found.

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

13 years agoscm: darcs: remove trailing white-spaces from unit model test.
Toshi MARUYAMA [Fri, 10 Jun 2011 05:07:43 +0000 (05:07 +0000)]
scm: darcs: remove trailing white-spaces from unit model test.

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

13 years agoscm: bazaar: remove trailing white-spaces from unit model test.
Toshi MARUYAMA [Fri, 10 Jun 2011 04:57:42 +0000 (04:57 +0000)]
scm: bazaar: remove trailing white-spaces from unit model test.

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

13 years agoscm: git: replace RAILS_ROOT to Rails.root in unit adapter test.
Toshi MARUYAMA [Fri, 10 Jun 2011 03:30:19 +0000 (03:30 +0000)]
scm: git: replace RAILS_ROOT to Rails.root in unit adapter test.

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

13 years agoPDF: use DejaVuSans fonts in Vietnamese (#8566).
Toshi MARUYAMA [Fri, 10 Jun 2011 00:31:35 +0000 (00:31 +0000)]
PDF: use DejaVuSans fonts in Vietnamese (#8566).

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

13 years agoPDF: back out r6018 (#8566).
Toshi MARUYAMA [Fri, 10 Jun 2011 00:30:51 +0000 (00:30 +0000)]
PDF: back out r6018 (#8566).

change Vietnamese vi.yml general_pdf_encoding from CP1258 to UTF-8.

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

13 years agoPDF: fix font name in vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb (#8566).
Toshi MARUYAMA [Thu, 9 Jun 2011 23:18:20 +0000 (23:18 +0000)]
PDF: fix font name in vendor/plugins/rfpdf/lib/fonts/dejavusansi.rb (#8566).

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

13 years agoPDF: Import DejaVu fonts (#8566).
Toshi MARUYAMA [Thu, 9 Jun 2011 23:13:14 +0000 (23:13 +0000)]
PDF: Import DejaVu fonts (#8566).

http://rfpdf.googlecode.com/files/DejaVu.zip
Sep. 2007
fils size 3,685,721
md5sum: 54274d105b74f817d649035fc1541d8a

rename files.
* DejaVuSans.rb  to dejavusans.rb
* DejaVuSansb.rb to dejavusansb.rb
* DejaVuSansi.rb to dejavusansi.rb

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

13 years agoSpanish translation updated by Jorge López (#8571).
Toshi MARUYAMA [Thu, 9 Jun 2011 08:02:03 +0000 (08:02 +0000)]
Spanish translation updated by Jorge López (#8571).

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

13 years agoPDF: replace all non ASCII characters to '?' if Iconv error raise in JRuby (#8569...
Toshi MARUYAMA [Thu, 9 Jun 2011 03:41:26 +0000 (03:41 +0000)]
PDF: replace all non ASCII characters to '?' if Iconv error raise in JRuby (#8569, #61).

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

13 years agoPDF: use SJIS instead of CP932 at unit pdf test test_rdm_pdf_iconv_invalid_utf8_shoul...
Toshi MARUYAMA [Thu, 9 Jun 2011 01:57:06 +0000 (01:57 +0000)]
PDF: use SJIS instead of CP932 at unit pdf test test_rdm_pdf_iconv_invalid_utf8_should_be_replaced_ja in JRuby (#8565, #61).

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

13 years agoPDF: use SJIS instead of CP932 at unit pdf test test_rdm_pdf_iconv_cannot_convert_ja_...
Toshi MARUYAMA [Thu, 9 Jun 2011 01:56:21 +0000 (01:56 +0000)]
PDF: use SJIS instead of CP932 at unit pdf test test_rdm_pdf_iconv_cannot_convert_ja_cp932 in JRuby (#8565, #61).

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

13 years agoscm: fix JRuby tests fail in unit changeset following test.
Toshi MARUYAMA [Thu, 9 Jun 2011 01:30:05 +0000 (01:30 +0000)]
scm: fix JRuby tests fail in unit changeset following test.

* test_invalid_utf8_sequences_in_paths_should_be_replaced

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

13 years agoscm: fix JRuby tests fail in unit changeset following test.
Toshi MARUYAMA [Thu, 9 Jun 2011 01:29:22 +0000 (01:29 +0000)]
scm: fix JRuby tests fail in unit changeset following test.

* test_invalid_utf8_sequences_in_comments_should_be_replaced_ja_jis
* test_invalid_utf8_sequences_in_comments_should_be_replaced_latin1

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

13 years agoPDF: change Vietnamese vi.yml general_pdf_encoding from UTF-8 to CP1258 (#8566).
Toshi MARUYAMA [Thu, 9 Jun 2011 00:01:55 +0000 (00:01 +0000)]
PDF: change Vietnamese vi.yml general_pdf_encoding from UTF-8 to CP1258 (#8566).

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

13 years agoPDF: use SJIS instead of CP932 at unit pdf test_fix_text_encoding_nil in JRuby (...
Toshi MARUYAMA [Wed, 8 Jun 2011 15:15:06 +0000 (15:15 +0000)]
PDF: use SJIS instead of CP932 at unit pdf test_fix_text_encoding_nil in JRuby (#8565, #61).

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

13 years agoPDF: change Shift_JIS to SHIFT_JIS in lib/redmine/export/pdf.rb for Japanese ja.yml...
Toshi MARUYAMA [Wed, 8 Jun 2011 14:39:56 +0000 (14:39 +0000)]
PDF: change Shift_JIS to SHIFT_JIS in lib/redmine/export/pdf.rb for Japanese ja.yml general_pdf_encoding (#8565, #61).

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

13 years agoPDF: add Japanese comment of ja.yml general_pdf_encoding *CP932* and *SJIS* in JRuby...
Toshi MARUYAMA [Wed, 8 Jun 2011 13:44:47 +0000 (13:44 +0000)]
PDF: add Japanese comment of ja.yml general_pdf_encoding *CP932* and *SJIS* in JRuby and CRuby (#8565, #61).

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

13 years agoPDF: add *SJIS* and *Shift_JIS* in lib/redmine/export/pdf.rb for Japanese ja.yml...
Toshi MARUYAMA [Wed, 8 Jun 2011 13:44:06 +0000 (13:44 +0000)]
PDF: add *SJIS* and *Shift_JIS* in lib/redmine/export/pdf.rb for Japanese ja.yml general_pdf_encoding (#8565, #61).

JRuby 1.6.2 (ruby-1.8.7-p330) does not support CP932.

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

13 years agoscm: add log message of config/configuration.yml if scm command raise Errno::ENOENT...
Toshi MARUYAMA [Wed, 8 Jun 2011 11:19:57 +0000 (11:19 +0000)]
scm: add log message of config/configuration.yml if scm command raise Errno::ENOENT exception (#7517, #4273).

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

13 years agoscm: code clean up abstract adapter.
Toshi MARUYAMA [Wed, 8 Jun 2011 11:19:13 +0000 (11:19 +0000)]
scm: code clean up abstract adapter.

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

13 years agoscm: git: skip non UTF-8 path encoding test of unit model test in JRuby (#5251).
Toshi MARUYAMA [Wed, 8 Jun 2011 10:06:03 +0000 (10:06 +0000)]
scm: git: skip non UTF-8 path encoding test of unit model test in JRuby (#5251).

Git, Mercurial and CVS path encodings are binary.
Subversion supports URL encoding for path.
Redmine Mercurial adapter and extension use URL encoding.
Git accepts only binary path in command line parameter.
So, there is no way to use binary command line parameter in JRuby.

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

13 years agoscm: git: skip non UTF-8 path encoding test of unit adapter test in JRuby (#5251).
Toshi MARUYAMA [Wed, 8 Jun 2011 10:05:40 +0000 (10:05 +0000)]
scm: git: skip non UTF-8 path encoding test of unit adapter test in JRuby (#5251).

Git, Mercurial and CVS path encodings are binary.
Subversion supports URL encoding for path.
Redmine Mercurial adapter and extension use URL encoding.
Git accepts only binary path in command line parameter.
So, there is no way to use binary command line parameter in JRuby.

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

13 years agoscm: git: skip non UTF-8 path encoding test of functional test in JRuby (#5251).
Toshi MARUYAMA [Wed, 8 Jun 2011 10:05:15 +0000 (10:05 +0000)]
scm: git: skip non UTF-8 path encoding test of functional test in JRuby (#5251).

Git, Mercurial and CVS path encodings are binary.
Subversion supports URL encoding for path.
Redmine Mercurial adapter and extension use URL encoding.
Git accepts only binary path in command line parameter.
So, there is no way to use binary command line parameter in JRuby.

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

13 years agocode clean up lib/redmine/platform.rb.
Toshi MARUYAMA [Wed, 8 Jun 2011 01:21:06 +0000 (01:21 +0000)]
code clean up lib/redmine/platform.rb.

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

13 years agoremove trailing white-spaces from lib/redmine/platform.rb.
Toshi MARUYAMA [Wed, 8 Jun 2011 01:20:44 +0000 (01:20 +0000)]
remove trailing white-spaces from lib/redmine/platform.rb.

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

13 years agoscm: catch all exceptions to get scm command version in repository model (#8510).
Toshi MARUYAMA [Fri, 3 Jun 2011 09:54:57 +0000 (09:54 +0000)]
scm: catch all exceptions to get scm command version in repository model (#8510).

If scm command does not exist,
Linux jruby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException in production environment.

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

13 years agofix missing interpolation argument in Turkish translations (#8494).
Toshi MARUYAMA [Thu, 2 Jun 2011 06:43:43 +0000 (06:43 +0000)]
fix missing interpolation argument in Turkish translations (#8494).

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

13 years agochange Turkish general_csv_encoding from ISO-8859-1 to ISO-8859-9 by Burak Yiğit...
Toshi MARUYAMA [Wed, 1 Jun 2011 22:49:44 +0000 (22:49 +0000)]
change Turkish general_csv_encoding from ISO-8859-1 to ISO-8859-9 by Burak Yiğit Kaya (#8494).

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

13 years agoTurkish translation updated by Burak Yiğit Kaya (#8494).
Toshi MARUYAMA [Wed, 1 Jun 2011 22:49:22 +0000 (22:49 +0000)]
Turkish translation updated by Burak Yiğit Kaya (#8494).

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

13 years agoFixed: Private flag ignored when creating an issue with set_own_issues_private permis...
Jean-Philippe Lang [Wed, 1 Jun 2011 17:16:38 +0000 (17:16 +0000)]
Fixed: Private flag ignored when creating an issue with set_own_issues_private permission only (#8472).

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

13 years agoFixes git annotate test failure.
Jean-Philippe Lang [Wed, 1 Jun 2011 16:39:52 +0000 (16:39 +0000)]
Fixes git annotate test failure.

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