Metadata-Version: 2.2
Name: plone.base
Version: 3.0.0
Summary: Plone Interface contracts, plus basic features and utilities
Home-page: https://github.com/plone/plone.base
Author: Jens W. Klein
Author-email: jk@kleinundpartner.at
Maintainer: Plone Release Team
Maintainer-email: releaseteam@plone.org
License: GPLv2
Keywords: plone
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone :: 6.1
Classifier: Framework :: Plone :: Core
Classifier: Framework :: Zope :: 5
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: setuptools
Requires-Dist: plone.batching
Requires-Dist: plone.registry
Requires-Dist: plone.schema
Requires-Dist: plone.z3cform
Requires-Dist: Products.CMFCore
Requires-Dist: Products.CMFDynamicViewFTI
Requires-Dist: Zope
Provides-Extra: test
Requires-Dist: plone.subrequest; extra == "test"

plone.base
==========

This package is the base package of the `CMS Plone <https://plone.org>`_.
It contains only interface contracts and basic features and utilities.
It was created to be able to maintain a clean dependency graph (`PLIP 3395 <https://github.com/plone/Products.CMFPlone/issues/3395>`_).

In details this package contains:

``interfaces`` (package)
    All ``zope.interface`` based contracts for the Plone core packages.
    In Plone 5 and below this was at ``Products.CMFPlone.interfaces``.

``i18nl10n`` (module)
    Plone specific internationalization and localization helpers.
    In Plone 5 and below this was at ``Products.CMFPlone.i18nl10n``.

``batch`` (module)
    Plone specific Batch based on ``plone.batching``.
    In Plone 5 and below this was at ``Products.CMFPlone.PloneBatch``.

``defaultpage`` (module)
    Plone specific handling of default pages with ``CMFDynamicViewFTI``.
    In Plone 5 and below this was at ``Products.CMFPlone.defaultpage``.

``permissions`` (module)
    CMFCore permissions declared public.
    In Plone 5 and below this was at ``Products.CMFPlone.permissions``.

``utils`` (module)
    A subset of commonly used and low-dependency utilities.
    In Plone 5 and below those been at ``Products.CMFPlone.utils`` (but not all were moved).

``navigationroot`` (module)
    Plone specific handling of navigation roots.
    Before those been at ``plone.app.layout.navigation.root``.

``__init__``
    ``PloneMessageFactory`` with ``plone`` i18n-domain and ``PloneLocalesMessageFactory`` with ``plonelocales`` domain.
    In Plone 5 and below this was at ``Products.CMFPlone.__init__``.

Source Code
===========

Contributors please read the document `Process for Plone core's development <https://docs.plone.org/develop/coredev/docs/index.html>`_

Sources are at the `Plone code repository hosted at Github <https://github.com/plone/plone.base>`_.

File issues at the `Products.CMFPlone issue tracker hosted at Github <https://github.com/plone/Products.CMFPlone/issues>`_.

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

3.0.0 (2025-06-05)
------------------

Breaking changes:


