Skip to content

Latest commit

 

History

History
175 lines (119 loc) · 4.23 KB

CHANGES.rst

File metadata and controls

175 lines (119 loc) · 4.23 KB
orphan

Changes

1.0.0-rc.2 (unreleased)

  • Add plone.recipe.codeanalysis to our buildout. [flohcim]
  • Make all assertRaise() calls use the with keyword. [winstonf88]
  • Amend user.get method to accept a userid parameter, refs #112. [cewing, xiru, winstonf88]

    Note

    this change fixes a bug in the earlier implementation that could cause errors in some situations. This situation will only arise if the userid and username for a user are not the same. If membrane is being used for content-based user objects, or if email-as-login is enabled and a user has changed their email address this will be the case. In the previous implementation the username parameter was implicitly being treated as userid. The new implementation does not do so. If consumer code is relying on this bug and passing userid, and if that code uses the username parameter as a keyword parameter, then lookup will fail. In all other cases, there should be no difference.

  • Add api.env.debug_mode(), refs #125. [sdelcourt]
  • Move most of text from docs/index.rst to README.rst so its also visible on PyPI and GitHub. [zupo]
  • Deprecate plone.api on ReadTheDocs and redirect to api.plone.org, refs #130. [wormj, zupo]
  • Add a new make coverage command and add support for posting coverage to Coveralls.io. [zupo]
  • Make api.content.create() also print out the underlying error, refs #118. [winston88]
  • Fix api.content.copy() without target parameter, refs #115. [rodfersou]
  • Make Travis IRC notification message to be one-line instead of three-lines. [zupo]
  • More examples of good and bad code blocks in documentation, more information on how to write good docstrings. [zupo]
  • Prefer single quotes over double quotes in code style. [zupo]
  • New bootstrap.py to stay in the land of zc.buildout 1.x. [zupo]
  • Package now includes a copy of the GPLv2 license as stated in the GNU General Public License documentation. [hvelarde]
  • Fixed copying folderish objects. [pingviini]
  • Fixed moving folderish objects. [pingviini]

1.0.0-rc.1 (2013-01-27)

  • Increase test coverage. [cillianderoiste, JessN, reinhardt, zupo]
  • Implementation of api.env.adopt_roles() context manager for temporarily switching roles inside a block. [RichyB]
  • Created api.env module for interacting with global environment. [RichyB]
  • Decorators for defining constraints on api methods. Depend on decorator package. [JessN]
  • Resolved #61: Improve api.portal.get(). [cillianderoiste]
  • Use plone.api methods in plone.api codebase. [zupo]
  • Switch to flake8 instead of pep8+`pyflakes`. [zupo]
  • Get the portal path with absolute_url_path. [cillianderoiste]
  • Travis build speed-ups. [zupo]
  • Support for Python 2.6. [RichyB, zupo]
  • Support for Plone 4.0. [adamcheasley]
  • Support for Plone 4.3. [cillianderoiste, zupo]
  • Spelling fixes. [adamtheturtle]
  • Make get_view and get_tool tests not have hardcoded list of all expected values. [RichyB, cillianderoiste]
  • Code Style Guide. [iElectric, cillianderoiste, marciomazza, RichyB, thet, zupo]
  • Depend on manuel in setup.py. [zupo]
  • Documentation how to get/set member properties. [zupo]
  • Improvements to get_registry_record. [zupo]

0.1b1 (2012-10-23)

  • Contributors guide and style guide. [zupo]
  • Enforce PEP257 for docstrings. [zupo]
  • Fix get_navigation_root() to return object instead of path. [pbauer]
  • Implementation of get_permissions(), get_roles(), grant_roles() and revoke roles() for users and groups. [rudaporto, xiru]
  • Implementation of get_registry_record and set_registry_record. [pbauer]
  • Use Makefile to build the project, run tests, generate documentation, etc. [witsch]
  • Moving all ReadTheDocs dependencies into rtd_requirements.txt. [zupo]

0.1a2 (2012-09-03)

  • Updated release, adding new features, test coverage, cleanup & refactor. [hvelarde, avelino, ericof, jpgimenez, xiru, macagua, zupo]

0.1a1 (2012-07-13)

  • Initial release. [davisagli, fulv, iElectric, jcerjak, jonstahl, kcleong, mauritsvanrees, wamdam, witsch, zupo]