Katja Suess
bf20752b69
bulk moderation of comments
...
extended for comment_multiple_state_review_workflow, refactoring and tests
2020-01-08 12:39:57 +01:00
Filippo Campi
7bd62fa1cb
Changes NotifyOnDelete to CommentDeletedEvent and NotifyOnPublish to CommentPublishedEvent for respect naming of event and interface
2018-10-24 16:49:22 +02:00
Filippo Campi
36f0e03805
[dev] added event for comment delete, comment publication + notify for events
2018-09-27 11:26:41 +02:00
Gil Forcada
d5e7afcd23
Use zope.interface decorator
...
This not only makes code more pleasent to read,
but also makes the code python 3 compatible
(while maintaining python 2 compatibility).
2016-07-08 23:17:03 +02:00
Gil Forcada
cb1bf28c16
Cleanup
...
Follow https://github.com/plone/jenkins.plone.org/blob/master/docs/source/run-qa-on-package.rst
to clean up the code.
2016-02-05 09:43:42 +01:00
Gil Forcada
9066183ea9
2 lines between top level functions/classes
2015-05-03 08:24:08 +02:00
Gil Forcada
4bc77a2831
Sort imports
...
Remove unused ones as well.
2015-05-03 08:16:41 +02:00
Vincent Fretin
42d12200a7
Don't use session at all for content rules, set the event in the request to be able to access comment attributes. This fixes 'InvalidObjectReference: A new object is reachable from multiple databases.' if comment contains a RichTextValue which contains a RawValueHolder (persistent object).
2014-09-20 14:54:02 +02:00
Alin Voinea
13830715a7
Add custom content rules string substitutions
...
- Add content rules string substitutions for comment:
- id
- text
- author email
- author user name
- author full name
2014-04-18 16:36:06 +03:00
Alin Voinea
14d4382ca6
Use commented object as context instead of comment within event trigger
...
- In order this to work with plone.contentrules use commented object as
the main context within custom discussion events and add comment as the
second parameter.
2014-04-18 16:33:12 +03:00
Alin Voinea
4343197209
Trigger custom comment events on comment add/remove/reply
...
Conflicts:
plone/app/discussion/interfaces.py
2014-04-18 16:32:43 +03:00