Plone.api

Latest version: v2.2.3

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

Scan your dependencies

Page 10 of 12

1.4

----------------

- plone.api.content.delete: add option check_linkintegrity. If True raise
exception if deleting would result in broken links.
[pbauer]

- plone.api.content.find: object_provides arguments accepts tuples.
Fixes 266.
[ale-rt]

- Fixed plone.api.content.create in Plone 5. Refs 160.
[jaroel]
- plone.api.content.transition: Now accepts kwargs that can be supplied to the workflow transition.
[neilferreira]

1.3.3

------------------

- plone.api.content.get_state now allows for an optional default value.
This is used when no workflow is defined for the object. Refs 246
[jaroel]

- plone.api.portal.get_registry_record now suggests look-alike records when no records is found. Refs 249.
[jaroel]

- Fixed tests for Plone 5. Refs 241.
[jaroel]

- Support Products.PrintingMailHost. Refs 228.
[jaroel]

- api.plone.org docs point to docs.plone.org/external/plone.api/docs/. Refs 202
[jaroel]

- plone.api.content.get_view no longer swallows exceptions.
[jaroel]

- Add plone.api.content.find. Refs 210
[jaroel]

- Make send_email compatible with Plone >= 5.0b2.
[pbauer]

- Use the source's parent as a target when no target is specified.
[jaroel]

- Make Products.Archetypes dependency optional. Fixes 197
[jaroel]

- Added local TOCS to main docs pages. Fixes 90.
[jaroel]

- Allow deleting multiple objects. Fixes 198
[jaroel]

- Fixed `make docs`.
[jaroel]

- Support Zope users in user.adopt_user. Fixes 171 and 157.
[jaroel]

- explicit dependencies in setup.py, explicit zcml loading in tests.
[jensens]

- import getToolByName from origin location
[jensens]

- overhaul of documentation: semantic linebreaks, few links fixed, minor
rewording.
[jensens]

- fix ``revoke_roles`` method: now if is't called with obj parameter,
it doesn't set inherited roles locally.
[cekk]

1.3.2

------------------

- fixes 190 - broken ``MANIFEST.in``.
[jensens]

1.3.1

------------------

- Resolves issues with ``README.rst`` symlink that prevented 1.3.0 from
being installed. And please never ever in future use symlinks in eggs, ok?
[jensens]

1.3.0

------------------

- Fixes 184 NameChooser on rename used the wrong way and fails on
safe_id=True.
[benniboy]

- Clarified documentation for content.copy, refs 185.
[benniboy]

- Fixes if a content is copied in the same folder or in a target folder, where
same source id exists, the existing source(same folder) or third object
(same id as source) gets renamed instead of the target.
[benniboy]

- Use getUserById to find the user when given a User object in adopt_user.
[tschanzt]

- Made ``api.portal.get_localized_time`` also work with datetime.date.
[nightmarebadger]

- Raise better/expected errors in ``api.user.grant_roles`` and
``api.user.revoke_roles``.
[adamcheasley]

- Add ``api.user.has_permission`` ref 172.
[adamcheasley]

1.2.1

------------------

- Resolve issues with CHANGES.rst symlink that prevented 1.2.0 from
being installed in some circumstances.
[mattss]

Page 10 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.