Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

senaite.impress

Publication of HTML/PDF Reports in SENAITE

https://img.shields.io/pypi/v/senaite.impress.svg?style=flat-square https://img.shields.io/github/issues-pr/senaite/senaite.impress.svg?style=flat-square https://img.shields.io/github/issues/senaite/senaite.impress.svg?style=flat-square https://img.shields.io/badge/README-GitHub-blue.svg?style=flat-square https://img.shields.io/badge/Built%20with-%E2%9D%A4-red.svg https://img.shields.io/badge/Made%20for%20SENAITE-%E2%AC%A1-lightgrey.svg

About

SENAITE IMPRESS is basically a rendering engine for HTML documents to PDF. It supports any kind of international paperformat with their corresponding paper dimensions, portrait and landscape orientation and merging of multiple PDFs to one document.

Installation

Please follow the installations instructions for Plone 4 and senaite.lims.

To install SENAITE IMPRESS, you have to add senaite.impress into the eggs list inside the [buildout] section of your buildout.cfg:

[buildout]
parts =
    instance
extends =
    http://dist.plone.org/release/4.3.19/versions.cfg
find-links =
    http://dist.plone.org/release/4.3.19
    http://dist.plone.org/thirdparty
eggs =
    Plone
    Pillow
    senaite.lims
    senaite.impress
zcml =

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 127.0.0.1:8080
eggs =
    ${buildout:eggs}
zcml =
    ${buildout:zcml}

[versions]
setuptools =
zc.buildout =

Note

The above example works for the buildout created by the unified installer. If you however have a custom buildout you might need to add the egg to the eggs list in the [instance] section rather than adding it in the [buildout] section.

Also see this section of the Plone documentation for further details: https://docs.plone.org/4/en/manage/installing/installing_addons.html

Important

For the changes to take effect you need to re-run buildout from your console:

bin/buildout

Installation Requirements

The following versions are required for SENAITE IMPRESS:

  • Plone 4.3.19

  • senaite.lims >= 1.3.0

Changelog

1.2.4 (2020-08-05)

  • #96 Remove call to getObjectWorkflowStates (in is_provisional func)

  • #91 Fix infinite recursion when calling print/publish view w/o items parameter

  • #89 PDF Print View

  • #88 Support context aware report controller views

1.2.3 (2020-03-01)

  • #86 Allow request parameter overrides for template, orientation and paperformat

1.2.2 (2019-10-26)

  • #83: Handle None values in decorator more gracefully

  • #82: Fix Date Published is empty on MultiDefault report

  • #81: Rebuild JavaScript bundle with new versions

  • #80: Update Bootstrap CSS to version 4.3.1

  • #79: Use senaite.core.api instead of senaite.api

  • #78: Fix template error on missing lab address data

1.2.1 (2019-07-01)

  • #75: Conflict safe concurrent report creation

  • #71: Implemented storage adapter

  • #73: Extend README wrt ‘Reports in external packages’

  • #66: Fix Publication Preference Traceback with Default template

  • #68: Fix empty Date Published on Default report

1.2.0 (2019-03-30)

  • #64: Fix Rejected AS are shown in the PDF Report

  • #62: Better error message handling

  • #57: SENAITE CORE integration

  • #52: Use the most recent AR as the primary storage

  • #48: Fix PDF storage in primary AR when “Store Multi-Report PDFs Individually” option is turned off

1.1.0 (2018-10-04)

  • #44: Changed field ChildAnalysisRequest -> Retest

  • #42: Combine Attachments coming from Request and Analysis together for unified grouping/sorting

  • #41: Default reports update

  • #40: Customizable report options

  • #37: Added hyphenize and get_transition_date helper methods

  • #36: Allow JS injection and custom report scripts

  • #34: Pass through the calculated dimensions to the template

  • #33: Include D3JS and support for Range Graphs

  • #32: Added language selector

  • #31: Fix sort order of uniquified items

  • #30: Keep order of grouped items

  • #29: Added report developer mode

  • #28: Fixed i18n domain for time localization

  • #27: Refactored Report Adapters to Multi Adapters

  • #25: Added controlpanel descriptions

  • #24: Control individual report generation for multi-report PDFs

  • #23: Fixed multi client report handling

  • #21: Improved email template

  • #19: Allow additional attachments in publication email

  • #18: Fixed barcode rendering in multi-colum report

  • #17: Fix alert section overlapping of the header section

  • #16: Fix unicode error in sort method

  • #15: Handle commas in recipient email name better

  • #13: Fix bootstrap columns CSS for WeasyPrint

  • #12: Added upgrade-step machinery

  • #11: Refactored to ReportModel -> SuperModel

1.0.2 (2018-07-10)

  • #8: Better Print CSS

  • #7: Correct margin calculation

  • #6: Updated default report templates

1.0.1 (2018-06-23)

  • Pinned senaite.api>=1.2.0

  • Updated PyPI page

1.0.0 (2018-06-23)

  • Initial Release

Release files for valer.impress 1.2.4rc17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for valer.impress 1.2.4rc17
File Size Uploaded
valer.impress-1.2.4rc17.zip 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for valer.impress 1.2.4rc17
File Interpreter ABI Platform
valer.impress-1.2.4rc17-py2-none-any.whl Python 2 none any Details

Total release size: 2.2 MB

Release files / valer.impress-1.2.4rc17.zip

Download URL valer.impress-1.2.4rc17.zip
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
7abaf05f57588bca5b962c458ae97c4532b6e47d3b68fd3fac7a30488270518e
BLAKE2b-256 checksum
How to use checksums
9e4d5395fcd5c162fe66c392d343ed49f16347497a308e4d939f156da4153dfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.6.1 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.17

Release files / valer.impress-1.2.4rc17-py2-none-any.whl

Download URL valer.impress-1.2.4rc17-py2-none-any.whl
Size 1.1 MB
Tags Python 2
SHA-256 checksum
How to use checksums
43ada81f23aab989d5b9732dda01068c74513e22ffd95b96568cdc4f9590e674
BLAKE2b-256 checksum
How to use checksums
08b6133bae905e23c2957ecb4b78a44984b375f359e9128717e9013967f29315
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.6.1 requests/2.25.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.17
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page