Collective.documentgenerator

Latest version: v3.43

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 15

2.0.5

Not secure
------------------

- Added easy way to complete infos returned by
`DocumentGeneratorLinksViewlet.get_links_info`.
[gbastien]
- Do `pod_template` and `output_format` directly available on the
`generation-view` and on the `document_generation_helper_view` via
`self.pod_template` and `self.output_format`.
[gbastien]
- Added migration to change portal types icons
[sgeulette]

2.0.4

Not secure
------------------

- Start and end libreoffice during test.
[sgeulette]
- Check if field_name from a behavior is present
[sgeulette]

2.0.3

Not secure
------------------

- When generating filename, remove special characters from unicoded title to
avoid it being turned to ascii numbers (special character `\u2013` is turned
to `2013` in the produced filename).
[gbastien]

2.0.2

Not secure
------------------

- Make sure we do not have `-` character in the filename that is cropped because
it is handled weridly by `cropName` and cut name if `-` encountered.
[gbastien]

2.0.1

Not secure
------------------

- Use `plone.i18n.normalizer.interfaces.IFileNameNormalizer` to normalize
filename because `Products.CMFPlone.utils.normalizeString` uses
`IIDNormalizer` for which max_length is fixed to 50. Here max_length is fixed
to 1023 so we may manage very long element title to generate filename.
[gbastien]
- Manage style_modification_md5 field to detect if the template has been modified by a user.
Updated update_templates method to use it.
[sgeulette]

2.0.0

Not secure
------------------

- Make package compatible with both Plone4 and Plone5 at the same time :
- Created Plone version specific profiles (plone4 and plone5);
- Removed support for AT in the Plone5 version;
- Adapted demo profile to work with Dexterity (plone.app.contenttypes).
[gbastien]
- Run every tests in 'french' so we are sure that translations work everywhere.
[gbastien]
- Added parameter `raiseOnError_for_non_managers` to be able to raise a Plone
error instead generating the document where errors are included. This avoid
generating a document containing errors where some data may be lost like in
PDF where errors are not viewable or even in ODT when users do not understand
that errors in comments are important. This will enable the `raiseOnError`
parameter of appy.pod.renderer.Renderer.
[gbastien]
- Call styles update at pod template creation
[sgeulette]
- Raise exception when style update fails
[sgeulette]
- Corrected mimetype of demo templates. Update style only for odt.
[sgeulette]

Page 11 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.