Changelogs » Eea.converter

PyUp Safety actively tracks 266,461 Python packages for vulnerabilities and notifies you when to upgrade.



  * Bug fix: use title from pdf parsing instead of the data coming from pypdf2
  getDocumentInfo method as that method will wrongly encode an mdash found
  in the title when parsing pdf to get it's metadata
  [ichim-david refs 116365]


  * Feature: Support zoom level and aspect ratio for SVG image conversion
  [avoinea refs 109515]


  * Jenkins: Add sonarqube step
  [avoinea refs 101552]


  * Change: Revert cover colorspace to sRGB
  [avoinea refs 101483]


  * Change: Update cover colorspace to CMYK to work with ghostscript 9.26+
  [avoinea refs 99812]


  * Feature: Use rsvg-convert to convert SVG to PNG or fallback to ImageMagick
  [avoinea refs 97843]


  * Change: Update to wkhtmltopdf 0.12.4 (add ----disable-smart-shrinking option)
  [avoinea refs 97586]
  * Change: updated URLs pointing to with https://
  [alecghica refs 95849]
  * Change: fix tests to run on Plone 4.3.17
  [alecghica refs 96974]


  * Change: Possibility to group download info within AsyncInfo wrapper


  * Change: Replace eeacms/zptlint with eeacms/plone-test:4 zptlint
  [avoinea refs 90415]


  * Change: Remove Sphinx generated documentation
  [petchesi-iulian refs 88212]
  * Change: improved logging
  [alecghica refs 88578]


  * Change: Remove hard-dependency on plone.stringinterp
  * Bug fix: Fixed imagemagick convert command, added colorspace parameter
  and page number parameter
  [zoltan_andras refs 85638]


  * Change: fixed PyLint warnings and errors
  [valipod refs 84949]


  * Change: fixed PyLint warnings and errors
  [eduard-fironda refs 84949]


  * Change: removed pdf.header title values if we print within collection.pdf.body
  since printing multiple pages will result in wrong title as soon as we print
  the next object
  [ichim-david refs 84084]


  * Change: updated package information


  * Bug fix: fixed pdf.footer and pdf.header title enconding issues,
  when subpage has content that needed to be escaped
  [ichim-david refs 80861]


  * Bug fix: Remove hard dependency to CMFPlone introduced in v11.2


  * Feature: added internationalization on "Contents" appearing in PDF TOC


  * Feature: Added pdf_custom_fixes to in case this template would need
  custom css fixes
  [ichim-david refs 78802]


  * Change: changed styling of pdf.toc headers
  [ichim-david refs 77476]


  * Bug fix: Fixed regression bug introduced within version 10.8 about
  custom Content-Rules string substitions defined by this package.
  [voineali refs 77581]


  * Change: Use IContextWrapper from plone.stringinterp intead of custom one


  * Change: pylint fixes
  [ichim-david refs 71940]


  * Cleanup: Cleanup pdftk specific code
  * Bug fix: Warn if EEACONVERTER_TEMP is not set and fallback to CLIENT_HOME/tmp
  instead of crashing entire application


  * Bug fix: in the "Contents" section, avoid the text to split between pages
  [danielm-gh refs 67840]


  * Bug fix: text (country names) in the "Contents" section doesn't split between
  [danielm-gh refs 67840]


  * Change: Fixed wkhtmltox dependency on centos
  [voineali refs 31324]


  * Change: Added system depenedencies within
  [voineali refs 27406]


  * Bug Fix; add -flatten option to fix 28943. It's prevent transparence cover
  [lucas refs 28943]


  * Feature: Added utility to update PDF metadata. Moved from eea.reports
  [voineali refs 28522]
  * Feature: Added utility to extract metadata from PDF. Moved from eea.reports
  [voineali refs 28522]
  * Feature: Added utility to extract cover image from PDF. Moved from eea.reports
  [voineali refs 28522]
  * Change: Drop pdftk dependency and use pure Python PyPDF2 package
  [voineali refs 28522]


  * Change: added pdf_custom_fixes.css loaded by pdf.header and pdf.footer
  in case there is a need for quickfixes
  [ichimdav refs 27537]
  * Bug fix: fixed pdf.footer title and page number when used on indicators
  [ichimdav refs 27537]


  * Change: modified styles in order to avoid page break when
  outputting the list items with the toc entries
  [ichimdav refs 27475]
  * Bug fix: Update modification time for exported PDF/ePub files in order for
  the cleanup cron-job to know not to delete PDFs/ePubs files that
  were recently requested.
  [voineali refs 27513]


  * Bug fix: Keep Job within for backward compatibility
  [voineali refs 25755]


  * Change: changed footer and header templates in order to preserve template
  logic when using static headers and footer
  [ichimdav refs 23904]


  * Feature: added the possibility to limit the header tags that appear within
  the table of contents
  [ichimdav refs 24351]


  * Change: Switched to curl in the jenkins builds install script
  [olimpiurob refs 22402]
  * Change: Changed fetch url for jenkins builds install script to the install
  script from the main EEA CPB repository
  [olimpiurob refs 22402]


  * Bug fix: Fixed UnicodeDecodeError within download.pdf template
  [voineali refs 23338]
  * Cleanup: Remove deprecated **make_pdf_cover** from download.pdf
  [voineali refs 22971]
  * Change: Moved async API from eea.pdf to eea.converter in order to reuse it
  for other async jobs (e.g. eea.epub)
  [voineali refs 22971]


  * Feature: Update ISupport API with async and email methods
  [voineali refs 22971]
  * Feature: Added possibility to use specific ZPT macro while exporting PDF body
  (e.g. content-core)
  [voineali refs 22686]


  * Bug fix: Use *with* statement with temporary files in order to ensure that they
  are safely closed before exit
  [voineali refs 22080]
  * Bug fix: While creating authentication cookie-jar, also be aware of
  CDN resources
  [voineali refs 22080]


  * Bug fix: Added possibility to define shared temporary directory using os.env
  EEACONVERTER_TEMP in order to avoid surprises while using together with zc.async
  [voineali refs 21958]


  * Bug fix: Fixed duplicate cookies when printing collection header/footer by
  using wkhtmltopdf more stable --cookie-jar option than --cookie. This also
  fixed blank page at the beginning of PDF introduced in previous version
  [voineali refs 21958]


  * Bug fix: Fixed table of contents page alignment
  [voineali refs 21628]
  * Bug fix: Fixed duplicate cookies when printing collection header/footer
  [voineali refs 21628]


  * Bug fix: Protect against random wkhtmltopdf Segmentation fault errors and
  retry 3 times to re-generate PDF
  [voineali refs 21149]


  * Change: Prefix temporary files with package name: eea.converter.
  [voineali refs 21100]


  * Feature: Possibility to run a PDF conversion job in safe mode (default) or not
  (raise all errors)
  [voineali refs 20845]
  * Change: Changed download.pdf API in order to allow dry-run used by async jobs
  [voineali refs 20843]
  * Change: Made accessible from URL
  [voineali refs 20846]


  * Bug fix: Align PDF Table of Contents trailing dotted with page number
  [voineali refs 20431]
  * Bug fix: Fix long PDF header and footer texts and align left or right
  according with page parity
  [voineali refs 20431]
  * Feature: Added i18n translations
  [voineali refs 20431]
  * Feature: Added possibility to avoid truncated sentences in description
  [voineali refs 20456]
  * Feature: Enabled javascript by default within PDF export.
  [voineali refs 20459]
  * Feature: Added API to restrict access to download.pdf
  [voineali refs 20436]


  * Feature: Added Table of Contents support
  [voineali refs 20268]
  * Cleanup: Remove collective.sendaspdf dependency
  [voineali refs 20268]


  * Feature: Added PDF Back Cover support
  [voineali refs 19882]
  * Feature: Added PDF Disclaimer support (the first page after cover containing
  author details and copyrights)
  [voineali refs 19882]


  * Bug fix: Do not add table of content on PDF cover
  [voineali refs 18630]
  * Change: pass a doctype to the header pdf template in order to workaround
  wkhtmltopdf 0.12 issue which fails to insert the header without it
  [ichim-david refs 18550]


  * Bug fix: removed wrongly added blockquotes within README.rst
  [ichim-david refs 18064]
  * Feature: adding Sphinx-generated documentation in Page Template format
  [batradav refs 9502]


  * Bug fix: return first page on pdf to image conversion; refactor cover
  [simiamih refs 16799]


  * Feature: Added utility method to truncate text by the number of characters
  without cutting words at the end
  [voineali refs 16946]
  * Feature: Added utility method to convert relative urls to absolute urls
  [voineali refs 16946]


  * Bug fix: Fixed PDF cover asking for credentials for non-published documents
  [voineali refs 14904]
  * Feature: Added custom PDF html-header and html-footer in order to easily
  customize them (just override pdf.header and pdf.footer for your contexts)
  [voineali refs 16802]


  * Feature: Export HTML to PDF with custom cover (requires collective.sendaspdf)
  [voineali refs 14904]


  * Feature: added information for contributors
  [ciobabog refs 13892]
  * Add Windows support for close_fds parameter of Popen
  [erral 1]


  * Fixed dependencies, cleanup and make the package run on a clean Zope
  [ghicaale 5426]


  * Added watermark utility


  * Initial release