Commit Graph

194 Commits

Author SHA1 Message Date
Go MAEDA
93645a279e Use anonymous block forwarding introduced in Ruby 3.1 (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 00:46:15 +00:00
Go MAEDA
095cc967cc Fix RuboCop offense Lint/RedundantStringCoercion, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:51:02 +00:00
Go MAEDA
b42d7984b1 Fix RuboCop offense Style/SuperArguments (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-23 11:25:16 +00:00
Marius Balteanu
61c7d539dc Adds Watcher list to the list of available query columns for issues (#29894).
Patch by Felix Schäfer (@felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:26:29 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
0be4013919 Support localized decimal separators for float values in PDF export (#22024).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 07:04:00 +00:00
Go MAEDA
c51e4937e7 Fix RuboCop offense Style/SuperWithArgsParentheses (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:15:11 +00:00
Marius Balteanu
5013c28431 Fix undefined method error in issue list PDF export when export contains a custom field block column with full width layout enabled that is not part of the tracker of the exported ticket(s) (#39534).
git-svn-id: https://svn.redmine.org/redmine/trunk@22418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-11 06:41:09 +00:00
Go MAEDA
6a7f2536b5 Add field separator option to CSV export dialog (#37621).
Patch by Karel Pičman.


git-svn-id: https://svn.redmine.org/redmine/trunk@22359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-21 06:19:13 +00:00
Go MAEDA
2d7d01e633 Export a version as changelog text (#36679).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-13 04:20:25 +00:00
Go MAEDA
5198dd54b7 WebP images support in PDF output (#38368).
Patch by Jun NAITOH.


git-svn-id: https://svn.redmine.org/redmine/trunk@22141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-22 03:43:19 +00:00
Go MAEDA
97d07eb285 Ruby 2.7: Fix RuboCop offense Style/ArgumentsForwarding (#38134).
git-svn-id: https://svn.redmine.org/redmine/trunk@22054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:31:06 +00:00
Go MAEDA
21ca0e3d0a Fix RuboCop offense Style/MinMaxComparison (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-02 06:10:53 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
80b7a83940 Use start_with? or end_with? to check the first or last character of a string (#37591).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-24 13:45:20 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Marius Balteanu
2a7de5d4ac Fix Layout/ClosingParenthesisIndentation offense (#35683).
git-svn-id: http://svn.redmine.org/redmine/trunk@21220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-11 10:14:14 +00:00
Marius Balteanu
e551c0cb00 Disable Lint/DuplicateBranch in lib/redmine/export/pdf.rb#107 (#35683).
git-svn-id: http://svn.redmine.org/redmine/trunk@21219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-11 10:08:37 +00:00
Marius Balteanu
326a1b4dd2 Interpret thumbnail macro in description, notes and formatted custom fields in issues list PDF export (35683).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:22:50 +00:00
Marius Balteanu
fdf949a509 Retrieve filenames of thumbnails when rendering a PDF (#35683).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:21:38 +00:00
Marius Balteanu
0db3e9a732 Expand macros in full-width custom fields when exporting issue to PDF (#35683).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:19:29 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Toshi MARUYAMA
ba43634aab add space after comma to lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-03 13:20:27 +00:00
Toshi MARUYAMA
974077363d shorten long line of lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:49:29 +00:00
Toshi MARUYAMA
11ab4d6213 fix source indent of lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-29 12:47:14 +00:00
Toshi MARUYAMA
7a3eea6178 remove spaces inside {} of lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-22 12:59:11 +00:00
Toshi MARUYAMA
9b10341df8 use "do end" instead of {} at lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-13 12:40:25 +00:00
Go MAEDA
9ef5f6789e Use sum instead of inject(0, :+) (#34153).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 01:39:46 +00:00
Go MAEDA
8d65078826 Fix RuboCop offense Style/For (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@20153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-20 15:22:11 +00:00
Toshi MARUYAMA
167d83890b remove empty line at class body beginning of lib/redmine/export/csv.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-09 15:57:12 +00:00
Go MAEDA
1473996f92 Export to PDF fails when subject of parent task is included in issue list (#33103).
Patch by Marius BALTEANU and Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-24 12:16:06 +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
Go MAEDA
007c3a5dab tmp/pdf directory is no longer necessary (#32924).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-29 15:13:04 +00:00
Go MAEDA
b8f7d1419e Right-aligned TOC tag is displayed in exported PDF if the text formatting setting is Markdown (#32477).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-30 08:34:14 +00:00
Go MAEDA
1c5ab7510d Issue list: long text custom field missing in PDF export (#32859).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-26 14:06:10 +00:00
Go MAEDA
8dbbfd6172 Exporting issue as PDF fails when the issue has private journal (#32858).
Patch by Kouhei Sutou.


git-svn-id: http://svn.redmine.org/redmine/trunk@19458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-25 03:07:00 +00:00
Go MAEDA
65d22c7510 FrozenError when exporting gantt to PDF in some languages (#32832).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@19435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-18 09:58:39 +00:00
Toshi MARUYAMA
67c331f5ca cleanup: rubocop: fix Layout/SpaceAfterComma in lib/redmine/export/pdf/wiki_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 18:58:26 +00:00
Toshi MARUYAMA
2c2283bc3a cleanup: rubocop: fix Layout/IndentFirstArgument in lib/redmine/export/pdf/wiki_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-25 18:58:16 +00:00
Toshi MARUYAMA
672d3f3917 cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/export/pdf.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:18:32 +00:00
Toshi MARUYAMA
b9bc8651d6 cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 02:20:44 +00:00
Toshi MARUYAMA
6b6549f2b2 cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/export/pdf/wiki_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 02:20:33 +00:00
Toshi MARUYAMA
5d4f94142b code cleanup: rubocop: fix Layout/SpaceBeforeComma in lib/redmine/export/pdf.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 16:06:34 +00:00
Toshi MARUYAMA
abf2ad12e5 code cleanup: rubocop: fix Layout/EndAlignment in lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 17:02:35 +00:00
Toshi MARUYAMA
7a44f38c2c code cleanup: rubocop: fix Style/WhileUntilModifier in lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 16:15:09 +00:00
Toshi MARUYAMA
04cf448648 code cleanup: rubocop: fix Layout/ElseAlignment in lib/redmine/export/pdf/issues_pdf_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 11:22:30 +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
72e1451159 Use Regexp#match? to reduce allocations of MatchData object (#28940).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-27 02:15:24 +00:00
Go MAEDA
606e75d12d Use #b shortcut instead of #force_encoding (#31059).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 01:36:44 +00:00
Go MAEDA
72a163d8b3 Support frozen_string_literal in lib/redmine/export/*.rb (#26561).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 06:10:53 +00:00