Commit Graph

20 Commits

Author SHA1 Message Date
Go MAEDA
0d4ed12388 Code cleanup: RuboCop: Rails/ActiveRecordAliases
update_attributes is deprecated in Rails 6.0 and will be removed in Rails 6.1 (#29914).


git-svn-id: http://svn.redmine.org/redmine/trunk@18375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-17 08:14:36 +00:00
Go MAEDA
8a9123de04 Limit total_estimated_hours to visible issues (#31778).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@18356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-07 04:44:19 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
4f5a3a156c Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Jean-Philippe Lang
2576292959 Set User.current to nil before unit tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@17761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 17:23:31 +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
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
Toshi MARUYAMA
153409d30f remove trailing white-spaces from test/unit/issue_subtasking_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 16:26:41 +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
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
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
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
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
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
Toshi MARUYAMA
717a9193d9 add missing fixtures to IssueSubtaskingTest
git-svn-id: http://svn.redmine.org/redmine/trunk@14417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-06 16:03:53 +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
4f8bf00130 Moved tests to issue_subtasking_test.
git-svn-id: http://svn.redmine.org/redmine/trunk@14271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-25 10:05:07 +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