summaryrefslogtreecommitdiffstats
path: root/lib/redmine/helpers
Commit message (Collapse)AuthorAgeFilesLines
* 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-015-5/+5
| | | | 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
* Duplicate activities in time entry report when project-specific activies ↵Go MAEDA2022-01-191-1/+1
| | | | | | | | | exist (#20018). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-025-5/+5
| | | | 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
* Move @lib/diff.rb@ to @lib/redmine/string_array_diff@ and extract @Diffable@ ↵Marius Balteanu2021-10-271-1/+1
| | | | | | class to its own file (#29914, #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused argument from Redmine::Helpers::TimeReport (#33079).Go MAEDA2021-08-191-2/+1
| | | | | | | Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@21196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Relax allowed protocols in links by denying specific protocols for ↵Marius Balteanu2021-08-111-0/+13
| | | | | | | | CommonMark text formatting (#32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21161 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-255-5/+5
| | | | 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
* fix source indent of lib/redmine/helpers/time_report.rbToshi MARUYAMA2020-08-071-25/+26
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19953 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
* Use field_activity rather than label_activity in the context of time ↵Go MAEDA2020-03-261-1/+1
| | | | | | | | | tracking (#33186). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19619 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-035-5/+5
| | | | 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
* Remove trailing whitespaces from lib (#31506).Go MAEDA2019-06-062-4/+4
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18231 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-255-5/+5
| | | | 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-172-21/+21
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-163-3/+3
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-155-0/+10
| | | | | | | 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
* Only allow the use of visible custom fields in time entry reports (#29162).Go MAEDA2018-07-121-4/+4
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17446 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