summaryrefslogtreecommitdiffstats
path: root/lib/redmine/export
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-014-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@22015 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-254-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add space after comma to lib/redmine/export/pdf/issues_pdf_helper.rbToshi MARUYAMA2020-12-031-61/+61
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20560 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/export/pdf/issues_pdf_helper.rbToshi MARUYAMA2020-11-301-4/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20529 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/export/pdf/issues_pdf_helper.rbToshi MARUYAMA2020-11-291-17/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20506 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/export/pdf/issues_pdf_helper.rbToshi MARUYAMA2020-11-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20474 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "do end" instead of {} at lib/redmine/export/pdf/issues_pdf_helper.rbToshi MARUYAMA2020-11-131-12/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20358 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sum instead of inject(0, :+) (#34153).Go MAEDA2020-10-241-7/+7
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/For (#32530).Go MAEDA2020-10-202-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20153 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove empty line at class body beginning of lib/redmine/export/csv.rbToshi MARUYAMA2020-08-091-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19968 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Export to PDF fails when subject of parent task is included in issue list ↵Go MAEDA2020-03-241-1/+1
| | | | | | | | | (#33103). Patch by Marius BALTEANU and Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19611 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-034-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* tmp/pdf directory is no longer necessary (#32924).Go MAEDA2020-02-291-2/+0
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Right-aligned TOC tag is displayed in exported PDF if the text formatting ↵Go MAEDA2020-01-301-1/+1
| | | | | | | | | setting is Markdown (#32477). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19480 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue list: long text custom field missing in PDF export (#32859).Go MAEDA2020-01-261-12/+16
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Exporting issue as PDF fails when the issue has private journal (#32858).Go MAEDA2020-01-251-1/+1
| | | | | | | Patch by Kouhei Sutou. git-svn-id: http://svn.redmine.org/redmine/trunk@19458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* FrozenError when exporting gantt to PDF in some languages (#32832).Go MAEDA2020-01-181-0/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceAfterComma in ↵Toshi MARUYAMA2019-11-251-13/+13
| | | | | | lib/redmine/export/pdf/wiki_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19309 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentFirstArgument in ↵Toshi MARUYAMA2019-11-251-3/+5
| | | | | | lib/redmine/export/pdf/wiki_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19308 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in ↵Toshi MARUYAMA2019-11-241-1/+1
| | | | | | lib/redmine/export/pdf.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19254 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-091-13/+18
| | | | | | lib/redmine/export/pdf/issues_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18983 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-091-8/+11
| | | | | | lib/redmine/export/pdf/wiki_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18982 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceBeforeComma in lib/redmine/export/pdf.rbToshi MARUYAMA2019-10-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18839 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EndAlignment in ↵Toshi MARUYAMA2019-10-171-1/+1
| | | | | | lib/redmine/export/pdf/issues_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18732 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/WhileUntilModifier in ↵Toshi MARUYAMA2019-10-171-6/+2
| | | | | | lib/redmine/export/pdf/issues_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18717 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/ElseAlignment in ↵Toshi MARUYAMA2019-10-171-19/+20
| | | | | | lib/redmine/export/pdf/issues_pdf_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-254-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #b shortcut instead of #force_encoding (#31059).Go MAEDA2019-03-201-3/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in lib/redmine/export/*.rb (#26561).Go MAEDA2019-03-172-8/+9
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17985 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from lib/redmine/export/pdf/issues_pdf_helper.rbGo MAEDA2019-03-171-23/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17984 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-164-7/+0
| | | | | | | | | The default script encoding is UTF-8 in Ruby 2.0 or later. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RDMwriteFormattedCell destroying an argument (#26561).Go MAEDA2019-03-161-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-154-0/+8
| | | | | | | 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 issues grouping by creation, update and closing date (#13803).Jean-Philippe Lang2018-12-121-1/+1
| | | | | | Implemented for PostgreSQL only for now. git-svn-id: http://svn.redmine.org/redmine/trunk@17724 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow switching the encoding to UTF-8 when exporting to CSV (#26279).Go MAEDA2018-05-071-3/+3
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17328 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Round floats to 2 digits when rendering an issue list to PDF (#12510).Go MAEDA2017-12-061-0/+2
| | | | | | | Patch by Holger Just and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17059 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-254-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes Attachments column available on the issue list (#25515).Jean-Philippe Lang2017-04-041-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get the count by group from the query directly.Jean-Philippe Lang2017-03-091-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16387 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show Last Comment in Issue list (#1474).Jean-Philippe Lang2017-03-051-2/+9
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix PDF formatting (#21705).Jean-Philippe Lang2017-03-031-1/+1
| | | | | | Patch by Greg T. git-svn-id: http://svn.redmine.org/redmine/trunk@16362 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Omit blank fields in PDF too (#21705).Jean-Philippe Lang2017-01-251-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16258 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adjust rendering of custom fields in PDF (#21705).Jean-Philippe Lang2017-01-251-4/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Date.today with User.current.today (#22320).Jean-Philippe Lang2016-05-072-4/+4
| | | | | | | | | | | | | | 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
* 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
* pdf: use all lower cases for DejaVuSansMono (#19017)Toshi MARUYAMA2015-12-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: remove italic from DejaVuSansMono (#19017)Toshi MARUYAMA2015-12-061-0/+2
| | | | | | | | DejaVuSansMono Italic Arabic font has problem. Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@14960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont ↵Toshi MARUYAMA2015-12-061-2/+2
| | | | | | | | method (#19017) Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@14959 e93f8b46-1217-0410-a6f0-8f06a7374b81