.. This file should contain the changes for the last release only, which
   will be included on the package's page on pypi. All older entries are
   kept in HISTORY.txt

Changelog
=========

4.1rc2 - 2011-05-21
-------------------

- Fixed PloneBatch class to handle limited result sets correctly. This closes
  http://dev.plone.org/plone/ticket/11733.
  [hannosch]

- Hide datepicker icon for date widget if plone.jscalendar is not loaded.
  Fixes #11831.
  [smcmahon]

4.1rc1 - 2011-05-20
-------------------

- Make folder_listing filter on @@portal_state/friendly_types when applied to
  a container. (Add portal_types to site_properties types_not_to_list to
  exclude them from friendly_types.)
  [elro]

- Error handling for folder_full_view_item so items using a BrowserView render
  a link instead of causing an error.
  [elro]

- Refactor dragdropreorder.js and folder_moveitem to detect client/server
  ordering mismatches and be more robust in event of mousing out of the table
  rows.
  [elro]

- Add forward compatibility with DateTime 3.
  [hannosch]

- Added a new interface blacklist to the `CatalogTool` module. Items in this
  list won't be indexed in the object_provides index. This saves about 1kb of
  mostly useless data to be stored per object. If you need to query on one of
  the blacklisted interfaces, consider using other indexes to get a small
  result set and then checking the actual objects or add a specialized index
  for the data you are interested in. Also changed the stored value to a tuple
  to safe some memory overhead of the list type.
  [hannosch]

- Optimize images and icon file sizes.
  [hannosch]

- Fix the event_view to refer to the `icon_export_*` images relative to the
  portal and not the current context.
  [hannosch]

- Text on login success page uses navigation root title instead of portal title.
  Refs http://dev.plone.org/plone/ticket/9175.
  [thomasdesvenain]

- Let the content import step (importing the site structure) not
  depend on plone-final but on typeinfo.  Solves circular dependency.
  Refs http://dev.plone.org/plone/ticket/8350
  [maurits]

- Set Content-Language header to default language when content language is an
  empty string.
  [elro]

- Change csrf patch to apply to MemberAdapter instead of MemberData when using
  CMF 2.3.
  [elro]

- CMFCore registers a memberdata export/import handler in 2.3, so make our
  registration conditional.
  [elro]

- Remove `previous` sub-collection from default content, as sub-collections are
  not enabled by default since Plone 4.0 and having one in the default content
  is confusing. Closes http://dev.plone.org/plone/ticket/10705.
  [hannosch]

- Fix zope.sendmail patch to raise errors for immediate sending failures.
  Relates to http://dev.plone.org/plone/ticket/10675.
  [elro]

- Sort on content title ignores accents.
  So, d < é < f.
  [thomasdesvenain]

- Expose the query report and plan on the catalog tool.
  [hannosch]

- Optimize the data indexed by the `allowedRolesAndUsers` index and the query
  performed against it.
  [hannosch]

- Fix cicular dependency in import steps.
  This partially fixes http://dev.plone.org/plone/ticket/8350
  [kiorky]

4.1b2 - 2011-04-06
------------------

- Fix bug in formUnload.js where changes to select option lists without a
  default were incorrectly detected (javascript indexes from 0, not 1.)
  [elro]

- Added "rss" alias to "RSS".
  This fixes https://dev.plone.org/plone/ticket/11638.
  [gotcha]

- Fixed: "showing field with error is broken in edit view"
  This fixes https://dev.plone.org/plone/ticket/11686.
  [gotcha]

- Fixed: "missing required icon in tabs in edit view"
  This fixes https://dev.plone.org/plone/ticket/11685.
  [gotcha]

- Make wicked an optional dependency. (It is still pulled in by the Plone
  distribution.)
  [davisagli]

- Fix import of RoleManager to avoid deprecation warning.
  [davisagli]

- Update MigrationTool.getSoftwareVersion to return Products.CMFPlone version.
  [elro]

4.1b1 - 2011-03-06
------------------

- Remove useless trailing slash in 404.
  This fixes http://dev.plone.org/plone/ticket/11550
  [gotcha]

- Remove invocation of do_search_collapse from advanced search form.
  It caused the function to run twice, making collapsibles wink
  rather than open. Fixes http://dev.plone.org/plone/ticket/11565
  [smcmahon]

