collective.schedulefield
Schedule behaviors for Plone content types.
Features
- Schedule or multi-schedule (with date ranges) behaviors to define schedules (morning / afternoon / comment) by day of week
- Exceptional closure behavior to define closing days
Compatibility
-
Versions 2.x support Plone 6.2, on Python 3.10 to 3.14.
-
Versions 1.x are developed for Plone 6.0 and 6.1.
-
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).
Installation
Add collective.schedulefield to the dependencies of your project
(pyproject.toml, or requirements.txt with the Plone constraints), install
it, restart Plone and activate the add-on in Site Setup > Add-ons. Then
enable the behaviors you need on your content types.
Development
Requires uv. This installs Plone 6.2.3 on Python
3.14 in .venv (set PLONE_VERSION for another Plone 6.2 release) and the prek
git hook:
make install
make start # Plone on http://localhost:8080 (admin / admin)
Create a Classic UI site from the browser, then activate collective.schedulefield.
Tests
Tests run through tox, as the CI does:
make test # Plone 6.2.3
uvx --with tox-uv tox -e py310-plone62 # one Python version
make test-all # lint, every Python version, dependencies
Without tox:
.venv/bin/pytest tests
Lint
make check # format then lint (pyupgrade, isort, black, zpretty, flake8...)
Translations
make i18n # rebuild the collective.schedulefield catalogs
.editorconfig, .flake8, .gitignore, .pre-commit-config.yaml, tox.ini,
.github/ and the tool sections of pyproject.toml are generated by
plone.meta: change .meta.toml, then run
uvx --from plone.meta==2.12.0 config-package --no-commit --branch current ..
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.
Contributors
- Gillian Sampont, Original Author [Affinitic]
- Benoît Suttor [iMio]
- Christophe Boulanger [iMio]
- François Bruynbroeck [Affinitic]
- Laurent Lasudry [Affinitic]
- Martin Peeters [Affinitic]
- Rémi Dubois [iMio]
- Stéphan Geulette [iMio]
Changelog
2.0.0 (2026-11-24)
-
Breaking: replace the
pkg_resourcesnamespace ofcollectivewith a PEP 420 native namespace. Support Plone 6.2 only, on Python 3.10 to 3.14. Use 1.1 for Plone 6.0 and 6.1. [remdub] -
Configure the package with plone.meta 2.12.0 (test matrix on Plone 6.2.3), move its metadata to
pyproject.toml, convert the license to Markdown and run the development environment on Plone 6.2.3 with uv instead of buildout. Declareplone.apiin thetestextra and drop thedevextra. [remdub]
1.1 (2025-05-08)
-
Update locales https://github.com/IMIO/collective.schedulefield/issues/3 [remdub]
-
Add test environment using pytest, with test coverage reaching 80% https://github.com/IMIO/collective.schedulefield/issues/2 [remdub]
-
Fix MultiSchedule viewlet https://github.com/IMIO/collective.schedulefield/issues/4 [remdub]
-
Upgrade dev environment to Plone 6.1-latest [remdub]
1.0a3 (2023-01-12)
- MANIFEST / release fix [laulaz]
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 information [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
Metadata
Release files for collective.schedulefield 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective_schedulefield-2.0.0.tar.gz | 32.3 kB | Without provenance | Details for collective_schedulefield-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| collective_schedulefield-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for collective_schedulefield-2.0.0-py3-none-any.whl |
Total release size: 65.0 kB
Release files / collective_schedulefield-2.0.0.tar.gz
| Download URL | collective_schedulefield-2.0.0.tar.gz |
|---|---|
| Size | 32.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
572496a88059ef6df486b4d7c43ca32d325acc47b39175d682544f15715744de
|
|
BLAKE2b-256 checksum How to use checksums |
4bb2a6a4df30e36b813a90bb60f564b203ce8d65fc2767971262c2a80e2d26bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Release files / collective_schedulefield-2.0.0-py3-none-any.whl
| Download URL | collective_schedulefield-2.0.0-py3-none-any.whl |
|---|---|
| Size | 32.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffcd463cf112e03d243fdfa24e7efbb784411a3ee22fd8596d83d3cdc413c558
|
|
BLAKE2b-256 checksum How to use checksums |
ca8db4187ae17bb7dc041c5499d82e2f55d2f0cf27f4232bde68cbc4ded63de8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.10
|
Security for collective.schedulefield 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.