Skip to main content

Core product for iMio news website

Project description

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.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]

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

imio_news_core-1.2.28.tar.gz (104.7 kB view details)

Uploaded Source

Built Distribution

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

imio_news_core-1.2.28-py3-none-any.whl (130.5 kB view details)

Uploaded Python 3

File details

Details for the file imio_news_core-1.2.28.tar.gz.

File metadata

  • Download URL: imio_news_core-1.2.28.tar.gz
  • Upload date:
  • Size: 104.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for imio_news_core-1.2.28.tar.gz
Algorithm Hash digest
SHA256 c6d3ff9b2a0b58b09e76bee3679a9c77e08b47dbdccfddee2a8be3dbff22a48d
MD5 e4d5eb31a9d7648d407bc9643ae1d8ed
BLAKE2b-256 da628abd53247d48fd79069faab945b6d5393ade4e202db97ca44a18da06c8a7

See more details on using hashes here.

File details

Details for the file imio_news_core-1.2.28-py3-none-any.whl.

File metadata

File hashes

Hashes for imio_news_core-1.2.28-py3-none-any.whl
Algorithm Hash digest
SHA256 d5834c496f1386b5ff9822a5e5babea7729d7936f26d19ea56ba3a0e8db3bee6
MD5 514a47db11a3cbe3d9470cc583321e6e
BLAKE2b-256 dedc8a6c9fe58a8848531c0d70f1d5e23853e3cff4bb75faadf1664927bc7d9a

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