Jean-Philippe Lang
a20458612e
When copying an issue, all statuses for new issue should be available ( #14696 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-03 07:21:32 +00:00
Jean-Philippe Lang
1324772355
Fixed that progress of parent should be calculated with total estimated hours of children ( #23511 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-09-01 17:03:17 +00:00
Jean-Philippe Lang
28fc7df5c4
Issue#editable_custom_field_values very slow for issues with many custom fields ( #23334 ).
...
Patch by Stephane Evr.
git-svn-id: http://svn.redmine.org/redmine/trunk@15742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 11:38:27 +00:00
Jean-Philippe Lang
e1a2f30787
Don't use an argument to reload.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:48:11 +00:00
Jean-Philippe Lang
106f6dcace
Removes a call to alias_method_chain.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:34:12 +00:00
Jean-Philippe Lang
19492226f7
Ability to delete multiple attachments while updating an issue ( #13072 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 20:04:14 +00:00
Jean-Philippe Lang
83777f727a
Assignable users should not include users that cannot view the tracker ( #23172 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-28 20:31:08 +00:00
Jean-Philippe Lang
93afc01e06
Preload issue status when displaying activity.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:51:59 +00:00
Jean-Philippe Lang
90d14b71b3
Don't add the inclusion error when tracker is not set, the blank error is enough.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-07 18:29:17 +00:00
Jean-Philippe Lang
026bcc4236
Same permission for editing the issue and its attachments.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-06 06:41:06 +00:00
Jean-Philippe Lang
c87783d50d
Always authorize admin users.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-06 06:32:10 +00:00
Jean-Philippe Lang
c4fd1750f7
Adds permission to edit and delete issues by role/tracker ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 13:45:10 +00:00
Jean-Philippe Lang
a23450fe08
Adds issue visibility by role/tracker ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 11:50:09 +00:00
Jean-Philippe Lang
79df68e17f
Limit trackers for new issue to certain roles ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 10:06:17 +00:00
Jean-Philippe Lang
a6828512c0
Adds Issue#allowed_target_trackers ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-30 18:20:13 +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