summaryrefslogtreecommitdiffstats
path: root/lib/redmine/helpers
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* Make robust Redmine::Helpers::URL#uri_with_safe_scheme? (#27114)Go MAEDA2017-11-261-1/+1
| | | | | | | Patch by okkez. git-svn-id: http://svn.redmine.org/redmine/trunk@17035 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-255-5/+5
| | | | 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
* Get rid of sort_helper when using queries.Jean-Philippe Lang2017-03-131-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds issue tracker and status columns and filters on spent time list (#23401).Jean-Philippe Lang2016-08-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15738 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
* Fully qualify the Version class in Redmine::Helpers::TimeReport (#23269).Jean-Philippe Lang2016-07-121-1/+1
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@15645 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that empty Markdown image tag raises en error (#23246).Jean-Philippe Lang2016-07-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15607 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Limits the schemes that Markdown links can use (#22924).Jean-Philippe Lang2016-06-011-0/+35
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15431 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Date.today with User.current.today (#22320).Jean-Philippe Lang2016-05-072-9/+9
| | | | | | | | | | | | | | 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
* Text in the "removed" part of a diff is double-escaped (#22115).Jean-Philippe Lang2016-03-261-3/+5
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@15287 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-134-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds day numbers to HTML and PDF gantt (#3034).Jean-Philippe Lang2015-10-031-1/+26
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-114-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes object argument optional and typo.Jean-Philippe Lang2014-11-301-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13672 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo.Jean-Philippe Lang2014-11-281-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved format specific stuff on format specific methods.Jean-Philippe Lang2014-11-281-147/+127
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed useless local variable.Jean-Philippe Lang2014-11-261-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13658 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed duplicated code.Jean-Philippe Lang2014-11-261-63/+58
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13657 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use rbpdf gem instead of bundled rfpdf (#17570)Toshi MARUYAMA2014-08-281-0/+5
| | | | | | Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@13358 e93f8b46-1217-0410-a6f0-8f06a7374b81
* gantt: completed percent truncated instead of rounded (#14737)Toshi MARUYAMA2014-05-161-1/+1
| | | | | | Contributed by Jérôme BATAILLE. git-svn-id: http://svn.redmine.org/redmine/trunk@13137 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Exclude custom fields with multiple values from time report criteria (#16519).Jean-Philippe Lang2014-04-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated Relation#sum with finder options at ↵Toshi MARUYAMA2014-02-141-4/+4
| | | | | | lib/redmine/helpers/time_report.rb git-svn-id: http://svn.redmine.org/redmine/trunk@12881 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-294-4/+4
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace deprecated Version#completed_pourcent at ↵Toshi MARUYAMA2013-12-221-2/+2
| | | | | | lib/redmine/helpers/gantt.rb (#12724) git-svn-id: http://svn.redmine.org/redmine/trunk@12439 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged custom fields format refactoring.Jean-Philippe Lang2013-12-141-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt: sort versions like on the roadmap (#7335).Jean-Philippe Lang2013-11-091-5/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12247 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing "require 'diff'" to Redmine::Helpers::Diff (#15105)Toshi MARUYAMA2013-10-111-0/+2
| | | | | | Contributed by Felix Bünemann. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12206 e93f8b46-1217-0410-a6f0-8f06a7374b81