Commit Graph

161 Commits

Author SHA1 Message Date
Jean-Philippe Lang a17f4c8375 Make sure that attachments are created in the same order they were selected (#12310).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-07 18:45:56 +00:00
Toshi MARUYAMA 8a66522314 fix unit issue test fails on Wednesday
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-31 10:20:59 +00:00
Jean-Philippe Lang b71355f10b Ignore non-working days when rescheduling an issue (#2161).
Weekly non-working days can be configured in application settings (set to saturday and sunday by default).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-29 10:06:30 +00:00
Jean-Philippe Lang 113f8b5cf2 Adds a textual css class for issue priorities (#12216).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-26 01:25:23 +00:00
Jean-Philippe Lang 50037b18c4 Adds a test for start date < due date validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-18 16:48:19 +00:00
Jean-Philippe Lang 1737552eca Fixed that invalid start date is ignored (#12092).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-18 16:43:14 +00:00
Toshi MARUYAMA 9581afe060 code layout clean up test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 11:20:55 +00:00
Toshi MARUYAMA 6ebfe54e6e code layout clean up test_assignable_versions of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 11:20:31 +00:00
Toshi MARUYAMA 02c770968f code layout clean up test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 11:20:06 +00:00
Toshi MARUYAMA 5ae73e3784 code layout clean up test_should_not_close_duplicated_issue of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 11:19:39 +00:00
Toshi MARUYAMA d5abb11c0b code layout clean up test_should_close_duplicates of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 11:19:12 +00:00
Toshi MARUYAMA 04ac60d891 code layout clean up test_should_not_call_after_project_change_on_creation of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 11:18:45 +00:00
Toshi MARUYAMA eedad03141 code layout clean up test_read_only_attribute_names_for_multiple_roles_should_intersect_rules of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 11:18:16 +00:00
Toshi MARUYAMA 8487a3e0e6 code layout clean up test_required_attribute_names_for_multiple_roles_should_intersect_rules of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 11:17:43 +00:00
Toshi MARUYAMA a1b82c7650 code layout clean up test_should_be_able_to_assign_a_new_issue_to_an_open_version of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:55:49 +00:00
Toshi MARUYAMA 93daf6865e code layout clean up test_required_attributes_should_be_validated of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:55:09 +00:00
Toshi MARUYAMA 0df2c4a975 code layout clean up test_safe_attributes_should_accept_target_status_writable_fields of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:54:27 +00:00
Toshi MARUYAMA 0cf44b976f code layout clean up test_new_statuses_allowed_to_should_return_all_transitions_for_admin of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:53:44 +00:00
Toshi MARUYAMA f76de605a0 code layout clean up test_new_statuses_allowed_to of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:53:05 +00:00
Toshi MARUYAMA 7a162b7255 code layout clean up test_safe_attributes_should_accept_target_tracker_writable_fields of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:52:31 +00:00
Toshi MARUYAMA 9da555fcb7 code layout clean up test_editable_custom_field_values_should_return_non_readonly_custom_values of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:51:57 +00:00
Toshi MARUYAMA ed9f954c6c code layout clean up test_safe_attributes_should_not_include_readonly_custom_fields of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:51:21 +00:00
Toshi MARUYAMA 0f6be546b8 code layout clean up test_safe_attributes_should_not_include_readonly_fields of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:50:49 +00:00
Toshi MARUYAMA a66a50eda2 code layout clean up test_should_not_update_custom_fields_on_changing_tracker_with_different_custom_fields of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:50:19 +00:00
Toshi MARUYAMA db67eff913 code layout clean up test_journalized_multi_custom_field of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:15:59 +00:00
Toshi MARUYAMA 756adebb96 code layout clean up context "#assignable_users" of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:15:34 +00:00
Toshi MARUYAMA 0bcc6115c3 code layout clean up context "#behind_schedule?" of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:15:08 +00:00
Toshi MARUYAMA be79553f33 code layout clean up test_overdue of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:14:42 +00:00
Toshi MARUYAMA dd887891f7 code layout clean up test_rescheduling_an_issue_should_reschedule_following_issue of unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:14:16 +00:00
Toshi MARUYAMA 90e0d681dc code layout cleanup test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 14:33:22 +00:00
Toshi MARUYAMA 924e5ad61b set language en at test_create_with_invalid_parent_issue_id of unit issue test (#11979)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 14:32:55 +00:00
Toshi MARUYAMA b537a2f1de add test of parent issue id beginning sharp to unit issue test (#11979)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 14:32:24 +00:00
Jean-Philippe Lang 2b797fa82f Fixed: No validation errors when entering an invalid "Parent task" (#11979).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 13:40:41 +00:00
Jean-Philippe Lang 51818cbbb6 Makes Issue.generate_with_descendants! helper accept attributes only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 08:56:09 +00:00
Jean-Philippe Lang 8bde60dc56 Remove Issue.generate_for_project! test helper and use Issue.generate! instead.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 08:39:22 +00:00
Jean-Philippe Lang 83bcc1f043 Adds a setting to allow subtasks to belong to other projects (#5487).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-10 17:38:17 +00:00
Jean-Philippe Lang cc4cff9f11 Adds a "Copied from/to" relation when copying issue(s) (#6899).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-27 19:09:30 +00:00
Jean-Philippe Lang 59d8ae61ef Anonymous users should not see private issues with anonymous author (#11872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 21:48:33 +00:00
Toshi MARUYAMA d1606fd3e3 add asserting that issue estimated hours is nil when creating minimal issue
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-11 14:13:11 +00:00
Jean-Philippe Lang 5003927f13 Option to copy subtasks when copying issue(s) (#6965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 05:34:07 +00:00
Jean-Philippe Lang a7be337a4c Updates test for r10243.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-27 11:21:08 +00:00
Jean-Philippe Lang 0ce0b52342 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-08 21:28:07 +00:00
Jean-Philippe Lang 9eb041fbc7 Versions that are not shared should not be assignable when selecting another project (#11506).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-27 19:36:53 +00:00
Jean-Philippe Lang d7b669e50b Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:12:17 +00:00
Jean-Philippe Lang 4cecc1beed Ability to disable standard fields on a per tracker basis (#1091).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-05 12:20:07 +00:00
Jean-Philippe Lang f62507dae5 Fixed that deleting a project with subtasks may fail (#11185).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-18 17:16:13 +00:00
Jean-Philippe Lang 6206c88dfa Fixed that updated_on is not updated when updating an issue (#10964).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-21 18:23:03 +00:00
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang 2e3bf71e9a Removed #generate_with_protected helper methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 12:45:13 +00:00
Jean-Philippe Lang b960470d78 Removed object_daddy dependency.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-22 11:56:47 +00:00