- Use correct argument order in utranslate.py script.
  This fixes http://dev.plone.org/plone/ticket/10395
  [fRiSi]

- Add missing security declarations on PropertiesTool.
  [davisagli]

4.1a3 - 2011-02-14
------------------

- Discontinue tagging plone_3rd party as a separate external.
  [esteele]

4.1a2 - 2011-02-10
------------------

- On search form don't show list of users when anonymous
  unless explicitly allowed in @@security-controlpanel.
  Fixes http://dev.plone.org/plone/ticket/11346
  [msmith64]

- Add fallback icon for control panels with no icon, in the portlet_prefs
  portlet. This fixes http://dev.plone.org/plone/tickets/11112.
  [topherh, davisagli]

- Use the new optimized BooleanIndex for the `is_default_page` and
  `is_folderish` indexes and the new `UUIDIndex` for the `UID` index.
  [hannosch]

- Remove js-generated inline style from searchbox. Same CSS is in public.css.
  Fixes http://dev.plone.org/plone/tickets/11186.
  [msmith64]

- Use nocall: when getting the @@sitemap_view in sitemap.pt.
  [elro]

- Hide plone.app.registry, z3c.form as an add-on options from the
  @@plone-addsite view, quickinstaller.
  [esteele]

- Merge in PLIP #9288: Improved commenting infrastructure. Refs
  http://dev.plone.org/plone/ticket/9288
  [timo]

- Fixed handling of relative links used as default pages
  http://dev.plone.org/plone/ticket/11340
  [fRiSi]

4.1a1 - 2011-01-18
------------------

- Removing unused import from testCatalogTool.
  [thet]

- Alphabetical ordering of metadata.xml dependencies.
  [thet]

- Using tom gross' improved and tested safeToInt version.
  [tom_gross, thet]

- Move PlacefulWorkflow, kupu, iterate and openid to Plone egg dependencies.
  [elro]

- Depend on plone.app.uuid for indexing content UUIDs.
  [toutpt, davisagli]

- Added ++resource++blank.html, a building block for cross-domain iframe
  communication (e.g. with Disqus.)
  [elro]

- Added iframe option for single sign on login templates.
  [elro]

- Removed duplicate code in login templates.
  [elro]

- Added ajax_include_head request parameter for use with cross domain iframe.
  [elro]

- Single Sign On support in login forms.
  [elro]

- Refactored ``URLTool.isURLInPortal``, adding ``allow_external_login_sites``
  property to ``site_properties`` for external sites considered to be internal
  for the purposes of logging in.
  [elro]

- Improve table sort of 'listing' class tables. We can use a sortabledata-xxxx
  class in a cell (td) where xxxx is a sortable data value, then, sort uses xxxx
  value to compare cell values, instead of td text content.
  Refs http://dev.plone.org/plone/ticket10809
  [thomasdesvenain]

- Merge in PLIP #10901: Set and enforce base coding standards for our own
  JavaScript. Refs http://dev.plone.org/plone/ticket/10901
  [esteele]

- Removed IOrderedContainer-implementation from PloneFolder in favour
  of implementation in OFS.OrderSupport
  [tom_gross]

- Renamed package to `Products.CMFPlone`.
  [elro]

- Deprecated the following scripts that are only used by deprecated templates.
  These will be removed in Plone 5: prefs_group_edit.py,
  prefs_valid_search_restriction.py, prefs_user_group_search.py,
  prefs_portrait_delete.py.
  [davisagli]

- Replaced the prefs_group_details.pt template with a browser view in
  plone.app.controlpanel. Ss a side effect this means group creation is now
  protected by the Plone Users and Groups control panel permission, rather than
  the CMF Manage Groups permission.
  [davisagli]

- Turn plone_control_panel.pt into a deprecated alias for the
  @@overview-controlpanel view from plone.app.controlpanel.
  [davisagli]

- Protect most control panels with specific permissions instead of the generic
  "Manage portal".
  [davisagli]

- Configure the Site Administrator role in the default rolemap and workflows.
  This role is intended for people who should have full content editing
  privileges but not Manager access (i.e. to the ZMI).
  [davisagli]

- Updated to use Zope 2.13.
  [hannosch]
