Opened 9 years ago

Closed 9 years ago

#810 closed enhancement (fixed)

Gene report combiner plug-in should be able to combine to a zip file

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v3.7
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

The current version of the "Gene report combiner" plug-in takes the pdf files from several raw bioassays and combine them to a single pdf. This is convenient when the aim is to print all of them, but not if the aim is to send them to multiple external partners (eg sites).

In this case it would be better to combine the pdf files simply by putting them as separate files inside as zip file.

Change History (7)

comment:1 by Nicklas Nordborg, 9 years ago

Status: newassigned

comment:2 by Nicklas Nordborg, 9 years ago

(In [3498]) References #810: Gene report combiner plug-in should be able to combine to a zip file

The plug-in now has support for combining to a single PDF or to a ZIP file. Other formats should be relatively easy to implement.

Preparations for allowing the combiner to combine any report has been made. Actually, by manually changing the file name to something else (eg. pilotreport.pdf) it is already possible to do so. But this should probably be implemented as different configurations to make it easier to use.

comment:3 by Nicklas Nordborg, 9 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by Nicklas Nordborg, 9 years ago

Resolution: fixed
Status: closedreopened

Re-opening this ticket in order to add support for password-protected zip files.

comment:5 by Nicklas Nordborg, 9 years ago

(In [3563]) References #810: Gene report combiner plug-in should be able to combine to a zip file

Added support for creating password-protected encrypted zip files. Uses Zip4j library (http://www.lingala.net/zip4j/index.php) for creating the zip files, since the standard java API has no support for encryption.

comment:6 by Nicklas Nordborg, 9 years ago

(In [3566]) References #810: Gene report combiner plug-in should be able to combine to a zip file

Added support for combining to a password-protected encrypted PDF file and for combining encrypted PDF files to an unencrypted ZIP file. Uses Bouncy Castle (https://www.bouncycastle.org/java.html) for encrypting the PDF files since that is what iText PDF requires.

comment:7 by Nicklas Nordborg, 9 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.