summaryrefslogtreecommitdiffstats
path: root/lib/redmine/helpers/gantt.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r23068 from trunk to 5.0-stable (#41263).Go MAEDA2024-09-241-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@23073 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22746 from trunk to 5.0-stable (#40043).Marius Balteanu2024-02-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22756 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22314 from trunk to 5.0-stable (#38728).Go MAEDA2023-09-211-4/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22315 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix gantt PNG export ignores imagemagick_convert_command (#35027).Marius Balteanu2022-02-201-0/+3
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21427 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in class 'icon-expended' (#36149).Marius Balteanu2021-11-081-1/+1
| | | | | | Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Progress bar for a shared version on gantt disappears when the tree is ↵Go MAEDA2021-07-311-1/+6
| | | | | | | | | collapsed and then expanded (#34694). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Possible double includes in issue query in gantt helper (#33381).Go MAEDA2021-06-061-1/+0
| | | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21028 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/helpers/gantt.rbToshi MARUYAMA2020-12-091-9/+30
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to lib/redmine/helpers/gantt.rbToshi MARUYAMA2020-12-041-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20571 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/helpers/gantt.rbToshi MARUYAMA2020-11-201-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20450 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Starting or ending marker is not displayed if they are on the leftmost or ↵Go MAEDA2020-08-121-2/+2
| | | | | | | | | rightmost boundary of the gantt (#33175). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt bar is not displayed if the due date is the leftmost date or the start ↵Go MAEDA2020-07-251-1/+1
| | | | | | | | | date is the rightmost date (#33140). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* gantt: simplify week day logic in to_pdf() at lib/redmine/helpers/gantt.rbToshi MARUYAMA2020-05-271-11/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19797 e93f8b46-1217-0410-a6f0-8f06a7374b81
* gantt: simplify week day logic in to_image() at lib/redmine/helpers/gantt.rbToshi MARUYAMA2020-05-271-5/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19796 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded () from to_pdf() at lib/redmine/helpers/gantt.rbToshi MARUYAMA2020-05-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19788 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that viewing gantt causes SQL error with SQL Server (#32737).Go MAEDA2020-04-021-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that end markers in gantt PDF are misaligned (#19248).Go MAEDA2020-03-201-3/+3
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19595 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt bars for single-day tasks may be rendered wrongly in PDF (#23645).Go MAEDA2020-03-201-3/+6
| | | | | | | Patch by Daniel Ritz. git-svn-id: http://svn.redmine.org/redmine/trunk@19592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in ↵Toshi MARUYAMA2019-11-241-2/+2
| | | | | | lib/redmine/helpers/gantt.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19255 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/helpers/gantt.rbToshi MARUYAMA2019-11-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19039 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/ParenthesesAroundCondition in ↵Toshi MARUYAMA2019-10-221-2/+3
| | | | | | lib/redmine/helpers/gantt.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18837 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Lint/IneffectiveAccessModifier in ↵Toshi MARUYAMA2019-10-191-15/+18
| | | | | | lib/redmine/helpers/gantt.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18776 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/CaseIndentation in ↵Toshi MARUYAMA2019-10-171-3/+2
| | | | | | lib/redmine/helpers/gantt.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace RMagick with MiniMagick (#30492).Go MAEDA2019-08-141-102/+145
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18366 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use "icon icon-*" classes for expandable elements (#31433).Go MAEDA2019-05-301-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18209 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom Exception classes should inherit StandardError instead of Exception ↵Go MAEDA2019-05-211-1/+1
| | | | | | | | | (#31387). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18187 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Small refactorization of avatar methods (#31391).Go MAEDA2019-05-191-7/+1
| | | | | | | | | | | | | * 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
* Show selected columns in gantt chart (#27672).Go MAEDA2019-05-161-6/+28
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18171 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow a bigger range for the gantt timeline (#14654).Go MAEDA2019-05-081-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18136 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in lib/**/*.rb (#26561).Go MAEDA2019-03-171-19/+19
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow collapse/expand in gantt chart (#6417).Go MAEDA2019-03-051-10/+42
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverted r17925 (#6417). The change breaks GanttHelperTest.Go MAEDA2019-03-041-41/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow collapse/expand in gantt chart (#6417).Go MAEDA2019-03-041-10/+41
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Enumerable#sort with faster Enumerable#sort_by (#29299).Go MAEDA2018-08-021-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17462 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Hash#keys.each with faster Hash#each_key (#29305).Go MAEDA2018-08-011-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove RDoc tags (#28943).Go MAEDA2018-06-081-1/+1
| | | | | | | Patch by Sho HASHIMOTO. git-svn-id: http://svn.redmine.org/redmine/trunk@17370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt bars with start date and end date on the same day don't become red by ↵Go MAEDA2018-04-091-3/+3
| | | | | | | | | overdue (#13521). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17294 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes visibility checks for version.fixed_issues in Gantt (#27676).Jean-Philippe Lang2017-11-291-4/+4
| | | | | | | | | 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
* Add right-click context menu to gantt bars (#10485).Go MAEDA2017-11-251-1/+2
| | | | | | | Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17031 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add right-click context menu to gantt subjects (#10485).Go MAEDA2017-11-251-1/+2
| | | | | | | Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17030 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Gravatar icon is misaligned in gantt (#26410).Go MAEDA2017-11-251-1/+1
| | | | | | | Contributed by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17027 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* gannt: not show %done if the field is disabled for the tracker (#25876)Toshi MARUYAMA2017-06-151-1/+4
| | | | | | Contributed by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@16663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .distinct instead of .uniq.Jean-Philippe Lang2016-07-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81