-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allow failures under Plone 5 anymore
Fix 4.x tests and backward compatibility. Fix robot import failure in Plone 5 tests, and some flake fixes. Fix conditional zcml import for plone 4 and 5. Use integration instead of functional testing layer. No difference. Fix tests for Plone 5. Fix tests for Plone 4. Fix some flake8 issues. Fix some flake8 issues. Fix some flake8 issues. Fix another syntax error in tests. Fix isort issues.
- Loading branch information
Showing
15 changed files
with
432 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# | ||
# -*- coding: UTF-8 -*- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
collective/contentrules/mailtogroup/actions_formlib/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# -*- coding: UTF-8 -*- |
41 changes: 41 additions & 0 deletions
41
collective/contentrules/mailtogroup/actions_formlib/configure.zcml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
xmlns:plone="http://namespaces.plone.org/plone" | ||
xmlns:five="http://namespaces.zope.org/five" | ||
i18n_domain="collective.contentrules.mailtogroup"> | ||
|
||
<include package="plone.contentrules" /> | ||
<include package="plone.contentrules" file="meta.zcml" /> | ||
|
||
|
||
<!-- Email action definition --> | ||
<adapter factory=".mail.MailActionExecutor" /> | ||
|
||
<browser:page | ||
for="plone.app.contentrules.browser.interfaces.IRuleActionAdding" | ||
name="plone.actions.MailGroup" | ||
class=".mail.MailGroupAddForm" | ||
permission="plone.app.contentrules.ManageContentRules" | ||
/> | ||
|
||
<browser:page | ||
for="collective.contentrules.mailtogroup.actions_formlib.mail.IMailGroupAction" | ||
name="edit" | ||
class=".mail.MailGroupEditForm" | ||
permission="plone.app.contentrules.ManageContentRules" | ||
/> | ||
|
||
<plone:ruleAction | ||
name="plone.actions.MailGroup" | ||
title="Send email to groups and members" | ||
description="Send an email on the triggering object." | ||
for="*" | ||
event="*" | ||
addview="plone.actions.MailGroup" | ||
editview="edit" | ||
schema=".mail.IMailGroupAction" | ||
factory=".mail.MailGroupAction" | ||
/> | ||
|
||
</configure> |
Oops, something went wrong.