Commit Graph

103 Commits

Author SHA1 Message Date
Toshi MARUYAMA 868e15ff2d remove unneeded trailing ';' from lib/redmine/export/pdf.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13132 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-07 08:25:15 +00:00
Toshi MARUYAMA fd6fea5713 Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at lib/redmine/export/pdf.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@12832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 03:34:09 +00:00
Toshi MARUYAMA 35cc911192 update copyright year (#15977)
Contributed by Daniel Felix.

git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Jean-Philippe Lang 2e2e2cfe42 Merged custom fields format refactoring.
git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-14 08:22:43 +00:00
Jean-Philippe Lang 628d05629b Role-based issue custom field visibility (#5037).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-13 09:20:11 +00:00
Toshi MARUYAMA 1fd7540b85 pdf: replace "id_width" parameter name to original "col_id_width" (#14178)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-04 11:02:45 +00:00
Toshi MARUYAMA 7bc0c26198 pdf: restore "id_width" parameter of issues_to_pdf_draw_borders (#14178)
Contributed by Massimo Rossello.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-04 10:54:55 +00:00
Etienne Massip 4224a0c3fe Code cleanup (#13630).
Contributed by F Schroedter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-02 17:37:52 +00:00
Etienne Massip 4a3864a180 Fixed that issue list PDF export displays ID column twice (#13630).
Contributed by F Schroedter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-02 17:34:15 +00:00
Jean-Philippe Lang d0888b2f71 Strip {{toc}} tags in pdf exports (#9842).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 16:22:20 +00:00
Jean-Philippe Lang ff53a9cfe1 Don't use Iconv with ruby1.9 (#12787).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 21:27:36 +00:00
Jean-Philippe Lang e396a0eebe Copyright for 2013 (#12788).
Patch by Daniel Felix.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:29:31 +00:00
Jean-Philippe Lang 5c407a8c40 Fixed that issues grouped by custom field is broken in PDF export (#12513).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 09:45:38 +00:00
Jean-Philippe Lang 8201761e77 Adds an option for displaying the issue description on the issue list (#3447).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-06 17:48:19 +00:00
Jean-Philippe Lang b0013d9f68 Do not show parents/subtasks subjects that are not visible.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 21:30:40 +00:00
Jean-Philippe Lang 0178b5a2fe Private issue notes (#1554).
Adds 2 new permissions for viewing/adding private comments to issues.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-03 21:36:19 +00:00
Etienne Massip 823ac010c5 File handling cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-11 00:14:56 +00:00
Etienne Massip e2851a8b2a Use 1.8.7 compatible @Pathname#to_s@ alias for @Pathname#to_path@.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-10 20:14:06 +00:00
Etienne Massip c929ab5c16 Set temporary path cache variable as a String back again so that TCPDF handles error messages fine.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-10 19:53:03 +00:00
Jean-Philippe Lang 4cecc1beed Ability to disable standard fields on a per tracker basis (#1091).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-05 12:20:07 +00:00
Toshi MARUYAMA e55c8f6b67 pdf: enhanced issues list (#10464)
* Automatic calculation of the size of table columns depending on their content
* Output table header on each page

Contributed by Yuri Makarov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-20 07:09:15 +00:00
Toshi MARUYAMA b17b673039 remove trailing white-spaces from lib/redmine/export/pdf.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-19 23:22:04 +00:00
Jean-Philippe Lang be9f1c592e Removed border around wiki pages in PDF.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 23:11:26 +00:00
Jean-Philippe Lang 7abaa570c6 Fix for ruby1.9.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 22:53:53 +00:00
Jean-Philippe Lang 7409963c9a Fix for ruby1.9.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 20:11:08 +00:00
Jean-Philippe Lang 3d27bf5318 Adds export of all wiki pages to a PDF file (#3463).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:42:14 +00:00
Jean-Philippe Lang a749e788ab Adds bookmarks to PDF when exporting a grouped issue list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:01:47 +00:00
Jean-Philippe Lang 79b12c73d9 Display of multi custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:01:40 +00:00
Jean-Philippe Lang cd6db6a3cb Adds support for multiselect custom fields (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Toshi MARUYAMA 62fb6e0f4b pdf: move note number to the head of line for single issue's PDF (#9720)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 03:44:25 +00:00
Toshi MARUYAMA 3f79a914d9 pdf: add note number for single issue's PDF (#9720)
Contributed by Akiko T.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 07:34:52 +00:00
Toshi MARUYAMA 9dfaa562fc pdf: expand relational issues status column width of issue pdf (#5634)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 05:58:32 +00:00
Toshi MARUYAMA b200fcfdae pdf: add the new feature to include attachment images (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:12:00 +00:00
Toshi MARUYAMA 81bbb8f9b8 pdf: lib: prepare to use rfpdf plug-in rmagick feature (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:36 +00:00
Toshi MARUYAMA 1b4fc4aee8 pdf: lib: add "attachments" parameter at RDMwriteHTMLCell method (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:01 +00:00
Toshi MARUYAMA f936b7b5a4 pdf: lib: add the method to return attachment from filename and encoding (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 09:43:01 +00:00
Toshi MARUYAMA 1a576be384 pdf: lib: remove unused "include Redmine::I18n" from RDMPdfEncoding class
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 16:38:27 +00:00
Jean-Philippe Lang 886310055b Omit subtasks/related issues sections when empty on PDF export (#5634).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 13:36:30 +00:00
Toshi MARUYAMA c8bbcfbe47 pdf: lib: set image scale at issue_to_pdf method (#3261)
wiki_to_pdf method has already done.

Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 14:57:20 +00:00
Toshi MARUYAMA 8433bbab69 move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for common use (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 05:07:16 +00:00
Toshi MARUYAMA b58d029294 code layout clean up lib/redmine/export/pdf.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:02 +00:00
Toshi MARUYAMA 19fc985daa pdf: add subtasks and related issues at issue pdf (#5634)
Contributed by Bernhard Furtmueller and Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:18:02 +00:00
Toshi MARUYAMA c57a0842d6 pdf: add ancestor issues at head of issue pdf (#5634)
Contributed by Bernhard Furtmueller and Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:17:35 +00:00
Toshi MARUYAMA c4d9c29de9 pdf: remove unused "require 'rfpdf/fpdf'" (#8312)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:16:26 +00:00
Toshi MARUYAMA 9334d29520 pdf: indent subject of subtask ticket in exported issues PDF (#8617)
Contributed by Hayato Ito.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 10:10:24 +00:00
Toshi MARUYAMA 1713432ab0 pdf: lib: add a method to export wiki (#401)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:48:28 +00:00
Toshi MARUYAMA aede35d226 PDF: support textilized changeset comments (revision log) on issue (#69).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 13:54:27 +00:00
Toshi MARUYAMA ebdd9c6326 PDF: add revision number/id of associated revisions on issue PDF (#8738).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 07:37:19 +00:00
Toshi MARUYAMA 47ec67532b PDF: support textilized journal notes on issue (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 11:54:08 +00:00
Toshi MARUYAMA 139d401dc5 PDF: support textilized issue description on issue (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 11:53:36 +00:00