Skip to main content

A directory of people for (government) agencies.

Project description

https://img.shields.io/pypi/v/seantis.agencies.svg https://travis-ci.org/seantis/seantis.agencies.png?branch=master https://coveralls.io/repos/seantis/seantis.agencies/badge.png?branch=master

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.

License

seantis.agencies is released under GPLv2

Changelog

0.10 (2015-12-14)

  • Add actions for PDFs #9. [msom]

  • Replace internal with external links in the PDFs #20. [msom]

  • Add organigrams to organizations. [msom]

0.9.1 (2015-11-13)

  • Fix CSRF issue on PDF generation. [msom]

0.9 (2015-06-23)

  • Add new export field. [msom]

  • Add postfix to membership. [msom]

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.10.tar.gz (33.9 kB view details)

Uploaded Source

File details

Details for the file seantis.agencies-0.10.tar.gz.

File metadata

File hashes

Hashes for seantis.agencies-0.10.tar.gz
Algorithm Hash digest
SHA256 62b0ad8164d01c41627061d26a6a46186edc86756b924edccd810e6367485035
MD5 5d6b72312d6e790b62471d766c4fab45
BLAKE2b-256 8502b858322ad1e6aebba43ef8eeeaa7489f99b3bea42716c12f746f7a7927fa

See more details on using hashes here.

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