Commit Graph

425 Commits

Author SHA1 Message Date
Jean-Philippe Lang
e856c9f879 Fixed that issue details page shows default values for custom fields that aren't actually set (#25726).
git-svn-id: http://svn.redmine.org/redmine/trunk@17499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 08:25:25 +00:00
Go MAEDA
7015e137fe Use pluck(:id) instead of collect(&:id) in app/models/issue.rb (#26711).
git-svn-id: http://svn.redmine.org/redmine/trunk@17455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-29 05:45:40 +00:00
Go MAEDA
1c5600f820 Use pluck(:id) instead of collect(&:id) (#26711).
Patch by jwjw yy.


git-svn-id: http://svn.redmine.org/redmine/trunk@17454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-28 15:24:24 +00:00
Jean-Philippe Lang
ce1c652250 Upgrade to Rails 5.2.0 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-23 05:13:29 +00:00
Jean-Philippe Lang
3e31f8167b Cannot clear category field on copying an Issue (#28951).
git-svn-id: http://svn.redmine.org/redmine/trunk@17395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 06:22:35 +00:00
Go MAEDA
74d775166a Clear subtask assignee during copy if is locked (#28946).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 01:03:04 +00:00
Jean-Philippe Lang
c2bdc81124 Log automatic rescheduling of following issues to journal (#28649).
git-svn-id: http://svn.redmine.org/redmine/trunk@17373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-10 05:57:12 +00:00
Go MAEDA
85db9769bc Clear target version when copying an issue if status is locked or closed (#27863).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-07 00:33:29 +00:00
Go MAEDA
2943153eca Fix: Copying an issue fails if the issue is watched by a locked user (#28765).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-19 00:44:10 +00:00
Go MAEDA
a175f9ded9 Allow selecting subprojects on new issue form (#12704).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-02-28 06:42:52 +00:00
Jean-Philippe Lang
6d4c0a77fe The progress exceeding 99.5% is displayed as 100% (#27848).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-08 22:35:59 +00:00
Jean-Philippe Lang
2cb30321a2 No validation errors when entering an invalid "Estimate hours" value (#27881).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-07 21:41:15 +00:00
Jean-Philippe Lang
d74f0bfd5c Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Jean-Philippe Lang
dd650c5c26 Setting to disable automatic closing of duplicates (#26192).
git-svn-id: http://svn.redmine.org/redmine/trunk@16697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 11:40:58 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
b997f03211 Set default assignee before validation (#26072).
git-svn-id: http://svn.redmine.org/redmine/trunk@16619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 21:11:37 +00:00
Jean-Philippe Lang
1870a2e4fb Make sure that the journal is not created if issue is saved.
git-svn-id: http://svn.redmine.org/redmine/trunk@16599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:10:20 +00:00
Jean-Philippe Lang
86fa4e66c9 Check tracker permissions when copying an issue (#25791).
git-svn-id: http://svn.redmine.org/redmine/trunk@16569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 08:34:41 +00:00
Jean-Philippe Lang
2f77bfde91 Option to set a default assignee on each project (#482).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-08 08:02:06 +00:00
Jean-Philippe Lang
9506ff1f40 Fixed that watchers list is not updated when changing project on the new issue form (#17762).
git-svn-id: http://svn.redmine.org/redmine/trunk@16511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 19:57:00 +00:00
Jean-Philippe Lang
1cd985dd6b Option to copy watchers when copying issues (#10460).
git-svn-id: http://svn.redmine.org/redmine/trunk@16509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 17:34:45 +00:00
Jean-Philippe Lang
fc73a90740 Always set spent_hours instance variables to a Float in Issue instances (#25526).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-05 16:09:58 +00:00
Jean-Philippe Lang
756a102820 Reset status when copying issues (#23610).
git-svn-id: http://svn.redmine.org/redmine/trunk@16451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 10:30:29 +00:00
Jean-Philippe Lang
e9e47900fb Fixes indentation.
git-svn-id: http://svn.redmine.org/redmine/trunk@16398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 21:44:53 +00:00
Jean-Philippe Lang
ff6d8c6f5c Adding a subtask should default to a tracker without disabled parent field (#16260).
git-svn-id: http://svn.redmine.org/redmine/trunk@16383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 21:22:08 +00:00
Jean-Philippe Lang
29ad5b31e0 Preload journal's user (#6375).
git-svn-id: http://svn.redmine.org/redmine/trunk@16377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 15:16:24 +00:00
Jean-Philippe Lang
8ae81b98d5 Fix loading of last visible journal (#1474, #6375).
git-svn-id: http://svn.redmine.org/redmine/trunk@16376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 11:05:50 +00:00
Jean-Philippe Lang
7a60e44d43 Load only last journal with notes (#1474).
git-svn-id: http://svn.redmine.org/redmine/trunk@16370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:08:21 +00:00
Jean-Philippe Lang
9d8209fddc Don't load all issues' journals (#1474).
git-svn-id: http://svn.redmine.org/redmine/trunk@16369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:05:29 +00:00
Jean-Philippe Lang
91d10c63f0 Show Last Comment in Issue list (#1474).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:58:07 +00:00
Jean-Philippe Lang
06c6de06e4 Last updated by colum in issue list (#6375).
git-svn-id: http://svn.redmine.org/redmine/trunk@16366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:42:52 +00:00
Jean-Philippe Lang
8615dc0bce Use #none for empty scope.
git-svn-id: http://svn.redmine.org/redmine/trunk@16247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 10:10:24 +00:00
Jean-Philippe Lang
2ec53dd295 Clean up SQL.
git-svn-id: http://svn.redmine.org/redmine/trunk@16246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 10:09:13 +00:00
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