Commit Graph

442 Commits

Author SHA1 Message Date
Jean-Philippe Lang
c283212f9f Adds a scope for issue auto complete.
git-svn-id: http://svn.redmine.org/redmine/trunk@16245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 10:05:53 +00:00
Jean-Philippe Lang
7b32a0371d Let user always see his private notes (#17632).
git-svn-id: http://svn.redmine.org/redmine/trunk@16181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 09:50:28 +00:00
Jean-Philippe Lang
45879a41b2 Moves journals selection to Issue#visible_journals_with_index (#17632).
git-svn-id: http://svn.redmine.org/redmine/trunk@16180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-14 09:34:24 +00:00
Jean-Philippe Lang
fd067bc9df Unneeded assignment (#24693).
git-svn-id: http://svn.redmine.org/redmine/trunk@16122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 16:30:33 +00:00
Jean-Philippe Lang
987ca8cc2a Handle time entries on subtasks and prevent from reassigning an issue that is going to be deleted (#24718, #24693).
git-svn-id: http://svn.redmine.org/redmine/trunk@16118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 15:04:05 +00:00
Jean-Philippe Lang
f3627e2a3d Prevent parent issue from being closed if a child issue is open (#10989).
git-svn-id: http://svn.redmine.org/redmine/trunk@16108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-21 09:09:22 +00:00
Jean-Philippe Lang
3b7da88a83 Show an error message when changing an issue's project fails due to errors in child issues (#23888).
git-svn-id: http://svn.redmine.org/redmine/trunk@16089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-18 08:54:26 +00:00
Jean-Philippe Lang
3a2b6c7c96 Enforce issue assignee validation (#23921).
git-svn-id: http://svn.redmine.org/redmine/trunk@16055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-10 12:02:37 +00:00
Jean-Philippe Lang
7ee5e95f14 Use the regular "icon icon-*" on search results (#24313).
git-svn-id: http://svn.redmine.org/redmine/trunk@15977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-19 08:26:58 +00:00
Jean-Philippe Lang
d4f57cc2fa Edit/delete links displayed on issue even if project is closed (#23969).
git-svn-id: http://svn.redmine.org/redmine/trunk@15879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 11:00:08 +00:00
Jean-Philippe Lang
7fddbc25ba Closing all subtasks causes error if default priority is not defined and priority is derived from subtasks (#23878).
git-svn-id: http://svn.redmine.org/redmine/trunk@15857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 09:38:58 +00:00
Jean-Philippe Lang
d478785aea Let the API accept project identifier for creating issues (#23766).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@15855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 09:06:17 +00:00
Jean-Philippe Lang
752648ebf5 closed_on field of copied issue is always set to source issue's value (#23764).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 07:43:22 +00:00
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