Skip to main content

A directory of people for (government) agencies.

Project description

Installation

  1. Use Plone 4.3 or newer

extends =
    http://dist.plone.org/release/4.3/versions.cfg
  1. Add the module to your instance eggs

[instance]
eggs +=
    seantis.agencies
  1. Ensure that the i18n files are compiled by adding

[instance]
...
environment-vars =
    ...
    zope_i18n_compile_mo_files true
  1. Install seantis.agencies under add-ons in the control panel

Views

pdf

Called on a organization or on the site root.

Creates a PDF of the current organization and sub-organizations with portrait and memberships. Redirects to the file if it already exists. If called on the site root, a table of contents is included.

Use force (/pdf?force=1) to force the creation of the PDF.

pdfexport-agencies

Called on the site root.

Exports - scheduled at 0:30 am - 1) all organizations and sub-organizations with memberships to a PDF located at the root, 2) a PDF for each organization.

Use force (/pdfexport-agencies?force=1) to bypass the scheduler and to force the creation of the PDFs.

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

seantis.agencies is released under GPLv2

Changelog

0.8.2 (2015-05-11)

  • Optimise page breaks in PDF. [msom]

0.8.1 (2015-05-04)

  • Change row widths in PDF. [msom]

0.8 (2015-05-03)

  • Add start of membership to PDF. [msom]

  • Remove more unprocessable tags in organization portrait for PDF generation. [msom]

  • Only use unrestricted for saving/deleting the PDF file. [msom]

  • Change row widths in PDF. [msom]

  • Optimize event handling when renaming organizations. [msom]

0.7.1 (2015-04-08)

  • Reduce querying objects in nightly PDF export. Updates #12.

0.7 (2015-03-31)

  • Make exported fields selectable. Implements #15. [msom]

  • Display memberships in person detail view at the bottom. [msom]

0.6.3 (2015-03-16)

  • Use a more robust way to implement the last upgrade step. [msom]

0.6.2 (2015-03-16)

  • Update memberships if the parent folder has changed. Fixes #11 [msom]

  • Improve PDF export: Add a add view, use transaction savepoints, decrease CPU usage. Updates #7 [msom]

0.6.1 (2015-03-09)

  • Don’t support multiple instances for PDF export for now. [msom]

0.6 (2015-03-09)

  • Export the PDFs nightly using the clock server. Implements #7 [msom]

  • Use unicode_collate_sortkey in membership sorting. Fixes #8 [msom]

0.5.1 (2015-03-02)

  • Show portrait and memberships of root organizations in PDF. Fixes #6.

0.5 (2015-02-26)

  • Add Option to Organization for how to Display Memberships #5. [msom]

  • Change column widths of membership tables in PDF. [msom]

  • Add PDF Export View to Organization #4. [msom]

0.4 (2015-02-24)

  • Limit the visible levels in the table of contents of the PDF. [msom]

  • Use less page breaks in the PDF. [msom]

  • Fix displaying memberships with deleted members. [msom]

0.3 (2015-02-09)

  • Use a more uncommon separator in XLS import/export. [msom]

  • Add data migration script. [msom]

  • Add tests. [msom]

  • Update bootstrap and setuptools. [msom]

0.2 (2015-01-21)

0.1 (2014-12-04)

  • Initial release. [msom]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seantis.agencies-0.8.2.tar.gz (34.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page