Skip to main content
CI Status Coveralls Latest Version Egg Status https://img.shields.io/pypi/pyversions/imio.news.core.svg?style=plastic:alt:Supported-PythonVersions License

imio.news.core

Core product for iMio news websites

Features

This products contains:
  • Content types: Folder, News, …

Examples

Documentation

TODO

Translations

This product has been translated into

  • French

The translation domain is imio.smartweb and the translations are stored in imio.smartweb.locales package.

Known issues

  • Dexterity Plone site & multilingual roots are not yet handled.

Installation

Install imio.news.core by adding it to your buildout:

[buildout]

...

eggs =
    imio.news.core

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.2.29 (2026-10-27)

  • Search endpoints (@search, @search_entity, @search_newsfolder_for_entity, @search_newsitems) : the Last-Modified header and the ETag now use the time of the last change in the news of the entity (entity_uid or UID parameter). Before, they used the modification date of the site. Varnish then always got a 304 and kept the old results. When the entity is not known, no 304 is sent. [boulch]

  • Search endpoints : a change on a news item now also clears the cache of the entities whose news folders show this news item (populating_newsfolders), also after a move. [boulch]

  • Search endpoints : after the commit of a change in the news, send a BAN of the search endpoints to the Varnish servers (CACHING_SERVERS). The clients get the new results at once, not after the end of the Varnish TTL. Send the BAN only one time for each transaction, and not when the transaction fails. Requires imio.smartweb.common >= 1.2.62 (ban_physicalpath sends the BAN after the commit). [boulch]

  • Migrate dev environment to Plone 6.1.5 & buildout 5 [remdub]

  • WEB-4467 : Update the delete action permission check to allow owners to delete their own NewsFolder without requiring Delete objects on the parent Entity. [boulch]

  • WEB-4467: Run the faceted navigation configuration with temporary Manager privileges, allowing local Contributors to add NewsFolders without granting Editor or Reviewer permissions on the Entity workflow. [boulch]

1.2.28 (2026-04-15)

  • Refactor ODWB remove() method to reuse get_news() — supports all contexts like reply() [boulch]

1.2.27 (2026-04-14)

  • Refactor ODWB endpoint to use generator-based batching and add Entity context support [boulch]

1.2.26 (2026-04-13)

  • Fix image URL for ODWB using DOMAINS env variable and add upgrade step to resend all published news to ODWB [boulch]

1.2.25 (2026-04-13)

  • WEB-4406: Attempt to fix missing lead images in ODWB preview (preview.html is an unwanted entry, hard to reproduce in staging) [boulch]

1.2.24 (2026-03-20)

  • OIA-109 : OMNIA : Add ia “CategorizeContent” and titles proposal generation features on imio.news.NewsItem [boulch]

1.2.23 (2026-03-16)

  • WEB-4366 : Refactor @search caching endpoint to use entity_uid instead of newsfolder_uid to avoid some side effects and cache misses when news folders are added/removed/changed for an entity [boulch]

1.2.22 (2026-02-24)

  • UNDO RAM caching to @search endpoint - too many side effects [boulch]

1.2.21 (2026-02-19)

  • WEB-4366 : Add entity_uid in request to return good entity data when we get data from cache with missing/removed selected_news_folders [boulch]

1.2.20 (2026-02-10)

  • WEB-4366 : Fix : Ensure we’ve got UID in good format [boulch]

1.2.19 (2026-02-09)

  • WEB-4366 : Enhance @search caching endpoint. [boulch]

1.2.18 (2026-02-06)

  • WEB-4366 : Add RAM caching to @search endpoint. Try to reduce latency [boulch]

  • Migrate to Plone 6.1.3 [boulch]

1.2.17 (2025-10-06)

  • WEB-4307: Fix zcml override for fc-delete action (trash icon in folder_contents) [boulch]

  • SUP-46633 : Refactored deletion checks: ignore news items when counting apply restriction only to news folders or folders containing items. [boulch]

1.2.16 (2025-06-25)

  • WEB-4279 : Fix a bug when subscripting news folder to another Sometimes, removed/missing local categories failed when reindexing objects [boulch]

  • WEB-4278 : Create translated (de) news categories vocabulary for e-guichet (citizen project) [boulch]

1.2.15 (2025-05-14)

  • Update Python classifiers to be compatible with Python 3.13 [remdub]

  • Upgrade dev environment to Plone 6.1-latest [remdub]

  • Update Python classifiers to be compatible with Python 3.12 [remdub]

  • Migrate to Plone 6.0.14 [boulch]

  • WEB-4119 : Prevent removing news folder if there is at least 1 news in it [boulch]

1.2.14 (2025-01-09)

  • WEB-4153 : Add a new cacheRuleset to use with our custom rest endpoints [remdub]

  • GHA tests on Python 3.8 3.9 and 3.10 [remdub]

1.2.13 (2024-06-20)

  • WEB-4088 : Use one state workflow for imio.news.NewsFolder / imio.news.Folder [boulch]

1.2.12 (2024-06-19)

  • Add news lead image (preview scale) for odwb [boulch]

1.2.11 (2024-06-06)

  • WEB-4113 : Use TranslatedAjaxSelectWidget to fix select2 values translation [laulaz]

1.2.10 (2024-05-31)

  • WEB-4088 : Fix missing include in zcml for ODWB endpoints [laulaz]

