Metadata-Version: 2.1
Name: collective.schedulefield
Version: 1.0a2
Summary: Schedule behaviors for Plone content types
Home-page: https://github.com/IMIO/collective.schedulefield/
Author: IMIO
Author-email: support@imio.be
License: GPL version 2
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
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)
Provides-Extra: test

collective.schedulefield
========================

Schedule behaviors for Plone content types.


Features
--------

- schedule or multi-schedule (with dates ranges) behaviors to define schedules
  (morning / afternoon / comment) by day of week
- exceptional closure behavior to define closing days


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

Install ``collective.schedulefield`` by adding it to your buildout: ::

    [buildout]

    ...

    eggs =
        collective.schedulefield


and then running ``bin/buildout``


Compatibility
-------------

Versions 1.x are developed for Plone 6.

Versions 0.x are developed for Plone 4 & Plone 5.
Please note that they do not provide the full functionality (no multi-schedules,
no exceptional closures, no RESTAPI serializer).


Contribute
----------

Have an idea? Found a bug? Let us know by `opening a ticket`_.

- Issue Tracker: https://github.com/IMIO/collective.schedulefield/issues
- Source Code: https://github.com/IMIO/collective.schedulefield


License
-------

The project is licensed under the GPLv2.

.. _`opening a ticket`: https://github.com/IMIO/collective.schedulefield/issues

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

- Gillian Sampont, Original Author [Affinitic]
- Benoît Suttor [IMIO]
- Christophe Boulanger [IMIO]
- François Bruynbroeck [Affinitic]
- Laurent Lasudry [Affinitic]
- Martin Peeters [Affinitic]
- Stéphan Geulette [IMIO]

Changelog
=========

1.0a2 (2023-01-12)
------------------

- Drop support for Plone 4 & Plone 5
  [laulaz]

- Fix AttributeError traceback when accessing subforms
  [laulaz]


1.0a1 (2022-12-13)
------------------

- Add basic serializers / deserializers
  [laulaz]

- Display schedule viewlets only on views (not on folder_contents, cropping, etc.)
  [laulaz]

- Fix error when validating an empty value for a schedule
  [laulaz]

- Add missing key_type/value_type for Schedule field. This is needed (at least)
  to export types schemas informations
  [laulaz]

- Fix python3 compatibility : Use @implementer instead of implements
  [boulch]

- Handle multi schedules and exceptional closures
  [fbruynbroeck]


0.6.1 (2018-10-15)
------------------

- Do not display comment if empty.
  [bsuttor]


0.6 (2018-04-23)
----------------

- Also view schedule if only comment is set.
  [bsuttor]

- Added missing z3c.form meta.zcml.
  [sgeulette]


0.5 (2017-04-27)
----------------

- Bugfix: get json schedule.
  [bsuttor]


0.4 (2017-04-25)
----------------

- Bugfix: do not try to load json value if there is no values.
  [bsuttor]


0.3 (2017-03-01)
----------------

- Do not render the viewlet if there is no values
  [mpeeters]


0.2 (2016-07-14)
----------------

- Add the ScheduledContent behavior
  [mpeeters]

- Add a comment field for each schedule day
  [mpeeters]


0.1 (2014-08-26)
----------------

 * Initial release



