plone.base


Nameplone.base JSON
Version 2.0.2 PyPI version JSON
download
home_pagehttps://github.com/plone/plone.base
SummaryPlone Interface contracts, plus basic features and utilities
upload_time2024-10-31 21:53:19
maintainerPlone Release Team
docs_urlNone
authorJens W. Klein
requires_python>=3.10
licenseGPLv2
keywords plone
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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

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)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/plone/plone.base",
    "name": "plone.base",
    "maintainer": "Plone Release Team",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "releaseteam@plone.org",
    "keywords": "plone",
    "author": "Jens W. Klein",
    "author_email": "jk@kleinundpartner.at",
    "download_url": "https://files.pythonhosted.org/packages/49/05/892c3efc231d9ac638b2b8bfe0bddb4d5fd38fdce4bd8c283c230c9a0833/plone_base-2.0.2.tar.gz",
    "platform": null,
    "description": "plone.base\n==========\n\nThis package is the base package of the `CMS Plone <https://plone.org>`_.\nIt contains only interface contracts and basic features and utilities.\nIt was created to be able to maintain a clean dependency graph (`PLIP 3395 <https://github.com/plone/Products.CMFPlone/issues/3395>`_).\n\nIn details this package contains:\n\n``interfaces`` (package)\n    All ``zope.interface`` based contracts for the Plone core packages.\n    In Plone 5 and below this was at ``Products.CMFPlone.interfaces``.\n\n``i18nl10n`` (module)\n    Plone specific internationalization and localization helpers.\n    In Plone 5 and below this was at ``Products.CMFPlone.i18nl10n``.\n\n``batch`` (module)\n    Plone specific Batch based on ``plone.batching``.\n    In Plone 5 and below this was at ``Products.CMFPlone.PloneBatch``.\n\n``defaultpage`` (module)\n    Plone specific handling of default pages with ``CMFDynamicViewFTI``.\n    In Plone 5 and below this was at ``Products.CMFPlone.defaultpage``.\n\n``permissions`` (module)\n    CMFCore permissions declared public.\n    In Plone 5 and below this was at ``Products.CMFPlone.permissions``.\n\n``utils`` (module)\n    A subset of commonly used and low-dependency utilities.\n    In Plone 5 and below those been at ``Products.CMFPlone.utils`` (but not all were moved).\n\n``navigationroot`` (module)\n    Plone specific handling of navigation roots.\n    Before those been at ``plone.app.layout.navigation.root``.\n\n``__init__``\n    ``PloneMessageFactory`` with ``plone`` i18n-domain and ``PloneLocalesMessageFactory`` with ``plonelocales`` domain.\n    In Plone 5 and below this was at ``Products.CMFPlone.__init__``.\n\nSource Code\n===========\n\nContributors please read the document `Process for Plone core's development <https://docs.plone.org/develop/coredev/docs/index.html>`_\n\nSources are at the `Plone code repository hosted at Github <https://github.com/plone/plone.base>`_.\n\nFile issues at the `Products.CMFPlone issue tracker hosted at Github <https://github.com/plone/Products.CMFPlone/issues>`_.\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\n2.0.2 (2024-10-31)\n------------------\n\nTests\n\n\n- Fixed tests when using Zope 5.11.\n  In one test we got a `mappingproxy` instead of a dictionary.\n  [maurits] (#956)\n\n\n2.0.1 (2024-06-26)\n------------------\n\nBreaking changes:\n\n\n- Mockup TinyMCE settings: Remove deprecated AtD plugin settings. (#33)\n- Mockup TinyMCE settings: Remove unused AtD related views and interfaces. (#33)\n\nInternal:\n\n\n- Manually fix up changelog.  I tried to release 2.0.0 today,\n  but I already released it two weeks ago.  [maurits]\n\n\n2.0.0 (2024-06-13)\n------------------\n\nBreaking changes:\n\n\n- Remove ISearchSchemas types_not_searched \"Discussion Item\" value to make plone.app.discussion a core addon.\n  It is actually not needed anyway, also not part of the underlying vocabulary and would be lost on first save in control-panel.\n  See https://github.com/zopefoundation/Products.CMFCore/blob/8d765b8ce7ec4e053e58f5c8dc45d08db01ce3e0/src/Products/CMFCore/TypesTool.py#L768\n  [@jensens] (#65)\n\n\n1.4.0 (2024-04-23)\n------------------\n\nNew features:\n\n\n- enable Plugin 'accordion' for TinyMCE @1letter (#62)\n- Add a field ``webstats_head_js`` to the Site controlpanel and render its\n  contents in the head section using ``IHtmlHeadLinks`` viewlet manager.\n  See `issue 3931 <https://github.com/plone/Products.CMFPlone/issues/3931>`_:\n  some javascript needs to be loaded at the bottom of the page, and some in the head section.\n  [jladage] (#3931)\n\n\n1.3.0 (2024-03-15)\n------------------\n\nNew features:\n\n\n- Make the TinyMCE help plugin available as an option [rber474] (#41)\n\n\n1.2.1 (2024-02-21)\n------------------\n\nBug fixes:\n\n\n- Fix TinyMCE format icon names.\n  [petschki] (#3905)\n\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (6e36bcc4)\n\n\n1.2.0 (2023-10-25)\n------------------\n\nNew features:\n\n\n- Move interface INameFromTitle from `plone.app.content` here.\n  This helps avoiding a circular dependency between `plone.app.dexterity`\n  and `plone.app.content`.\n  [gforcada] (#3858)\n\n\n1.1.4 (2023-08-31)\n------------------\n\nBug fixes:\n\n\n- Remove action property `modal` default value.\n  Fixes: https://github.com/plone/Products.CMFPlone/issues/3801\n  [petschki] (#3801)\n\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (1a7a3da3)\n\n\n1.1.3 (2023-05-08)\n------------------\n\nBug fixes:\n\n\n- Move test for navigationroot from plone.app.layout and refactor.\n  [@jensens] (move-navroot-test)\n\n\n1.1.2 (2023-04-19)\n------------------\n\nBug fixes:\n\n\n- Check for container field / attribute when trying to create content with same id [laulaz] (#35)\n\n\n1.1.1 (2023-04-15)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (3333c742)\n\n\n1.1.0 (2023-03-13)\n------------------\n\nNew features:\n\n\n- Move `plone.app.layout.navigation.root.getNavigationRoot` to `.navigationroot.get_navigation_root`.\n  Move `plone.app.layout.navigation.root.getNavigationRootObject` to `.navigationroot.get_navigation_root_object`.\n  Both are essential basic functions in Plone and not layout related at all.\n  [jensens] (navigationroot)\n\n\nBug fixes:\n\n\n- Move interface plone.app.layout.navigation.interfaces.INavigationRoot to plone.base.interfaces.siteroot and add a deprecated import to plone.app.layout.\n  [jensens, gforcarda] (Plone-3731)\n\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (13d8d6c0)\n\n\n1.0.3 (2023-02-08)\n------------------\n\nBug fixes:\n\n\n- Add `modal` property to `IActionSchema`.\n  [petschki] (#27)\n\n\n1.0.2 (2023-01-26)\n------------------\n\nBug fixes:\n\n\n- Add ``required=False`` to missing boolean field from syndication config.\n  [frapell] (#14)\n- Add missing TinyMCE plugin ``autolink`` to selectable plugins.\n  [petschki] (#25)\n\n\n1.0.1 (2022-12-10)\n------------------\n\nBug fixes:\n\n\n- Fix title and description for types_not_searched in ISearchSchema [danalvrz] (#24)\n\n\n1.0.0 (2022-12-02)\n------------------\n\nBug fixes:\n\n\n- Final release for Plone 6.0.0. (#600)\n\n\n1.0.0b5 (2022-10-04)\n--------------------\n\nNew features:\n\n\n- disable TinyMCE advlist plugin, it produces unclean inline styles [MrTango] (#21)\n- Add inserttable to tinymce toolbar [MrTango] (#22)\n- Add more tinyMCE table styles [MrTango] (#23)\n\n\n1.0.0b4 (2022-10-02)\n--------------------\n\nBug fixes:\n\n\n- Fix content_css control-panel description.  [MrTango] (#17)\n- 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>`_.\n  [Rudd-O] (#18)\n- 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)\n\n\n1.0.0b3 (2022-08-31)\n--------------------\n\nBug fixes:\n\n\n- Fix returning of item_id if given in `pretty_title_or_id`.\n  Remove unused code and outdated comment.\n  [jensens] (#16)\n\n\n1.0.0b2 (2022-07-21)\n--------------------\n\nBug fixes:\n\n\n- Fix Boolean Fields in ISiteSyndicationSettings, IFeedSettings, selection of true/false now possible\n  [1letter] (#14)\n\n\n1.0.0b1 (2022-06-23)\n--------------------\n\nNew features:\n\n\n- Add Add image srcset's configuration including JSON schema definition to imaging-controlpanel [MrTango] (#5)\n- Enable images in search results by default.\n  [agitator] (#6)\n- Add inline mode to tinymce config.\n  [pbauer] (#7)\n- Move ``Products.CMFPlone.utils._createObjectByType`` to here as ``utils.unrestricted_construct_instance``.\n  [jensens] (#8)\n- Add ``images`` interface with ``IImageScalesAdapter`` and ``IImageScalesFieldAdapter``.\n  See https://github.com/plone/Products.CMFPlone/pull/3521\n  [cekk, maurits] (#3521)\n- ``ulocalized_time``: accept a string argument to long_format.\n  For example: ``${a} ${d} hello guys ${b} ${Y}``.\n  Taken over from `experimental.ulocalized_time <https://pypi.org/project/experimental.ulocalized_time/>`_.\n  [maurits] (#3549)\n\n\nBug fixes:\n\n\n- Support dollar signs in registry override for date formats.\n  Then it uses the correct language in multilingual sites.\n  [maurits] (#3550)\n\n\n1.0.0a1 (2022-04-08)\n--------------------\n\nNew features:\n\n\n- Extend search controlpanel with options for results with images.\n  [agitator] (#2)\n- Initial structure and contents.\n  [jensens] (#1)\n",
    "bugtrack_url": null,
    "license": "GPLv2",
    "summary": "Plone Interface contracts, plus basic features and utilities",
    "version": "2.0.2",
    "project_urls": {
        "Homepage": "https://github.com/plone/plone.base"
    },
    "split_keywords": [
        "plone"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "52b0a2b647c5fa65f600488b6c85421efeebac1b44fc947ce9c209c8daccd685",
                "md5": "7015b385880c0db54200c0c7614758fe",
                "sha256": "ed7c5199d8ec5892122c6ff34af6970446908a44432f1b141550e6c824278e1e"
            },
            "downloads": -1,
            "filename": "plone.base-2.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7015b385880c0db54200c0c7614758fe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 57147,
            "upload_time": "2024-10-31T21:53:17",
            "upload_time_iso_8601": "2024-10-31T21:53:17.457933Z",
            "url": "https://files.pythonhosted.org/packages/52/b0/a2b647c5fa65f600488b6c85421efeebac1b44fc947ce9c209c8daccd685/plone.base-2.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4905892c3efc231d9ac638b2b8bfe0bddb4d5fd38fdce4bd8c283c230c9a0833",
                "md5": "9aff6057f83ddb225fc163adb7306934",
                "sha256": "edcb59df64a5fb53ca377e8d3a5f11d7fd0b3051d7bbb8085c1a3f039c4eed46"
            },
            "downloads": -1,
            "filename": "plone_base-2.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "9aff6057f83ddb225fc163adb7306934",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 52409,
            "upload_time": "2024-10-31T21:53:19",
            "upload_time_iso_8601": "2024-10-31T21:53:19.011755Z",
            "url": "https://files.pythonhosted.org/packages/49/05/892c3efc231d9ac638b2b8bfe0bddb4d5fd38fdce4bd8c283c230c9a0833/plone_base-2.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-31 21:53:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "plone",
    "github_project": "plone.base",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "plone.base"
}
        
Elapsed time: 0.47402s