Commit Graph

1293 Commits

Author SHA1 Message Date
Toshi MARUYAMA 8e6871f81b remove trailing white-spaces from test/unit/lib/redmine/access_control_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 06:18:47 +00:00
Toshi MARUYAMA 0b0ae3cc68 remove trailing white-spaces from test/unit/lib/redmine/ciphering_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 06:18:04 +00:00
Toshi MARUYAMA 0ffe174d66 remove trailing white-spaces from test/unit/lib/redmine/configuration_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 06:17:06 +00:00
Toshi MARUYAMA f4b2e55195 remove trailing white-spaces from test/unit/testing_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:50:58 +00:00
Toshi MARUYAMA cb78b6267e remove trailing white-spaces from test/unit/time_entry_activity_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:50:24 +00:00
Toshi MARUYAMA 6162688556 remove trailing white-spaces from test/unit/project_nested_set_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:49:57 +00:00
Toshi MARUYAMA fce0c83c0a remove trailing white-spaces from test/unit/query_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:49:17 +00:00
Toshi MARUYAMA 3e7a2b7ae8 remove trailing white-spaces from test/unit/role_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:48:28 +00:00
Toshi MARUYAMA 80d0bf0ca6 remove trailing white-spaces from test/unit/helpers/sort_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:13:55 +00:00
Toshi MARUYAMA 78bdc37b44 remove trailing white-spaces from test/unit/principal_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:11:07 +00:00
Toshi MARUYAMA 8ad11c39b4 remove trailing white-spaces from test/unit/helpers/search_helper_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:10:30 +00:00
Toshi MARUYAMA 6200024dc8 remove trailing white-spaces from test/unit/wiki_redirect_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:09:45 +00:00
Toshi MARUYAMA 8a749dca7c remove trailing white-spaces from test/unit/workflow_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:09:04 +00:00
Toshi MARUYAMA f28500f1ac add test to destroy at unit attachment test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:07:31 +00:00
Toshi MARUYAMA 14ecc624a4 remove trailing white-spaces from test/unit/news_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:06:49 +00:00
Toshi MARUYAMA 65e80d46dc remove trailing white-spaces from test/unit/lib/redmine/unified_diff_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:06:07 +00:00
Toshi MARUYAMA 5e99c18073 remove trailing white-spaces from test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 05:05:23 +00:00
Toshi MARUYAMA 67d15f29fe remove trailing white-spaces from test/unit/tracker_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 04:13:19 +00:00
Toshi MARUYAMA 8f13c41f19 remove trailing white-spaces from test/unit/user_preference_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 04:12:40 +00:00
Toshi MARUYAMA 328cadc4d3 remove trailing white-spaces from test/unit/version_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 04:10:58 +00:00
Toshi MARUYAMA 9b8e0b90af remove trailing white-spaces from test/unit/watcher_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 04:10:15 +00:00
Toshi MARUYAMA 53cc7af96d remove trailing white-spaces from test/unit/member_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 21:52:11 +00:00
Toshi MARUYAMA cf733e7db7 remove trailing white-spaces from test/unit/time_entry_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 21:51:46 +00:00
Toshi MARUYAMA f04435e85b remove trailing white-spaces from test/unit/token_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 21:51:13 +00:00
Toshi MARUYAMA 372292fc26 remove trailing white-spaces from test/unit/issue_nested_set_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 14:07:42 +00:00
Toshi MARUYAMA a2402bf9ee remove trailing white-spaces from test/unit/issue_priority_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 14:06:57 +00:00
Toshi MARUYAMA 09051680e4 remove trailing white-spaces from test/unit/issue_relation_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 14:06:11 +00:00
Toshi MARUYAMA a00e391a99 remove trailing white-spaces from test/unit/issue_status_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 14:05:26 +00:00
Toshi MARUYAMA 626bb4b614 remove trailing white-spaces from test/unit/issue_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 14:04:40 +00:00
Toshi MARUYAMA 813f69a689 add test of replace port zero to 389 at unit auth_source_ldap_test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 14:03:57 +00:00
Toshi MARUYAMA 18f36b7d9f remove trailing white-spaces from test/unit/issue_category_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:44:29 +00:00
Toshi MARUYAMA ba7830063b remove trailing white-spaces from test/unit/group_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:43:43 +00:00
Toshi MARUYAMA 536b32b1f6 remove trailing white-spaces from test/unit/enumeration_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:42:52 +00:00
Toshi MARUYAMA 1941f2b875 scm: use save instead of scan_comment_for_issue_ids at test_commit_referencing_a_parent_project_issue of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:41:27 +00:00
Toshi MARUYAMA 7f0e81835c scm: add dummy revision at test_commit_referencing_a_parent_project_issue of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:40:32 +00:00
Toshi MARUYAMA 707ea877eb scm: use save instead of scan_comment_for_issue_ids at test_commit_referencing_a_subproject_issue of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:39:50 +00:00
Toshi MARUYAMA 73c8ef296b scm: add dummy revision at test_commit_referencing_a_subproject_issue of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-29 12:39:04 +00:00
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