Go MAEDA
0a9b72ab9c
Fix that end markers in gantt PDF are misaligned ( #19248 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-20 06:19:19 +00:00
Go MAEDA
94777d40b0
Gantt bars for single-day tasks may be rendered wrongly in PDF ( #23645 ).
...
Patch by Daniel Ritz.
git-svn-id: http://svn.redmine.org/redmine/trunk@19592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-20 04:48:15 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
0bc794965f
cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/helpers/gantt.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:43 +00:00
Toshi MARUYAMA
b686959042
cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/helpers/gantt.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 17:10:17 +00:00
Toshi MARUYAMA
05ef773897
code cleanup: rubocop: fix Style/ParenthesesAroundCondition in lib/redmine/helpers/gantt.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 15:55:11 +00:00
Toshi MARUYAMA
cb2d4068e8
code cleanup: rubocop: fix Lint/IneffectiveAccessModifier in lib/redmine/helpers/gantt.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-19 13:32:59 +00:00
Toshi MARUYAMA
2140c49042
code cleanup: rubocop: fix Layout/CaseIndentation in lib/redmine/helpers/gantt.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 16:45:54 +00:00
Go MAEDA
beeacb2c2a
Replace RMagick with MiniMagick ( #30492 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-14 02:40:56 +00:00
Go MAEDA
53e2cf16bb
Use "icon icon-*" classes for expandable elements ( #31433 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-30 07:35:46 +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
6d6ea928c8
Custom Exception classes should inherit StandardError instead of Exception ( #31387 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-21 23:53:10 +00:00
Go MAEDA
f992df684f
Small refactorization of avatar methods ( #31391 ).
...
* move existing methods from ApplicationHelper to a new helper file (AvatarsHelper)
* change default avatar size from 50 to 24 because most of the avatars are using the size 24
* class 'gravatar' is always added and all custom classes are appended
* added user name as default title for avatar images
* added two new methods: @assignee_avatar@ and @author_avatar@
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-19 22:27:41 +00:00
Go MAEDA
0328b5671a
Show selected columns in gantt chart ( #27672 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-16 21:54:33 +00:00
Go MAEDA
391a9469d1
Allow a bigger range for the gantt timeline ( #14654 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-08 08:57:31 +00:00
Go MAEDA
30e341db69
Support frozen_string_literal in lib/**/*.rb ( #26561 ).
...
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 16:36:34 +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
Go MAEDA
bdcadb8ced
Allow collapse/expand in gantt chart ( #6417 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-05 14:52:09 +00:00
Go MAEDA
54bffb5ed6
Reverted r17925 ( #6417 ). The change breaks GanttHelperTest.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-04 12:47:07 +00:00
Go MAEDA
a925f9603d
Allow collapse/expand in gantt chart ( #6417 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-04 12:07:17 +00:00
Go MAEDA
eee1c36b4b
Replace Enumerable#sort with faster Enumerable#sort_by ( #29299 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-02 21:54:21 +00:00
Go MAEDA
ed14823d13
Replace Hash#keys.each with faster Hash#each_key ( #29305 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-01 14:28:39 +00:00
Go MAEDA
bff0fbce8b
Remove RDoc tags ( #28943 ).
...
Patch by Sho HASHIMOTO.
git-svn-id: http://svn.redmine.org/redmine/trunk@17370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-08 00:55:41 +00:00
Go MAEDA
8b0bfbbc8b
Gantt bars with start date and end date on the same day don't become red by overdue ( #13521 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-09 13:00:41 +00:00
Jean-Philippe Lang
62d6dfe1cc
Fixes visibility checks for version.fixed_issues in Gantt ( #27676 ).
...
Like the version page - the Gantt chart featured a "percent done" info
for each version, which wasn't properly limited to visible issues.
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@17053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-29 19:38:44 +00:00
Go MAEDA
a92b92e501
Add right-click context menu to gantt bars ( #10485 ).
...
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-25 16:31:50 +00:00
Go MAEDA
fc93f14d64
Add right-click context menu to gantt subjects ( #10485 ).
...
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-25 16:30:23 +00:00
Go MAEDA
4b30e7a90e
Fix: Gravatar icon is misaligned in gantt ( #26410 ).
...
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-11-25 15:29:52 +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
ce9edd07e3
gannt: not show %done if the field is disabled for the tracker ( #25876 )
...
Contributed by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-15 04:14:58 +00:00
Jean-Philippe Lang
d2f7e31951
Use .distinct instead of .uniq.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:15: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
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
f9425cbaf3
Adds day numbers to HTML and PDF gantt ( #3034 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-03 09:10:27 +00:00
Jean-Philippe Lang
000124f44f
Copyright update.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
47e9796473
Makes object argument optional and typo.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 13:18:22 +00:00
Jean-Philippe Lang
3c7f638a83
Typo.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 14:02:57 +00:00
Jean-Philippe Lang
1920989ffb
Moved format specific stuff on format specific methods.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 13:42:47 +00:00
Jean-Philippe Lang
6d4ab70e63
Removed useless local variable.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-26 21:10:48 +00:00
Jean-Philippe Lang
34e6646f47
Removed duplicated code.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-26 21:06:47 +00:00
Jean-Philippe Lang
2d1866d966
Merged rails-4.1 branch ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Toshi MARUYAMA
4a9210d86f
use rbpdf gem instead of bundled rfpdf ( #17570 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@13358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-08-28 10:23:46 +00:00
Toshi MARUYAMA
6080a4cae3
gantt: completed percent truncated instead of rounded ( #14737 )
...
Contributed by Jérôme BATAILLE.
git-svn-id: http://svn.redmine.org/redmine/trunk@13137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-16 08:28:36 +00:00
Toshi MARUYAMA
35cc911192
update copyright year ( #15977 )
...
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Toshi MARUYAMA
b9db2228c0
replace deprecated Version#completed_pourcent at lib/redmine/helpers/gantt.rb ( #12724 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-22 12:39:38 +00:00
Jean-Philippe Lang
1871378648
Gantt: sort versions like on the roadmap ( #7335 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-11-09 08:54:45 +00:00
Jean-Philippe Lang
f9ddb562d5
Cleanup of finders with :conditions option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-12 19:13:25 +00:00
Toshi MARUYAMA
f085508121
gantt: sort versions by start date ( #7335 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 13:42:34 +00:00
Toshi MARUYAMA
8ea4e79964
gantt: sort issues by start date ( #7335 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 13:42:19 +00:00
Toshi MARUYAMA
6aa63659aa
gantt: change sort method to class method ( #7335 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-17 22:59:39 +00:00