Internal:
- Update configuration files. [plone devs] (55bda5c9)
Internal:
- Update configuration files. [plone devs] (243ca9ec)
Bug fixes:
- Final release for Plone 6.0.0. [maurits] (#600)
Breaking changes:
- Plone 6 only. (#41)
New features:
- Fixes for latest z3c.form [petschki] (#40)
- Reimplementation of backported ObjectSubForm and ISubformFactory [petschki] (#41)
New features:
- Support for zope.interface 5. See zopefoundation/zope.interface#183 (comment) [jensens] (#39)
Bug fixes:
- Decrease the loglevel of "Field move to non-existing: ..." (#21)
Bug fixes:
- Remove the dummy security manager on test tear down [ale-rt]
New features:
- Add support for python 3 [pbauer]
Bug fixes:
- Prepare for Python 2 / 3 compatibility [pbauer]
- Minor fixes on testing that could avoid having test isolation problems. [gforcada]
New features:
- Allow configuration of fieldsets via
plone.supermodel
fieldset directives via a schema without fields. This can be used to create a Plone behavior for stable ordering of fieldsets. [thet] - Add handler registration for text input widgets to support e.g. 'placeholder' parameter in parameterized widgets [datakurre]
Bug fixes:
- Reduce field move failure logging from error to warning. Log more information like full rule. [jensens]
- Fix traceback in updateFieldsFromSchemata for forms with no schema. [davisagli]
- Clean up code. [gforcada]
- Remove unittest2 dependency [kakshay21]
New features:
- Make of tracebacks of
plone.autoform.widgets.ParameterizedWidget
calls more verbose in order to ease debugging. [jensens]
Bug fixes:
- Make sure WidgetsView doesn't use acquisition in Zope 4. [davisagli]
Incompatibilities:
- Because of the ordering fix the field order in forms may be different.
Before this fix the order was a gamble dependent on schema order.
Schema form hints
order_after
andorder_before
may need minor adjustments.plone.autoform.utils.processFieldMoves
was deprecated, but still works as before. The new functionality is now part ofplone.autoform.base.AutoFields
. [jensens]
New:
- Fieldset labels/descriptions we're taken from first occurrence. It was not possible to override them in a subsequent directive. Also it was not possible to set them in a subsequent directive, if it was not set before. Now subsequent directives w/o a label/description are just adding the field to the fieldset. If a different label and/or description is given, it replaces the existing prior loaded one. [jensens]
- The order of the fieldsets can be defined now explicitly with the
plone.supermodel.directives.fieldset
directive.plone.autoform
now does the sorting while fieldset processing. [jensens]
Fixes:
- Implementation on how field ordering happens was unreproducible if same schemas are coming in in different orders. New implementation build a well defined rule tree and processes then the field moves, almost independent from the schema order. [jensens]
- Update setup.py url [esteele]
Fixes:
- Fix test for changed
zope.interface
comparison method, which incorrectly reports two different Interfaces from the same module but with empty name as being equal. [thet]
- pep8 cleanup, utf8-header,sorted imports, readability, ... [jensens]
- Fix issue where multiple (plone.supermodel) fieldset directive calls for the same fieldset name resulted to duplicate fieldsets (e.g. when updating fieldset with new fields in a subschema) [datakurre]
- Replace deprecated test assert statements. [timo]
- Support anonymous schema (dynamic interfaces with and empty __name__ attribute) in autoGroups, opting to use prefix as group name for such cases. This allows subclasses of AutoExtensibleForm to implement getPrefix() method as a sufficient condition to support an unnamed schema. [seanupton]
- Added an option on form to allow display of empty fieldsets. [thomasdesvenain]
- fix tests [vangheem]
- Enhance the widget directive to allow for specifying widget parameters within the schema. [davisagli]
- Support passing widget classes in the widget directive in addition to IFieldWidgets. [davisagli]
- Support serializing widget parameters to XML. This requires implementing a IWidgetExportImportHandler utility for the widget type. [davisagli]
- Avoid dependency on z3c.form.testing. [hannosch]
- Moved form schema directives here from plone.directives.form, and reimplemented them as plone.supermodel directives to avoid depending on grok. Included directives: omitted, no_omit, mode, widget, order_before, order_after, read_permission, write_permission [davisagli]
- Added the AutoObjectSubForm class to support form hints for object widget subforms. [jcbrand]
- Raise a NotImplementedError instead of NotImplemented as that is not an exception but meant for comparisons and is not callable. [maurits]
- Check to make sure that interfaces and field widgets resolved by the supermodel handler are of the correct type. [elro]
- Add form:validator support for supermodel. [elro]
- Fix issue where permission checks were not applied correctly to schemas being added with prefixes. [davisagli]
- Add MANIFEST.in. [WouterVH]
- Fix WidgetsView so that _update and update do not clash. [elro]
- Fix view.txt doctest to test actual behaviour, not artifacts from test setup. [elro]
- Use five.ManageSite permission to check field permissions. We'll avoid sniffing for Five/CMFCore permissions.zcml difference between Zope 2.12 and 2.13. [esteele]
- Fixed widget traversal for WidgetsView http://groups.google.com/group/dexterity-development/browse_frm/thread/280016ece3ed1462 [29.08.2010, jbaumann]
- Make field permission checks use the field mode rather than the form mode. Fixes http://code.google.com/p/dexterity/issues/detail?id=110 [optilude]
- Removed some dead code. Fixes http://code.google.com/p/dexterity/issues/detail?id=132 [optilude, shywolf9982]
- Properly handle the 'omitted' tagged value when it is set to 'false' for a field. [davisagli]
- Make it possible to set the 'omitted' and 'mode' settings only for particular form interfaces. [davisagli]
- Do not omit read-only fields when rendering a form in DISPLAY mode. http://code.google.com/p/dexterity/issues/detail?id=118 [mj]
Changed API methods and arguments to mixedCase to be more consistent with the rest of Zope. This is a non-backwards-compatible change. Our profuse apologies, but it's now or never. :-/
If you find that you get import errors or unknown keyword arguments in your code, please change names from foo_bar too fooBar, e.g. process_fields() becomes processFields().
Note in particular that the additional_schemata property is now called additionalSchemata. If you have implemented this property yourself, you will need to rename it! [optilude]
- Initial release