Commit Graph

379 Commits

Author SHA1 Message Date
Jean-Philippe Lang
31ec6bacaf Merged r17373 to 3.3-stable (#28649).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-10 06:01:36 +00:00
Jean-Philippe Lang
0acf526cf3 Merged r17144 to 3.3-stable (#27881).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-07 21:43:44 +00:00
Jean-Philippe Lang
635daf888a Merged r16619 (#26072).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 19:33:15 +00:00
Jean-Philippe Lang
b02b7369a0 Merged r16569 (#25791).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 20:54:14 +00:00
Jean-Philippe Lang
92292a56e9 Merged r16491 (#25526).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:11:56 +00:00
Jean-Philippe Lang
c4b1ab644e Merged r16118 to r16122 (#24693, #24718, #24722).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-04 20:47:29 +00:00
Jean-Philippe Lang
52b19aca3c Merged r15879 (#23969).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-08 07:05:15 +00:00
Jean-Philippe Lang
dce9b21f3f Merged r15857 (#23878).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 10:21:45 +00:00
Jean-Philippe Lang
87e36462d6 Merged r15855 (#23766).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 10:21:02 +00:00
Jean-Philippe Lang
3fa2f52532 Merged r15848 (#23764).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 10:18:53 +00:00
Jean-Philippe Lang
9d33ec22cc Merged r15742 (#23334).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-31 17:00:22 +00:00
Jean-Philippe Lang
e8afae7cbc Merged r15586 (#23172).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 11:45:49 +00:00
Jean-Philippe Lang
a310bff9e5 Merged r15545.
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:52:20 +00:00
Jean-Philippe Lang
8516e1c88d Merged r15490 to r15493, r15496, r15497 (#22951).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 05:25:46 +00:00
Jean-Philippe Lang
6e68d008c4 Merged 15430, 15464 to 15469, 15475, 15476 (#285, #7839).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-06 09:41:50 +00:00
Jean-Philippe Lang
ed50d42210 Replace Date.today with User.current.today (#22320).
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.

A test case illustrating the problem with Issue#overdue? is included

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
f4ceb0e41c Adds a method for tracker selection (#22345).
git-svn-id: http://svn.redmine.org/redmine/trunk@15360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 15:28:08 +00:00
Jean-Philippe Lang
1da39caad3 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@15319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:17:29 +00:00
Jean-Philippe Lang
bb2c6f6076 Fixed that subtasks lose their custom fields when copying an issue to a different project (#22342).
git-svn-id: http://svn.redmine.org/redmine/trunk@15318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:11:59 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
9473a373a5 Verify assigned_to_id when assigning safe_attributes (#22127).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 13:09:23 +00:00
Jean-Philippe Lang
01cf5ed968 Private notes get copied without private flag to Duplicate issues (#22072).
git-svn-id: http://svn.redmine.org/redmine/trunk@15196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 08:21:32 +00:00
Jean-Philippe Lang
f4b2b7e7fb Only consider open subtasks when computing the priority of a parent issue (#5880).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 09:00:37 +00:00
Jean-Philippe Lang
3a48f09d4f Can't set parent issue when issue relations among child issues are present (#13654).
git-svn-id: http://svn.redmine.org/redmine/trunk@15056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-10 15:12:28 +00:00
Jean-Philippe Lang
a5fd84f00e Don't include locked user in assignable users (#21477).
git-svn-id: http://svn.redmine.org/redmine/trunk@14972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-12 12:37:56 +00:00
Jean-Philippe Lang
11579abe8c Don't include anonymous user in assignable users (#21477).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-12 12:31:56 +00:00
Jean-Philippe Lang
1a860d5320 Calculate done_ratio based on children instead of leaves (#20995).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-14 09:58:52 +00:00
Jean-Philippe Lang
9178d4748f Default target version for new issues (#1828).
git-svn-id: http://svn.redmine.org/redmine/trunk@14786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 08:11:36 +00:00
Jean-Philippe Lang
68620da79a Don't require category or target version when they are not available (#20583).
git-svn-id: http://svn.redmine.org/redmine/trunk@14733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-24 06:22:55 +00:00
Jean-Philippe Lang
8160f2addb Adds a scope to get issues assigned to a user.
git-svn-id: http://svn.redmine.org/redmine/trunk@14720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 17:00:14 +00:00
Jean-Philippe Lang
bf1f60f65f Do not clear category on project change if category with same exists (#16941).
git-svn-id: http://svn.redmine.org/redmine/trunk@14715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 18:57:44 +00:00
Jean-Philippe Lang
f9668dfc0d List custom fields with multiple values set as required by workflow can be blank (#20677).
Patch by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@14670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-14 18:02:12 +00:00
Jean-Philippe Lang
671fce04de Don't propose projects without trackers when editing an issue (#20463).
git-svn-id: http://svn.redmine.org/redmine/trunk@14613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 11:38:01 +00:00
Jean-Philippe Lang
a5de0fec9e Internal error when moving an issue to a project without trackers (#20463).
git-svn-id: http://svn.redmine.org/redmine/trunk@14612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 11:18:53 +00:00
Jean-Philippe Lang
035edd39c4 Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 08:20:32 +00:00
Jean-Philippe Lang
2bc5b60f9d Makes new issue initial status settable in workflow (#5816).
git-svn-id: http://svn.redmine.org/redmine/trunk@14458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-26 08:30:19 +00:00
Jean-Philippe Lang
5a3ee73a2e Fixes methods comments.
git-svn-id: http://svn.redmine.org/redmine/trunk@14409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:53:57 +00:00
Jean-Philippe Lang
67ff5550a6 Limit queries to given issues only.
git-svn-id: http://svn.redmine.org/redmine/trunk@14408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:53:32 +00:00
Jean-Philippe Lang
5e1a6e1040 Preload total spent time on the issue list with 1 query (#11253).
git-svn-id: http://svn.redmine.org/redmine/trunk@14407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:38:39 +00:00
Jean-Philippe Lang
3036eaba52 Replace tabs with spaces and remove trailing tabs in several files (#20140).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-21 16:38:29 +00:00
Jean-Philippe Lang
5e28f0b1b6 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@14274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-25 12:09:01 +00:00
Jean-Philippe Lang
481f70d125 Don't store total estimated hours on parent issues (#16092).
Parent can now have its own estimate that is summed up with children estimates.

git-svn-id: http://svn.redmine.org/redmine/trunk@14272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-25 11:37:12 +00:00
Jean-Philippe Lang
b22105f34a Adds a setting to control done ratio on parent tasks (#5490).
git-svn-id: http://svn.redmine.org/redmine/trunk@14270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-25 10:03:42 +00:00
Jean-Philippe Lang
0ad09e3aef Adds settings to control start/due dates and priority on parent tasks (#5490).
git-svn-id: http://svn.redmine.org/redmine/trunk@14269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-25 09:53:05 +00:00
Jean-Philippe Lang
6b11840b42 Fixed that issue validation fails if % done field is deactivated (#19731).
git-svn-id: http://svn.redmine.org/redmine/trunk@14241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-09 09:48:11 +00:00
Jean-Philippe Lang
9415eff064 When changing tracker, clear the attributes that are disabled for the new tracker (#17527).
git-svn-id: http://svn.redmine.org/redmine/trunk@14180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-14 17:16:52 +00:00
Jean-Philippe Lang
84c8ca6fef Fixed that custom fields with hidden/read-only combination may be displayed on issue form (#19297).
git-svn-id: http://svn.redmine.org/redmine/trunk@14137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 09:17:54 +00:00
Toshi MARUYAMA
1375b5b8c2 remove trailing white-space from app/models/issue.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@14120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-16 05:10:47 +00:00
Jean-Philippe Lang
5e1d042c40 Fixed that creating an issue without tracker_id attribute ignores custom field values (#19368).
git-svn-id: http://svn.redmine.org/redmine/trunk@14083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 09:53:36 +00:00
Jean-Philippe Lang
3789a8539e Missing notification if previous assignee was a group (#19197).
git-svn-id: http://svn.redmine.org/redmine/trunk@14049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 08:20:18 +00:00