Commit Graph

1656 Commits

Author SHA1 Message Date
Jean-Philippe Lang 42f9dc7d2c Makes relations resource shallow (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:47:34 +00:00
Jean-Philippe Lang 852cb183b1 Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:29:06 +00:00
Jean-Philippe Lang b86a748b1d Adds REST API for versions (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:34:58 +00:00
Jean-Philippe Lang daa426167f Adds support for GET on /issues/:issue_id/relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:44:41 +00:00
Jean-Philippe Lang 79f25c08f8 Document why relation is reversed after validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:31:06 +00:00
Jean-Philippe Lang ea06b3cca5 Set a default value for relation type.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:29:33 +00:00
Jean-Philippe Lang 21b3718744 Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:03:04 +00:00
Jean-Philippe Lang 9fca4c440c Fixes test failure when running all functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:50:04 +00:00
Jean-Philippe Lang b184caec13 Fixes a functional test case.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:19:22 +00:00
Jean-Philippe Lang 5811bd1344 Fixes test failure when running all functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 15:17:46 +00:00
Jean-Philippe Lang f2af44b6fe Do not show 2 validation errors when user mail is blank.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:37:57 +00:00
Jean-Philippe Lang 8914d323ee Fixed: private queries should not be accessible to other users (#8729).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 11:01:08 +00:00
Jean-Philippe Lang 66f026aa78 Normalize issue description EOLs do prevent false journal details (#8712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:42:46 +00:00
Jean-Philippe Lang 0a9bf389ef Fixed: Workflow copy does not copy advanced workflow settings (#8739).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:13:39 +00:00
Jean-Philippe Lang d0d807caf1 Do not journalize blank description changes (#8712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:05:27 +00:00
Jean-Baptiste Barth fa6fa2dc19 Fixed: queries error messages about custom fields output a 'translation missing' error (#8554).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-27 01:03:22 +00:00
Jean-Baptiste Barth f982c5b90d Fixed circular dependencies possibly introduced when using reverse relations, for instance "blocked by" relations (#8616).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-26 12:47:15 +00:00
Toshi MARUYAMA ee527ab47c replace RAILS_ROOT to Rails.root at test/test_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-23 11:19:05 +00:00
Toshi MARUYAMA e5dfd24aa5 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
2011-06-22 07:55:02 +00:00
Toshi MARUYAMA b0dfcca230 back out r6117. use ActionView::TestCase instead of HelperTestCase at IssuesHelperTest.
Tests on CI server fail.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 07:54:18 +00:00
Toshi MARUYAMA 2871d56045 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
2011-06-22 04:10:43 +00:00
Toshi MARUYAMA 81e3bc3737 use ActionView::TestCase instead of HelperTestCase at issues_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 04:10:02 +00:00
Toshi MARUYAMA 6208302840 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
2011-06-22 04:02:27 +00:00
Toshi MARUYAMA 0df011ecee 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
2011-06-22 04:01:45 +00:00
Toshi MARUYAMA 4bc0f9a04a use ActionView::TestCase instead of HelperTestCase at timelog_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:57:10 +00:00
Toshi MARUYAMA b49487e9a1 use ActionView::TestCase instead of HelperTestCase at sort_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:56:24 +00:00
Toshi MARUYAMA 0b404184d5 use ActionView::TestCase instead of HelperTestCase at search_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:56:00 +00:00
Toshi MARUYAMA e715627b3d use ActionView::TestCase instead of HelperTestCase at projects_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:55:20 +00:00
Toshi MARUYAMA 6c92ac4d78 use ActionView::TestCase instead of HelperTestCase at custom_fields_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 03:54:40 +00:00
Toshi MARUYAMA 50dc1ad54a 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
2011-06-22 03:50:35 +00:00
Toshi MARUYAMA 148b1e491a 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
2011-06-22 03:49:53 +00:00
Toshi MARUYAMA fe566992f0 scm: use ActionView::TestCase instead of HelperTestCase at repository_helper_test.rb.
ActionView::Helpers::ActiveRecordHelper at test/helper_testcase.rb
does not exist on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-22 00:57:17 +00:00
Toshi MARUYAMA e4d082a421 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
2011-06-20 12:33:58 +00:00
Jean-Baptiste Barth 8a50151780 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
2011-06-20 01:09:38 +00:00
Jean-Baptiste Barth 88bd76b0e4 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
2011-06-19 23:45:22 +00:00
Toshi MARUYAMA 391760a666 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
2011-06-17 05:04:16 +00:00
Toshi MARUYAMA 583be064c8 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
2011-06-17 04:59:07 +00:00
Toshi MARUYAMA 05f83d180e 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
2011-06-17 01:57:11 +00:00
Toshi MARUYAMA d893bdcd76 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
2011-06-16 04:02:31 +00:00
Toshi MARUYAMA 153028f14a 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
2011-06-16 03:53:07 +00:00
Toshi MARUYAMA 2797b1f388 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
2011-06-16 01:54:47 +00:00
Toshi MARUYAMA 99dc549232 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
2011-06-16 01:54:05 +00:00
Toshi MARUYAMA 7f458eb853 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
2011-06-16 01:53:24 +00:00
Toshi MARUYAMA dd176828bf 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
2011-06-16 01:15:16 +00:00
Jean-Baptiste Barth 115d227298 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
2011-06-13 22:09:01 +00:00
Jean-Baptiste Barth ffe7aef0ea 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
2011-06-13 20:33:06 +00:00
Jean-Baptiste Barth d5cc7424a8 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
2011-06-13 19:43:40 +00:00
Toshi MARUYAMA 204eabba41 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
2011-06-10 12:54:02 +00:00
Toshi MARUYAMA ee2418f076 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
2011-06-10 12:53:41 +00:00
Toshi MARUYAMA 9b09aad1d5 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
2011-06-10 12:53:19 +00:00
Toshi MARUYAMA 406b582a82 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
2011-06-10 12:03:20 +00:00
Toshi MARUYAMA fa93c2b2bb 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
2011-06-10 12:02:44 +00:00
Toshi MARUYAMA 01656ff590 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
2011-06-10 12:02:10 +00:00
Toshi MARUYAMA d91cf134b0 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
2011-06-10 11:12:38 +00:00
Toshi MARUYAMA 407761985e 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
2011-06-10 11:11:58 +00:00
Toshi MARUYAMA 7786633ddc 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
2011-06-10 11:11:28 +00:00
Toshi MARUYAMA 3b3616ed21 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
2011-06-10 11:11:00 +00:00
Toshi MARUYAMA 7e38ccab55 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
2011-06-10 11:10:23 +00:00
Toshi MARUYAMA 3baabca8f2 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
2011-06-10 11:09:50 +00:00
Toshi MARUYAMA 5538d84171 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
2011-06-10 10:12:19 +00:00
Toshi MARUYAMA ea9847bb37 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
2011-06-10 10:11:57 +00:00
Toshi MARUYAMA 5ffc855438 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
2011-06-10 10:11:23 +00:00
Toshi MARUYAMA 8ca1d90980 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
2011-06-10 07:06:59 +00:00
Toshi MARUYAMA 2ab0bdf695 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
2011-06-10 07:06:38 +00:00
Toshi MARUYAMA dfe16e1bca 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
2011-06-10 07:05:36 +00:00
Toshi MARUYAMA 4c7f5b4e41 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
2011-06-10 05:07:43 +00:00
Toshi MARUYAMA 685aab7fcb 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
2011-06-10 04:57:42 +00:00
Toshi MARUYAMA 72dd13a330 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
2011-06-10 03:30:19 +00:00
Toshi MARUYAMA b85092c702 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
2011-06-09 03:41:26 +00:00
Toshi MARUYAMA 2c803670d8 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
2011-06-09 01:57:06 +00:00
Toshi MARUYAMA 8d620a1297 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
2011-06-09 01:56:21 +00:00
Toshi MARUYAMA 074e05db4b 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
2011-06-08 15:15:06 +00:00
Toshi MARUYAMA 91abe15482 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
2011-06-08 10:06:03 +00:00
Toshi MARUYAMA 048bc3b50b 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
2011-06-08 10:05:40 +00:00
Toshi MARUYAMA 4690082157 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
2011-06-08 10:05:15 +00:00
Jean-Philippe Lang fccf15c2a2 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
2011-06-01 17:16:38 +00:00
Jean-Philippe Lang 05ff5aa11e Fixes git annotate test failure.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 16:39:52 +00:00
Toshi MARUYAMA c9ba5662e8 remove trailing white-spaces from test/functional/account_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 11:05:04 +00:00
Toshi MARUYAMA 6253ea840c remove trailing white-spaces and code clean up test/mocks/open_id_authentication_mock.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 11:04:35 +00:00
Toshi MARUYAMA 901a937053 scm: mercurial: run both of "inline" and "side by side" diff in functional test_diff_latin_1_path test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 07:47:19 +00:00
Toshi MARUYAMA 45cce005d2 scm: mercurial: run both of "inline" and "side by side" diff in functional test_diff_two_revs test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 07:46:35 +00:00
Toshi MARUYAMA bc8b1c0b22 scm: mercurial: run both of "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 07:45:48 +00:00
Toshi MARUYAMA c361ef5a5f scm: subversion: run both of "inline" and "side by side" diff in functional test_directory_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:12:34 +00:00
Toshi MARUYAMA cb555d9885 scm: subversion: run both of "inline" and "side by side" diff in functional test_revision_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:12:13 +00:00
Toshi MARUYAMA 296d70e8aa scm: bazaar: fix functional test_annotate test.
In spite of revision is incorrect revision, tests pass.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:11:51 +00:00
Toshi MARUYAMA 958612451b scm: bazaar: run both of "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:11:28 +00:00
Toshi MARUYAMA f58835f5ad scm: cvs: run both of "inline" and "side by side" diff in functional test_diff_new_files test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:11:02 +00:00
Toshi MARUYAMA 28f3d9a871 scm: cvs: run both of "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:10:37 +00:00
Toshi MARUYAMA 6bcdd2a097 scm: darcs: run both of "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:10:13 +00:00
Toshi MARUYAMA b03935fade scm: git: fix functional test_annotate test.
In spite of revision is incorrect revision, tests pass.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 06:09:37 +00:00
Toshi MARUYAMA 41a439d052 scm: git: run both "inline" and "side by side" diff in functional test_diff_latin_1 test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 04:16:28 +00:00
Toshi MARUYAMA cb460ada33 scm: git: run both "inline" and "side by side" diff in functional test_diff_two_revs test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 04:16:08 +00:00
Toshi MARUYAMA ab75fb1c82 scm: git: run both "inline" and "side by side" diff in functional test_diff test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 04:15:45 +00:00
Jean-Philippe Lang bf137818bb Fixed: activity shows updates of private issues (#8432).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-29 07:12:38 +00:00
Toshi MARUYAMA 959aa0b74e scm: bazaar: add unit adapter test that append_revisions_only is false in test shared repository branch (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:52:51 +00:00
Toshi MARUYAMA de7f42d257 scm: bazaar: rename unit adapter test "test_append_revisions_only" to "test_append_revisions_only_true" (#2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:52:13 +00:00
Toshi MARUYAMA a080b09a41 scm: bazaar: add unit adapter test that shared repository "append_revisions_only" is false (#2799, #4741, #8030).
adapter append_revisions_only() checks whether .bzr/branch/branch.conf exists.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:51:44 +00:00
Toshi MARUYAMA b4aedc95d9 scm: bazaar: add unit adapter test that last revision of empty branch is 0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:51:15 +00:00
Toshi MARUYAMA 27b9ad2a8a scm: bazaar: use shared repository path as repository path in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 02:50:45 +00:00
Toshi MARUYAMA 9fa4fff48a scm: bazaar: update test repository (#2799, #4741, #8030).
* Shared repository with trees (format: 2a)
* clone original branch to *trunk*
* set append_revisions_only = true at trunk/.bzr/branch/branch.conf

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-27 01:14:07 +00:00