Metadata-Version: 2.1
Name: collective.formsupport.counter
Version: 1.0.0rc4
Summary: Counter integration for collective.volto.formsupport
Home-page: https://github.com/collective/collective.formsupport.counter
Author: RedTurtle
Author-email: info@redturtle.it
License: GPL version 2
Project-URL: PyPI, https://pypi.org/project/collective.formsupport.counter/
Project-URL: Source, https://github.com/collective/collective.formsupport.counter
Project-URL: Tracker, https://github.com/collective/collective.formsupport.counter/issues
Keywords: Python Plone CMS
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: Addon
Classifier: Framework :: Plone :: 6.0
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Requires-Python: >=3.8
License-File: LICENSE.GPL
License-File: LICENSE.rst
Requires-Dist: setuptools
Requires-Dist: z3c.jbot
Requires-Dist: plone.api>=1.8.4
Requires-Dist: plone.app.dexterity
Requires-Dist: collective.volto.formsupport>=3.2.0.dev0
Provides-Extra: test
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: plone.testing>=5.0.0; extra == "test"
Requires-Dist: plone.app.contenttypes; extra == "test"

.. image:: https://img.shields.io/pypi/v/collective.formsupport.counter.svg
    :target: https://pypi.python.org/pypi/collective.formsupport.counter/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/status/collective.formsupport.counter.svg
    :target: https://pypi.python.org/pypi/collective.formsupport.counter
    :alt: Egg Status

.. image:: https://img.shields.io/pypi/pyversions/collective.formsupport.counter.svg?style=plastic
    :target: https://pypi.python.org/pypi/collective.formsupport.counter/
    :alt: Supported - Python Versions

.. image:: https://img.shields.io/pypi/l/collective.formsupport.counter.svg
    :target: https://pypi.python.org/pypi/collective.formsupport.counter/
    :alt: License

.. image:: https://coveralls.io/repos/github/collective/collective.formsupport.counter/badge.svg
    :target: https://coveralls.io/github/collective/collective.formsupport.counter
    :alt: Coverage


==============================
collective.formsupport.counter
==============================

Counter integration for `collective.volto.formsupport <https://github.com/collective/collective.volto.formsupport>`_

Features
--------

- Form counter for `collective.volto.formsupport <https://github.com/collective/collective.volto.formsupport>`_ >= 3.2


Installation
------------

Install collective.formsupport.counter by adding it to your buildout::

    [buildout]

    ...

    eggs =
        collective.formsupport.counter


and then running ``bin/buildout``

REST API
========

Here is the list of available REST API endpoints and how to use them.

1. **Reset form counter**

   - **Endpoint**: `/<document>/@reset-counter`.
   - **Method**: `PATCH`.
   - **Parameters**: `block_id` form block identifier.
   - **Description**: Reset form counter.
   - **Request**: No parameters required.
   - **Response**:

     - **Status Code**: `204 No Content`

Authors
-------

RedTurtle


Contributors
------------

- folix-01

Contribute
----------

- Issue Tracker: https://github.com/collective/collective.formsupport.counter/issues
- Source Code: https://github.com/collective/collective.formsupport.counter
- Documentation: https://docs.plone.org/foo/bar


Support
-------

If you are having issues, please let us know.
We have a mailing list located at: info@redturtle.it


License
-------

The project is licensed under the GPLv2.


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

- RedTurtle, info@redturtle.it


Changelog
=========


1.0.0rc4 (2024-11-22)
---------------------

- Label translated
  [mamico]


1.0.0rc3 (2024-11-19)
---------------------

- Fix counter
  [mamico]


1.0.0rc2 (2024-11-15)
---------------------

- Fix manifest
  [mamico]


1.0.0rc1 (2024-11-13)
---------------------

- Initial release.
  [RedTurtle]