- Refactoring Interface ITinyMCEPluginSchema, field `menubar` is not longer a `List`, it's now a `TextLine` Field
  [1letter] (#82)


2.0.3 (2025-03-21)
------------------

Documentation:


- Fix TinyMCE link to format documentation. [sverbois] (#78)


2.0.2 (2024-10-31)
------------------

Tests


- Fixed tests when using Zope 5.11.
  In one test we got a `mappingproxy` instead of a dictionary.
  [maurits] (#956)


2.0.1 (2024-06-26)
------------------

Breaking changes:


- Mockup TinyMCE settings: Remove deprecated AtD plugin settings. (#33)
- Mockup TinyMCE settings: Remove unused AtD related views and interfaces. (#33)

Internal:


- Manually fix up changelog.  I tried to release 2.0.0 today,
  but I already released it two weeks ago.  [maurits]


2.0.0 (2024-06-13)
------------------

Breaking changes:


- Remove ISearchSchemas types_not_searched "Discussion Item" value to make plone.app.discussion a core addon.
  It is actually not needed anyway, also not part of the underlying vocabulary and would be lost on first save in control-panel.
  See https://github.com/zopefoundation/Products.CMFCore/blob/8d765b8ce7ec4e053e58f5c8dc45d08db01ce3e0/src/Products/CMFCore/TypesTool.py#L768
  [@jensens] (#65)


1.4.0 (2024-04-23)
------------------

New features:


- enable Plugin 'accordion' for TinyMCE @1letter (#62)
- Add a field ``webstats_head_js`` to the Site controlpanel and render its
  contents in the head section using ``IHtmlHeadLinks`` viewlet manager.
  See `issue 3931 <https://github.com/plone/Products.CMFPlone/issues/3931>`_:
  some javascript needs to be loaded at the bottom of the page, and some in the head section.
  [jladage] (#3931)


1.3.0 (2024-03-15)
------------------

New features:


- Make the TinyMCE help plugin available as an option [rber474] (#41)


1.2.1 (2024-02-21)
------------------

Bug fixes:


- Fix TinyMCE format icon names.
  [petschki] (#3905)


Internal:


- Update configuration files.
  [plone devs] (6e36bcc4)


1.2.0 (2023-10-25)
------------------

New features:


- Move interface INameFromTitle from `plone.app.content` here.
  This helps avoiding a circular dependency between `plone.app.dexterity`
  and `plone.app.content`.
  [gforcada] (#3858)


1.1.4 (2023-08-31)
------------------

Bug fixes:


- Remove action property `modal` default value.
  Fixes: https://github.com/plone/Products.CMFPlone/issues/3801
  [petschki] (#3801)


Internal:


- Update configuration files.
  [plone devs] (1a7a3da3)


1.1.3 (2023-05-08)
------------------

Bug fixes:


- Move test for navigationroot from plone.app.layout and refactor.
  [@jensens] (move-navroot-test)


1.1.2 (2023-04-19)
------------------

Bug fixes:


- Check for container field / attribute when trying to create content with same id [laulaz] (#35)


1.1.1 (2023-04-15)
------------------

Internal:


- Update configuration files.
  [plone devs] (3333c742)


1.1.0 (2023-03-13)
------------------

New features:


- Move `plone.app.layout.navigation.root.getNavigationRoot` to `.navigationroot.get_navigation_root`.
  Move `plone.app.layout.navigation.root.getNavigationRootObject` to `.navigationroot.get_navigation_root_object`.
  Both are essential basic functions in Plone and not layout related at all.
  [jensens] (navigationroot)


Bug fixes:


- Move interface plone.app.layout.navigation.interfaces.INavigationRoot to plone.base.interfaces.siteroot and add a deprecated import to plone.app.layout.
  [jensens, gforcarda] (Plone-3731)


Internal:


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


1.0.3 (2023-02-08)
------------------

Bug fixes:


- Add `modal` property to `IActionSchema`.
  [petschki] (#27)


1.0.2 (2023-01-26)
------------------

Bug fixes:


- Add ``required=False`` to missing boolean field from syndication config.
  [frapell] (#14)
- Add missing TinyMCE plugin ``autolink`` to selectable plugins.
  [petschki] (#25)


1.0.1 (2022-12-10)
------------------

Bug fixes:


- Fix title and description for types_not_searched in ISearchSchema [danalvrz] (#24)


1.0.0 (2022-12-02)
------------------

Bug fixes:


- Final release for Plone 6.0.0. (#600)


1.0.0b5 (2022-10-04)
--------------------

New features:


- disable TinyMCE advlist plugin, it produces unclean inline styles [MrTango] (#21)
- Add inserttable to tinymce toolbar [MrTango] (#22)
- Add more tinyMCE table styles [MrTango] (#23)


1.0.0b4 (2022-10-02)
--------------------

Bug fixes:


- Fix content_css control-panel description.  [MrTango] (#17)
- Fix ``@@qsOptions`` view (essentially, listing of ``folder_contents``) when VHM roots the site on a ``plone.app.multilingual`` language folder as noted in `issue 159 <https://github.com/plone/plone.app.content/issues/159>`_.
  [Rudd-O] (#18)
- Fix ``get_top_site_from_url()`` when the path contains nonexistent objects (e.g. when creating a new Dexterity type or adding a new content instance). [Rudd-O] (#20)


1.0.0b3 (2022-08-31)
--------------------

Bug fixes:


- Fix returning of item_id if given in `pretty_title_or_id`.
  Remove unused code and outdated comment.
  [jensens] (#16)


1.0.0b2 (2022-07-21)
--------------------

Bug fixes:


- Fix Boolean Fields in ISiteSyndicationSettings, IFeedSettings, selection of true/false now possible
  [1letter] (#14)


1.0.0b1 (2022-06-23)
--------------------

New features:


- Add Add image srcset's configuration including JSON schema definition to imaging-controlpanel [MrTango] (#5)
- Enable images in search results by default.
  [agitator] (#6)
- Add inline mode to tinymce config.
  [pbauer] (#7)
- Move ``Products.CMFPlone.utils._createObjectByType`` to here as ``utils.unrestricted_construct_instance``.
  [jensens] (#8)
- Add ``images`` interface with ``IImageScalesAdapter`` and ``IImageScalesFieldAdapter``.
  See https://github.com/plone/Products.CMFPlone/pull/3521
  [cekk, maurits] (#3521)
- ``ulocalized_time``: accept a string argument to long_format.
  For example: ``${a} ${d} hello guys ${b} ${Y}``.
  Taken over from `experimental.ulocalized_time <https://pypi.org/project/experimental.ulocalized_time/>`_.
  [maurits] (#3549)


Bug fixes:


- Support dollar signs in registry override for date formats.
  Then it uses the correct language in multilingual sites.
  [maurits] (#3550)


1.0.0a1 (2022-04-08)
--------------------

New features:


- Extend search controlpanel with options for results with images.
  [agitator] (#2)
- Initial structure and contents.
  [jensens] (#1)
