Plone-api

Latest version: v1.11.0

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

Scan your dependencies

Page 4 of 8

1.6

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

New features:

- Passing inherit=False to groups.get_roles() will only get local roles for the group.
[pbauer]

Bug fixes:

- Support user.get_roles for anonymous users. Refs 339
[jaroel]

- Fix imports from Globals that was removed in Zope4
[pbauer]

- Fix 'bad' quotes.
[adamcheasley]

- Typo in the documentation.
[ale-rt]

- Fix error in tests that try to add built-in roles, which no longer fails
silently in Zope4.
[MatthewWilkes]

- Do not reassign global roles as local roles when using group.grant_roles()
[pbauer]

- reST syntax in documentation, follow style-guide, adjust setup.py
[svx]

- Do not reassign dynamic roles as local roles when using group.grant_roles().
[pbauer]

1.5.1

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

New:

- `api.portal.get_registry_record` supports an optional `default` parameter
[ale-rt]

Fixes:

- Fix translation related tests to use the ``plonelocales`` domain instead ``passwordresettool``.
Products.PasswordResetTool was removed in Plone 5.1.
[thet]

- Allow plone.api.group.get_groups for Anonymous user. Refs 290
[jaroel]

- Allow adopting to a Special User. Fixes 320 - checking permissions for Anonymous User.
[jaroel]

- Fix an AttributeError in `api.user.revoke_roles`
[ale-rt]

- Remove print statements and use security decorators to make
code-analysis happy.
[ale-rt]

- Typo in the documentation.
[ale-rt]

- Fix travis and coveralls.
[gforcada]

- Various wording tweaks
[tkimnguyen]

- In api.content.move if source **and** target are specified and target is already
source parent, skip the operation.

- Fix test
[gforcada]

- Fix PRINTINGMAILHOST_ENABLED evaluation to respect Products.PrintingMailHost
internal logic
[ale-rt]

1.5

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

New:

- Add `portal.translate`
[ebrehault]

- Add `portal.get_default_language` and `portal.get_current_language`
[ebrehault]

Fixes:

- Fix ``test_zope_version`` test to be able to deal with development versions of Zope.
[thet]

- Remove the Plone APIs conventions. They are moved to
http://docs.plone.org/develop/styleguide
and http://docs.plone.org/develop/coredev/docs/git.html
[thet]

- Cleanup code to match Plone's style guide.
[gforcada]

- Fix corner case on content.transition code: if a transition only has
exit transitions and no transition goes back to it ``find_path`` will fail.
[gforcada]

- Handle automatic transitions on api.content.transition.
[gforcada]

1.4.11

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

New:

- Allow to set/get registry settings from an interface.
https://github.com/plone/plone.api/issues/269
[gforcada]

1.4.10

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

Fixes:

- Rerelease, as 1.4.9 misses the doctests directory.
[maurits]

1.4.9

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

Fixes:

- 283 portal.send_email does not respect transaction aborts
[jensens]

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.