plone.schemaeditor


Nameplone.schemaeditor JSON
Version 4.0.5 PyPI version JSON
download
home_pagehttps://github.com/plone/plone.schemaeditor
SummaryProvides through-the-web editing of a zope schema/interface.
upload_time2023-10-06 22:37:12
maintainer
docs_urlNone
authorDavid Glick
requires_python>=3.8
licenseBSD
keywords plone schema ttw
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

plone.schemaeditor provides a through-the-web interface for modifying Zope 3
schemata (interfaces).

Currently there is support for:

* adding and removing fields
* editing attributes of existing fields
* reordering fields
* renaming fields
* organizing fields into fieldsets

plone.schemaeditor only handles the actual schema editing.  To be useful, it
requires some integration code to take care of the following pieces:

* traversing to a schema that is used as the context of the editor
* persisting schema changes across Zope restarts

See plone.app.dexterity (along with plone.dexterity and plone.supermodel) for
one approach to this integration.

The following field types (from zope.schema) are currently supported:

* TextLine
* Text
* Int
* Float
* Bool
* Password
* Datetime
* Choice (with simple list of values)
* List of Choice (with simple list of values)

Third-party packages can make additional field types available by registering
new IFieldFactory utilities.

Dependencies
============

* Zope 2
* z3c.form
* plone.z3cform

Despite the namespace, Plone is not a dependency.

Note: This package is released under a BSD license. Contributors, please do not
add dependencies on GPL code.

Credits
=======

Author:

* David Glick (dglick@gmail.com)

Contributors:

* Nathan Van Gheem
* Martin Aspeli
* Alex Limi
* Ross Patterson
* Steve McMahon
* Thomas Desvenain
* et al

Changelog
=========

.. You should *NOT* be adding new change log entries to this file.
   You should create a file in the news directory instead.
   For helpful instructions, please see:
   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst

.. towncrier release notes start

4.0.5 (2023-10-07)
------------------

Internal:


- Update configuration files.
  [plone devs] (cfffba8c)


4.0.4 (2023-07-14)
------------------

Bug fixes:


