Metadata-Version: 2.4
Name: collective.dms.scanbehavior
Version: 2.0.0
Summary: Behavior adding scan metadata
Home-page: http://pypi.python.org/pypi/collective.dms.scanbehavior
Author: Franck NGAHA, Stephan Geulette
Author-email: franck.o.ngaha@gmail.com, sgeulette@imio.be
License: GPL
Keywords: Python Zope Plone
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: Addon
Classifier: Framework :: Plone :: 6.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Requires-Dist: plone.api
Requires-Dist: plone.app.dexterity
Requires-Dist: plone.autoform
Requires-Dist: plone.base
Requires-Dist: plone.behavior
Requires-Dist: plone.dexterity
Requires-Dist: plone.indexer
Requires-Dist: plone.supermodel
Requires-Dist: Products.GenericSetup
Requires-Dist: zope.i18nmessageid
Requires-Dist: zope.interface
Requires-Dist: zope.publisher
Requires-Dist: zope.schema
Provides-Extra: test
Requires-Dist: plone.app.robotframework[debug]; extra == "test"
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: plone.browserlayer; extra == "test"
Requires-Dist: plone.testing; extra == "test"
Requires-Dist: robotsuite; extra == "test"
Requires-Dist: zope.component; extra == "test"
Requires-Dist: zope.i18n; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

.. image:: https://github.com/collective/collective.dms.scanbehavior/actions/workflows/meta.yml/badge.svg?branch=master
    :target: https://github.com/collective/collective.dms.scanbehavior/actions/workflows/meta.yml

==========================================================================
collective.dms.scanbehavior
==========================================================================

Features
--------

This behavior adds some metadata related to scanning:

- scan_id : scan identification as a barcode
- version : version number
- pages_number : pages number
- scan_date : scan date
- scan_user : scan user
- scanner : scanner or pc information

Translations
------------

This product has been translated into

- English
- French

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

Install collective.dms.scanbehavior by adding it to your buildout::

   [buildout]

    ...

    eggs =
        collective.dms.scanbehavior


and then running "bin/buildout"

Versions
--------

- Version 2.x is for Plone 6+ only
- Version 1.x is for Plone 4

Contribute
----------

- Issue Tracker: https://github.com/collective/collective.dms.scanbehavior/issues
- Source Code: https://github.com/collective/collective.dms.scanbehavior

Support
-------

If you are having issues, please let us know.

License
-------

The project is licensed under the GPLv2.

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

- Franck NGAHA, franck.o.ngaha@gmail.com
- Stephan GEULETTE, stephan.geulette@imio.be

Changelog
=========


2.0.0 (2026-12-01)
------------------

- Migrated to Plone 6.2 / Python 3 (Plone 4 dropped), based on the work started by
  @laulaz on `python3`.
  [laulaz, chris-adam]
- Fixed `scan_id` indexer on Plone 6: emptying a scan id broke reindexing.
  [chris-adam]
- Added plone.meta configuration (tox, pre-commit, GitHub Actions).
  [chris-adam]
- Switched to PEP 420 native namespace packages.
  [chris-adam]
- Dropped support for Plone versions below 6.2.
  [chris-adam]


1.3.3 (2026-04-14)
------------------

- Removed scan_id column.
  [sgeulette]

1.3.2 (2025-12-16)
------------------

- Removed 'to_sign' and 'signed' fields from the behavior.
  [chris-adam]
- Fixed behavior name to `collective.dms.scanbehavior.behaviors.IScanFields`
  to avoid behavior name changed when code is refactored.
  [gbastien]

1.3.1 (2024-03-01)
------------------

- Corrected behavior zcml definition to avoid message when Plone starts.
  [sgeulette]

1.3.0 (2023-09-07)
------------------

- Improved date range.
  [sgeulette]
- Cleanup: isort, use `unittest` instead `unittest2`,
  removed dependency on `ecreall.helpers.testing`.
  [gbastien]

1.2 (2023-07-20)
----------------

- fix : [DMS-949] min & max for scan_date
  [bleybaert]

1.1 (2018-01-04)
----------------

- Added field `to_sign` to the behavior.
  [gbastien]

1.0 (2017-05-30)
----------------

- Moved version attribute to the scan tab.
  [gbastien]
- Move the signed attribute from IDmsFile schema
  [mpeeters]
- Added signed index
  [sgeulette]

0.4 (2016-04-20)
----------------

- Add version attribute.
  [sgeulette]

0.3.3 (2015-11-24)
------------------

- Don't store None in catalog. [sgeulette]

0.3.2 (2015-06-05)
------------------

- Corrected MANIFEST [sgeulette]

0.3.1 (2015-06-05)
------------------

- Modified scan_id index [sgeulette]

0.3 (2014-11-28)
----------------

- Added scan_id as index [sgeulette]

0.2.1 (2014-09-02)
------------------

- Updated changes.
- Corrected manifest.

0.2 (2014-04-15)
----------------

- renamed IScan in IScanFields.
- changed zcml description of behavior
- translate the title and description of the behavior in the interface.
- delete the folder content.
- moved the zcml definition of import step in profile.
- correct the manifest.
- renamed "scan_user" to "operator".

0.1 (2014-04-14)
----------------

- Initial release.
  [fngaha]

