Skip to main content

Plone integration for plone.contentrules

Project description

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

plone.app.contentrules provides Plone-specific conditions and actions, as well
as a user interface for plone.contentrules.


git branches
------------

master(3.x)
~~~~~~~~~~~

New content rules UI.


2.x branch
~~~~~~~~~~

Maintenance branch for older plone versions
Changelog
=========

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]

- users events are not tied to contentrules [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 lauch '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]

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

plone.app.contentrules-3.0.2.zip (119.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page