- Remove dependency on `plone.app.z3cform` which is circular.
  [petschki] (#104)


4.0.3 (2023-03-14)
------------------

Internal:


- Update configuration files.
  [plone devs] (13d8d6c0)


4.0.2 (2023-02-08)
------------------

Bug fixes:


- Declare all dependencies.
  [gforcada] (#1)


4.0.1 (2023-01-27)
------------------

Internal:


- Configure configuration files.
  [gforcada] (#1)


4.0.0 (2022-12-02)
------------------

Bug fixes:


- Final release for Plone 6.0.0 (#600)


4.0.0b2 (2022-08-30)
--------------------

Bug fixes:


- Fix adding and moving fields between fieldsets
  [frapell] (#86)
- Fix incomplete validation error for invalid field name.
  According to the regular expression, a field must start with a lowercase character.
  [maurits] (#93)
- Tests: sleep before clicking button to add new content type.
  Tests fail too often here, having the modal still open after clicking this button.
  [maurits] (#3582)


4.0.0b1 (2022-06-23)
--------------------

Bug fixes:


- Tests: more robot fixes.
  [fredvd, maurits] (#89)


4.0.0a2 (2022-05-14)
--------------------

Bug fixes:


- Make compatible with robotframework 3-5.
  [maurits] (#5)


4.0.0a1 (2022-04-04)
--------------------

New features:


- Plone 6 updates
  [thet, mauritsvanrees, petschki] (#82)


Bug fixes:


- ignore validation for schemalisting buttons
  [petschki] (#87)


3.0.3 (2021-06-30)
------------------

Bug fixes:


- Make test 'Add a choice field with a named vocabulary' more robust.
  [wesleybl] (#84)


3.0.2 (2020-09-28)
------------------

Bug fixes:


- Fixed deprecation warning for ObjectEvent.
  [maurits] (#3130)


3.0.1 (2020-06-20)
------------------

Bug fixes:


- Fix `Fields` vocabulary via RestAPI [avoinea] (#76)


3.0.0 (2020-04-20)
------------------

Breaking changes:


- Remove backward compatibility with old collective.z3cform.datetimewidget from Plone 4.3 times. [jensens] (#74)


Bug fixes:


- Use the shared 'Plone test setup' and 'Plone test teardown' keywords in Robot tests.
  [Rotonen] (#66)
- Fix broken import from ``plone.app.z3cform``.
  This make it work with ``zope.interface`` > 5 [jensens] (#74)
- Support zope.interface >= 5. [jensens] (#75)


2.1.0 (2019-08-29)
------------------

New features:


- Deleting fieldsets is now possible through the UI. (#69)


Bug fixes:


- Don't show an error when a "required" field doesn't have a default. Also added a "Done" button. (#71)


2.0.20 (2018-09-26)
-------------------

Bug fixes:

- Fix issue where serializing vocabulary terms into '|' syntax failed when
  values contained non-ascii characters
  [datakurre]

- Allow defaults to be set on dexterity type fields via the web UI (@@fields)
  [ezvirtual]

- Fix tests in py3 and some py3 issues.
  [pbauer]


2.0.19 (2018-02-02)
-------------------

Bug fixes:

- Add Python 2 / 3 compatibility
  [pbauer]

- Fix getting vocabulary for multichoice fields
  [tomgross]

2.0.18 (2017-08-30)
-------------------

Bug fixes:

- Fix fields not being reorderable and missing their delete confirmation until a fieldset was added.
  Fixes https://github.com/collective/collective.easyform/issues/81 and https://github.com/collective/collective.easyform/issues/82
  [thet]


2.0.17 (2017-05-23)
-------------------

New features:

- Allow specifying a vocabulary in the form of key|label in (multi)choice fields as seen at PFG.
  [tomgross]


2.0.16 (2017-05-10)
-------------------

New features:

- Add fields in field editing UI to the current selected fieldset.
  [thet]
- Allow specifying a vocabulary in the form of *key|label* in (multi)choice fields
  [tomgross]

- Removed very old import conditions
  [tomgross]

Bug fixes:

- Fix Schemaeditor fields editing UI to be able to move fields into another fieldset.
  Fixes: #30.
  [thet]

- JavaScript formatting according to style guides.
  [thet]

- Cleanup:
  - Remove Plone 4 related form tabbing CSS selectors from fields editing UI JavaScript.
  - Better code reuse.
  [thet]


2.0.15 (2017-02-12)
-------------------

Bug fixes:

- Cleaner implementation of bypassing required check for setting
  default values, which actually works
  [tomgross]

- Use test browser from plone.testing for compatibility with Zope 4
  [davisagli]


2.0.14 (2017-02-05)
-------------------

Bug fixes:

- Fix POST AJAX-URL for reordering fields
  [tomgross]

- Import test browser from Testing.testbrowser
  instead of Products.Five.testbrowser
  [davisagli]

- Fix test setup for Zope 4.
  [davisagli]

- Use __parent__ instead of aq_parent.
  [davisagli]


2.0.13 (2017-01-01)
-------------------

Bug fixes:

- Test-Fix: Support latest zope.i18nmessageid.
  [jensens]


2.0.12 (2016-11-09)
-------------------

Bug fixes:

- Add coding headers on python files.
  [gforcada]

- Update code follow Plone styleguide.
  [gforcada]

2.0.11 (2016-08-15)
-------------------

Bug fixes:

- Use zope.interface decorator.
  [gforcada]


2.0.10 (2016-06-07)
-------------------

Fixes:

- Fix tests for fieldset ordering changes in plone.supermodel.
  [thet]

- Update url in setup.py to point to github.
  [esteele]


2.0.9 (2016-01-08)
------------------

Fixes:

- Remove unused locales folder, translations are now in plone.app.locales
  [vincentfretin]


2.0.8 (2015-12-03)
------------------

Fixes:

- Use plone domain for translations.
  [gforcada]


2.0.7 (2015-09-07)
------------------

- Make ``plone.protect.utils.addTokenToUrl`` a soft dependency, making this
  package usable in Plone < 5.0.
  [thet]


2.0.6 (2015-07-18)
------------------

- Supports additionalSchemata in field Add form.
  [ebrehault]


2.0.5 (2015-06-05)
------------------

- Add undeclared zope.cachedescriptors dependency.
  [timo]

- Fix javascript to reorder fields. It was conflicting with
  mockup jquery.event.(drag|drop).
  [vangheem]

- Add support for non-destructive editing of attributes with i18n
  Message values
  [datakurre]

- Add a "protected" method to IFieldFactory that may be used to determine
  if a particular field must be non editable and not movable using the editor
  (just like a behavior field).
  Override it for custom behavior in a subclass.
  [ebrehault]

2.0.4 (2015-05-13)
------------------

- Allow to hide the 'Save defaults' button
  [ebrehault]

- Fix delete method (it used to return html and it produced a plone.protect warning)
  [ebrehault]


2.0.3 (2015-05-04)
------------------

- Fix translation and sorting of field names.
  [MacYET, davisagli]

- pat-modal pattern has been renamed to pat-plone-modal
  [jcbrand]


2.0.2 (2015-03-13)
------------------

- Clean up testing setup. This solves some serious test isolation issues.
  [timo]

- Update markup and javascript for Plone 5.
  [davisagli]

- Make fieldset creation optional
  [ebrehault]

- Add CSRF protection token
  [ebrehault]


2.0.1 (2014-10-23)
------------------

- Fix schemaeditor.js to work with jQuery 1.9+.
  [bloodbare]

- Internationalize delete field confirmation message.
  [thomasdesvenain]

- We can set a fieldset description.
  [thomasdesvenain]

- We can set that field is required or not required on add form.
  [thomasdesvenain]


2.0 (2014-04-01)
----------------

- Fix test failures on Jenkins.
  [timo]

- Fix tests.
  [davisagli]

- On the listing, respect the SchemaContext label if supplied. Otherwise,
  build one based on the title. This gives us more label flexibility
  outside the dexterity schemaeditor context.
  [smcmahon]

- Integrated addTokenToUrl from plone.protect.utils on generated delete url.
  [Luke Brannon]

- Add fieldsWhichCannotBeDeleted attribute to SchemaContext, which can be
  used to disallow removal of certain fields.
  [davisagli]

- Fix removeField for EditableSchema to allow for the case where there
  is no fieldset on the schema
  [ianderso]


1.3.7 (2014-03-02)
------------------

- Fix packaging error.
  [esteele]


1.3.6 (2014-03-02)
------------------

- Use a different id for field edit form and listing form, to ease
  reuse of overlay behaviours.
  [thomasdesvenain]

- Fix French translation.
  [thomasdesvenain]

- Don't depend on popupform.js
  [davisagli]

1.3.5 (2014-01-27)
------------------

- Add an "editable" method to IFieldFactory that may be used to determine
  if a particular field is editable. Rationale: fields customized via XML
  editing are sometimes not going to be editable via schemaeditor due to
  an inability to handle custom vocabularies or sources. The field factory
  utility is a very convenient place to test this since it's already
  used to determine available fields and their addability.

  editable(fieldInstance) returns True in the base class. Override it for
  custom behavior in a subclass.
  [smcmahon]

- Add an "available" method to IFieldFactory that may be used to determine
  if a field factory is actually available in the current context. This always
  returns True in the base class. Override it if a field factory isn't useful
  unless conditions are met. Example: we can't use a field factory for
  RelationChoice unless the relationfield is activated in the Plone
  instance.
  [smcmahon]

- Fixed: on a multi selection field with a vocabulary name,
  when the field had been generated from a model,
  the vocabulary name was not selected on edit form.
  [thomasdesvenain]

1.3.4 (2013-12-07)
------------------

- Fixed drag and drop fields in fieldsets when form tabbing is disabled:
  we can drop a field into the fieldset legend (for example, when the fieldset is empty),
  or directly positioning it beside fields of the new fieldset.
  [thomasdesvenain]

- i18n fixes.
  [thomasdesvenain]

- Better string normalization when setting field id from field title
  (change accented or special characters with corresponding letters).
  [cedricmessiant]

- Added robot tests.
  [davisp, cedricmessiant, thomasdesvenain at toulouse-sprint]

- We can select a vocabulary factory on a choice field,
  among all registered vocabularies.
  We don't have an error anymore
  when we edit a choice field with a vocabulary factory.
  [thomasdesvenain]

- Fixed deleting field from fieldset.
  [kroman0]

1.3.3 (2013-08-13)
------------------

- Correct packaging issues in 1.3.2.
  [esteele]

1.3.2 (2013-08-13)
------------------

- Fieldsets wysiwyg management.
  We can add fieldsets to a schema.
  We can change the fieldset of a field by drag and drop.
  Fields reorder now works when we have fieldsets.
  [thomasdesvenain]

- Updated fr translation.
  [thomasdesvenain]

- Added pt_BR translation.
  [ericof]


1.3.1 (2013-03-05)
------------------

- Quote attribute value in xtags attribute style jquery selector used
  in prepOverlay for field settings. Absence of quote was causing a js error
  on clicking "Settings in schema editor.
  [smcmahon]


1.3.0 (2013-01-17)
------------------

- Use a *set* of choice fields for the "multiple choice" field option in the UI,
  instead of a *list* of choice fields. The latter is orderable and is a less
  common use case (plus we need a better widget for it).
  [davisagli]

- Make it possible for schema contexts to restrict the fields that can be added
  by defining an allowedFields property.
  [davisagli]

- Add more specific events for when a field is added or removed.
  [davisagli]

- I18n improved by adding many missing strings
  [giacomos]


1.2.1 (2012-08-29)
------------------

* Use zope.lifecycleevent.
  [hannosch]

* The field edit form now respects autoform hints. Additional schemata can
  be provided by registering an adapter of the schema context and field to
  ``plone.schemaeditor.interfaces.IFieldEditorExtender``.
  [davisagli]


1.2.0 - 2012-02-20
------------------

* Display fields from behaviors in the schema preview too.
  [davisagli]

* Prevent the user from creating fields with names that are reserved for
  Dublin Core metadata. ``title`` and ``description`` can still be used
  as long as the fields are of the correct type.
  [davisagli]

* Remove unhelpful help text for min_length and max_length fields.
  [davisagli]

* The schema listing preview now respects autoform hints (such as custom
  widgets).
  [davisagli]

* Make new boolean fields use the radio widget by default. The field now
  appears as "Yes/No" in the list of field types.
  [davisagli]

* Hide the 'read only' setting for fields.
  [davisagli]

* Edit field defaults from the schema listing instead of in the field
  overlays. This simplifies making sure that the default can't be set
  to invalid values.
  [davisagli]

* Limit the height of text areas in the schema listing to avoid extra
  scrolling.
  [davisagli]

* Fall back to normal traversal if a field isn't found when traversing the
  schema context. This fixes inline validation for forms on the schema
  context.
  [davisagli]

* Make it possible to make the schemaeditor not be the default view of the
  schema context, by specifying the ``schemaEditorView`` attribute on the
  schema context.
  [davisagli]

* Added Spanish translation.
  [hvelarde]

1.1.2 - 2011-11-26
------------------

* Add .mo files which were missing in 1.1.1.
  [davisagli]

1.1.1 - 2011-11-26
------------------

* Added internationalization and extracted messages for main languages.
  [thomasdesvenain]

* Added French translation.
  [thomasdesvenain]

* Added Italian translation.
  [giacomos]

1.1 - 2011-09-24
----------------

* Avoid errors when expanding the range of `min` and `max` attributes on a
  field, and when entering a `default` outside the range.
  [davisagli]

* Validate input for the `default` attribute of Choice fields based on the
  field's vocabulary.
  [davisagli]

* Removed support for setting the `missing_value` attribute of fields through
  the web.
  [davisagli]

* Add a date-only field with no time component.
  [davisagli]

* Bugfix: Validate short names of fields.
  [davisagli]

1.0.3 - 2011-06-15
------------------

* Fix test.
  [davisagli]

1.0.2 - 2011-06-14
------------------

* Make FieldFactory do a deep copy of its arguments to avoid problems with
  mutable defaults getting shared between field instances.
  This fixes http://code.google.com/p/dexterity/issues/detail?id=133
  [davisagli]

* Remove dependency on zope.app.schema.
  [davisagli]

1.0.1 - 2011-05-20
------------------

* Relicense under the BSD license.
  See http://plone.org/foundation/materials/foundation-resolutions/plone-framework-components-relicensing-policy
  [davisagli]

* On multiple choice fields (List of Choice), read/write attributes other than
  ``values`` in the correct place (on the List rather than its value_type
  Choice).
  [davisagli]

* Remove unneeded dependency on plone.i18n.
  [davisagli]

1.0 - 2011-04-30
----------------

* In addition to the normal object events raised when fields are added, edited,
  and removed, raise a SchemaModifiedEvent on the schema context. This greatly
  simplifies writing code to serialize schema changes, and makes it possible to
  track of the schema origin so that we know where to serialize it.
  [davisagli]

* Support non-ASCII characters in vocabularies for Choice fields.
  [davisagli]

* Change js event used to dynamically set id from title from keyup to change;
  autocompletion does not raise a keyup event, but does fire change.
  [smcmahon]

* jslintify schemaeditor.js
  [smcmahon]

* Honor cancel button in field editor popup.
  [smcmahon]

1.0b2 - 2011-01-22
------------------

* Add another possible base to try for our fixed IDatetime, since
  plone.app.z3cform may change which one takes precedence.
  [davisagli]

* Default to adding Textline fields.
  [davisagli]

1.0b1 - 2010-04-18
------------------

* Added overlay support to the field edit screens.
  [davisagli, limi]

* Revamped UI to show WYSIWYG representation of fields.
  [davisagli, limi]

* Removed the JavascriptFormWrapper.
  [davisagli]

* Major package cleanup.
  [davisagli]

* Omit the 'required' and 'missing_value' fields for Bool fields.
  [davisagli]

* Add the ability to define vocabularies of simple TextLine values.
  Both single and multiple select fields are provided.
  [rossp]

* Override base field interfaces to get the correct field types for the default
  and missing_value fields, rather than using the MetaFieldWidgetFactory.
  [rossp]

* Make sure that normalized ids for new fields use _ instead of -, so that they
  can be accessed without using getattr.
  [davisagli]

* Fix issue with moving fields to position 0 in a schema.
  [davisagli]

* List the available field type vocabulary alphabetically.
  [davisagli]

* No longer provide a field factory for zope.schema.Bytes, since
  plone.namedfile provides a better file field and now registers its own field
  factories.
  [davisagli]

* Fix inline validation for the field edit form.
  [davisagli]

* Added ReadOnlySchemaListing for listing fields without making them editable.
  [davisagli]

* CSS tweaks
  [davisagli]


1.0a2 - 2009-07-12
------------------

* 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. add_field() becomes
  addField().
  [optilude]

1.0a1 - 2009-05-23
------------------

* Initial release

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/plone/plone.schemaeditor",
    "name": "plone.schemaeditor",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "plone schema ttw",
    "author": "David Glick",
    "author_email": "dglick@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/99/e0/f58f20309dac328f565137114b7f38deea5ac162bf4d4043b44bace0f5b1/plone.schemaeditor-4.0.5.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\nplone.schemaeditor provides a through-the-web interface for modifying Zope 3\nschemata (interfaces).\n\nCurrently there is support for:\n\n* adding and removing fields\n* editing attributes of existing fields\n* reordering fields\n* renaming fields\n* organizing fields into fieldsets\n\nplone.schemaeditor only handles the actual schema editing.  To be useful, it\nrequires some integration code to take care of the following pieces:\n\n* traversing to a schema that is used as the context of the editor\n* persisting schema changes across Zope restarts\n\nSee plone.app.dexterity (along with plone.dexterity and plone.supermodel) for\none approach to this integration.\n\nThe following field types (from zope.schema) are currently supported:\n\n* TextLine\n* Text\n* Int\n* Float\n* Bool\n* Password\n* Datetime\n* Choice (with simple list of values)\n* List of Choice (with simple list of values)\n\nThird-party packages can make additional field types available by registering\nnew IFieldFactory utilities.\n\nDependencies\n============\n\n* Zope 2\n* z3c.form\n* plone.z3cform\n\nDespite the namespace, Plone is not a dependency.\n\nNote: This package is released under a BSD license. Contributors, please do not\nadd dependencies on GPL code.\n\nCredits\n=======\n\nAuthor:\n\n* David Glick (dglick@gmail.com)\n\nContributors:\n\n* Nathan Van Gheem\n* Martin Aspeli\n* Alex Limi\n* Ross Patterson\n* Steve McMahon\n* Thomas Desvenain\n* et al\n\nChangelog\n=========\n\n.. You should *NOT* be adding new change log entries to this file.\n   You should create a file in the news directory instead.\n   For helpful instructions, please see:\n   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst\n\n.. towncrier release notes start\n\n4.0.5 (2023-10-07)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (cfffba8c)\n\n\n4.0.4 (2023-07-14)\n------------------\n\nBug fixes:\n\n\n- Remove dependency on `plone.app.z3cform` which is circular.\n  [petschki] (#104)\n\n\n4.0.3 (2023-03-14)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (13d8d6c0)\n\n\n4.0.2 (2023-02-08)\n------------------\n\nBug fixes:\n\n\n- Declare all dependencies.\n  [gforcada] (#1)\n\n\n4.0.1 (2023-01-27)\n------------------\n\nInternal:\n\n\n- Configure configuration files.\n  [gforcada] (#1)\n\n\n4.0.0 (2022-12-02)\n------------------\n\nBug fixes:\n\n\n- Final release for Plone 6.0.0 (#600)\n\n\n4.0.0b2 (2022-08-30)\n--------------------\n\nBug fixes:\n\n\n- Fix adding and moving fields between fieldsets\n  [frapell] (#86)\n- Fix incomplete validation error for invalid field name.\n  According to the regular expression, a field must start with a lowercase character.\n  [maurits] (#93)\n- Tests: sleep before clicking button to add new content type.\n  Tests fail too often here, having the modal still open after clicking this button.\n  [maurits] (#3582)\n\n\n4.0.0b1 (2022-06-23)\n--------------------\n\nBug fixes:\n\n\n- Tests: more robot fixes.\n  [fredvd, maurits] (#89)\n\n\n4.0.0a2 (2022-05-14)\n--------------------\n\nBug fixes:\n\n\n- Make compatible with robotframework 3-5.\n  [maurits] (#5)\n\n\n4.0.0a1 (2022-04-04)\n--------------------\n\nNew features:\n\n\n- Plone 6 updates\n  [thet, mauritsvanrees, petschki] (#82)\n\n\nBug fixes:\n\n\n- ignore validation for schemalisting buttons\n  [petschki] (#87)\n\n\n3.0.3 (2021-06-30)\n------------------\n\nBug fixes:\n\n\n- Make test 'Add a choice field with a named vocabulary' more robust.\n  [wesleybl] (#84)\n\n\n3.0.2 (2020-09-28)\n------------------\n\nBug fixes:\n\n\n- Fixed deprecation warning for ObjectEvent.\n  [maurits] (#3130)\n\n\n3.0.1 (2020-06-20)\n------------------\n\nBug fixes:\n\n\n- Fix `Fields` vocabulary via RestAPI [avoinea] (#76)\n\n\n3.0.0 (2020-04-20)\n------------------\n\nBreaking changes:\n\n\n- Remove backward compatibility with old collective.z3cform.datetimewidget from Plone 4.3 times. [jensens] (#74)\n\n\nBug fixes:\n\n\n- Use the shared 'Plone test setup' and 'Plone test teardown' keywords in Robot tests.\n  [Rotonen] (#66)\n- Fix broken import from ``plone.app.z3cform``.\n  This make it work with ``zope.interface`` > 5 [jensens] (#74)\n- Support zope.interface >= 5. [jensens] (#75)\n\n\n2.1.0 (2019-08-29)\n------------------\n\nNew features:\n\n\n- Deleting fieldsets is now possible through the UI. (#69)\n\n\nBug fixes:\n\n\n- Don't show an error when a \"required\" field doesn't have a default. Also added a \"Done\" button. (#71)\n\n\n2.0.20 (2018-09-26)\n-------------------\n\nBug fixes:\n\n- Fix issue where serializing vocabulary terms into '|' syntax failed when\n  values contained non-ascii characters\n  [datakurre]\n\n- Allow defaults to be set on dexterity type fields via the web UI (@@fields)\n  [ezvirtual]\n\n- Fix tests in py3 and some py3 issues.\n  [pbauer]\n\n\n2.0.19 (2018-02-02)\n-------------------\n\nBug fixes:\n\n- Add Python 2 / 3 compatibility\n  [pbauer]\n\n- Fix getting vocabulary for multichoice fields\n  [tomgross]\n\n2.0.18 (2017-08-30)\n-------------------\n\nBug fixes:\n\n- Fix fields not being reorderable and missing their delete confirmation until a fieldset was added.\n  Fixes https://github.com/collective/collective.easyform/issues/81 and https://github.com/collective/collective.easyform/issues/82\n  [thet]\n\n\n2.0.17 (2017-05-23)\n-------------------\n\nNew features:\n\n- Allow specifying a vocabulary in the form of key|label in (multi)choice fields as seen at PFG.\n  [tomgross]\n\n\n2.0.16 (2017-05-10)\n-------------------\n\nNew features:\n\n- Add fields in field editing UI to the current selected fieldset.\n  [thet]\n- Allow specifying a vocabulary in the form of *key|label* in (multi)choice fields\n  [tomgross]\n\n- Removed very old import conditions\n  [tomgross]\n\nBug fixes:\n\n- Fix Schemaeditor fields editing UI to be able to move fields into another fieldset.\n  Fixes: #30.\n  [thet]\n\n- JavaScript formatting according to style guides.\n  [thet]\n\n- Cleanup:\n  - Remove Plone 4 related form tabbing CSS selectors from fields editing UI JavaScript.\n  - Better code reuse.\n  [thet]\n\n\n2.0.15 (2017-02-12)\n-------------------\n\nBug fixes:\n\n- Cleaner implementation of bypassing required check for setting\n  default values, which actually works\n  [tomgross]\n\n- Use test browser from plone.testing for compatibility with Zope 4\n  [davisagli]\n\n\n2.0.14 (2017-02-05)\n-------------------\n\nBug fixes:\n\n- Fix POST AJAX-URL for reordering fields\n  [tomgross]\n\n- Import test browser from Testing.testbrowser\n  instead of Products.Five.testbrowser\n  [davisagli]\n\n- Fix test setup for Zope 4.\n  [davisagli]\n\n- Use __parent__ instead of aq_parent.\n  [davisagli]\n\n\n2.0.13 (2017-01-01)\n-------------------\n\nBug fixes:\n\n- Test-Fix: Support latest zope.i18nmessageid.\n  [jensens]\n\n\n2.0.12 (2016-11-09)\n-------------------\n\nBug fixes:\n\n- Add coding headers on python files.\n  [gforcada]\n\n- Update code follow Plone styleguide.\n  [gforcada]\n\n2.0.11 (2016-08-15)\n-------------------\n\nBug fixes:\n\n- Use zope.interface decorator.\n  [gforcada]\n\n\n2.0.10 (2016-06-07)\n-------------------\n\nFixes:\n\n- Fix tests for fieldset ordering changes in plone.supermodel.\n  [thet]\n\n- Update url in setup.py to point to github.\n  [esteele]\n\n\n2.0.9 (2016-01-08)\n------------------\n\nFixes:\n\n- Remove unused locales folder, translations are now in plone.app.locales\n  [vincentfretin]\n\n\n2.0.8 (2015-12-03)\n------------------\n\nFixes:\n\n- Use plone domain for translations.\n  [gforcada]\n\n\n2.0.7 (2015-09-07)\n------------------\n\n- Make ``plone.protect.utils.addTokenToUrl`` a soft dependency, making this\n  package usable in Plone < 5.0.\n  [thet]\n\n\n2.0.6 (2015-07-18)\n------------------\n\n- Supports additionalSchemata in field Add form.\n  [ebrehault]\n\n\n2.0.5 (2015-06-05)\n------------------\n\n- Add undeclared zope.cachedescriptors dependency.\n  [timo]\n\n- Fix javascript to reorder fields. It was conflicting with\n  mockup jquery.event.(drag|drop).\n  [vangheem]\n\n- Add support for non-destructive editing of attributes with i18n\n  Message values\n  [datakurre]\n\n- Add a \"protected\" method to IFieldFactory that may be used to determine\n  if a particular field must be non editable and not movable using the editor\n  (just like a behavior field).\n  Override it for custom behavior in a subclass.\n  [ebrehault]\n\n2.0.4 (2015-05-13)\n------------------\n\n- Allow to hide the 'Save defaults' button\n  [ebrehault]\n\n- Fix delete method (it used to return html and it produced a plone.protect warning)\n  [ebrehault]\n\n\n2.0.3 (2015-05-04)\n------------------\n\n- Fix translation and sorting of field names.\n  [MacYET, davisagli]\n\n- pat-modal pattern has been renamed to pat-plone-modal\n  [jcbrand]\n\n\n2.0.2 (2015-03-13)\n------------------\n\n- Clean up testing setup. This solves some serious test isolation issues.\n  [timo]\n\n- Update markup and javascript for Plone 5.\n  [davisagli]\n\n- Make fieldset creation optional\n  [ebrehault]\n\n- Add CSRF protection token\n  [ebrehault]\n\n\n2.0.1 (2014-10-23)\n------------------\n\n- Fix schemaeditor.js to work with jQuery 1.9+.\n  [bloodbare]\n\n- Internationalize delete field confirmation message.\n  [thomasdesvenain]\n\n- We can set a fieldset description.\n  [thomasdesvenain]\n\n- We can set that field is required or not required on add form.\n  [thomasdesvenain]\n\n\n2.0 (2014-04-01)\n----------------\n\n- Fix test failures on Jenkins.\n  [timo]\n\n- Fix tests.\n  [davisagli]\n\n- On the listing, respect the SchemaContext label if supplied. Otherwise,\n  build one based on the title. This gives us more label flexibility\n  outside the dexterity schemaeditor context.\n  [smcmahon]\n\n- Integrated addTokenToUrl from plone.protect.utils on generated delete url.\n  [Luke Brannon]\n\n- Add fieldsWhichCannotBeDeleted attribute to SchemaContext, which can be\n  used to disallow removal of certain fields.\n  [davisagli]\n\n- Fix removeField for EditableSchema to allow for the case where there\n  is no fieldset on the schema\n  [ianderso]\n\n\n1.3.7 (2014-03-02)\n------------------\n\n- Fix packaging error.\n  [esteele]\n\n\n1.3.6 (2014-03-02)\n------------------\n\n- Use a different id for field edit form and listing form, to ease\n  reuse of overlay behaviours.\n  [thomasdesvenain]\n\n- Fix French translation.\n  [thomasdesvenain]\n\n- Don't depend on popupform.js\n  [davisagli]\n\n1.3.5 (2014-01-27)\n------------------\n\n- Add an \"editable\" method to IFieldFactory that may be used to determine\n  if a particular field is editable. Rationale: fields customized via XML\n  editing are sometimes not going to be editable via schemaeditor due to\n  an inability to handle custom vocabularies or sources. The field factory\n  utility is a very convenient place to test this since it's already\n  used to determine available fields and their addability.\n\n  editable(fieldInstance) returns True in the base class. Override it for\n  custom behavior in a subclass.\n  [smcmahon]\n\n- Add an \"available\" method to IFieldFactory that may be used to determine\n  if a field factory is actually available in the current context. This always\n  returns True in the base class. Override it if a field factory isn't useful\n  unless conditions are met. Example: we can't use a field factory for\n  RelationChoice unless the relationfield is activated in the Plone\n  instance.\n  [smcmahon]\n\n- Fixed: on a multi selection field with a vocabulary name,\n  when the field had been generated from a model,\n  the vocabulary name was not selected on edit form.\n  [thomasdesvenain]\n\n1.3.4 (2013-12-07)\n------------------\n\n- Fixed drag and drop fields in fieldsets when form tabbing is disabled:\n  we can drop a field into the fieldset legend (for example, when the fieldset is empty),\n  or directly positioning it beside fields of the new fieldset.\n  [thomasdesvenain]\n\n- i18n fixes.\n  [thomasdesvenain]\n\n- Better string normalization when setting field id from field title\n  (change accented or special characters with corresponding letters).\n  [cedricmessiant]\n\n- Added robot tests.\n  [davisp, cedricmessiant, thomasdesvenain at toulouse-sprint]\n\n- We can select a vocabulary factory on a choice field,\n  among all registered vocabularies.\n  We don't have an error anymore\n  when we edit a choice field with a vocabulary factory.\n  [thomasdesvenain]\n\n- Fixed deleting field from fieldset.\n  [kroman0]\n\n1.3.3 (2013-08-13)\n------------------\n\n- Correct packaging issues in 1.3.2.\n  [esteele]\n\n1.3.2 (2013-08-13)\n------------------\n\n- Fieldsets wysiwyg management.\n  We can add fieldsets to a schema.\n  We can change the fieldset of a field by drag and drop.\n  Fields reorder now works when we have fieldsets.\n  [thomasdesvenain]\n\n- Updated fr translation.\n  [thomasdesvenain]\n\n- Added pt_BR translation.\n  [ericof]\n\n\n1.3.1 (2013-03-05)\n------------------\n\n- Quote attribute value in xtags attribute style jquery selector used\n  in prepOverlay for field settings. Absence of quote was causing a js error\n  on clicking \"Settings in schema editor.\n  [smcmahon]\n\n\n1.3.0 (2013-01-17)\n------------------\n\n- Use a *set* of choice fields for the \"multiple choice\" field option in the UI,\n  instead of a *list* of choice fields. The latter is orderable and is a less\n  common use case (plus we need a better widget for it).\n  [davisagli]\n\n- Make it possible for schema contexts to restrict the fields that can be added\n  by defining an allowedFields property.\n  [davisagli]\n\n- Add more specific events for when a field is added or removed.\n  [davisagli]\n\n- I18n improved by adding many missing strings\n  [giacomos]\n\n\n1.2.1 (2012-08-29)\n------------------\n\n* Use zope.lifecycleevent.\n  [hannosch]\n\n* The field edit form now respects autoform hints. Additional schemata can\n  be provided by registering an adapter of the schema context and field to\n  ``plone.schemaeditor.interfaces.IFieldEditorExtender``.\n  [davisagli]\n\n\n1.2.0 - 2012-02-20\n------------------\n\n* Display fields from behaviors in the schema preview too.\n  [davisagli]\n\n* Prevent the user from creating fields with names that are reserved for\n  Dublin Core metadata. ``title`` and ``description`` can still be used\n  as long as the fields are of the correct type.\n  [davisagli]\n\n* Remove unhelpful help text for min_length and max_length fields.\n  [davisagli]\n\n* The schema listing preview now respects autoform hints (such as custom\n  widgets).\n  [davisagli]\n\n* Make new boolean fields use the radio widget by default. The field now\n  appears as \"Yes/No\" in the list of field types.\n  [davisagli]\n\n* Hide the 'read only' setting for fields.\n  [davisagli]\n\n* Edit field defaults from the schema listing instead of in the field\n  overlays. This simplifies making sure that the default can't be set\n  to invalid values.\n  [davisagli]\n\n* Limit the height of text areas in the schema listing to avoid extra\n  scrolling.\n  [davisagli]\n\n* Fall back to normal traversal if a field isn't found when traversing the\n  schema context. This fixes inline validation for forms on the schema\n  context.\n  [davisagli]\n\n* Make it possible to make the schemaeditor not be the default view of the\n  schema context, by specifying the ``schemaEditorView`` attribute on the\n  schema context.\n  [davisagli]\n\n* Added Spanish translation.\n  [hvelarde]\n\n1.1.2 - 2011-11-26\n------------------\n\n* Add .mo files which were missing in 1.1.1.\n  [davisagli]\n\n1.1.1 - 2011-11-26\n------------------\n\n* Added internationalization and extracted messages for main languages.\n  [thomasdesvenain]\n\n* Added French translation.\n  [thomasdesvenain]\n\n* Added Italian translation.\n  [giacomos]\n\n1.1 - 2011-09-24\n----------------\n\n* Avoid errors when expanding the range of `min` and `max` attributes on a\n  field, and when entering a `default` outside the range.\n  [davisagli]\n\n* Validate input for the `default` attribute of Choice fields based on the\n  field's vocabulary.\n  [davisagli]\n\n* Removed support for setting the `missing_value` attribute of fields through\n  the web.\n  [davisagli]\n\n* Add a date-only field with no time component.\n  [davisagli]\n\n* Bugfix: Validate short names of fields.\n  [davisagli]\n\n1.0.3 - 2011-06-15\n------------------\n\n* Fix test.\n  [davisagli]\n\n1.0.2 - 2011-06-14\n------------------\n\n* Make FieldFactory do a deep copy of its arguments to avoid problems with\n  mutable defaults getting shared between field instances.\n  This fixes http://code.google.com/p/dexterity/issues/detail?id=133\n  [davisagli]\n\n* Remove dependency on zope.app.schema.\n  [davisagli]\n\n1.0.1 - 2011-05-20\n------------------\n\n* Relicense under the BSD license.\n  See http://plone.org/foundation/materials/foundation-resolutions/plone-framework-components-relicensing-policy\n  [davisagli]\n\n* On multiple choice fields (List of Choice), read/write attributes other than\n  ``values`` in the correct place (on the List rather than its value_type\n  Choice).\n  [davisagli]\n\n* Remove unneeded dependency on plone.i18n.\n  [davisagli]\n\n1.0 - 2011-04-30\n----------------\n\n* In addition to the normal object events raised when fields are added, edited,\n  and removed, raise a SchemaModifiedEvent on the schema context. This greatly\n  simplifies writing code to serialize schema changes, and makes it possible to\n  track of the schema origin so that we know where to serialize it.\n  [davisagli]\n\n* Support non-ASCII characters in vocabularies for Choice fields.\n  [davisagli]\n\n* Change js event used to dynamically set id from title from keyup to change;\n  autocompletion does not raise a keyup event, but does fire change.\n  [smcmahon]\n\n* jslintify schemaeditor.js\n  [smcmahon]\n\n* Honor cancel button in field editor popup.\n  [smcmahon]\n\n1.0b2 - 2011-01-22\n------------------\n\n* Add another possible base to try for our fixed IDatetime, since\n  plone.app.z3cform may change which one takes precedence.\n  [davisagli]\n\n* Default to adding Textline fields.\n  [davisagli]\n\n1.0b1 - 2010-04-18\n------------------\n\n* Added overlay support to the field edit screens.\n  [davisagli, limi]\n\n* Revamped UI to show WYSIWYG representation of fields.\n  [davisagli, limi]\n\n* Removed the JavascriptFormWrapper.\n  [davisagli]\n\n* Major package cleanup.\n  [davisagli]\n\n* Omit the 'required' and 'missing_value' fields for Bool fields.\n  [davisagli]\n\n* Add the ability to define vocabularies of simple TextLine values.\n  Both single and multiple select fields are provided.\n  [rossp]\n\n* Override base field interfaces to get the correct field types for the default\n  and missing_value fields, rather than using the MetaFieldWidgetFactory.\n  [rossp]\n\n* Make sure that normalized ids for new fields use _ instead of -, so that they\n  can be accessed without using getattr.\n  [davisagli]\n\n* Fix issue with moving fields to position 0 in a schema.\n  [davisagli]\n\n* List the available field type vocabulary alphabetically.\n  [davisagli]\n\n* No longer provide a field factory for zope.schema.Bytes, since\n  plone.namedfile provides a better file field and now registers its own field\n  factories.\n  [davisagli]\n\n* Fix inline validation for the field edit form.\n  [davisagli]\n\n* Added ReadOnlySchemaListing for listing fields without making them editable.\n  [davisagli]\n\n* CSS tweaks\n  [davisagli]\n\n\n1.0a2 - 2009-07-12\n------------------\n\n* Changed API methods and arguments to mixedCase to be more consistent with\n  the rest of Zope. This is a non-backwards-compatible change. Our profuse\n  apologies, but it's now or never. :-/\n\n  If you find that you get import errors or unknown keyword arguments in your\n  code, please change names from foo_bar too fooBar, e.g. add_field() becomes\n  addField().\n  [optilude]\n\n1.0a1 - 2009-05-23\n------------------\n\n* Initial release\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Provides through-the-web editing of a zope schema/interface.",
    "version": "4.0.5",
    "project_urls": {
        "Homepage": "https://github.com/plone/plone.schemaeditor"
    },
    "split_keywords": [
        "plone",
        "schema",
        "ttw"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "880e1274e0738c1630224f73a6046878cff7680a502ddb57a50f17264d5811b1",
                "md5": "1cad5854f54b3e1308f87de1a6b71ee9",
                "sha256": "3862e000e0f2f2fed260dd41e7b53f5c9f4f2280efea27898c9ccf3ead23ef6f"
            },
            "downloads": -1,
            "filename": "plone.schemaeditor-4.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1cad5854f54b3e1308f87de1a6b71ee9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 50611,
            "upload_time": "2023-10-06T22:37:10",
            "upload_time_iso_8601": "2023-10-06T22:37:10.821749Z",
            "url": "https://files.pythonhosted.org/packages/88/0e/1274e0738c1630224f73a6046878cff7680a502ddb57a50f17264d5811b1/plone.schemaeditor-4.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99e0f58f20309dac328f565137114b7f38deea5ac162bf4d4043b44bace0f5b1",
                "md5": "7f9dad6f6fc7df96277858edd6bc3508",
                "sha256": "43f2f7f8f74b36289bfe8f9f00f0803bc3e7845e26295c749af083e7728784a9"
            },
            "downloads": -1,
            "filename": "plone.schemaeditor-4.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "7f9dad6f6fc7df96277858edd6bc3508",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 47129,
            "upload_time": "2023-10-06T22:37:12",
            "upload_time_iso_8601": "2023-10-06T22:37:12.810072Z",
            "url": "https://files.pythonhosted.org/packages/99/e0/f58f20309dac328f565137114b7f38deea5ac162bf4d4043b44bace0f5b1/plone.schemaeditor-4.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-06 22:37:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "plone",
    "github_project": "plone.schemaeditor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "plone.schemaeditor"
}
        
Elapsed time: 0.12349s