Commit Graph

1710 Commits

Author SHA1 Message Date
Jean-Philippe Lang a49de1c39d Cache languages names to avoid loading all translations files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-18 18:01:24 +00:00
Jean-Philippe Lang 4bd1e887d9 Makes Plugin#requires_redmine accept a range of versions (#12299).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 10:55:38 +00:00
Jean-Philippe Lang b3cf67cad4 Makes Plugin#requires_redmine accept only major and minor version (#12299).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 10:07:21 +00:00
Jean-Philippe Lang 19bd857790 Rewrites requires_redmine tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 09:54:56 +00:00
Toshi MARUYAMA 70bcbd1404 replace non ASCII characters to hexadecimals at unit mail handler test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-16 06:48:46 +00:00
Toshi MARUYAMA 617cb7ac53 fix receiving mail subject broken which does not begin with encoding name (#12375)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-16 06:19:42 +00:00
Toshi MARUYAMA 1da74009cd add test of receiving mail subject begins with encoding name (#12375)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-16 05:25:18 +00:00
Jean-Philippe Lang 8b527ce247 Fixed version date validation (#12359).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-15 22:43:10 +00:00
Jean-Philippe Lang ce04c41830 Fixed that Principal#like scope does not work with cyrillic characters and Postgresql (#12349).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-13 22:01:31 +00:00
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
Jean-Philippe Lang c8b722456c Fixed that watchers receive notifications for private comments without permission (#12286).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-05 15:49:07 +00:00
Jean-Baptiste Barth 0beef88850 Fixed some more test/unit/*_test.rb breaking when run alone (#12285)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-01 22:47:25 +00:00
Jean-Baptiste Barth 45e7c63fc4 Fixed test/unit/issue_category_test.rb breaking when run alone (#12285)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-01 10:29:55 +00:00
Jean-Baptiste Barth 0eabfc5e72 Fixed test/unit/version_test.rb breaking when run alone (#12285)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-01 10:23:49 +00:00
Jean-Baptiste Barth 6e190a76fb Fixed test/unit/watcher_test.rb breaking when run alone (#12285)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-01 10:22:37 +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 399223daba New user name format: firstname + first letter of lastname (#12085).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-30 08:40:12 +00:00
Jean-Philippe Lang d62ef6b9b1 Changes how relative date filters work and adds specific filters for filtering dates in past/next n days (#11426).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-30 08:21:15 +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
Toshi MARUYAMA 123d2b318f fix scm_iconv local variable name (#12228)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-28 07:12:23 +00:00
Jean-Philippe Lang 166cbfdb3c Adjusts tests for the css class added in r10720 (#12216).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-26 02:46:38 +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 9e31308720 REST API for retrieving wiki pages (#7082).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-25 19:44:04 +00:00
Jean-Philippe Lang 881a22d248 Fixed test case class name (#10852).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-23 21:24:38 +00:00
Jean-Philippe Lang 6cccdce06e Ability to delete a version from a wiki page history (#10852).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-23 18:45:14 +00:00
Toshi MARUYAMA 4ff3c9fdb5 partial backout r10263
Backout replacing shoulda context of test/unit/helpers/issues_helper_test.rb.
Test methods in shoulda context do not run on Ruby 1.8.7-p370.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-22 02:03:23 +00:00
Toshi MARUYAMA f188277ab2 backout r10253
Backout replacing shoulda context of test/unit/helpers/issues_helper_test.rb.
Test methods in shoulda context do not run on Ruby 1.8.7-p370.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-22 02:03:11 +00:00
Jean-Philippe Lang 9796d18609 Handle deleted wiki page versions (#10852).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-21 04:43:15 +00:00
Jean-Philippe Lang d29fa4735b Adds a macro for inserting collapsed text (#12167).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-20 14:49:32 +00:00
Jean-Philippe Lang 7729178d9d Adds links to locked users when current user is admin.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-18 17:08:42 +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