Metadata-Version: 2.4
Name: collective.dms.basecontent
Version: 2.0.3
Summary: Base content types for document management system
Home-page: https://github.com/collective/collective.dms.basecontent
Download-URL: https://pypi.org/project/collective.dms.basecontent
Author: Ecreall, Entrouvert, IMIO
Author-email: cedricmessiant@ecreall.com
License: gpl
Keywords: document management system dms viewer
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: Addon
Classifier: Framework :: Plone :: 4.2
Classifier: Framework :: Plone :: 4.3
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: z3c.table>=2.2
Requires-Dist: collective.documentviewer
Requires-Dist: collective.externaleditor
Requires-Dist: collective.iconifiedcategory
Requires-Dist: collective.z3cform.select2
Requires-Dist: dexterity.localrolesfield
Requires-Dist: future
Requires-Dist: imio.actionspanel
Requires-Dist: imio.annex
Requires-Dist: imio.helpers>=0.42
Requires-Dist: plone.api
Requires-Dist: plone.app.contenttypes
Requires-Dist: plone.app.dexterity
Requires-Dist: plone.app.relationfield
Requires-Dist: plone.directives.form
Requires-Dist: plone.formwidget.contenttree
Requires-Dist: plone.namedfile
Requires-Dist: plone.principalsource
Requires-Dist: setuptools
Requires-Dist: z3c.blobfile
Provides-Extra: test
Requires-Dist: plone.app.testing; extra == "test"
Requires-Dist: ecreall.helpers.testing; extra == "test"
Requires-Dist: plone.app.vocabularies; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: download-url
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: summary

Introduction
============

Base content classes for document management system.

Features
--------

- Add dmsdocument type : base content type to handle metadata of a document
- Add dmsmainfile type : content type of the dematerialized file
- Add dmsappendixfile type : content type of an appendix file

The dmsdocument view is divided in 2 columns:

- left column displays metadata
- rigth column displays a documentviewer image of the dmsmailfile content

Migration
---------

* From 1.0 version, collective.z3cform.rolefield has been replaced by dexterity.localrolesfield.
    After the upgrade step, you have to manually define dexterity localroles field configuration.
    See `dexterity.localrolesfield page information <https://pypi.python.org/pypi/dexterity.localrolesfield>`_


Tests
=====

This add-on is tested using Travis CI. The current status of the add-on is :

.. image:: https://secure.travis-ci.org/collective/collective.dms.basecontent.png
    :target: http://travis-ci.org/collective/collective.dms.basecontent

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

- Gauthier Bastien, IMIO
- Stéphan Geulette, IMIO
- Vincent Fretin, Ecreall
- Cédric Messiant, Ecreall
- Frédéric Peters, Entr'ouvert

Changelog
=========

2.0.3 (2026-03-26)
------------------

- Added view element action on files.
  [cheris-adam]
- Improved document view to add a extra legend content
  [sgeulette]

2.0.2 (2026-03-03)
------------------

- Hidden description on IDmsFile and IDmsAppendixFile.
  [sgeulette]
- Removed duplicate download action
  [chris-adam]

2.0.1 (2026-01-15)
------------------

- Hidden label, show title.
  [chris-adam]

2.0.0 (2026-01-15)
------------------

- Blacked an isorted files
  [sgeulette]
- Made IDmsFile based on IAnnex
  [chris-adam,sgeulette]
- Refactored VersionsTable into an iconified Categorizedtable.
  [chris-adam]

1.13 (2024-03-01)
-----------------

- Removed `collective.z3cform.chosen` dependency.
  [sgeulette]
- Removed grok from viewlets. Commented `dms.changetitle` viewlet definition.
  [sgeulette]
- Removed grok from columns, batch adapter, vocabularies, index.
  [sgeulette]

1.12 (2023-05-12)
-----------------

- Customised dmsdocument view template so the description is inside a span. So it can be displayed as multilines by
  using dms-description class.
  [sgeulette]

1.11 (2023-03-29)
-----------------

- Replaced subscriber grok declaration by zcml.
  [sgeulette]
- Replaced collective.z3cform.chosen widget by collective.z3cform.select2.
  Must remove "chosen" packages in next release.
  [sgeulette]

1.10 (2022-10-28)
-----------------

- Removed pdbpp as dependency.
  [sgeulette]

1.9 (2022-10-28)
----------------

- Made buildout running again.
  [sgeulette]
- Added `DmsDocument.get_mainfiles` to get dmsmainfiles
  [sgeulette]

1.8 (2022-07-01)
----------------

- Corrected UnicodeEncodeError.
  [sgeulette]

1.7 (2022-06-21)
----------------

- Updated columns to work with z3c.table 2.2. Escaped rendering special caracters to avoid xss.
  [sgeulette]

1.6 (2021-04-20)
----------------

- RelatedDocs field can handle object_provides criteria.
  [sgeulette]

1.5 (2019-11-25)
----------------

- Added css on some columns.
  [sgeulette]

1.4 (2019-09-20)
----------------

- Made class inheritance clearer.
  [sgeulette]

1.3 (2018-09-24)
----------------

- Use a fade edit pencil to dissuade user click on it.
  [sgeulette]

1.2 (2018-09-05)
----------------

- Changed french translation to avoid confusion.
  [sgeulette]

1.1 (2018-07-23)
----------------

- Remove filerepresentation adapters.
  They are not needed for collective.zopeedit > 1.0.0
  [gotcha]
- Replace restrictedTraverse by getMultiAdapter
  [sgeulette]
- Display related docs with list
  [sgeulette]

1.0 (2017-06-02)
----------------

- Replace collective.z3cform.rolefield by dexterity.localrolesfield. Manual configuration needed. See readme...
  [sgeulette]

0.7 (2017-05-30)
----------------

- Move the signed attribute to collective.dms.scanbehavior.
  [mpeeters]

0.6 (2015-11-24)
----------------

- Removed old sorting attribute. Added dependency. Changed travis config.
  [sgeulette]

0.5 (2015-06-02)
----------------

- Added div with id to fix fields display in edit mode
  [sgeulette]
- Added treating_groups and recipient_groups catalog index.
  [sgeulette]
- Added treating_groups and recipient_groups in p.a.collection columns
  [sgeulette]
- Cleaning on task old stuff
  [cmessiant]
- Don't use AjaxChosenMultiFieldWidget for treating_groups field
  [cmessiant]

0.4 (2015-03-13)
----------------

- Fix fields width to 50% to keep fields on the left of the scan preview
  [sgeulette]
- Test attribute existence to resolve a recatalog problem
  [sgeulette]

0.3 (2014-10-24)
----------------

- Correct wrong metadata name in column
  [sgeulette]
- Add a dmsdocument edit view including documentviewer to complete attributes after batch import.
  [sgeulette]

0.2 (2014-02-26)
----------------

- Update the LocalRolesToPrincipals fields to use zope.schemaevent
  [mpeeters]
- Integrated documentviewer
  [vincentfretin]
- Add signed version
  [vincentfretin, cedricmessiant]
- New default view for all documents
  [vincentfretin, cedricmessiant]
- Allow tasks to be added to document
  [fpeters, vincentfretin, cedricmessiant]

0.1.1 (2013-03-08)
------------------

- Corrected MANIFEST.in

0.1 (2013-03-06)
----------------

- Package created using templer
  [cedricmessiant]
- Added portal types
  [sgeulette]
- Related field
  [davidconvent]
- LocalRolesToPrincipals field
  [gauthierbastien]

