81d74cfe6b
Fixed test failure for the default user portrait, which changed from defaultUser.gif to defaultUser.png in Products.PlonePAS 4.0.5.
Maurits van Rees2011-02-15 16:19:13 +00:00
bf96d0082f
Remove "Plone 3 only" code; Do not monkey patch the BAD_TYPES vocabulary or plone.app.vocabularies anymore.
Timo Stollenwerk2011-02-08 09:28:51 +00:00
0c435dc9ca
Check if the current user has configured an e-mail address for the email notification option. Refs #11428Timo Stollenwerk2011-01-26 08:15:14 +00:00
15c681d27f
Check if the current user has configured an e-mail address for the email notification option. Refs #11428Timo Stollenwerk2011-01-26 08:06:21 +00:00
543b9d47c5
Remove moderation_enabled setting from registry to avoid migration problems to 1.0RC1. Refs #11419.
Timo Stollenwerk2011-01-24 08:37:43 +00:00
9c9abb9b6f
Fix typo in version string; Fix good-py link in readme.
Timo Stollenwerk2011-01-22 12:54:14 +00:00
ed4f2b1fa8
Comment out the discussion control panel event subscriber tests. We disabled this functionality anyway.
Timo Stollenwerk2011-01-22 12:39:15 +00:00
2f30c27555
Disable the control panel event subscribers. We don't need them since we disabled the enable_moderation setting in the discussion control panel anyway.
Timo Stollenwerk2011-01-22 12:34:49 +00:00
5cac8b7a1b
Hide the moderation_enabled widget in the discussion control panel. We need plone.app.controlpanel > 2.1b1 for this, which is not shipped with Plone 3.x or 4.0.x.
Timo Stollenwerk2011-01-22 12:00:15 +00:00
9790dd5b65
Enable discussion by default if p.a.discussion is shipped as add-on product.
Timo Stollenwerk2011-01-20 19:49:58 +00:00
9cc32a76a4
Enable ajaxify comment deletion again ([thomasdesvenain]). This has been disabled in 1.0b12 because of problems with Plone 3.
Timo Stollenwerk2011-01-20 19:38:26 +00:00
b0ca33dcc6
make sure p.a.registry ZCML is loaded
David Glick2010-12-21 19:20:36 +00:00
d90c436f8a
Removed the conditional loading of event subscribers: - zope.app.container is available in both Plone 3 and Plone 4, so the 'not-installed zope.app.container' condition was always false - zope.lifecycleevent.interfaces does not have an IObjectAddedEvent or IObjectRemovedEvent so even if the condition would have been true, the loading would have failed.
Maurits van Rees2010-12-16 02:12:13 +00:00
aff8a3709c
Avoid sending multiple notification emails to the same person when he has commented multiple times.
Maurits van Rees2010-12-15 23:41:57 +00:00
87d767651b
Do not fail on startup with Plone 3 when plone.uuid is not there: make implementing the plone.uuid.interfaces.IAttributeUUID interface conditional for Plone 4 only.
Maurits van Rees2010-12-15 22:45:19 +00:00
0cb75778ba
make sure comments don't get indexed with their parents' UID in Plone 3. only declare dependency on plone.app.uuid in Python 2.6, since we only use it in Plone 4 currently.
David Glick2010-12-15 20:39:55 +00:00
e4e707e350
Remove unnecessary plone.uuid and uuid dependencies. These are fetched by plone.app.uuid. Refs #9288Timo Stollenwerk2010-12-12 14:00:28 +00:00
ea2038b122
Remove XXX line from conversation.py. Martin and I agree that this is probably not relevant anymore. Refs #9288Timo Stollenwerk2010-12-12 12:51:41 +00:00
a9ef0503f2
Move discussion action item from actionicons.xml to actions.xml to avoid deprecation warning.
Timo Stollenwerk2010-12-12 12:40:19 +00:00
be78fbe300
There is no need to enable the "enable moderation" checkbox dynamically, except when commenting is disabled/enabled globally.
Timo Stollenwerk2010-12-12 07:35:43 +00:00
f2f97c5b38
Change the comment workflow setting in the discussion control panel if the setting is changed in the types control panel; show warning message and disable the setting if a custom comment workflow is enabled.
Timo Stollenwerk2010-12-11 21:30:18 +00:00
0475376ed0
"Enable comment moderation" setting added to the discussion control panel. Just a proof of concept so far. Not fully implemented yet. No tests.
Timo Stollenwerk2010-12-11 17:18:14 +00:00
3968f6291e
Assigning the 'Reply to item' permission to the 'Authenticated' role. The old commenting system allowed 'Authenticated' users to post comments. Also, OpenID users do not possess the 'Authenticated' role.
Timo Stollenwerk2010-12-10 08:57:53 +00:00
54af7d3fa1
Assigning the 'Reply to item' permission to the 'Authenticated' role. The old commenting system allowed 'Authenticated' users to post comments. Also, OpenID users do not possess the 'Authenticated' role. Refs #9288Timo Stollenwerk2010-12-10 08:57:35 +00:00
7c168c376f
Use the default Sphinx theme for now since the plone theme currently opens all links in new windows.
Timo Stollenwerk2010-12-09 11:30:46 +00:00
6fd665a44e
Documentation for workflows and permissions added.
Timo Stollenwerk2010-12-09 11:30:10 +00:00
7e279d3ad3
Make sure the handleComment method checks for the 'Reply to item' permission when adding a comment.
Timo Stollenwerk2010-12-09 08:11:41 +00:00
c8e78449a2
Make the mail-setting warning message show up in the discussion control panel.
Timo Stollenwerk2010-12-09 08:07:15 +00:00
797ed40852
Link directly to the "Discussion Item" types control panel in the moderation view.
Timo Stollenwerk2010-12-08 17:45:58 +00:00
583b25530e
Show "moderate comments" link in the admin panel only if a moderation workflow is enabled for comments.
Timo Stollenwerk2010-12-08 17:45:11 +00:00
22425b06ac
Disable commenting by default if pad is shipped with Plone. If shipped as add-on product, commenting should be enabled by default.
Timo Stollenwerk2010-12-05 14:50:25 +00:00
04a0669731
Remove the grey background from disabled settings.
Timo Stollenwerk2010-12-05 14:10:21 +00:00
bbd44b7b95
workflow setting added to control panel config string.
Timo Stollenwerk2010-12-02 23:20:10 +00:00
ffde4b423d
Do not allow to change the mail settings in the discussion control panel, if there is no valid mail setup. Refactor js code to use class settings of #content.
Timo Stollenwerk2010-12-02 23:02:00 +00:00
fbd7eb2bbc
Do not allow to change the mail settings in the discussion control panel, if there is no valid mail setup.
Timo Stollenwerk2010-12-02 21:07:58 +00:00
ffcc29a401
Override the default plone.app.registry controlpanel template; JS file for the controlpanel added. Disable all commenting options in the discussion control panel when comments are disabled globally.
Timo Stollenwerk2010-12-02 18:15:47 +00:00
c311a4f88d
Check for the 'review comments' permission instead of 'manage' to decide if the user should see a 'this comment is pending' message.
Timo Stollenwerk2010-12-01 06:34:05 +00:00
19f0666b39
Move "moderate comments" site action above the logout action.
Timo Stollenwerk2010-11-30 18:17:02 +00:00
d94767576b
Do not use plone.app.uuid to generate unique UIDs for Plone 3. plone.app.uuid causes the IObjectAddedEvent to be fired twice on Plone 3. This causes the email notifications to be send twice. This means that https://dev.plone.org/plone/ticket/10652 is fixed only for Plone 4.
Timo Stollenwerk2010-11-30 09:50:12 +00:00
13772c6e5b
Redirect back to the discussion control panel when the discussion control panel form is submitted.
Timo Stollenwerk2010-11-30 09:06:46 +00:00