1.2.9 (2024-05-27)

  • WEB-4101 : Add index for local category search [laulaz]

  • Fix bad permission name [laulaz]

  • WEB-4088 : Cover use case for sending data in odwb for a staging environment [boulch]

  • WEB-4088 : Add some odwb endpoints (for news , for entities) [boulch]

1.2.8 (2024-05-02)

  • WEB-4101 : Use local category (if any) instead of category in category_title indexer [laulaz]

1.2.7 (2024-04-04)

  • Fix : serializer and message “At least one of these parameters must be supplied: path, UID” [boulch]

1.2.6 (2024-03-28)

  • MWEBPM-9 : Add container_uid as metadata_field to retrieve news folder id/title in news serializer and set it in our json dataset [boulch]

1.2.5 (2024-03-25)

  • Fix template for translations [boulch]

1.2.4 (2024-03-20)

  • WEB-4068 : Add field to limit the new feature “adding news in any news folders” to some entities [boulch]

1.2.3 (2024-03-12)

  • WEB-4068 : Adding news in any news folders where user have rights [boulch]

1.2.2 (2024-02-28)

  • WEB-4072, WEB-4073 : Enable solr.fields behavior on some content types [remdub]

  • WEB-4006 : Exclude some content types from search results [remdub]

  • MWEBRCHA-13 : Add versioning on imio.news.NewsItem [boulch]

1.2.1 (2024-01-09)

  • WEB-4041 : Handle new “carre” scale [boulch]

1.2 (2023-10-25)

  • WEB-3985 : Use new portrait / paysage scales & logic [boulch, laulaz]

  • WEB-3985 : Remove old cropping information when image changes [boulch, laulaz]

1.1.4 (2023-09-21)

  • WEB-3989 : Fix infinite loop on object deletion [laulaz]

  • Migrate to Plone 6.0.4 [boulch]

1.1.3 (2023-03-13)

  • Add warning message if images are too small to be cropped [laulaz]

  • Migrate to Plone 6.0.2 [boulch]

  • Fix reindex after cut / copy / paste in some cases [laulaz]

1.1.2 (2023-02-20)

  • Remove unused title_fr and description_fr metadatas [laulaz]

  • Remove SearchableText_fr (Solr will use SearchableText for FR) [laulaz]

1.1.1 (2023-01-12)

  • Add new descriptions metadatas and SearchableText indexes for multilingual [laulaz]

1.1 (2022-12-20)

  • Update to Plone 6.0.0 final [boulch]

1.0.1 (2022-11-15)

  • Fix SearchableText index for multilingual [laulaz]

1.0 (2022-11-15)

  • Add multilingual features: New fields, vocabularies translations, restapi serializer [laulaz]

1.0a5 (2022-10-30)

  • WEB-3757 : Automaticaly create some defaults newsfolders (with newsfolder subscription) when creating a new entity

  • Fix deprecated get_mimetype_icon

  • WEB-3757 : Automaticaly create some defaults newsfolders (with newsfolder subscription) when creating a new entity

  • Fix deprecated get_mimetype_icon [boulch]

  • Add eea.faceted.navigable behavior on Entity & NewsFolder types [laulaz]

1.0a4 (2022-08-10)

  • WEB-3726 : Add subjects (keyword) in SearchableText [boulch]

1.0a3 (2022-07-14)

  • Add serializer to get included items when you request an imio.news.NewsItem fullbobjects [boulch]

  • Ensure objects are marked as modified after appending to a list attribute [laulaz]

  • Fix selected_news_folders on newsitems after creating a “linked” newsfolder [boulch]

1.0a2 (2022-05-03)

  • Use unique urls for images scales to ease caching [boulch]

  • Use common.interfaces.ILocalManagerAware to mark a locally manageable content [boulch]

  • Update buildout to use Plone 6.0.0a3 packages versions [boulch]

1.0a1 (2022-01-25)

  • Initial release. [boulch]

Metadata

Release files for imio.news.core 1.2.29

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imio.news.core 1.2.29
File Size Uploaded Provenance Actions
imio_news_core-1.2.29.tar.gz 110.0 kB Without provenance Details for imio_news_core-1.2.29.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for imio.news.core 1.2.29
File Interpreter ABI Platform Actions
imio_news_core-1.2.29-py3-none-any.whl Python 3 none any Details for imio_news_core-1.2.29-py3-none-any.whl

Total release size: 245.0 kB

Release files / imio_news_core-1.2.29.tar.gz

Download URL imio_news_core-1.2.29.tar.gz
Size 110.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5db06b5fd5736c593055bd9e54f1df8d7c664f0a6202f78aafa26e834b85f39f
BLAKE2b-256 checksum
How to use checksums
45dc3b263904669409d91035605c63d66591e867441f2fc99edaec820c6ac798
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / imio_news_core-1.2.29-py3-none-any.whl

Download URL imio_news_core-1.2.29-py3-none-any.whl
Size 134.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86f3e63d5ff79e1d820faa4b4f74f2c174b69c9799cf7bb669989a3aef3c89cd
BLAKE2b-256 checksum
How to use checksums
c3120de61b5f1828f3552240058caf274af35aefe0bf5904caed215a514bfe32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for imio.news.core 1.2.29

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.29 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page