Introduction
============
plone.app.contentrules provides Plone-specific conditions and actions, as well
as a user interface for plone.contentrules.
Compatibility with Plone versions
---------------------------------
The 3.x series is intended for usage with Plone 4.3 and up and features
the new content rules UI. Development of this package continues in the
``master`` branch.
For use with versions of Plone earlier than 4.3, use versions <= 2.2.1.
Development of maintenance versions can be found in the ``2.x`` branch.
Changelog
=========
.. You should *NOT* be adding new change log entries to this file.
You should create a file in the news directory instead.
For helpful instructions, please see:
https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
.. towncrier release notes start
5.0.4 (2024-05-30)
------------------
Bug fixes:
- Remove hard dependency on plone.app.discussion. [@jensens] (rm-pa-discussion-dependency)
5.0.3 (2023-10-07)
------------------
Internal:
- Update configuration files.
[plone devs] (cfffba8c)
5.0.2 (2023-04-15)
------------------
Internal:
- Update configuration files.
[plone devs] (0b0246aa)
5.0.1 (2023-04-06)
------------------
Bug fixes:
- Explicitly mark exclude_actor as not-required
[erral] (#77)
- Make modal action and condition editing modal screens bigger
[erral] (#78)
Internal:
- Update configuration files.
[plone devs] (#47959565)
5.0.0 (2022-11-30)
------------------
Bug fixes:
- Final release.
[gforcada] (#600)
5.0.0b2 (2022-07-14)
--------------------
Bug fixes:
- Remove unneeded i18n:translate call
[erral] (#73, #74)
5.0.0b1 (2022-06-23)
--------------------
Bug fixes:
- Add missing i18n tags
[erral] (#72)
5.0.0a5 (2022-05-15)
--------------------
Breaking changes:
- Code style, use plone.base and remove Archetypes bbb code.
[jensens] (#71)
5.0.0a4 (2022-04-04)
--------------------
Breaking changes:
- Remove handling of Archetypes and portal_factory.
[pbauer] (70-2)
- Improve management UI and move JS to mockup es6.
[agitator, MrTango] (#70)
Bug fixes:
- Updated dependencies: ZODB and Zope instead of ZODB3 and Zope2.
[maurits] (#46)
5.0.0a3 (2021-12-29)
--------------------
Bug fixes:
- remove obsolete info icon
update element management to bootstrap5
[petschki] (#66)
5.0.0a2 (2021-09-15)
--------------------
Bug fixes:
- Remove cyclic dependency with Products.CMFPlone
[ericof] (#64)
5.0.0a1 (2021-04-20)
--------------------
Breaking changes:
- Update for Plone 6 with Bootstrap markup
[andreesg, agitator] (#63)
4.1.6 (2021-01-08)
------------------
Bug fixes:
- Simplify test setup by using the MOCK_MAILHOST_FIXTURE (#59)
4.1.5 (2020-09-26)
------------------
Bug fixes:
- Fixed deprecation warning for ComponentLookupError.
Fixed deprecation warning for zope.site.hooks.
Fixed deprecation warning for IObjectEvent from zope.component.
[maurits] (#3130)
- Fixed test failures on Python 3 with Products.MailHost 4.10.
[maurits] (#3178)
4.1.4 (2020-04-20)
------------------
Bug fixes:
- Minor packaging updates. (#1)
4.1.3 (2019-11-25)
------------------
Bug fixes:
- fix genericsetup export of properties of rules that have more complex fields such as IDict. (#50)
4.1.2 (2019-10-12)
------------------
Bug fixes:
- Fix file extension condition. [mtrebron] (#48)
4.1.1 (2019-03-21)
------------------
New features:
- Add new action `Version object`.
[gbastien] (#44)
Bug fixes:
- Fix default value for a msgid [erral] (#42)
4.1 (2018-10-30)
----------------
New features:
- Adapt tests to `Products.GenericSetup >= 2.0` thus requiring at least that
version.
Bug fixes:
- Migrate all tests to use dexterity
[pbauer]
- Work around issue where new item is moved before it's completely added
[davisagli]
- Fix all tests with py3 and py2
[pbauer, alert, davisagli]
4.0.18 (2018-02-04)
-------------------
Bug fixes:
- Add Python 2 / 3 compatibility
[pbauer]
- Fix test with CMF 2.3. [davisagli]
4.0.17 (2017-07-20)
-------------------
Bug fixes:
- Fix UnicodeEncodeError if portal from name contains Umlauts
[agitator]
4.0.16 (2017-05-23)
-------------------
Bug fixes:
- Fix action edit form. Previously, changes would not be persisted due
to a bug.
[malthe]
4.0.15 (2017-05-06)
-------------------
Bug fixes:
- Ensure error message is an unicode object
[mtrebron]
- Cleanup: isort, autopep8, manual formatting.
[jensens]
- Cleanup: update code to follow Plone styleguide.
[gforcada]
4.0.14 (2017-04-02)
-------------------
Bug fixes:
- Fix issue where content rules edit forms were broken because of move of
getIcon from @@plone to @@plone_layout
[datakurre]
4.0.13 (2016-12-30)
-------------------
Bug fixes:
- In browser tests, specify the buttons to be clicked by their name instead of their index.
[thet]
- Fix import location for Products.ATContentTypes.interfaces.
[thet]
4.0.12 (2016-11-10)
-------------------
Bug fixes:
- Add coding header to python files.
[gforcada]
4.0.11 (2016-08-17)
-------------------
Fixes:
- Use zope.interface decorator.
[gforcada]
- Replace docstring mentions of Formlib with z3c.form
[staeff]
4.0.10 (2015-11-26)
-------------------
Fixes:
- Update Site Setup link in all control panels (fixes https://github.com/plone/Products.CMFPlone/issues/1255)
[davilima6]
- Declare i18n_domain="plone" in zcml files to be able to extract messages
for translation.
[vincentfretin]
4.0.9 (2015-10-28)
------------------
Fixes:
- CSRF fix: safe write on read.
[gforcada]
4.0.8 (2015-09-20)
------------------
- Fix i18n in mail.pt
[vincentfretin]
- Pull email_charset from the configuration registry instead of site properties
[esteele]
4.0.7 (2015-09-11)
------------------
- Use z3c.form for custom email-action form template.
Fixes https://github.com/plone/Products.CMFPlone/issues/892
[pbauer]
4.0.6 (2015-07-18)
------------------
- Use MockMailHost of Plone for tests
[tomgross]
- Make configlets titles consistent across the site, first letter capitalized
[sneridagh]
4.0.5 (2015-06-05)
------------------
- Move to z3c.form
[vangheem]
4.0.4 (2015-05-30)
------------------
- Removed CMFDefault dependency
[tomgross]
4.0.3 (2015-05-04)
------------------
- I18n fixes.
[vincentfretin]
- pat-modal pattern has been renamed to pat-plone-modal
[jcbrand]
4.0.2 (2015-03-20)
------------------
- Nothing changed yet.
4.0.1 (2015-03-11)
------------------
- Fetch email settings from registry instead of properties.
Refs PLIP 10359.
[jcerjak, khink]
- Fix control panel to work with Plone 5 Modals
[vangheem]
4.0.0 (2014-10-23)
------------------
- Ported tests to plone.app.testing
[tomgross]
- Registered the copy event so rules can now be triggered for it.
[alecghica]
- Integration of the new markup update and CSS for both Plone and Barceloneta
theme. This is the work done in the GSOC Barceloneta theme project.
[albertcasado, sneridagh]
3.0.7 (2014-04-13)
------------------
- Do not write on read
[vangheem]
3.0.6 (2014-01-27)
------------------
- Make sure CHANGES.rst is included in distributions.
[esteele]
3.0.5 (2014-01-27)
------------------
- Fixed 3.0.4 regression: add/move/remove events where not handled
anymore on discussion items.
[thomasdesvenain]
- Fixed reordering of actions / conditions.
This occurred when 'jq' was not defined as 'jQuery'.
[thomasdesvenain]
- User that manage a rule can now allow actions executed by this rule
to recursively trigger other rules.
For example, if you have a rule that automatically publish added content,
and an other rule that sends an email when a content is published,
if autopublish rule is marked as 'cascading', then send mail rule will be triggered.
[thomasdesvenain]
- Mail action: if string interpolation of recipient gives several times
the same email address,
the email is sent only once to this recipient.
[thomasdesvenain]
- Workaround ``KeyError: context`` for unicode TALES expressions in content
rules by providing the expression ``context``. This was triggered by a
TALES expression such as ``u'string:${portal_url}``.
[davidjb]
3.0.4 (2013-08-13)
------------------
- When we assign a rule, it is enabled by default and is applied to subfolders.
When we apply a rule to subfolders, it is enabled if it wasn't.
[thomasdesvenain]
- Provides an API to easily deal with rules assignment management.
[thomasdesvenain]
- Do not display Rules action unless some Content Rules are defined.
[runyaga]
- Fix overlay acting funky on the delete action
[vangheem]
- Move, Removed and Added handlers are not launched anymore
on non contentish objects.
This fixes plone upgrades - content rules where launched on tools.
[thomasdesvenain]
- Fixed i18n
[jianaijun]
3.0.3 (2013-05-30)
------------------
- Any event can use the tales condition [thomasdesvenain]
- Remove handler for 'User removed' event [thomasdesvenain]
3.0.2 (2013-05-23)
------------------
- Fix for Plone 4.3: fixed enable back content rules after having disabled it.
[thomasdesvenain]
- Import step depends on workflow step
so that rules can manage specific transitions / states of profile.
[thomasdesvenain]
- Add stub nextURL method to
plone.app.contentrules.browser.adding.RuleAdding to prevent
security WARNING message on startup:
"Init Class plone.app.contentrules.browser.adding.RuleAdding has
a security declaration for nonexistent method 'nextURL'"
[smcmahon]
- Content rules can handle user events [Julien Marinescu, kiorky]
- Any event can use the email handler [Julien Marinescu, kiorky]
3.0.1 (2013-04-06)
------------------
- Use single quotes instead of double to avoid breaking translation
[ericof]
- Fix multi assignment of rules
[ericof]
3.0 (2013-03-05)
----------------
- Improve management pages user interface :
- Improve and ajaxify rules table. Avoids scrolling and page reloads.
- Improve rules table filter (multiple selection, more readable).
- Improve content rules forms usability.
We are redirected to edit form after a rule has been added.
- Add form and Edit form are now consistent.
- Notify user by many ways when a rule is not assigned anywhere yet.
- We can assign a rule on whole site by a simple button.
- Ajaxify conditions and actions reordering and removing.
- Focus on elements after adding an action or a condition.
- Improve rule edit pages breadcrumbs.
- Added tests.
[vsomogyi, thomasdesvenain, vangheem
contribution wimbou,
made @ploneconf2012 sprint]
2.2.1 (2013-01-01)
------------------
- Remove KSS dependency.
[davisagli]
2.2.0 (2012-10-16)
------------------
- Unified the site setup html structure
[TH-code]
2.1.9 (2012-08-30)
------------------
- Change mail template to use hex for curly brackets so that it doesn't barf when
used with chameleon. This is a short term fix until https://github.com/malthe/chameleon/issues/88
is appropriately fixed.
[eleddy]
- Notify user with error message instead of a core dump if they set up a content
mail action without the mailer set up. Prevents users from throwing computer out
of window when they click save and all their hard entered data is gone.
[eleddy]
2.1.8 (2012-08-11)
------------------
- Adding a content rule is not handled by 'added' rule...
Fixes infinite loop on adding a content rule.
[thomasdesvenain]
- ContainerModified event is excluded from 'modified' event handling.
This avoids for example adding a comment to launch 'modified' rules registered for it.
[thomasdesvenain]
2.1.7 (2012-08-04)
------------------
- Added an option in email action
to exclude user who did the action from recipients.
[thomasdesvenain]
2.1.6 (2012-07-02)
------------------
- Avoid hard dependency on Archetypes.
[davisagli]
- Fixed portaltype condition made
type creation fail in portal_types.
[thomasdesvenain]
- Don't trigger modified actions if the event was
for adding or removing content. Fixes #12461
[do3cc]
- Logger action: Default values that make sense
for "Logger name" (Plone) and "Logging level" (20).
[kleist]
2.1.5 (2012-04-15)
------------------
- Fixed <link /> element wasn't closed in controlpanel.
[mjpieters]
2.1.4 (2012-01-04)
------------------
- Fix missing CMF Permissions declaration in ZCML declaration (Julien Stegle)
[encolpe]
- Fixed wrong error plone message after a failure on a delete content rule.
[thomasdesvenain]
2.1.3 - 2011-06-19
------------------
- Fixed i18n regression caused by the pep8 cleanup.
[vincentfretin]
2.1.2 - 2011-05-12
------------------
- If email content rule 'From' field interpolation gives empty string,
from is site from address.
[thomasdesvenain]
- Import IEndRequestEvent from zope.publisher instead of zope.app.publication
[davisagli]
- Rules execution filter is no more based on event context,
but in rule assignment context.
This allows the same rule to be executed on different objects during the same request,
including during the same test.
[thomasdesvenain]
- Fixed: When two or more objects are initialized during the same request,
'Object added' content rule handler is executed only once.
Refs https://dev.plone.org/plone/ticket/11706.
[thomasdesvenain]
- Add MANIFEST.in.
[WouterVH]
- Internationalization fix on local rules management screen.
[thomasdesvenain]
- Use site_url instead of deprecated portal_url.
[WouterVH]
- Code cleanup and some PEP8.
[WouterVH]
2.1.1 - 2011-04-03
------------------
- Dynamic behavior is fixed on rules controlpanel, including rules list filter.
Refs http://dev.plone.org/plone/ticket/10831.
[thomasdesvenain]
2.1.0 - 2011-01-03
------------------
- Depend on ``Products.CMFPlone`` instead of ``Plone``.
[elro]
- Use plone.uuid to look up content UUIDs.
[toutpt, davisagli]
- Protect content rules management views using the
"Content rules: Manage rules" permission, instead of the generic
"Manage portal".
[davisagli]
- Do not force to send mails in same transaction if mail queuing is on.
[thomasdesvenain]
2.0.6 - 2011-01-03
------------------
- Protect content rules management views using the
"Content rules: Manage rules" permission, instead of the generic
"Manage portal".
[davisagli]
- Do not force to send mails in same transaction if mail queuing is on.
[thomasdesvenain]
2.0.5 - 2010-11-06
------------------
- Added TALES expression condition. This closes
http://dev.plone.org/plone/ticket/9939.
[thomasdesvenain]
2.0.4 - 2010-10-27
------------------
- Added missing ``</thead>`` tag.
[swampmonkey]
- Fixed typo on logger message field description.
[thomasdesvenain]
2.0.3 - 2010-09-28
------------------
- Internationalize event trigger types.
[thomasdesvenain]
- Added user login variable '&u' to use in logger action message template.
[thomasdesvenain]
2.0.2 - 2010-09-20
------------------
- Internationalize some values on management pages.
[thomasdesvenain]
2.0.1 - 2010-09-09
------------------
- Raises an ImportError in generic setup import if the value for the "event"
attribute in contentrules.xml rule element can't be imported.
[thomasdesvenain]
- Fix duplicate rule filter crashed at site root level in Acquisition Wrapper
case. This closes http://dev.plone.org/plone/ticket/10597.
[thomasdesvenain]
- Mail action doesn't add an error log when recipient list is empty,
it just doesn't send the mail.
[thomasdesvenain]
- Fix for Chameleon compatibility.
[vangheem]
2.0 - 2010-07-18
----------------
- Update license to GPL version 2 only.
[hannosch]
- Code cleanup and some PEP8.
[hannosch]
2.0b4 - 2010-06-13
------------------
- Avoid deprecation warnings under Zope 2.13.
[hannosch]
- Updated to use five.formlib.
[hannosch]
2.0b3 - 2010-04-12
------------------
- Fix control panel templates to show the prefs portlet correctly again. This
closes http://dev.plone.org/plone/ticket/10419.
[davisagli]
2.0b2 - 2010-02-17
------------------
- Updated @@manage-content-rules to the recent markup conventions.
References http://dev.plone.org/plone/ticket/9981.
[spliter]
- Updated mail.pt to follow the recent markup conventions.
References http://dev.plone.org/plone/ticket/9981.
[spliter]
- Add "stop executing after this rule" checkbox to edit page of content rule.
Fixes http://dev.plone.org/plone/ticket/8396.
[MatthewWilkes]
2.0b1 - 2010-01-11
------------------
- Allow '@' in site from name. Fixes http://dev.plone.org/plone/ticket/9780.
[smcmahon]
2.0a2 - 2009-12-27
------------------
- Declare package dependencies and replace zope.thread by the standard
libraries threading module.
[hannosch]
- Prepend mail messages with ``\n`` to avoid interpretation of first
line as a mail header.
[smcmahon]
- Renamed label_contentrules_rule_enabled by
label_contentrules_rule_enabled_question in manage-assignments.pt.
It conflicted with label_contentrules_rule_enabled in
plone/app/contentrules/browser/templates/controlpanel.pt
[vincentfretin]
- Don't include <q> tag in title_contentrules_assigned message.
[vincentfretin]
2.0a1 - 2009-11-14
------------------
- Use zope.container and zope.browser in favor of zope.app dependencies.
[hannosch]
- Change mailing send action to use "immediate=True" so that we can catch
SMTPException. See note with code.
[smcmahon]
- Fixed typo in manage-assignments.pt, so the disable button was not properly
translated.
[vincentfretin]
- Log error rather than fail with exception on MailHostError in mail action.
[smcmahon]
- Use plone.stringinterp for adaptable string substitution in mail action.
Plip #9256.
[smcmahon]
- Removed SecureMailHost dependency.
[alecm]
- Adjusted some import statements to use the new zope.container.
[hannosch]
1.1.7 - 2010-09-20
------------------
- Fixed untranslatable content types in @@manage-content-rules. This closes
http://dev.plone.org/plone/ticket/9778
[vincenfretin]
- Fixed some duplicated msgids with different defaults.
There is no new strings to translate.
See http://dev.plone.org/plone/ticket/9633
[vincenfretin]
1.1.6 - 2009-05-16
------------------
- Add check to see if getTypeInfo can be None (which is a valid value)
[tesdal]
- Changed the simplepublish test to use a copy instead of a move action.
The move action causes the content item to be moved away while editing
it and causes a NotFound error. In Plone 3 this is hidden by the
customized NotFound handling.
[hannosch]
- Fixed GenericSetup tests layer to not pollute the general test
environment.
[hannosch]
- Modified a macro call in contentrules-pageform.pt for forwards
compatibility with Zope 2.12.
[davisagli]
- Fixed a SyntaxError in test_configuration.
[hannosch]
1.1.1 - 2008-04-18
------------------
- Added proper unicode handling to mail action. This closes
http://dev.plone.org/plone/ticket/7650.
[hannosch]
- Made the GS import handlers more tolerant in case the storage utility
is missing. This closes http://dev.plone.org/plone/ticket/8133.
[hannosch]
- Changed wording on the IMailAction interface to remove a reference to a
newly created item, since the action can be used on existing content
as well. This closes http://dev.plone.org/plone/ticket/8225.
[hannosch]
1.1 - 2008-04-20
----------------
- Ensure that if a contentrules.xml step is imported twice, conditions and
actions are not duplicated.
Fixes http://dev.plone.org/plone/ticket/8027
[optilude]
- Fix invalid leading space in all 'Up to Site Setup' links.
[wichert]
1.1.0a1 - 2008-03-09
--------------------
- Fixed a small bug related to getTypeInfo() being acquired.
http://dev.plone.org/plone/ticket/7385
[optilude]
- Fixed bug causing content rule actions/conditions to not be properly
saved.
http://dev.plone.org/plone/ticket/7909
[optilude]
- Merge PLIP 204 - GenericSetup support. A contentrules.xml file can now
be used to import and export rule definitions and assignments.
[optilude]
1.0.5 - 2008-01-03
------------------
- Made absolute_url() work properly on the custom adding views. This is
necessary for the <base /> URL to be set correctly.
[optilude]
- Made absolute_url() work across the namespace traversal adapters for
rules, actions and conditions, at time resorting to some serious
Cowboy Development.
[optilude]
- Adjusted tests for different payload in newer kss versions.
[hannosch]
1.0 - 2007-08-17
----------------
- Added i18n markup for the confirm_icon.gif alternate text. This closes
http://dev.plone.org/plone/ticket/7062.
[hannosch]
- Changed the portal type condition to use the ReallyUserFriendlyTypes
vocabulary. This closes http://dev.plone.org/plone/ticket/6911.
[hannosch]
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/plone.app.contentrules",
"name": "plone.app.contentrules",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "plone automatic content rules",
"author": "Plone Foundation",
"author_email": "plone-developers@lists.sourceforge.net",
"download_url": "https://files.pythonhosted.org/packages/49/e0/4af8ee64cec263d62b486deb8ab1e88710d3d22c086a3ee5866c8df48339/plone_app_contentrules-5.0.4.tar.gz",
"platform": null,
"description": "Introduction\n============\n\nplone.app.contentrules provides Plone-specific conditions and actions, as well\nas a user interface for plone.contentrules.\n\nCompatibility with Plone versions\n---------------------------------\n\nThe 3.x series is intended for usage with Plone 4.3 and up and features\nthe new content rules UI. Development of this package continues in the\n``master`` branch.\n\nFor use with versions of Plone earlier than 4.3, use versions <= 2.2.1.\nDevelopment of maintenance versions can be found in the ``2.x`` branch.\n\nChangelog\n=========\n\n.. You should *NOT* be adding new change log entries to this file.\n You should create a file in the news directory instead.\n For helpful instructions, please see:\n https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst\n\n.. towncrier release notes start\n\n5.0.4 (2024-05-30)\n------------------\n\nBug fixes:\n\n\n- Remove hard dependency on plone.app.discussion. [@jensens] (rm-pa-discussion-dependency)\n\n\n5.0.3 (2023-10-07)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (cfffba8c)\n\n\n5.0.2 (2023-04-15)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (0b0246aa)\n\n\n5.0.1 (2023-04-06)\n------------------\n\nBug fixes:\n\n\n- Explicitly mark exclude_actor as not-required\n [erral] (#77)\n- Make modal action and condition editing modal screens bigger\n [erral] (#78)\n\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (#47959565)\n\n\n5.0.0 (2022-11-30)\n------------------\n\nBug fixes:\n\n\n- Final release.\n [gforcada] (#600)\n\n\n5.0.0b2 (2022-07-14)\n--------------------\n\nBug fixes:\n\n\n- Remove unneeded i18n:translate call\n [erral] (#73, #74)\n\n\n5.0.0b1 (2022-06-23)\n--------------------\n\nBug fixes:\n\n\n- Add missing i18n tags\n [erral] (#72)\n\n\n5.0.0a5 (2022-05-15)\n--------------------\n\nBreaking changes:\n\n\n- Code style, use plone.base and remove Archetypes bbb code.\n [jensens] (#71)\n\n\n5.0.0a4 (2022-04-04)\n--------------------\n\nBreaking changes:\n\n\n- Remove handling of Archetypes and portal_factory.\n [pbauer] (70-2)\n- Improve management UI and move JS to mockup es6.\n [agitator, MrTango] (#70)\n\n\nBug fixes:\n\n\n- Updated dependencies: ZODB and Zope instead of ZODB3 and Zope2.\n [maurits] (#46)\n\n\n5.0.0a3 (2021-12-29)\n--------------------\n\nBug fixes:\n\n\n- remove obsolete info icon\n update element management to bootstrap5\n [petschki] (#66)\n\n\n5.0.0a2 (2021-09-15)\n--------------------\n\nBug fixes:\n\n\n- Remove cyclic dependency with Products.CMFPlone\n [ericof] (#64)\n\n\n5.0.0a1 (2021-04-20)\n--------------------\n\nBreaking changes:\n\n\n- Update for Plone 6 with Bootstrap markup\n [andreesg, agitator] (#63)\n\n\n4.1.6 (2021-01-08)\n------------------\n\nBug fixes:\n\n\n- Simplify test setup by using the MOCK_MAILHOST_FIXTURE (#59)\n\n\n4.1.5 (2020-09-26)\n------------------\n\nBug fixes:\n\n\n- Fixed deprecation warning for ComponentLookupError.\n Fixed deprecation warning for zope.site.hooks.\n Fixed deprecation warning for IObjectEvent from zope.component.\n [maurits] (#3130)\n- Fixed test failures on Python 3 with Products.MailHost 4.10.\n [maurits] (#3178)\n\n\n4.1.4 (2020-04-20)\n------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n4.1.3 (2019-11-25)\n------------------\n\nBug fixes:\n\n\n- fix genericsetup export of properties of rules that have more complex fields such as IDict. (#50)\n\n\n4.1.2 (2019-10-12)\n------------------\n\nBug fixes:\n\n\n- Fix file extension condition. [mtrebron] (#48)\n\n\n4.1.1 (2019-03-21)\n------------------\n\nNew features:\n\n\n- Add new action `Version object`.\n [gbastien] (#44)\n\n\nBug fixes:\n\n- Fix default value for a msgid [erral] (#42)\n\n\n4.1 (2018-10-30)\n----------------\n\nNew features:\n\n- Adapt tests to `Products.GenericSetup >= 2.0` thus requiring at least that\n version.\n\nBug fixes:\n\n- Migrate all tests to use dexterity\n [pbauer]\n\n- Work around issue where new item is moved before it's completely added\n [davisagli]\n\n- Fix all tests with py3 and py2\n [pbauer, alert, davisagli]\n\n\n4.0.18 (2018-02-04)\n-------------------\n\nBug fixes:\n\n- Add Python 2 / 3 compatibility\n [pbauer]\n\n- Fix test with CMF 2.3. [davisagli]\n\n\n4.0.17 (2017-07-20)\n-------------------\n\nBug fixes:\n\n- Fix UnicodeEncodeError if portal from name contains Umlauts\n [agitator]\n\n\n4.0.16 (2017-05-23)\n-------------------\n\nBug fixes:\n\n- Fix action edit form. Previously, changes would not be persisted due\n to a bug.\n [malthe]\n\n\n4.0.15 (2017-05-06)\n-------------------\n\nBug fixes:\n\n- Ensure error message is an unicode object\n [mtrebron]\n\n- Cleanup: isort, autopep8, manual formatting.\n [jensens]\n\n- Cleanup: update code to follow Plone styleguide.\n [gforcada]\n\n\n4.0.14 (2017-04-02)\n-------------------\n\nBug fixes:\n\n- Fix issue where content rules edit forms were broken because of move of\n getIcon from @@plone to @@plone_layout\n [datakurre]\n\n\n4.0.13 (2016-12-30)\n-------------------\n\nBug fixes:\n\n- In browser tests, specify the buttons to be clicked by their name instead of their index.\n [thet]\n\n- Fix import location for Products.ATContentTypes.interfaces.\n [thet]\n\n\n4.0.12 (2016-11-10)\n-------------------\n\nBug fixes:\n\n- Add coding header to python files.\n [gforcada]\n\n4.0.11 (2016-08-17)\n-------------------\n\nFixes:\n\n- Use zope.interface decorator.\n [gforcada]\n\n- Replace docstring mentions of Formlib with z3c.form\n [staeff]\n\n4.0.10 (2015-11-26)\n-------------------\n\nFixes:\n\n- Update Site Setup link in all control panels (fixes https://github.com/plone/Products.CMFPlone/issues/1255)\n [davilima6]\n\n- Declare i18n_domain=\"plone\" in zcml files to be able to extract messages\n for translation.\n [vincentfretin]\n\n\n4.0.9 (2015-10-28)\n------------------\n\nFixes:\n\n- CSRF fix: safe write on read.\n [gforcada]\n\n\n4.0.8 (2015-09-20)\n------------------\n\n- Fix i18n in mail.pt\n [vincentfretin]\n\n- Pull email_charset from the configuration registry instead of site properties\n [esteele]\n\n4.0.7 (2015-09-11)\n------------------\n\n- Use z3c.form for custom email-action form template.\n Fixes https://github.com/plone/Products.CMFPlone/issues/892\n [pbauer]\n\n\n4.0.6 (2015-07-18)\n------------------\n\n- Use MockMailHost of Plone for tests\n [tomgross]\n\n- Make configlets titles consistent across the site, first letter capitalized\n [sneridagh]\n\n\n4.0.5 (2015-06-05)\n------------------\n\n- Move to z3c.form\n [vangheem]\n\n\n4.0.4 (2015-05-30)\n------------------\n\n- Removed CMFDefault dependency\n [tomgross]\n\n\n4.0.3 (2015-05-04)\n------------------\n\n- I18n fixes.\n [vincentfretin]\n\n- pat-modal pattern has been renamed to pat-plone-modal\n [jcbrand]\n\n4.0.2 (2015-03-20)\n------------------\n\n- Nothing changed yet.\n\n\n4.0.1 (2015-03-11)\n------------------\n\n- Fetch email settings from registry instead of properties.\n Refs PLIP 10359.\n [jcerjak, khink]\n\n- Fix control panel to work with Plone 5 Modals\n [vangheem]\n\n\n4.0.0 (2014-10-23)\n------------------\n\n- Ported tests to plone.app.testing\n [tomgross]\n\n- Registered the copy event so rules can now be triggered for it.\n [alecghica]\n\n- Integration of the new markup update and CSS for both Plone and Barceloneta\n theme. This is the work done in the GSOC Barceloneta theme project.\n [albertcasado, sneridagh]\n\n\n3.0.7 (2014-04-13)\n------------------\n\n- Do not write on read\n [vangheem]\n\n\n3.0.6 (2014-01-27)\n------------------\n\n- Make sure CHANGES.rst is included in distributions.\n [esteele]\n\n\n3.0.5 (2014-01-27)\n------------------\n\n- Fixed 3.0.4 regression: add/move/remove events where not handled\n anymore on discussion items.\n [thomasdesvenain]\n\n- Fixed reordering of actions / conditions.\n This occurred when 'jq' was not defined as 'jQuery'.\n [thomasdesvenain]\n\n- User that manage a rule can now allow actions executed by this rule\n to recursively trigger other rules.\n For example, if you have a rule that automatically publish added content,\n and an other rule that sends an email when a content is published,\n if autopublish rule is marked as 'cascading', then send mail rule will be triggered.\n [thomasdesvenain]\n\n- Mail action: if string interpolation of recipient gives several times\n the same email address,\n the email is sent only once to this recipient.\n [thomasdesvenain]\n\n- Workaround ``KeyError: context`` for unicode TALES expressions in content\n rules by providing the expression ``context``. This was triggered by a\n TALES expression such as ``u'string:${portal_url}``.\n [davidjb]\n\n\n3.0.4 (2013-08-13)\n------------------\n\n- When we assign a rule, it is enabled by default and is applied to subfolders.\n When we apply a rule to subfolders, it is enabled if it wasn't.\n [thomasdesvenain]\n\n- Provides an API to easily deal with rules assignment management.\n [thomasdesvenain]\n\n- Do not display Rules action unless some Content Rules are defined.\n [runyaga]\n\n- Fix overlay acting funky on the delete action\n [vangheem]\n\n- Move, Removed and Added handlers are not launched anymore\n on non contentish objects.\n This fixes plone upgrades - content rules where launched on tools.\n [thomasdesvenain]\n\n- Fixed i18n\n [jianaijun]\n\n\n3.0.3 (2013-05-30)\n------------------\n\n- Any event can use the tales condition [thomasdesvenain]\n\n- Remove handler for 'User removed' event [thomasdesvenain]\n\n\n3.0.2 (2013-05-23)\n------------------\n\n- Fix for Plone 4.3: fixed enable back content rules after having disabled it.\n [thomasdesvenain]\n\n- Import step depends on workflow step\n so that rules can manage specific transitions / states of profile.\n [thomasdesvenain]\n\n- Add stub nextURL method to\n plone.app.contentrules.browser.adding.RuleAdding to prevent\n security WARNING message on startup:\n \"Init Class plone.app.contentrules.browser.adding.RuleAdding has\n a security declaration for nonexistent method 'nextURL'\"\n [smcmahon]\n\n- Content rules can handle user events [Julien Marinescu, kiorky]\n\n- Any event can use the email handler [Julien Marinescu, kiorky]\n\n\n3.0.1 (2013-04-06)\n------------------\n\n- Use single quotes instead of double to avoid breaking translation\n [ericof]\n\n- Fix multi assignment of rules\n [ericof]\n\n\n3.0 (2013-03-05)\n----------------\n\n- Improve management pages user interface :\n\n - Improve and ajaxify rules table. Avoids scrolling and page reloads.\n - Improve rules table filter (multiple selection, more readable).\n - Improve content rules forms usability.\n We are redirected to edit form after a rule has been added.\n - Add form and Edit form are now consistent.\n - Notify user by many ways when a rule is not assigned anywhere yet.\n - We can assign a rule on whole site by a simple button.\n - Ajaxify conditions and actions reordering and removing.\n - Focus on elements after adding an action or a condition.\n - Improve rule edit pages breadcrumbs.\n - Added tests.\n [vsomogyi, thomasdesvenain, vangheem\n contribution wimbou,\n made @ploneconf2012 sprint]\n\n\n2.2.1 (2013-01-01)\n------------------\n\n- Remove KSS dependency.\n [davisagli]\n\n\n2.2.0 (2012-10-16)\n------------------\n\n- Unified the site setup html structure\n [TH-code]\n\n\n2.1.9 (2012-08-30)\n------------------\n\n- Change mail template to use hex for curly brackets so that it doesn't barf when\n used with chameleon. This is a short term fix until https://github.com/malthe/chameleon/issues/88\n is appropriately fixed.\n [eleddy]\n\n- Notify user with error message instead of a core dump if they set up a content\n mail action without the mailer set up. Prevents users from throwing computer out\n of window when they click save and all their hard entered data is gone.\n [eleddy]\n\n\n2.1.8 (2012-08-11)\n------------------\n\n- Adding a content rule is not handled by 'added' rule...\n Fixes infinite loop on adding a content rule.\n [thomasdesvenain]\n\n- ContainerModified event is excluded from 'modified' event handling.\n This avoids for example adding a comment to launch 'modified' rules registered for it.\n [thomasdesvenain]\n\n\n2.1.7 (2012-08-04)\n------------------\n\n- Added an option in email action\n to exclude user who did the action from recipients.\n [thomasdesvenain]\n\n\n2.1.6 (2012-07-02)\n------------------\n\n- Avoid hard dependency on Archetypes.\n [davisagli]\n\n- Fixed portaltype condition made\n type creation fail in portal_types.\n [thomasdesvenain]\n\n- Don't trigger modified actions if the event was\n for adding or removing content. Fixes #12461\n [do3cc]\n\n- Logger action: Default values that make sense\n for \"Logger name\" (Plone) and \"Logging level\" (20).\n [kleist]\n\n\n2.1.5 (2012-04-15)\n------------------\n\n- Fixed <link /> element wasn't closed in controlpanel.\n [mjpieters]\n\n2.1.4 (2012-01-04)\n------------------\n\n- Fix missing CMF Permissions declaration in ZCML declaration (Julien Stegle)\n [encolpe]\n\n- Fixed wrong error plone message after a failure on a delete content rule.\n [thomasdesvenain]\n\n2.1.3 - 2011-06-19\n------------------\n\n- Fixed i18n regression caused by the pep8 cleanup.\n [vincentfretin]\n\n\n2.1.2 - 2011-05-12\n------------------\n\n- If email content rule 'From' field interpolation gives empty string,\n from is site from address.\n [thomasdesvenain]\n\n- Import IEndRequestEvent from zope.publisher instead of zope.app.publication\n [davisagli]\n\n- Rules execution filter is no more based on event context,\n but in rule assignment context.\n This allows the same rule to be executed on different objects during the same request,\n including during the same test.\n [thomasdesvenain]\n\n- Fixed: When two or more objects are initialized during the same request,\n 'Object added' content rule handler is executed only once.\n Refs https://dev.plone.org/plone/ticket/11706.\n [thomasdesvenain]\n\n- Add MANIFEST.in.\n [WouterVH]\n\n- Internationalization fix on local rules management screen.\n [thomasdesvenain]\n\n- Use site_url instead of deprecated portal_url.\n [WouterVH]\n\n- Code cleanup and some PEP8.\n [WouterVH]\n\n\n2.1.1 - 2011-04-03\n------------------\n\n- Dynamic behavior is fixed on rules controlpanel, including rules list filter.\n Refs http://dev.plone.org/plone/ticket/10831.\n [thomasdesvenain]\n\n\n2.1.0 - 2011-01-03\n------------------\n\n- Depend on ``Products.CMFPlone`` instead of ``Plone``.\n [elro]\n\n- Use plone.uuid to look up content UUIDs.\n [toutpt, davisagli]\n\n- Protect content rules management views using the\n \"Content rules: Manage rules\" permission, instead of the generic\n \"Manage portal\".\n [davisagli]\n\n- Do not force to send mails in same transaction if mail queuing is on.\n [thomasdesvenain]\n\n\n2.0.6 - 2011-01-03\n------------------\n\n- Protect content rules management views using the\n \"Content rules: Manage rules\" permission, instead of the generic\n \"Manage portal\".\n [davisagli]\n\n- Do not force to send mails in same transaction if mail queuing is on.\n [thomasdesvenain]\n\n\n2.0.5 - 2010-11-06\n------------------\n\n- Added TALES expression condition. This closes\n http://dev.plone.org/plone/ticket/9939.\n [thomasdesvenain]\n\n\n2.0.4 - 2010-10-27\n------------------\n\n- Added missing ``</thead>`` tag.\n [swampmonkey]\n\n- Fixed typo on logger message field description.\n [thomasdesvenain]\n\n\n2.0.3 - 2010-09-28\n------------------\n\n- Internationalize event trigger types.\n [thomasdesvenain]\n\n- Added user login variable '&u' to use in logger action message template.\n [thomasdesvenain]\n\n\n2.0.2 - 2010-09-20\n------------------\n\n- Internationalize some values on management pages.\n [thomasdesvenain]\n\n\n2.0.1 - 2010-09-09\n------------------\n\n- Raises an ImportError in generic setup import if the value for the \"event\"\n attribute in contentrules.xml rule element can't be imported.\n [thomasdesvenain]\n\n- Fix duplicate rule filter crashed at site root level in Acquisition Wrapper\n case. This closes http://dev.plone.org/plone/ticket/10597.\n [thomasdesvenain]\n\n- Mail action doesn't add an error log when recipient list is empty,\n it just doesn't send the mail.\n [thomasdesvenain]\n\n- Fix for Chameleon compatibility.\n [vangheem]\n\n\n2.0 - 2010-07-18\n----------------\n\n- Update license to GPL version 2 only.\n [hannosch]\n\n- Code cleanup and some PEP8.\n [hannosch]\n\n\n2.0b4 - 2010-06-13\n------------------\n\n- Avoid deprecation warnings under Zope 2.13.\n [hannosch]\n\n- Updated to use five.formlib.\n [hannosch]\n\n\n2.0b3 - 2010-04-12\n------------------\n\n- Fix control panel templates to show the prefs portlet correctly again. This\n closes http://dev.plone.org/plone/ticket/10419.\n [davisagli]\n\n\n2.0b2 - 2010-02-17\n------------------\n\n- Updated @@manage-content-rules to the recent markup conventions.\n References http://dev.plone.org/plone/ticket/9981.\n [spliter]\n\n- Updated mail.pt to follow the recent markup conventions.\n References http://dev.plone.org/plone/ticket/9981.\n [spliter]\n\n- Add \"stop executing after this rule\" checkbox to edit page of content rule.\n Fixes http://dev.plone.org/plone/ticket/8396.\n [MatthewWilkes]\n\n\n2.0b1 - 2010-01-11\n------------------\n\n- Allow '@' in site from name. Fixes http://dev.plone.org/plone/ticket/9780.\n [smcmahon]\n\n\n2.0a2 - 2009-12-27\n------------------\n\n- Declare package dependencies and replace zope.thread by the standard\n libraries threading module.\n [hannosch]\n\n- Prepend mail messages with ``\\n`` to avoid interpretation of first\n line as a mail header.\n [smcmahon]\n\n- Renamed label_contentrules_rule_enabled by\n label_contentrules_rule_enabled_question in manage-assignments.pt.\n It conflicted with label_contentrules_rule_enabled in\n plone/app/contentrules/browser/templates/controlpanel.pt\n [vincentfretin]\n\n- Don't include <q> tag in title_contentrules_assigned message.\n [vincentfretin]\n\n\n2.0a1 - 2009-11-14\n------------------\n\n- Use zope.container and zope.browser in favor of zope.app dependencies.\n [hannosch]\n\n- Change mailing send action to use \"immediate=True\" so that we can catch\n SMTPException. See note with code.\n [smcmahon]\n\n- Fixed typo in manage-assignments.pt, so the disable button was not properly\n translated.\n [vincentfretin]\n\n- Log error rather than fail with exception on MailHostError in mail action.\n [smcmahon]\n\n- Use plone.stringinterp for adaptable string substitution in mail action.\n Plip #9256.\n [smcmahon]\n\n- Removed SecureMailHost dependency.\n [alecm]\n\n- Adjusted some import statements to use the new zope.container.\n [hannosch]\n\n\n1.1.7 - 2010-09-20\n------------------\n\n- Fixed untranslatable content types in @@manage-content-rules. This closes\n http://dev.plone.org/plone/ticket/9778\n [vincenfretin]\n\n- Fixed some duplicated msgids with different defaults.\n There is no new strings to translate.\n See http://dev.plone.org/plone/ticket/9633\n [vincenfretin]\n\n\n1.1.6 - 2009-05-16\n------------------\n\n- Add check to see if getTypeInfo can be None (which is a valid value)\n [tesdal]\n\n- Changed the simplepublish test to use a copy instead of a move action.\n The move action causes the content item to be moved away while editing\n it and causes a NotFound error. In Plone 3 this is hidden by the\n customized NotFound handling.\n [hannosch]\n\n- Fixed GenericSetup tests layer to not pollute the general test\n environment.\n [hannosch]\n\n- Modified a macro call in contentrules-pageform.pt for forwards\n compatibility with Zope 2.12.\n [davisagli]\n\n- Fixed a SyntaxError in test_configuration.\n [hannosch]\n\n\n1.1.1 - 2008-04-18\n------------------\n\n- Added proper unicode handling to mail action. This closes\n http://dev.plone.org/plone/ticket/7650.\n [hannosch]\n\n- Made the GS import handlers more tolerant in case the storage utility\n is missing. This closes http://dev.plone.org/plone/ticket/8133.\n [hannosch]\n\n- Changed wording on the IMailAction interface to remove a reference to a\n newly created item, since the action can be used on existing content\n as well. This closes http://dev.plone.org/plone/ticket/8225.\n [hannosch]\n\n\n1.1 - 2008-04-20\n----------------\n\n- Ensure that if a contentrules.xml step is imported twice, conditions and\n actions are not duplicated.\n Fixes http://dev.plone.org/plone/ticket/8027\n [optilude]\n\n- Fix invalid leading space in all 'Up to Site Setup' links.\n [wichert]\n\n\n1.1.0a1 - 2008-03-09\n--------------------\n\n- Fixed a small bug related to getTypeInfo() being acquired.\n http://dev.plone.org/plone/ticket/7385\n [optilude]\n\n- Fixed bug causing content rule actions/conditions to not be properly\n saved.\n http://dev.plone.org/plone/ticket/7909\n [optilude]\n\n- Merge PLIP 204 - GenericSetup support. A contentrules.xml file can now\n be used to import and export rule definitions and assignments.\n [optilude]\n\n\n1.0.5 - 2008-01-03\n------------------\n\n- Made absolute_url() work properly on the custom adding views. This is\n necessary for the <base /> URL to be set correctly.\n [optilude]\n\n- Made absolute_url() work across the namespace traversal adapters for\n rules, actions and conditions, at time resorting to some serious\n Cowboy Development.\n [optilude]\n\n- Adjusted tests for different payload in newer kss versions.\n [hannosch]\n\n\n1.0 - 2007-08-17\n----------------\n\n- Added i18n markup for the confirm_icon.gif alternate text. This closes\n http://dev.plone.org/plone/ticket/7062.\n [hannosch]\n\n- Changed the portal type condition to use the ReallyUserFriendlyTypes\n vocabulary. This closes http://dev.plone.org/plone/ticket/6911.\n [hannosch]\n",
"bugtrack_url": null,
"license": "GPL version 2",
"summary": "Plone integration for plone.contentrules",
"version": "5.0.4",
"project_urls": {
"Homepage": "https://pypi.org/project/plone.app.contentrules"
},
"split_keywords": [
"plone",
"automatic",
"content",
"rules"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6bd7e32ec2fe458a2cec74e6a389511b6341a7a7a95976b61e0c4568b3a90603",
"md5": "4a130fd7358ad8e33cec90a058d63455",
"sha256": "1b86aeb3d737f64609f3fa3d94bf153645485ecc4e4e01338d2336c69070ac74"
},
"downloads": -1,
"filename": "plone.app.contentrules-5.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4a130fd7358ad8e33cec90a058d63455",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 101996,
"upload_time": "2024-05-30T18:28:38",
"upload_time_iso_8601": "2024-05-30T18:28:38.167766Z",
"url": "https://files.pythonhosted.org/packages/6b/d7/e32ec2fe458a2cec74e6a389511b6341a7a7a95976b61e0c4568b3a90603/plone.app.contentrules-5.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "49e04af8ee64cec263d62b486deb8ab1e88710d3d22c086a3ee5866c8df48339",
"md5": "f474ac9d981f29633f1e3a0ddc124d78",
"sha256": "a3aeda3d9f7766c3b52f09e631acd0de62e80ec2f6efe9cb8725d0451a8a1156"
},
"downloads": -1,
"filename": "plone_app_contentrules-5.0.4.tar.gz",
"has_sig": false,
"md5_digest": "f474ac9d981f29633f1e3a0ddc124d78",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 74587,
"upload_time": "2024-05-30T18:28:42",
"upload_time_iso_8601": "2024-05-30T18:28:42.121216Z",
"url": "https://files.pythonhosted.org/packages/49/e0/4af8ee64cec263d62b486deb8ab1e88710d3d22c086a3ee5866c8df48339/plone_app_contentrules-5.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-30 18:28:42",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "plone.app.contentrules"
}