Toshi MARUYAMA
3516cea1d6
scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_allow_brackets_around_multiple_issue_numbers of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:38:18 +00:00
Toshi MARUYAMA
78260c5522
scm: add dummy revision at test_ref_keywords_allow_brackets_around_multiple_issue_numbers of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:37:37 +00:00
Toshi MARUYAMA
cb27655ad9
scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_allow_brackets_around_a_issue_number of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:09:49 +00:00
Toshi MARUYAMA
c26be908bf
scm: add dummy revision at test_ref_keywords_allow_brackets_around_a_issue_number of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:09:04 +00:00
Toshi MARUYAMA
df294c505d
scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_any_line_start of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:08:04 +00:00
Toshi MARUYAMA
11a570642b
scm: add dummy revision at test_ref_keywords_any_line_start of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:07:17 +00:00
Toshi MARUYAMA
a61848e973
scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_any_only of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:06:23 +00:00
Toshi MARUYAMA
eb01e6c1de
scm: add dummy revision at test_ref_keywords_any_only of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:05:36 +00:00
Toshi MARUYAMA
1afcc4cd5b
scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:04:37 +00:00
Toshi MARUYAMA
b21c000f92
scm: add dummy revision at test_ref_keywords of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:03:34 +00:00
Toshi MARUYAMA
c8c0845c67
remove trailing white-spaces from test/unit/custom_field_user_format_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 11:13:48 +00:00
Toshi MARUYAMA
c2d21ce2d3
remove trailing white-spaces from test/unit/custom_value_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 11:13:06 +00:00
Toshi MARUYAMA
0486472662
remove trailing white-spaces from test/unit/comment_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 10:09:46 +00:00
Toshi MARUYAMA
578d8cc63e
remove trailing white-spaces from test/unit/custom_field_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 10:09:21 +00:00
Toshi MARUYAMA
26bd9a9eb9
scm: use save instead of scan_comment_for_issue_ids at test_ref_keywords_any of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 10:08:51 +00:00
Toshi MARUYAMA
fe9d54316c
remove trailing white-spaces from test/unit/board_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 08:15:58 +00:00
Toshi MARUYAMA
cdabfbac52
remove trailing white-spaces from test/unit/auth_source_ldap_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 08:15:27 +00:00
Toshi MARUYAMA
21dd3e39ec
scm: add dummy revision at test_ref_keywords_any of unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 08:14:46 +00:00
Toshi MARUYAMA
21e0fbb347
remove trailing white-spaces from test/unit/message_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 04:15:02 +00:00
Toshi MARUYAMA
569a10db1d
remove trailing white-spaces from test/unit/user_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 03:57:49 +00:00
Toshi MARUYAMA
e667cab364
remove trailing white-spaces from test/unit/attachment_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 00:04:31 +00:00
Toshi MARUYAMA
1dd0d90b38
remove trailing white-spaces from test/unit/helpers/custom_fields_helper_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 10:10:40 +00:00
Toshi MARUYAMA
7c7b11591b
remove trailing white-spaces from test/unit/helpers/projects_helper_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 07:09:10 +00:00
Toshi MARUYAMA
8a300de9f5
remove trailing white-spaces from test/unit/project_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 11:50:39 +00:00
Jean-Philippe Lang
7f77744e86
Include issues asigned to user's groups when using "assigned to me" filter ( #2964 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-31 10:22:36 +00:00
Jean-Philippe Lang
4f4b3594db
Fixed: attachments from Apple Mail not added by mail handler ( #8651 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 17:01:29 +00:00
Jean-Philippe Lang
6db66f7183
Fixed: file uploads broken by r6312 ( #8912 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 15:28:59 +00:00
Jean-Philippe Lang
9cebf65568
Fixed: pagination do not show total visible issue count ( #8633 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 16:48:26 +00:00
Jean-Philippe Lang
49900051ea
Fixed: MailHandler does not include JournalDetail for attached files ( #7966 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 09:34:23 +00:00
Jean-Philippe Lang
9957883c4d
Fixed: Error deleting issue with grandchild ( #8880 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 08:35:48 +00:00
Jean-Philippe Lang
2ce3191639
Assignee is removed on issue update if assignee account is locked ( #8884 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:24:02 +00:00
Jean-Philippe Lang
ed01ae121d
Adds a optgroup for groups in users/groups select tags.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:05:22 +00:00
Jean-Philippe Lang
578fdc62f2
Ability to assign issues to groups ( #2964 ).
...
Option is disabled by default. It can be turned on in application settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 18:18:13 +00:00
Jean-Philippe Lang
ed23149a6c
Fixes assertions ( #8836 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 19:01:13 +00:00
Jean-Philippe Lang
5f79a6a190
Fixed: additional workflow transitions not available when set to both author and assignee ( #8836 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 17:05:17 +00:00
Jean-Philippe Lang
4f92276654
Validate custom field regexp ( #8865 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 16:29:34 +00:00
Jean-Philippe Lang
6c5b29bb68
More accurate date validation.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 14:36:43 +00:00
Jean-Philippe Lang
308a922d80
Validate date filters values.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 14:13:59 +00:00
Jean-Philippe Lang
c25a79a61b
Keep invalid values and add validation error message.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:34:49 +00:00
Jean-Philippe Lang
bedbb166b7
Reject non numeric values for numeric fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:19:21 +00:00
Jean-Philippe Lang
bf15b06d98
Fixes filters on float values.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:09:40 +00:00
Jean-Philippe Lang
4507aa5014
Adds date based filters ( #4729 ) and date range filter ( #6954 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 17:29:29 +00:00
Jean-Philippe Lang
932d4cdfea
Adds "between" operator for numeric filters ( #6180 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 08:00:25 +00:00
Jean-Philippe Lang
4a4a71349a
Fixes "less than", "greater than" filters on custom fields with postgres ( #6180 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 21:34:35 +00:00
Jean-Philippe Lang
2072669769
Fixed: Setting issue attributes from mail should be case-insensitive ( #8759 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 10:50:42 +00:00
Toshi MARUYAMA
185dcb9877
scm: git: add unit adapter test of annotate invalid revision ( #8767 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:06:38 +00:00
Toshi MARUYAMA
e510f2e29e
scm: git: add unit adapter test of annotate invalid path ( #8767 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:06:16 +00:00
Toshi MARUYAMA
e520a3fbaa
scm: git: add unit adapter test of diff invalid revision ( #8767 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:55 +00:00
Toshi MARUYAMA
7a6a0ed50f
scm: git: add unit adapter test of diff invalid path ( #8767 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:32 +00:00
Toshi MARUYAMA
38cf4a53db
scm: git: add unit adapter test of cat invalid revision ( #8767 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:05:09 +00:00
Toshi MARUYAMA
d573878a34
scm: git: add unit adapter test of cat invalid path ( #8767 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-08 02:04:45 +00:00
Jean-Philippe Lang
d48ea90876
Makes custom queries available through the REST API ( #5737 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:57:04 +00:00
Jean-Philippe Lang
da69f086e7
Fixes version url.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:28:48 +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
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
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
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
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
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
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
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
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
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
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
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
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
Toshi MARUYAMA
b4edeb80cd
scm: bazaar: add unit adapter test of revisions invalid revision.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:14:20 +00:00
Toshi MARUYAMA
8c0a4870e6
scm: bazaar: add unit adapter test of revisions invalid path.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:13:43 +00:00
Toshi MARUYAMA
80e997ca22
scm: bazaar: add unit adapter test of entries invalid revision.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:12:40 +00:00
Toshi MARUYAMA
1587be2915
scm: bazaar: add unit adapter test of entries invalid path.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 07:12:07 +00:00
Toshi MARUYAMA
2598f0fdeb
scm: bazaar: add unit adapter test of diff invalid revision.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 06:16:22 +00:00
Toshi MARUYAMA
160328ee2e
scm: bazaar: add unit adapter test of diff invalid path.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 06:16:00 +00:00
Toshi MARUYAMA
a01bd88379
scm: bazaar: add unit adapter test of cat invalid revision.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 05:07:22 +00:00
Toshi MARUYAMA
15d000f07a
scm: bazaar: add unit adapter test of cat invalid path.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 05:06:45 +00:00
Toshi MARUYAMA
a09144ea5d
scm: bazaar: add unit adapter test of annotate invalid revision.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:12:51 +00:00
Toshi MARUYAMA
a3dcc4ec2b
scm: bazaar: add unit adapter test of annotate invalid path.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 01:12:07 +00:00
Toshi MARUYAMA
cadaa018b6
scm: bazaar: add unit adapter info test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:14:02 +00:00
Toshi MARUYAMA
698140ea5c
scm: bazaar: add unit adapter test that info is nil if repository path is invalid.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:13:38 +00:00
Toshi MARUYAMA
1f72f57ad7
scm: bazaar: add unit adapter test that info is not nil in test repository.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 23:13:16 +00:00
Toshi MARUYAMA
94bd3c526d
scm: subversion: add unit adapter test that info is nil if repository path is invalid.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 11:04:01 +00:00
Toshi MARUYAMA
e74f2f1202
scm: subversion: add unit adapter test that info is not nil in test repository.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 11:03:40 +00:00
Toshi MARUYAMA
41051d238e
scm: remove trailing white-spaces from unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 09:58:02 +00:00
Toshi MARUYAMA
1dd571f385
scm: bazaar: add unit adapter test to get "append_revisions_only" value from test repository .bzr/branch/branch.conf ( #2799 , #4741 , #8030 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 08:06:27 +00:00
Toshi MARUYAMA
58820a1e90
scm: bazaar: add unit adapter test to get .bzr/branch/branch.conf path from specified path ( #2799 , #4741 , #8030 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 07:46:38 +00:00
Jean-Philippe Lang
ef00501c36
Fixed: validation error on issue creation when trying to add an invalid user as a watcher ( #5373 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 10:30:26 +00:00
Jean-Philippe Lang
7e1f04bdfb
Do not propose users that can't view an issue as watchers ( #7412 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 09:14:36 +00:00
Toshi MARUYAMA
61fb6d6e10
scm: git: add unit adapter test of default path_encoding is UTF-8 ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:40:19 +00:00
Toshi MARUYAMA
c9a3d925ca
scm: mercurial: add unit adapter test of default path_encoding is UTF-8 ( #2664 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:38:56 +00:00
Toshi MARUYAMA
c8309589b6
scm: cvs: add unit adapter test of default path_encoding is UTF-8 ( #3462 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:19:38 +00:00
Toshi MARUYAMA
2c817160ab
scm: filesystem: add unit adapter test of default path_encoding is UTF-8 ( #2274 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 02:18:07 +00:00
Toshi MARUYAMA
7296315c95
scm: filesystem: code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 01:10:47 +00:00
Toshi MARUYAMA
24d58543be
scm: git: add unit model test that revisions ordering is inconsistent in existing database ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-19 02:17:19 +00:00
Toshi MARUYAMA
9376f6e2c3
scm: git: add unit model test that revisions ordering is consistent in new database ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-19 02:16:56 +00:00
Toshi MARUYAMA
6fea3e997b
remove trailing white-spaces from unit setting test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 11:36:35 +00:00
Toshi MARUYAMA
9831c27fd0
remove trailing white-spaces from unit document test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:56:16 +00:00
Toshi MARUYAMA
7a8552cbad
remove trailing white-spaces from unit enabled module test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:55:38 +00:00
Toshi MARUYAMA
59066eaa44
remove trailing white-spaces and an empty line from unit document category test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:54:54 +00:00
Toshi MARUYAMA
a913bc6a9d
remove trailing white-spaces from unit default data test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:54:25 +00:00
Toshi MARUYAMA
b2670f4650
remove trailing white-spaces from unit attachment test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:53:50 +00:00
Toshi MARUYAMA
944829861d
remove trailing white-spaces excluding here-documents from unit application helper test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:46:50 +00:00
Toshi MARUYAMA
1f0ddc3199
scm: mercurial: code clean up unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:18:25 +00:00
Toshi MARUYAMA
fdea829952
remove trailing white-spaces from unit search test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:39:40 +00:00
Toshi MARUYAMA
4e8fab3206
remove trailing white-spaces from unit wiki content test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:38:55 +00:00
Toshi MARUYAMA
817f185e57
remove trailing white-spaces from unit wiki test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:38:09 +00:00
Toshi MARUYAMA
274bd27c54
remove trailing white-spaces from unit wiki page test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:37:04 +00:00
Toshi MARUYAMA
2d7ce91e80
remove trailing white-spaces from unit mail handler test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:13:19 +00:00
Toshi MARUYAMA
07fe60b639
remove trailing white-spaces from unit journal test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:16:31 +00:00
Toshi MARUYAMA
435e9b326c
remove trailing white-spaces and an empty line from unit journal observer test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:16:04 +00:00
Toshi MARUYAMA
de13c0007b
remove trailing white-spaces and empty lines from unit issue test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:15:35 +00:00
Toshi MARUYAMA
1122fd0e6a
remove trailing white-spaces from unit issue nested set test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 01:15:01 +00:00
Toshi MARUYAMA
a955a5140b
remove trailing white-spaces from unit issues helper test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 22:56:46 +00:00
Toshi MARUYAMA
0aaa2b1b87
remove trailing white-spaces from unit activity test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 03:48:44 +00:00
Toshi MARUYAMA
4c963cc9dc
scm: git: add test of fetching invalid revision in unit model test ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 10:39:07 +00:00
Toshi MARUYAMA
7ca5a4939e
scm: git: fix fetching 7 days problem ( #7146 , #6013 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 10:38:45 +00:00
Toshi MARUYAMA
b0f5d3cd88
scm: git: use block to call revisions() in unit adapter test_revisions_invalid_rev() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:51 +00:00
Toshi MARUYAMA
39930c3f4d
scm: git: use block to call revisions() in unit adapter test_revisions_branch_latin_1_path_encoding_with_rev() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:30 +00:00
Toshi MARUYAMA
763931d584
scm: git: use block to call revisions() in unit adapter test_revisions_branch_latin_1_path_encoding_all() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:28:03 +00:00
Toshi MARUYAMA
d3d9830936
scm: git: use block to call revisions() in unit adapter test_revisions_master_merged_rev() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:27:35 +00:00
Toshi MARUYAMA
5d8bb7904c
scm: git: use block to call revisions() in unit adapter test_revisions_master_all() ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 08:27:04 +00:00
Toshi MARUYAMA
2cab592b20
scm: subversion: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:18:18 +00:00
Toshi MARUYAMA
e5606c8d32
scm: mercurial: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:17:34 +00:00
Toshi MARUYAMA
be7cfb949d
scm: filesystem: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:16:39 +00:00
Toshi MARUYAMA
06bd7e35c6
scm: darcs: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:15:57 +00:00
Toshi MARUYAMA
bfe1993758
scm: cvs: remove trailing white-spaces from unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 06:15:21 +00:00
Toshi MARUYAMA
5ca257181f
scm: add a test of a repository model method "merge_extra_info()" in unit test ( #7146 , #7047 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:58:58 +00:00
Toshi MARUYAMA
ee3cf64d52
scm: git: add test of revisions() with invalid revision in unit adapter test ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:45:04 +00:00
Toshi MARUYAMA
3e2a67be4f
scm: git: add another revision in merged revisions test in unit adapter test ( #7146 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 13:01:10 +00:00
Toshi MARUYAMA
12565cc1ee
scm: git: add test of revisions() in merged revisions in unit adapter test ( #7146 ).
...
Git branch is a reference of specific revision.
Git branch is equivalent with Mercurial *heads*.
http://mercurial.selenic.com/wiki/GitConcepts?action=recall&rev=53#Branch_model
32ae898b7 in git test repository is a merged revision with two heads.
713f49446 and 4a07fe31b *were* in different branches before merged.
713f49446 and 4a07fe31b are descendants of 61b685fbe5.
4a07fe31b is a child of 61b685fbe5.
To get revisions from 713f4944648826f5 to master,
"git log" needs to return 4a07fe31b.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 13:00:43 +00:00
Toshi MARUYAMA
03ce61bb99
scm: git: add test of "latin_1_path_encoding" branch revisions with from revision in adapter test ( #7146 ).
...
"latin_1_path_encoding" branch is straight line.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:11:44 +00:00
Toshi MARUYAMA
ac3845daaf
scm: git: add test of "branch_latin_1_path_encoding" branch all revisions in adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:09:42 +00:00
Toshi MARUYAMA
bc06f85cb3
scm: git: rename "test_revisions_master()" to "test_revisions_master_all()" in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 12:09:17 +00:00
Toshi MARUYAMA
f3a069281e
scm: git: fix incorrect comment in unit model test and code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 15:26:50 +00:00
Toshi MARUYAMA
e25dd95389
PDF: replace invalid sequence in converting if encoding destination is UTF-8 ( #61 , #8312 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:45:40 +00:00
Toshi MARUYAMA
a5d528c6c2
PDF: call Redmine::Export::PDF::RDMPdfEncoding::rdm_pdf_iconv() directly in unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:44:59 +00:00
Toshi MARUYAMA
0681d086e2
PDF: check Japanese general_pdf_encoding is CP932 in unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:43:23 +00:00
Toshi MARUYAMA
23a27bd6e4
scm: fix indents of test/unit/changeset_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 04:54:37 +00:00
Toshi MARUYAMA
a05a2e0c4d
scm: code clean up unit repository test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 14:08:46 +00:00
Toshi MARUYAMA
e68206852e
remove trailing white-spaces and code clean up init i18n test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 07:12:34 +00:00
Toshi MARUYAMA
c29bc896cc
scm: subversion: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:10:45 +00:00
Toshi MARUYAMA
f289d4e354
scm: mercurial: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:10:05 +00:00
Toshi MARUYAMA
1952439ea0
scm: filesystem: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:09:25 +00:00
Toshi MARUYAMA
12bad10573
scm: cvs: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 05:08:44 +00:00
Toshi MARUYAMA
3a5cf54128
scm: git: remove trailing white-spaces from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 02:49:41 +00:00
Toshi MARUYAMA
673fe7f372
PDF: set lang 'ja' in unit test test_fix_text_encoding_cannot_convert_ja_cp932().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 00:26:13 +00:00
Toshi MARUYAMA
59d82995fe
scm: git: add unit adapter test of master branch revisions().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 11:45:58 +00:00
Toshi MARUYAMA
1ea1606007
scm: git: split unit adapter revisions test to with time or not ( #7146 , #6013 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 02:06:29 +00:00
Toshi MARUYAMA
0d942beb49
scm: git: remove trailing white-spaces and an empty line in unit lib test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 02:06:08 +00:00
Toshi MARUYAMA
c33be450e7
scm: code clean up unit repository test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 01:11:50 +00:00
Toshi MARUYAMA
931fd58de6
scm: git: use report_last_commit option in unit adapter test ( #7047 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 11:42:24 +00:00
Toshi MARUYAMA
973f3eb50e
scm: remove trailing white-spaces in unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:23:23 +00:00
Toshi MARUYAMA
c17a78c771
scm: mercurial: fix unit model test fails if hg command is unavailable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:23:07 +00:00
Toshi MARUYAMA
6f4461830c
scm: fix invalid UTF-8 tests fail on Windows Ruby 1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 04:22:49 +00:00
Toshi MARUYAMA
18d0618007
scm: space cleanup in unit repository test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-02 23:07:38 +00:00
Jean-Philippe Lang
93fabf23ae
Fixes an assertion for postgresql ( #7097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 13:33:15 +00:00
Jean-Philippe Lang
fdb0151869
Fixed: notes are lost when copying issue(s) ( #6901 , #8239 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 13:27:50 +00:00
Jean-Philippe Lang
88a93d7e10
Fixed: copying an issue keeps the author of the original issue ( #6901 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 12:41:07 +00:00
Jean-Philippe Lang
57f63d513c
Makes 'This week' filter work with any starting day of week ( #7097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 11:28:27 +00:00
Toshi MARUYAMA
02c5577a26
PDF: add test of ensuring 'ASCII-8BIT' encoding in Ruby 1.9 ( #61 ).
...
Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem,
and these are incompatible with ASCII.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:51 +00:00
Toshi MARUYAMA
f62605c636
PDF: fix 0x5c(backslash) escape processing in FPDF ( #61 ).
...
Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem.
Contributed Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:26 +00:00
Toshi MARUYAMA
d5b97d49c6
code clean up MailHandlerTest unit test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-28 07:09:52 +00:00
Toshi MARUYAMA
f4745d4960
scm: bazaar: code clean up unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-25 02:02:44 +00:00
Toshi MARUYAMA
97677748ba
scm: add missing fixtures when running tests from scratch in unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-22 07:13:56 +00:00
Jean-Philippe Lang
f0dfff4866
Fixes potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 20:34:43 +00:00
Jean-Philippe Lang
f89d04074e
Warn about subtasks before deleting a parent issue ( #6562 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 15:17:18 +00:00
Toshi MARUYAMA
94f71773b6
scm: mercurial: add test of copied file from_revision node id at unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 09:33:34 +00:00
Toshi MARUYAMA
a7c510fd0a
scm: add unit test of preventing PostgreSQL or Ruby 1.9 errors if paths is invalid UTF-8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:45:26 +00:00
Toshi MARUYAMA
2507bcd8e7
scm: code clean up unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 01:01:58 +00:00
Toshi MARUYAMA
d7fccb0d8e
scm: add test of empty committer at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:22:51 +00:00
Toshi MARUYAMA
dab753ba28
scm: add test of committer nil at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:22:04 +00:00
Toshi MARUYAMA
5f8c4e0703
scm: add test of invalid utf8 sequences in committer at unit changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 14:21:11 +00:00
Jean-Philippe Lang
f16cddd57a
Private issues ( #7414 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:23:13 +00:00
Toshi MARUYAMA
04a22fa757
scm: cvs: convert author encoding with log encoding setting.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 15:39:00 +00:00
Toshi MARUYAMA
d43bc98a49
scm: cvs: update test repository.
...
add "tag00" tag and "branch00" branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 05:03:36 +00:00
Jean-Philippe Lang
1cd4f5b353
Adds a helper for issue heading ( #7647 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:53:14 +00:00
Jean-Philippe Lang
1242e448f3
Extract visibility condition from project statement and use visible scopes instead.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 16:53:39 +00:00
Jean-Philippe Lang
949b355ef2
Fixed: ambiguous lft column SQL error on Issue#descendants with a join on projects.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 16:31:00 +00:00
Toshi MARUYAMA
f0d32f6567
scm: cvs: fix unit model cat test fails on Windows.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 12:24:43 +00:00
Toshi MARUYAMA
0ceeecc854
scm: cvs: code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 12:24:25 +00:00
Toshi MARUYAMA
20b33942ba
scm: darcs: add entries test in invalid revision in model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:47:05 +00:00
Toshi MARUYAMA
cad14abea7
scm: cvs: add entries test in invalid revision in model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:46:21 +00:00
Toshi MARUYAMA
5bb06ae42d
scm: additional test of replacing invalid utf-8 sequences instead of stripping in displaying repository contents on Ruby 1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:04:45 +00:00
Toshi MARUYAMA
bb48d96d30
scm: replace invalid utf-8 sequences instead of stripping in displaying repository contents on Ruby 1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:03:59 +00:00
Jean-Philippe Lang
3cc7353093
Do a redirect when accessing a renamed wiki page.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 19:21:57 +00:00
Jean-Philippe Lang
c52f928f35
Fixed: #setup triggers a failure even if git tests should not run.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 17:58:04 +00:00
Jean-Philippe Lang
aa0d01b3d9
Adds an issues visibility level on roles ( #7412 ).
...
It can be set so that users only see their own issues (created or assigned).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 17:53:15 +00:00
Jean-Philippe Lang
5fd891aa72
Fixes an error raised by cvs test with Postgresql (revision is varchar).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 16:54:35 +00:00
Toshi MARUYAMA
5b9655ab8e
scm: cvs: add invalid revision annotate test in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 15:47:04 +00:00
Toshi MARUYAMA
0b68a74fc7
scm: cvs: add test annotate with revision in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 15:46:07 +00:00
Toshi MARUYAMA
9df194ff16
scm: cvs: add annotate test of HEAD revision in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 15:44:38 +00:00
Toshi MARUYAMA
28a8d62fe4
scm: cvs: add test that cat returns nil if revision does not exist at model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 13:13:42 +00:00
Toshi MARUYAMA
9287f3cf73
scm: cvs: add cat test of removed file in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 12:19:05 +00:00
Toshi MARUYAMA
7b72dc874d
scm: cvs: use model instead of adapter in unit model cat test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 12:04:58 +00:00
Toshi MARUYAMA
d595bed7ef
scm: cvs: add invalid path entries test at unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 07:01:30 +00:00
Toshi MARUYAMA
51242b967d
scm: cvs: add cat test in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 06:29:24 +00:00
Toshi MARUYAMA
bf68788867
scm: more strict to_utf8() test in repository helper on Ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 03:06:43 +00:00
Toshi MARUYAMA
6536c53e09
scm: replace invalid utf-8 sequences in comments instead of stripping on Ruby 1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 09:31:14 +00:00
Toshi MARUYAMA
1104c3900c
scm: fix log converting error in Ruby 1.9 and add more tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 08:07:22 +00:00
Toshi MARUYAMA
c711ead46c
scm: more strict log converting test in Ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 07:52:34 +00:00
Toshi MARUYAMA
1b0473c38e
scm: set empty log encoding UTF-8 in Ruby 1.9 and add tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 06:34:33 +00:00
Toshi MARUYAMA
e297c1c244
scm: not use Iconv for log converting in Ruby 1.9 and fix tests fails in Ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 05:41:12 +00:00
Toshi MARUYAMA
1ef54041da
scm: code clean up test/unit/changeset_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 05:40:25 +00:00
Jean-Philippe Lang
fee9d605a3
Adds visibility condition to Issue.by_* count methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-08 12:21:06 +00:00
Toshi MARUYAMA
3bc9972d5e
scm: add filesystem available test at unit repository test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5364 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-08 05:44:06 +00:00
Toshi MARUYAMA
b30ece064b
scm: mercurial: add scm command tests at unit model test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-08 05:43:24 +00:00
Toshi MARUYAMA
d21f7fe1bf
scm: git: add scm command tests at unit model test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-08 05:42:43 +00:00
Toshi MARUYAMA
46d970a552
scm: mercurial: add client command tests at unit adapter test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-08 04:53:11 +00:00
Toshi MARUYAMA
ce3a03f4e8
scm: git: add client command tests at unit adapter test ( #4273 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-08 04:52:26 +00:00
Toshi MARUYAMA
bb2aec653d
scm: mercurial: code clean up unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-08 04:40:48 +00:00
Jean-Philippe Lang
d0ea5fae62
Fixed: empty list for user/version custom fields on bulk edit form ( #2096 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-07 16:34:58 +00:00
Toshi MARUYAMA
5eea9ec61a
PDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.8 ( #61 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-06 10:50:24 +00:00
Toshi MARUYAMA
561f6bb6d1
PDF: add test of replacing converting error characters in FPDF ANSI on Ruby 1.9 ( #61 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-06 10:16:29 +00:00
Toshi MARUYAMA
d6e2e81f0c
PDF: nil safe at fix_text_encoding(txt) of lib/redmine/export/pdf.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-06 05:52:07 +00:00
Toshi MARUYAMA
411c7100cb
PDF: add test of Ruby 1.9 compatibility of '0x5c'(backslash) handling in FPDF ANSI ( #61 , #117 ).
...
Japanese Shift_JIS and Traditional Chinese Big5 have '0x5c'(backslash) problem.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-06 05:39:26 +00:00
Toshi MARUYAMA
470ff0c6e5
PDF: add \\(double backslashes) handling of FPDF ANSI test in unit lib test ( #61 , #117 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-06 04:28:19 +00:00
Toshi MARUYAMA
7f923cdc66
PDF: set language 'ja' in '0x5c'(backslash) handling unit lib test ( #61 , #117 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-06 02:41:48 +00:00
Toshi MARUYAMA
d20bc57be0
PDF: create new unit lib pdf test and add '0x5c'(backslash) handling test ( #61 , #117 ).
...
Japanese Shift_JIS and Traditional Chinese Big5 have '0x5c'(backslash) problem.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-06 00:40:51 +00:00
Jean-Philippe Lang
44214ed1aa
Localize anonymous and non member roles names ( #8072 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 22:37:45 +00:00
Jean-Philippe Lang
405fc07e90
Makes visible scopes accept projects option and deprecate Project.visible_by.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:50:19 +00:00
Toshi MARUYAMA
c2baf187ac
add functional tests for bulk edit time entries ( #7996 ).
...
Contributed by Adam Soltys.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 11:54:22 +00:00
Toshi MARUYAMA
6d13ed58db
i18n: add test of utf-8 strings.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 02:39:43 +00:00
Toshi MARUYAMA
846ac262ec
Remove empty lines from test/unit/mailer_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 01:10:10 +00:00
Jean-Philippe Lang
6550ef9df5
Fixed: deleting a parent issue may lead to a stale object error ( #7920 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 18:42:41 +00:00
Jean-Philippe Lang
2be6f54f23
Fixes #possible_values_options when given an object with nil project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 13:56:25 +00:00
Jean-Philippe Lang
1cd6a2aa84
Adds User and Version custom field format that can be used to reference a project member or version in custom fields ( #2096 ).
...
These new field formats are available for project, issue, version and time entry custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 13:44:58 +00:00
Jean-Philippe Lang
8b39f62a4c
Modules selection lost on project form after validation failure ( #8012 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-30 17:16:25 +00:00
Jean-Philippe Lang
86eed08fbf
Fixes progress calculation on gantt ( #7838 ).
...
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 17:35:20 +00:00
Jean-Philippe Lang
96ff8ef4bc
Fixes wrong test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 16:49:35 +00:00
Jean-Philippe Lang
08f44b67f5
Fixed links in new file notification broken by r4051 ( #6590 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 16:38:08 +00:00
Jean-Philippe Lang
78af4f429f
Adds support for saturday as the first week day ( #7097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:43:26 +00:00
Jean-Philippe Lang
4f9d3f80c4
Moved calendar tests to unit/lib/redmine/helpers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:26:59 +00:00
Jean-Philippe Lang
c17ff5f024
Fixed: unknown custom field format causes error when editing/bulk editing ( #7985 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 18:24:30 +00:00
Toshi MARUYAMA
0597adfe53
scm: filesystem: update test repository for non ascii text files displaying ( #6256 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 15:30:19 +00:00
Toshi MARUYAMA
d590a5583b
scm: code clean up test/unit/repository_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 08:42:29 +00:00
Toshi MARUYAMA
e6cbb1cd6b
scm: filesystem: change project id of unit model test from 1 to 3.
...
Project id 1 has Subversion fixtures.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5193 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 05:48:06 +00:00
Toshi MARUYAMA
3f3b6c8fd2
scm: filesystem: code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 05:47:24 +00:00
Toshi MARUYAMA
f161d1833c
scm: filesystem: code clean up unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5191 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 05:46:43 +00:00
Jean-Philippe Lang
0b3f2bc650
Fixed: news comments not deleted when deleting a project ( #7904 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 20:26:59 +00:00
Jean-Philippe Lang
f279b48288
Fixes subversion tests not running on win32.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 18:25:38 +00:00
Jean-Philippe Lang
50cb77cfbb
Fixed: children projects are deleted instead of being destroyed when destroying parent project ( #7904 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 11:46:01 +00:00
Toshi MARUYAMA
09996c3524
scm: add unit test of invalid utf8 sequences should be stripped in repository_helper to_utf8().
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 05:46:47 +00:00
Toshi MARUYAMA
e6e4256ee4
scm: to_utf8() in repositories_helper always returns UTF-8 in Ruby 1.9.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 05:46:25 +00:00
Toshi MARUYAMA
a9d089dbcb
scm: git: strict Ruby 1.9 string test in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:54:22 +00:00
Toshi MARUYAMA
899d1d8acb
scm: git: strict Ruby 1.9 string test in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:54:00 +00:00
Toshi MARUYAMA
f065c6f461
scm: subversion: code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:53:34 +00:00
Toshi MARUYAMA
8d0d1d50cc
scm: code clean up unit model changeset test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:53:08 +00:00
Toshi MARUYAMA
c051572070
scm: strict Ruby 1.9 string test in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:52:45 +00:00
Toshi MARUYAMA
b404ba776f
scm: subversion: simplify Ruby 1.9 string test in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:52:18 +00:00
Toshi MARUYAMA
4923ff76fa
scm: fix repository helper unit test fails in Ruby 1.9 and non UTF-8 locale.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:51:46 +00:00
Toshi MARUYAMA
7ffdd961e9
scm: bazaar: add changesets order test in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 05:50:06 +00:00
Jean-Philippe Lang
83df013f47
Adds a visible scope to the Journal model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 17:16:45 +00:00
Jean-Philippe Lang
5f889932b6
Changed the way the visibility SQL statement is built.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 15:39:59 +00:00
Jean-Philippe Lang
3328a1fc37
Use names instead of ids for wiki anchors ( #6905 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 22:01:43 +00:00
Jean-Philippe Lang
6f5ffce799
Fixed: line breaks are ignored in quoted text ( #6148 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 20:35:36 +00:00
Jean-Philippe Lang
208d2d4090
Moved text formatting tests from application_helper tests to formatter tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 20:29:06 +00:00
Toshi MARUYAMA
6702b26515
scm: mercurial: add test of latest changesets support named branch in unit model test ( #7246 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 13:41:28 +00:00
Toshi MARUYAMA
59c791b2e1
scm: mercurial: add latest changesets supporting tag test in unit model test ( #1981 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 11:15:23 +00:00
Toshi MARUYAMA
081a90701a
scm: mercurial: add latest changesets improvement test in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 11:03:55 +00:00
Toshi MARUYAMA
7e96ea617c
scm: mercurial: prepare tests of named branch and tag in unit model test ( #1981 , #7246 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 08:15:00 +00:00
Toshi MARUYAMA
620e428e95
scm: mercurial: code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 08:14:38 +00:00
Toshi MARUYAMA
cbe59c5990
scm: mercurial: add test of non ASCII named branch in unit adapter test ( #7246 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 04:55:20 +00:00
Toshi MARUYAMA
5abec74de3
scm: mercurial: add test of non ASCII tag in unit adapter test ( #1981 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 04:55:03 +00:00
Toshi MARUYAMA
5edc631791
scm: mercurial: prepare test of wrapping revision of cat and annotate with URL encoding ( #1981 , #7246 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 04:54:45 +00:00
Toshi MARUYAMA
d48a7e148e
scm: mercurial: remove unused parameters from "nodes_in_branch()" method in adapter ( #7246 , #4455 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 15:03:05 +00:00
Jean-Philippe Lang
59bf5cea6e
Fixed: mail handler keywords are not removed when updating issues ( #7785 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 13:24:56 +00:00
Jean-Philippe Lang
9375f1c3a4
Prevent SystemStackError on Issue#all_dependent_issues with mutiple circular dependencies ( #7320 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5104 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 13:00:55 +00:00
Toshi MARUYAMA
72d6b2c8df
scm: mercurial: add tests for "nodes_in_branch()" method in adapter ( #7246 , #4455 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-13 10:52:03 +00:00
Jean-Philippe Lang
7db930f1b4
Fixed: Wiki headings containing backslash followed by a digit are not displayed correctly ( #7846 ).
...
Contributed by Etienne Massip.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 18:28:30 +00:00
Jean-Philippe Lang
b8b35ab05f
Moved wiki page updated_on eager load to a scope and fixed timestamp titles on wiki page index ( #7818 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 18:09:46 +00:00
Jean-Philippe Lang
f7127e9466
Fixed: wiki page with backslash in title can not be found ( #7589 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 13:42:29 +00:00
Jean-Philippe Lang
21c79827ff
Highlight changes inside diff lines ( #7139 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 20:23:29 +00:00
Toshi MARUYAMA
099ba68836
scm: cvs: fix missing author, revision and comment in tree view ( #4270 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 12:06:05 +00:00
Toshi MARUYAMA
cb8c2d59bf
scm: mercurial: remove duplicates tests in unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 07:33:53 +00:00
Toshi MARUYAMA
542e0cb88d
scm: mercurial: fix unit model test fails on MySQL and remove duplicates tests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 04:38:26 +00:00
Toshi MARUYAMA
732ee35b2f
scm: cvs: fix age column on repository view is off by timezone delta ( #7827 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-11 04:19:33 +00:00
Jean-Philippe Lang
ec8d9a7911
Gantt: do not ignore project filter ( #7000 , #7352 ), do not display empty projects/versions, and display shared versions used in other projects ( #5817 , #6476 , #6604 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 18:07:09 +00:00
Toshi MARUYAMA
2ebaf1372d
scm: git: fix newlines of test/unit/repository_git_test.rb.
...
svn cat fails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 08:43:23 +00:00
Toshi MARUYAMA
c072d3b62f
scm: git: add tests for previous and next versions in unit model test ( #7821 , #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 04:31:10 +00:00
Toshi MARUYAMA
b235e36946
scm: git: unit model latin-1 path encoding test passes on Japanese Windows ( #5251 ).
...
Ruby uses ANSI api to fork a process on Windows.
Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem
and these are incompatible with ASCII.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-09 04:14:17 +00:00
Toshi MARUYAMA
74f44a5b6a
scm: git: unit adapter latin-1 path encoding test passes on Japanese Windows ( #5251 ).
...
Ruby uses ANSI api to fork a process on Windows.
Japanese Shift_JIS and Traditional Chinese Big5 have 0x5c(backslash) problem
and these are incompatible with ASCII.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-09 04:13:58 +00:00
Toshi MARUYAMA
45239fcb0a
scm: git: add reverse log test in unit adapter test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 15:05:41 +00:00
Toshi MARUYAMA
084bdd7559
scm: git: add latin-1 encoding directory test in unit model test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:08:35 +00:00
Toshi MARUYAMA
4e0031a8f0
scm: git: add latin-1 encoding directory test in unit adapter test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:08:14 +00:00
Toshi MARUYAMA
266e33b5f1
scm: git: add latin-1 encoding directory to test repository ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 11:01:51 +00:00
Toshi MARUYAMA
d5b268129c
scm: mercurial: add latin-1 encoding directory to test repository ( #2664 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 10:35:48 +00:00
Toshi MARUYAMA
e2adda86c2
scm: git: add latest changesets path encoding test in unit model test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:41:25 +00:00
Toshi MARUYAMA
7d47bf8a7f
scm: git: prepare path encoding test in unit model test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:41:04 +00:00
Toshi MARUYAMA
7c7bbf6d18
scm: git: add latest changesets branch test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:46 +00:00
Toshi MARUYAMA
71ac6a29f0
scm: git: add latest changesets tag test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:25 +00:00
Toshi MARUYAMA
cc6931f58d
scm: git: add latest changesets limit test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 07:06:04 +00:00
Toshi MARUYAMA
d0324858c1
scm: git: remove Setting.commit_logs_encoding from unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:50:29 +00:00
Toshi MARUYAMA
c95e4fbea9
scm: git: add latest changesets test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:50:05 +00:00
Toshi MARUYAMA
c381ce10e4
scm: git: prepare path encoding test in unit model test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:49:44 +00:00
Toshi MARUYAMA
3abdd84a49
scm: git: add tests for path encoding entries() in unit adapter test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:38:23 +00:00
Toshi MARUYAMA
d03dd88717
scm: git: add tests for branch entries() in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:37:39 +00:00
Toshi MARUYAMA
6d763215a9
scm: git: add tests for tag entries() in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:37:18 +00:00
Toshi MARUYAMA
0e32fcf93e
scm: git: add tags test in unit adapter test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:10:30 +00:00
Toshi MARUYAMA
04aca2fcb9
scm: git: add tests for path encoding cat, diff and blame in unit adapter test ( #5251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 06:10:07 +00:00
Toshi MARUYAMA
daac76f1b6
scm: git: update test repository for path encoding ( #5251 ).
...
Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.
Please see r4996 comment.
I removed a revision including "copied file" from r5026 test repository.
Mercurial supports "copy", but Git does not support.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 23:47:25 +00:00
Toshi MARUYAMA
5d9962751c
scm: git: backout r5026 ( #5251 ).
...
In case git repository contains latin-1 path,
although Redmine uses "git log -C core.quotepath=false --encoding=UTF-8",
log encoding is latin-1.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:46:21 +00:00
Toshi MARUYAMA
3a56e1eeab
scm: git: update test repository for path encoding ( #5251 ).
...
Mercurial and Git treats file names as byte string.
This git test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.
Please see r4996 comment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-07 13:15:04 +00:00
Jean-Philippe Lang
8fb446e87f
Fixed: Email notifications are sent to watchers even if 'No events' setting is chosen ( #7763 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 14:43:53 +00:00
Jean-Philippe Lang
36009de154
Adds email notifications support for news comments ( #2074 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 14:32:58 +00:00
Toshi MARUYAMA
8d3773e0e1
scm: mercurial: add changesets order test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 14:03:19 +00:00
Toshi MARUYAMA
17219baa62
scm: mercurial: additional unit model tests for path encoding ( #2664 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 08:08:32 +00:00
Toshi MARUYAMA
d8e1af6156
scm: mercurial: add unit adapter test repository for path contains space ( #2664 , #4455 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 08:08:13 +00:00
Toshi MARUYAMA
53249469a0
scm: mercurial: update test repository for path contains space ( #2664 , #4455 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 08:07:53 +00:00
Toshi MARUYAMA
b7dffa44c9
scm: mercurial: update test repository for path encoding ( #2664 ).
...
Mercurial (and also Git) treats file names as byte string.
This mercurial test repository contains Latin-1 encoding path.
Be careful on non Latin-1(CP1252) Windows.
If your Windows is not Latin-1 Windows,
in order to checkout(update) Latin-1 path,
You need to use cygwin 1.7 and set LANG=en_US.ISO-8859-1.
Please refer.
http://mercurial.selenic.com/wiki/EncodingStrategy?action=recall&rev=6
Redmine mercurial adapter do not need to checkout(update) repository.
Mercurial does not have "bare" repository such as Git.
You can use "hg update null" for equivalent "bare" repository.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 04:25:48 +00:00
Toshi MARUYAMA
cc210c58a4
scm: mercurial: code clean up unit model test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-03 03:35:13 +00:00
Toshi MARUYAMA
0220e7db3b
scm: subversion: add changesets order test in unit model test ( #5357 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-02 07:10:39 +00:00