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
Go MAEDA
53a6b06578
Remove trailing whitespaces from lib/redmine/export/pdf/issues_pdf_helper.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 05:10:11 +00:00
Go MAEDA
07b3087fda
Enable frozen_string_literal for some files under app and lib directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 09:37:35 +00:00
Go MAEDA
e70c283a22
Remove unnecessary encoding magic comment ( #31034 ).
...
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
2019-03-16 06:26:33 +00:00
Go MAEDA
978bdba9ee
Fix RDMwriteFormattedCell destroying an argument ( #26561 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 04:43:37 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Jean-Philippe Lang
e647e99b74
Allow issues grouping by creation, update and closing date ( #13803 ).
...
Implemented for PostgreSQL only for now.
git-svn-id: http://svn.redmine.org/redmine/trunk@17724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-12 19:52:28 +00:00
Go MAEDA
ca2875fab2
Allow switching the encoding to UTF-8 when exporting to CSV ( #26279 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-07 01:13:12 +00:00
Go MAEDA
d6d2d23365
Fix: Round floats to 2 digits when rendering an issue list to PDF ( #12510 ).
...
Patch by Holger Just and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-06 14:25:35 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
5c7aaa4d1e
Makes Attachments column available on the issue list ( #25515 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:07:13 +00:00
Jean-Philippe Lang
b714c71402
Get the count by group from the query directly.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-09 20:01:01 +00:00
Jean-Philippe Lang
91d10c63f0
Show Last Comment in Issue list ( #1474 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:58:07 +00:00
Jean-Philippe Lang
fdb8b93f85
Fix PDF formatting ( #21705 ).
...
Patch by Greg T.
git-svn-id: http://svn.redmine.org/redmine/trunk@16362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:25:44 +00:00
Jean-Philippe Lang
a869504a44
Omit blank fields in PDF too ( #21705 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 16:08:26 +00:00
Jean-Philippe Lang
9cf1c5cfae
Adjust rendering of custom fields in PDF ( #21705 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 15:11:21 +00:00
Jean-Philippe Lang
ed50d42210
Replace Date.today with User.current.today ( #22320 ).
...
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
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Toshi MARUYAMA
e6b7c73169
pdf: use all lower cases for DejaVuSansMono ( #19017 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 12:36:19 +00:00
Toshi MARUYAMA
abea7c2d30
pdf: remove italic from DejaVuSansMono ( #19017 )
...
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
2015-12-06 12:21:36 +00:00
Toshi MARUYAMA
4996e56ff3
pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont method ( #19017 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@14959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 12:21:25 +00:00
Toshi MARUYAMA
8b17507423
revert r14950 ( #19017 )
...
r14907 breaks Arabic italic pdf rendering.
git-svn-id: http://svn.redmine.org/redmine/trunk@14951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 07:22:09 +00:00
Toshi MARUYAMA
9922125269
pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont method ( #19017 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@14950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 06:35:37 +00:00
Toshi MARUYAMA
12ede7d07f
revert r14907 ( #19017 )
...
r14907 breaks Arabic italic pdf rendering.
git-svn-id: http://svn.redmine.org/redmine/trunk@14911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-04 06:50:08 +00:00
Toshi MARUYAMA
367c417b5e
pdf: use l(:general_pdf_monospaced_fontname) ( #19017 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@14910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-04 05:43:21 +00:00
Toshi MARUYAMA
77f9155d55
pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont method ( #19017 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@14907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-04 05:42:14 +00:00
Toshi MARUYAMA
41c64d1266
pdf: fix Vietnamese Italic is not shown ( #21328 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-25 06:55:00 +00:00
Jean-Philippe Lang
eee65c8ba8
Display totals if the PDF export ( #1561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-09 09:02:29 +00:00
Jean-Philippe Lang
3077ed8d3a
Add BOM to UTF-8 encoded CSV ( #7037 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-13 07:55:30 +00:00
Jean-Philippe Lang
49914f010d
Adds a class for handling CSV generation ( #7037 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-13 07:33:20 +00:00
Jean-Philippe Lang
03c87f3db1
Change default display mode for PDF Export to OneColumn ( #19546 ).
...
Patch by Marcel Müller.
git-svn-id: http://svn.redmine.org/redmine/trunk@14299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-06 07:24:13 +00:00
Toshi MARUYAMA
e622ce6691
pdf: remove styles by fontname instated of Arabic/Persian/Thai locale ( #10681 , #18586 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 04:04:35 +00:00
Toshi MARUYAMA
15e5d01b30
pdf: remove styles of Arabic/Persian Italic and Thai Bold ( #10681 , #18586 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@13976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 04:04:24 +00:00
Jean-Philippe Lang
5541f9ca51
Render issue description and journal notes with #textilizable ( #13051 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-25 09:23:45 +00:00
Jean-Philippe Lang
10dab4045e
Removed an instance variable.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-25 09:08:13 +00:00
Jean-Philippe Lang
7a0432d85c
Adds support for macro and Redmine links in PDF export ( #13051 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-25 09:04:52 +00:00
Jean-Philippe Lang
000124f44f
Copyright update.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
78cc63e52c
Use IssueRelation#to_s in PDF export.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 16:27:47 +00:00
Jean-Philippe Lang
2d1866d966
Merged rails-4.1 branch ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Toshi MARUYAMA
e23d4d9b4e
pdf: define "general_pdf_fontname" at i18n yaml for multilingual environment ( #13781 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@13458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-20 04:15:11 +00:00
Toshi MARUYAMA
3d15ec3c96
remove general_pdf_encoding from lib/redmine/export/pdf.rb ( #17570 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-08-28 10:23:54 +00:00