Skip to main content

Plone Interface contracts, plus basic features and utilities

Project description

plone.base

This package is the base package of the CMS Plone. It contains only interface contracts and basic features and utilities. It was created to be able to maintain a clean dependency graph (PLIP 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

Sources are at the Plone code repository hosted at Github.

File issues at the Products.CMFPlone issue tracker hosted at Github.

Changelog

4.0.0a9 (2026-03-30)

Bug fixes:

  • Add munge_search_term, BAD_CHARS, and MULTISPACE as canonical location in plone.base.utils. Fix multi-word search so all word parts get wildcard prefix matching, not just the last one. @jensens (#4205)

4.0.0a8 (2026-03-25)

New features:

  • Add plone.base.interfaces.IAddonList. [maurits] (#4155)

Bug fixes:

  • Add s to default valid_tags so TinyMCE strikethrough is not stripped on save. @jensens (#3069)

4.0.0a7 (2026-03-23)

New features:

  • Add boolean utils: is_truthy (improved), is_falsy and boolean_value. @cekk (#112)

Internal:

  • Update configuration files. [plone devs]

4.0.0a6 (2026-02-26)

Bug fixes:

  • Update id collision checks with missing checks from CMFPlone.

    Some of the checks in utils._check_for_collision or erroneous. These checks were updated with the original checks from CMFPlone. The tests depend on a fully set-up site and remain in CMFPlone.

    [thet]

4.0.0a5 (2026-02-23)

Bug fixes:

Internal:

4.0.0a4 (2025-12-18)

New features:

  • Add “license key” field to TinyMCE schema. @petschki

4.0.0a3 (2025-11-26)

Breaking changes:

  • Replace pkg_resources namespace with PEP 420 native namespace. Support only Plone 6.2 and Python 3.10+. (#3928)

4.0.0a2 (2025-11-19)

Bug fixes:

  • Fix outdated TinyMCE toolbar button and menu settings to match TinyMCE version 6. @petschki (#86)

  • Do not create empty translation msgids @erral

  • Remove more empty msgids @erral

4.0.0a1 (2025-09-24)

New features:

  • IClassicUISchema: Add new control panel.

    Add new IClassicUISchema control panel schema with its plone.use_ajax_main_template setting.

    When plone.use_ajax_main_template is enabled, and if we are in an XHR request, Plone uses the AJAX main template. Note: This setting does not affect the ajax_load query string parameter, which if set and evaluates to true, will always trigger the AJAX main template.

3.1.1 (2025-09-11)

Bug fixes:

  • Cleanup TinyMCESchema.plugins to the actual existing plugins. @petschki

3.1.0 (2025-06-18)

New features:

  • Add a “is_truthy” utility to test for true-ish and false-ish string values.

    The following values are interpreted as an affirmative value and will return a boolean True:

    True, 1 and these strings in any casing: “y”, “yes”, “t”, “true”, “active”, “enabled”, “on”.

    Everything else will be interpreted as False.

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:

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: 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:

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. [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. [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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plone_base-4.0.0a9.tar.gz (58.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plone_base-4.0.0a9-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

Details for the file plone_base-4.0.0a9.tar.gz.

File metadata

  • Download URL: plone_base-4.0.0a9.tar.gz
  • Upload date:
  • Size: 58.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for plone_base-4.0.0a9.tar.gz
Algorithm Hash digest
SHA256 4dfe46627b6d414dc5965194f900937ec2c95ef362304a7a661e023392e45767
MD5 0964dca0e2725bf2d6b0fd0affdaa689
BLAKE2b-256 14d5e22392a277a24eed29d5bc83dc0364f70ca2d278136d44afbd5ca669e82b

See more details on using hashes here.

File details

Details for the file plone_base-4.0.0a9-py3-none-any.whl.

File metadata

  • Download URL: plone_base-4.0.0a9-py3-none-any.whl
  • Upload date:
  • Size: 61.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for plone_base-4.0.0a9-py3-none-any.whl
Algorithm Hash digest
SHA256 838a754f4e2097eeeaa8270f836aa87c3b71caff4918b0eed26ad5679ec72875
MD5 b25581fe717c4f7b95c6a967acfabfc7
BLAKE2b-256 791a4c1265603311665b45ffd474bf9e779a28a798a3160e8dea0ac5dfe51658

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page