Recurrence widget for Plone
Project description
Introduction
The plone.formwidget.recurrence package provides a z3cform widget for recurrence.
The main GUI work is done with the pat-recurrence pattern from mockup.
This widget provides a simple textarea where a RFC 5545 compliant recurrence rule can be entered, if javascript is not available.
The resulting value of the widget is a RFC5445 compliant recurrence rule string, ready to be used with python-dateutil’s rrulestr.
Installation
You need to add plone.formwidget.recurrence to either your buildout, or your product requirements. For example:
[buildout] eggs += plone.formwidget.recurrence[z3cform]
or:
install_requires=[ 'plone.formwidget.recurrence[z3cform]', ]
Changelog
3.0.4 (2024-01-22)
Internal:
Update configuration files. [plone devs] (6e36bcc4, 7723aeaf, 910666c7)
3.0.3 (2023-03-22)
Internal:
Update configuration files. [plone devs] (243ca9ec)
3.0.2 (2023-03-13)
Bug fixes:
Do not add charset to application/x-www-form-urlencoded header. Adding a charset to this Content-Type is illegal according to the definition, and fails with Zope master. [maurits] (#844)
3.0.1 (2023-02-22)
Bug fixes:
Use plone.base [ale-rt] (#29)
3.0.0 (2022-12-21)
Breaking changes:
Remove Archetypes and python 2.7 support. Plone 6 only. [petschki] (#28)
2.1.5 (2021-10-16)
Bug fixes:
Fix batch numbers computation [frapell] (#25)
2.1.4 (2020-04-20)
Bug fixes:
Minor packaging updates. (#1)
2.1.3 (2018-11-05)
Bug fixes:
Fix test-isolation issue in AT tests [pbauer]
2.1.2 (2018-02-02)
Bug fixes:
Add Python 2 / 3 compatibility [pbauer]
2.1.1 (2016-08-15)
Bug fixes:
Use zope.interface decorator. [gforcada]
2.1.0 (2016-05-09)
New:
Use plone i18n domain. [klinger]
Fixes:
Restructure tests: Move example type into own submodule. [thet]
2.0.2 (2015-12-03)
Fixes:
Removed unittest2 dependency. [gforcada]
Fix list index out of range at pagination. [julianhandl]
2.0.1 (2015-06-05)
Fix translations. [thet]
2.0 (2015-03-04)
Make widget work with Plone 5 recurrence pattern [vangheem]
1.2.5 (2014-07-22)
Fix error on ie9 when rendering the recurrence widget inside an overlay. [deiferni]
1.2.4 (2014-07-17)
Backport from jquery.recurrenceinput.js: Fix a condition, where the startdate string literal was checked, if it’s an instance of String, which returned False. This led to the case, where the list of occurrences wasn’t shown. String literals should be checked with``typeof`` instead of instanceof. See: http://stackoverflow.com/a/203757/3036508 [thet]
1.2.3 (2014-05-06)
Integrate latest changes from plone.formwidget.recurrence, which fixes an issue introduced with last version, where the recurrence overlay couldn’t be opened with plone.formwidget.datetime based start fields on Dexterity objects. [thet]
1.2.2 (2014-04-24)
plone.app.widgets support: Let the z3c.form widget’s get_start_field method prefer ‘name’ attribute over the ‘id’ attribute. Looks like, with plone.app.widgets the rendered input field doesn’t have an ‘id’ attribute any more. Also, integrate latest changes from jquery.recurrenceinput.js, which also handles ‘name’ attributes when trying to get the start field from the surrounding form. [thet]
Register plone.app.jquerytools dateinput JavaScript for the ‘default’ bundle. plone.app.widgets registers it for ‘deprecated’, but we need it here and it can peacefully coexist with the new pickadate. [thet]
1.2.1 (2014-03-27)
Change boolean expressions to conditional expressions, which to avoid wrong evaluation if the “and” path test evaluates to False. Really fixes #10. [thet]
1.2 (2014-02-12)
Fix Problem in AT based widget with a wrong first_day offset, where it didn’t display weekdays properly. Fixes #10. [thet]
Replace test dependency on plone.formwidget.datetime with plone.app.z3cform. [amleczko]
Added basque translation. [erral]
Add some missing german translations. [msom]
Depend on own extra requirements in test extra in setup.py. [thet]
1.1 (2013-11-14)
plone.app.widgets compatibility. [garbas]
Add Dutch translation. [khink]
Show [1-N] in current batch instead of always [1-10] https://github.com/plone/plone.app.event/issues/77 [khink]
1.0 (2013-11-06)
Update jquery.recurrenceinput.js: [thet]
Fire change events when rrule value is updated. [deiferni]
Default to one week of daily occurrences, instead of 10. Fixes #5. [gyst]
Fix ie8 startdate and fire events when changing checkbox values [deiferni]
Make “repeat forever” button optional [deiferni]
When there is no recurrence rule, the edit button should show “Add…”, not “Edit…” [thet]
Remove ambiguous recurrence rule checkbox, which lead to UX confusion due to double negation (unchecked checkbox said “no recurrence rule”) and add instead a “Delete” button. [thet]
Add a widget parameter to optionally disable the repeat forever option [deiferni]
1.0b11 (2013-08-23)
Return a 400 Bad Request to bots calling @@json_recurrence. Fixes #4. [href]
1.0b10 (2013-07-21)
Fix javascript error in IE7/IE8 on Windows XP -> “Unable to modify the parent container element before the child element is closed” [href]
Remove the ParameterizedWidgetFactory in favor of form schema hints for widget parameters which is available since plone.autoform 1.4. [thet]
For the z3cform widget, remove widget adapter registration from ZCML code and keep it in Python code. More appropriate z3c.form class hierarchy for the widget. Cleanup. [thet]
Provide a RecurrenceField schema field which can be used instead of zope.schema.Text. This ensures that the recurrence widget is used even without form schema hints in bare z3c.form forms. [thet]
1.0b9 (2013-05-27)
Remove one unnecessary div around AT’s edit macro. [thet]
Register CSS and JS resources in it’s registries instead of including them in the template. Add a GS profile for that. [thet]
Fix “TypeError: ‘use strict’ is not a function”. Fixes #3. [pbauer]
1.0b8 (2013-02-14)
Fix widget showing ‘undefined’ for saturdays. [href]
1.0b7 (2013-02-08)
Let occurrences preview show the correct daynames and not by one day off. Fixes https://github.com/plone/plone.app.event/issues/69 [thet]
Configure ributtonExtraClass with ‘allowMultiSubmit’. This prevent Plone’s warnings against clicking the same submit button multiple times. There is no need to customize the FORMTMPL anymore when updating the javascript from jquery.recurrenceinput.js. [thet]
Make first_day parameter also configurable for AT and z3cform widgets. [thet]
Move test related sample types to test directory and clean up package. [thet]
1.0b6 (2012-10-31)
Fix ajax call to get recurrence occurrences and corresponding error message. [thet]
1.0b5 (2012-10-29)
Include new release of jquery.recurrenceinput.js 1.0rc1. [thet]
1.0b4 (2012-10-12)
jQueryTools DateInput localization fixed. [vsomogyi]
Updated to latest jquery.recurrenceinput.js (8db74cee2bd53794726591c5ac8c8b3814778cbc) to fix a problem with IE8 and older. [dokai]
Added Finnish translation. [dokai]
1.0b3 (2012-03-12)
By default, preselect the BYOCCURRENCES “End recurrence” field, so that recurrence rules with unlimited occurrences are not selected by accident but intentionally (from jquery.recurrenceinput.js). [thet]
Include z3c.form’s meta.zcml, so widgetsTemplate directive is registered. [thet]
For conditional zcml includes, use zcml:condition instead of zcml:provides. [thet]
1.0b2 (2012-02-28)
Reorganization to make it possible to install only the Archetypes or the z3c.form widget. [regebro]
1.0b1 (2012-02-01)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file plone.formwidget.recurrence-3.0.4.tar.gz
.
File metadata
- Download URL: plone.formwidget.recurrence-3.0.4.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5540415aba4814d8a7f99cb5cf9e39a6c7277e65e249788abbde20d3bf001a4c |
|
MD5 | 5a4e35c6514de34fdcd27063aa91b0a6 |
|
BLAKE2b-256 | 99f0f2126babd92e6022014686046b20ad7424e10eb20bfc271e0f349c1f806b |
File details
Details for the file plone.formwidget.recurrence-3.0.4-py3-none-any.whl
.
File metadata
- Download URL: plone.formwidget.recurrence-3.0.4-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc6e9dd059e0b2cd216b75683c4be930c53dbab201254723b85dabefa030fe80 |
|
MD5 | 12cc55655da1e19ed43dbbb38038797f |
|
BLAKE2b-256 | 2bf6d438bbc9ae3173274e3510bf532339b88ee766108ffd8cceb9175faec761 |