Jean-Philippe Lang
6062a0a89d
Merged r10885 from trunk ( #12451 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@11007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-15 07:54:21 +00:00
Jean-Philippe Lang
0ebf95d819
Merged r10992 from trunk ( #12400 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@11005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-15 07:52:31 +00:00
Jean-Philippe Lang
bb4c530ba2
Merged r10865 and r10866 from trunk ( #12431 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-23 22:31:02 +00:00
Toshi MARUYAMA
c0742ed9e6
Merged r10862 from trunk to 2.1-stable ( #12409 )
...
scm: git: change extra_report_last_commit type at unit test to string.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-22 01:10:50 +00:00
Jean-Philippe Lang
8c7ae20402
Merged r10850 from trunk ( #12396 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-21 20:44:19 +00:00
Toshi MARUYAMA
06b68f1948
Merged r10856 and r10857 from trunk to 2.1-stable ( #12409 )
...
scm: git: fix changesets aren't read after clear_changesets call.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-21 09:55:48 +00:00
Toshi MARUYAMA
f578a5c4f6
Merged r10852 from trunk ( #12399 )
...
fix non ASCII attachment filename encoding broken (MOJIBAKE) in receiving mail on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-21 07:14:30 +00:00
Jean-Philippe Lang
a1c6f710aa
Backported r10792 and r10793 from trunk ( #12310 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 08:58:26 +00:00
Jean-Philippe Lang
3ad82e4665
Merged r10810 from trunk ( #12359 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 08:52:51 +00:00
Jean-Philippe Lang
ab69845ea2
Merged r10801 from trunk ( #12349 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 08:50:19 +00:00
Toshi MARUYAMA
d5c08680f6
Merged r10812 from trunk ( #12375 )
...
fix receiving mail subject broken which does not begin with encoding name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-16 07:52:05 +00:00
Toshi MARUYAMA
9b82b948e3
Merged r10811 from trunk ( #12375 )
...
add test of receiving mail subject begins with encoding name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-16 07:51:53 +00:00
Jean-Philippe Lang
d02e5e54a8
Merged r10580 and r10581 from trunk.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-26 03:13:34 +00:00
Toshi MARUYAMA
21b162a624
Merged r10689 from trunk to 2.1-stable
...
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/branches/2.1-stable@10691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-22 03:24:01 +00:00
Toshi MARUYAMA
b7e999d1aa
Merged r10688 from trunk to 2.1-stable
...
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/branches/2.1-stable@10690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-22 03:23:28 +00:00
Toshi MARUYAMA
3b4126e14f
Merged r10572 from trunk
...
add missing fixtures to test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 11:56:45 +00:00
Jean-Philippe Lang
1f80a4b0d9
Merged r10433, r10437 from trunk.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-29 16:38:53 +00:00
Jean-Philippe Lang
daea57a37c
Merged r10438 from trunk.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-29 16:32:11 +00:00
Toshi MARUYAMA
9095874a07
Merged r10478 from trunk
...
use set_language_if_valid 'en' at test_parent_should_be_in_same_project at unit board test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-26 11:59:44 +00:00
Toshi MARUYAMA
8ecfd1dcf8
Merged r10477 from trunk
...
set default_language en at test_commit_closing_a_subproject_issue of unit changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-26 11:59:19 +00:00
Toshi MARUYAMA
35584bc53a
Merged r10476 from trunk ( #11922 )
...
fix number_to_currency() raises exception on Rails3 bs and de locale.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-26 11:09:24 +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
Toshi MARUYAMA
2461d12388
gantt: remove redundant empty lines from unit gantt helper test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-11 02:58:59 +00:00
Jean-Philippe Lang
197a14a82e
Fixed that the reminder email excludes issues assigned to groups ( #11723 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-09 11:02:13 +00:00
Jean-Philippe Lang
ff86c37ed3
Fixed: Issues associated with a locked version are not copied when copying a project ( #11207 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-09 10:11:49 +00:00
Jean-Philippe Lang
5e9320137b
Fixed that target version is lost on project copy for issues that are assigned to a shared version from another project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-09 10:01:03 +00:00
Jean-Philippe Lang
6a37151b5c
Adapt subtasks copy when copying a project ( #6965 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 05:56:48 +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
ca7498c2d6
Create role by copy ( #9258 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-03 17:04:28 +00:00
Jean-Philippe Lang
8b72710d7e
Fixed: New multi-line macros regexp is too eager ( #11736 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 10:24:56 +00:00
Jean-Philippe Lang
265baa1b2c
Upgrade to Rails 3.2.8 ( #11758 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 10:08:51 +00:00
Toshi MARUYAMA
e4b7b7cc38
code cleanup test_with_a_start_date_attribute_* of unit IssuesHelperTest
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 05:33:43 +00:00
Toshi MARUYAMA
8eb39d682d
replace shoulder "with a due_date attribute" context of unit IssuesHelperTest and use with_settings
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 05:33:28 +00:00
Toshi MARUYAMA
4bca584024
use date_format setting at unit IssuesHelperTest test_with_a_start_date_attribute_*
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 04:10:33 +00:00
Toshi MARUYAMA
935d8e594b
add missing fixtures to test/unit/lib/redmine/hook_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 03:47:20 +00:00
Toshi MARUYAMA
374a0cc7cb
add missing fixture to test/unit/lib/redmine/safe_attributes_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:55:13 +00:00
Toshi MARUYAMA
53dd8dc11a
add unit query test of French label
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:37:20 +00:00
Toshi MARUYAMA
444987ce91
replace shoulder "with a start_date attribute" context of test/unit/helpers/issues_helper_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:23:59 +00:00
Toshi MARUYAMA
8d4c0e5ecd
set language en to test_label_for at test/unit/query_test.rb
...
Test on CI Server fails.
http://www.redmine.org/builds/logs/build_trunk_sqlite3_ruby-1.9.3-p194_581.html
<pre>
Failure:
<"Assignee">("US-ASCII") expected but was
<"Assigné à">("UTF-8").
test_label_for(QueryTest)
test/unit/query_test.rb:860:in `test_label_for'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 01:29:48 +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
d33fa1f8c8
Do not build a projects_by_role Hash that gets updated when accessing a key that is not present ( #11662 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-27 10:11:20 +00:00
Jean-Philippe Lang
5969df8142
MailHandler: Match assignee on the full display name ( #11552 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-26 09:03:17 +00:00
Toshi MARUYAMA
a1d8cab6c6
remove empty setup method from unit enumeration test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-22 16:31:26 +00:00
Toshi MARUYAMA
3478a21c2f
add unit test that enumeration returns default in regardless of active or not
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-22 16:31:13 +00:00
Toshi MARUYAMA
44c15c7560
add check default document category is not defined on database in tests ( #11665 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-22 16:18:01 +00:00
Toshi MARUYAMA
665a331cc4
force set default document category if it is not set on database ( #11665 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 13:45:53 +00:00
Toshi MARUYAMA
185ab2a020
add unit test to get default document category defined on database ( #11665 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 13:45:40 +00:00
Toshi MARUYAMA
ac5e3c2036
add missing fixtures to test/unit/document_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 02:15:04 +00:00
Jean-Philippe Lang
fc3a09e49a
Let macros optionally accept a block of text ( #3061 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-18 08:25:22 +00:00
Jean-Philippe Lang
73aece0baf
Macros processing overhaul ( #3061 , #11633 ).
...
* macro arguments are no longer parsed by text formatters
* macro output is escaped unless it's html safe
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-17 14:46:55 +00:00