Metadata-Version: 2.4
Name: imio.news.core
Version: 1.2.15
Summary: Core product for iMio news website
Home-page: https://github.com/collective/imio.news.core
Author: Christophe Boulanger
Author-email: christophe.boulanger@imio.be
License: GPL version 2
Project-URL: PyPI, https://pypi.python.org/pypi/imio.news.core
Project-URL: Source, https://github.com/imio/imio.news.core
Project-URL: Tracker, https://github.com/imio/imio.news.core/issues
Keywords: Python Plone CMS
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: Addon
Classifier: Framework :: Plone :: 6.0
Classifier: Framework :: Plone :: 6.1
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Requires-Python: >=3.10
License-File: LICENSE.GPL
License-File: LICENSE.rst
Requires-Dist: setuptools
Requires-Dist: embeddify
Requires-Dist: z3c.jbot
Requires-Dist: plone.api>=1.8.4
Requires-Dist: plone.app.discussion
Requires-Dist: plone.gallery
Requires-Dist: plone.restapi
Requires-Dist: plone.app.dexterity
Requires-Dist: plone.app.imagecropping
Requires-Dist: collective.taxonomy
Requires-Dist: collective.z3cform.datagridfield
Requires-Dist: eea.facetednavigation
Requires-Dist: embeddify
Requires-Dist: imio.smartweb.common
Requires-Dist: imio.smartweb.locales
Provides-Extra: test
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: plone.testing>=5.0.0; extra == "test"
Requires-Dist: plone.app.robotframework[debug]; extra == "test"
Requires-Dist: mock; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

.. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
   If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
   This text does not appear on pypi or github. It is a comment.


.. image:: https://github.com/IMIO/imio.news.core/workflows/Tests/badge.svg
    :target: https://github.com/IMIO/imio.news.core/actions?query=workflow%3ATests
    :alt: CI Status

.. image:: https://coveralls.io/repos/github/IMIO/imio.news.core/badge.svg?branch=main
    :target: https://coveralls.io/github/IMIO/imio.news.core?branch=main
    :alt: Coveralls

.. image:: https://img.shields.io/pypi/v/imio.news.core.svg
    :target: https://pypi.python.org/pypi/imio.news.core/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/status/imio.news.core.svg
    :target: https://pypi.python.org/pypi/imio.news.core
    :alt: Egg Status

.. image:: https://img.shields.io/pypi/pyversions/imio.news.core.svg?style=plastic   :alt: Supported - Python Versions

.. image:: https://img.shields.io/pypi/l/imio.news.core.svg
    :target: https://pypi.python.org/pypi/imio.news.core/
    :alt: License


==================
imio.news.core
==================

Core product for iMio news websites

Features
--------

This products contains:
 - Content types: Folder, News, ...


Examples
--------

- https://actualites.enwallonie.be


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 <https://github.com/IMIO/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
----------

- Issue Tracker: https://github.com/imio/imio.news.core/issues
- Source Code: https://github.com/imio/imio.news.core


License
-------

The project is licensed under the GPLv2.


Contributors
============

- Christophe Boulanger, christophe.boulanger@imio.be


Changelog
=========


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]
