Breaking changes:
- Remove usage of
portal_properties
ingetAllowedContentTypes
. This code was still checking portal_properties.site_properties.forbidden_contenttypes. [maurits] (#125)
Internal:
- Update configuration files. [plone devs] (6e36bcc4)
Internal:
- Update configuration files. [plone devs] (55bda5c9)
Breaking changes:
- Drop Python 2 support. [jensens] (#48)
Bug fixes:
- Depend on plone.base and remove implicit circular dependency on Products.CMFPlone. [jensens] (#48)
Internal:
- Update configuration files. [plone devs] (80cf330f)
Bug fixes:
- Remove dependency on ZODB3, use ZODB instead. Add troove classifiers for Plone 6 and newer Python. [jensens] (#47)
Bug fixes:
- Fix usage of wysiwyg editor settings from portal_properties to registry [duchenean, gotcha] (#45)
Bug fixes:
- Fixed deprecation warning for
zope.component.interfaces.ComponentLookupError
. [maurits] (#43)
Bug fixes:
- Minor packaging updates. (#1)
Bug fixes:
- Black-en & isort code. [thet] (#39)
Bug fixes:
- Check if transform output is actual string on Python 2. [agitator] (#37)
Bug fixes:
- fix python 3 issue when checking referenced images in transform [petschki] (#34)
- Initialize towncrier. [gforcada] (#2548)
New features:
- Python 3 fixes, needs plone.rfc822>=2.0b1. [jensens]
- Add getSize method to get the size of a RichTextValue in bytes [davisagli]
Bug fixes:
- Fix doctests tests in py3 [pbauer]
Bug fixes:
- purge transform cache when a uid referenced image gets updated. this fixes issue CMFPLone#2465 [petschki]
Bug fixes:
- Python 3 fixes [pbauer]
Bug fixes:
- Imports are Python3 compatible [b4oshany]
Bug fixes:
- Made sure the new simple textarea template is not used for rich text widgets,
but only for simple textarea widgets. Otherwise you see this in the display:
RichTextValue object. (Did you mean .raw or .output?)
. Fixes issue 22. [maurits]
New features:
- Enable the
RichText
field to work together with a simpleITextAreaWidget
. [jensens]
Bug fixes:
- Cleanup: Use more zope.interface decorators, add utf8 headers, isort imports, zcml conditions are enough. [jensens]
Fixes:
- Use zope.interface decorator. [gforcada]
- Fix negative equality bug RawValueHolder and RichTextValue introduced in 1.2.5. [jone]
- Add equality check (__eq__) for RawValueHolder and RichTextValue; [davisagli]
- Fix marshaler decode to always decode raw value into unicode [datakurre]
- Remove utils.getSiteEncoding, which was deprecated and not used anywhere. [thet]
- For Plone 5, support getting markup control panel settings from the registry, while still supporting normal portal_properties access for Plone < 5. [thet]
- Resolved an interesting circular import case, which wasn't effective because of sort order of imports [thet]
- Force WYSIWYG, so when we start with 'text/plain' (or another MIME), selecting 'text/html' will cause TinyMCE to spring into life. [lentinj]
- Tell Products.TinyMCE what the MIME type is, so it doesn't have to work it out. [lentinj]
- Use closest_content to navigate through the sea of subforms to find something that we can use portal_url on. [lentinj]
- Do not give an error when the raw value is not unicode and isn't ascii. In that case, encode as unicode then decode as the proper string, bang head on desk. [eleddy]
- Internationalization. [thomasdesvenain]
- Do not give an error when the raw value is None. Give an empty unicode string as output in that case. [maurits]
- Add support for collective.ckeditor. [tschorr]
- Fix compatibility with Zope 2.12. [davisagli]
- Pass field's max_length to the wysiwyg macro, if it has one. [davisagli]
- Determine which editor's wysiwyg_support template to use from within widget_input.pt. Fixes support for collective.ckeditor. [tschorr, davisagli]
- Update getSite import locations. [hannosch]
- Make sure that the display widget absolutizes relative links relative
to the correct context. To facilitate doing this from custom templates,
RichTextValue now has an
output_relative_to
helper method which can be passed a context. [davisagli] - Fix an issue with the support for plone.schemaeditor. [davisagli]
- Support a
max_length
parameter for RichText fields. Input longer than the max_length does not pass validation. [davisagli] - Pass some additional context to the wysiwyg_support macro to help with determining the field's mimetype. [davisagli]
- Changed deprecated getSiteEncoding to hardcoded utf-8 [tom_gross]
- Provide a version of the RichText field schema for use with
plone.schemaeditor. Only the
default_mime_type
field is exposed for editing through-the-web, with a vocabulary of mimetypes derived from theAllowedContentTypes
vocabulary inplone.app.vocabularies
(which can be adjusted via Plone's markup control panel). [davisagli] - Log original exception when a TransformError is raised. [rochecompaan]
- If no transform path is found: Instead of throwing an exception page in the face of the user, now return an empty string and log error message. [kleist]
- Fix infinite recursion bug when source and target mimetype is the same. [rochecompaan]
- Make sure the field constraint is validated, if specified. This closes http://code.google.com/p/dexterity/issues/detail?id=200 [davisagli]
- Make sure validation fails if no text is entered for a required field. This closes http://code.google.com/p/dexterity/issues/detail?id=199 [davisagli]
- Wrap the context in the form context, not the site, so that relative links are generated correctly. [davisagli]
- Avoid duplicating the id of the textarea if the form has no prefix. [davisagli]
- Fix case where editor did not load if the context being edited is a dict. [davisagli]
- Pass through the z3c.form widget's
rows
andcols
settings to the wysiwyg editor macro. [davisagli]
- Fix failing test. [davisagli]
- Don't persistently cache output. Transforms may depend on outside state (e.g. the uuid transform.) PortalTransform's caching is imperfect, but it is time limited. http://code.google.com/p/dexterity/issues/detail?id=151 [elro]
- Pass context to portal transforms. [elro]
- Fix the field schemata so they can be used as the form schema when adding the field using plone.schemaeditor [rossp]
- Remove unused lookup of the current member's editor preference. This is handled by the wysiwyg_support macros. [davisagli]
- Fix an error that could occur if the user did not have an editor preference set. [optilude]
- Fix tests on Plone 4. [optilude]
- Add field factory for use with plone.schemaeditor (only configured if that package is installed). [davisagli]
- Update README.txt to be in line with reality. [optilude]
- Fix the @@text-transform view to work with path traversal. [optilude]
- Add plone.rfc822 field marshaller. This is only configured if that package is installed. [optilude]
- Store the raw value in a separate persistent object in the ZODB instead of in a BLOB. This avoids potential problems with having thousands of small BLOB files, which would not be very space efficient on many filesystems. [optilude]
- Make the RichTextValue immutable. This greatly simplifies the code and avoids the need to keep track of the parent object. [optilude]
- Initial release