Commit Graph

1311 Commits

Author SHA1 Message Date
Timo Stollenwerk
cb60df8c60 todo update.
svn path=/plone.app.discussion/trunk/; revision=46978
2011-01-20 20:58:40 +00:00
Timo Stollenwerk
4ab29000a6 Import Owned from OFS.owner to avoid deprecation warnings.
svn path=/plone.app.discussion/trunk/; revision=46977
2011-01-20 20:38:50 +00:00
Timo Stollenwerk
471b87cfdf Discussion is disabled by default only in p.a.discussion 2.x.
svn path=/plone.app.discussion/trunk/; revision=46976
2011-01-20 20:37:14 +00:00
Timo Stollenwerk
f3ff8e9647 Fix failing test. Discussion is enabled by default again.
svn path=/plone.app.discussion/branches/1.x/; revision=46975
2011-01-20 20:08:51 +00:00
Timo Stollenwerk
fb0ca6c795 Replace tabs with whitespace.
svn path=/plone.app.discussion/trunk/; revision=46974
2011-01-20 20:04:38 +00:00
Timo Stollenwerk
9790dd5b65 Enable discussion by default if p.a.discussion is shipped as add-on product.
svn path=/plone.app.discussion/branches/1.x/; revision=46973
2011-01-20 19:49:58 +00:00
Timo Stollenwerk
9cc32a76a4 Enable ajaxify comment deletion again ([thomasdesvenain]). This has been disabled in 1.0b12 because of problems with Plone 3.
svn path=/plone.app.discussion/trunk/; revision=46970
2011-01-20 19:38:26 +00:00
Timo Stollenwerk
c15c898565 Remove collective.autopermission dependency.
svn path=/plone.app.discussion/trunk/; revision=46969
2011-01-20 19:37:54 +00:00
Timo Stollenwerk
37b96c363b Switch to version 2.x for development as a core component.
svn path=/plone.app.discussion/trunk/; revision=46968
2011-01-20 19:27:06 +00:00
Timo Stollenwerk
aef9a0a39b plone4 todo updated.
svn path=/plone.app.discussion/trunk/; revision=46943
2011-01-19 15:46:00 +00:00
Timo Stollenwerk
75cde25b6f Always show existing comments, even if commenting is disabled.
svn path=/plone.app.discussion/trunk/; revision=46785
2011-01-07 15:27:17 +00:00
Timo Stollenwerk
61e231b336 Fix CSS for commenter images with a width of more than 2.5em. This fixes http://dev.plone.org/plone/ticket/11391. Refs #11391
svn path=/plone.app.discussion/trunk/; revision=46783
2011-01-07 10:27:13 +00:00
Timo Stollenwerk
c438743a3b Show a 'Comments are moderated.' message next to the comment form if comments are moderated.
svn path=/plone.app.discussion/trunk/; revision=46782
2011-01-07 10:20:24 +00:00
Timo Stollenwerk
b18469e5fd plone 4.x todo list updated.
svn path=/plone.app.discussion/trunk/; revision=46781
2011-01-07 09:34:52 +00:00
David Glick
b0ca33dcc6 make sure p.a.registry ZCML is loaded
svn path=/plone.app.discussion/trunk/; revision=46432
2010-12-21 19:20:36 +00:00
Maurits van Rees
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.

svn path=/plone.app.discussion/trunk/; revision=46367
2010-12-16 02:12:13 +00:00
Maurits van Rees
a2a17085a3 Nuke trailing white space
svn path=/plone.app.discussion/trunk/; revision=46366
2010-12-15 23:52:56 +00:00
Maurits van Rees
aff8a3709c Avoid sending multiple notification emails to the same person when
he has commented multiple times.

svn path=/plone.app.discussion/trunk/; revision=46365
2010-12-15 23:41:57 +00:00
Maurits van Rees
9eb172023a No tabs in zcml please
svn path=/plone.app.discussion/trunk/; revision=46364
2010-12-15 22:59:24 +00:00
Maurits van Rees
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.

svn path=/plone.app.discussion/trunk/; revision=46363
2010-12-15 22:45:19 +00:00
David Glick
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.
svn path=/plone.app.discussion/trunk/; revision=46353
2010-12-15 20:39:55 +00:00
Timo Stollenwerk
b9d929bca3 Fix failing test.
svn path=/plone.app.discussion/trunk/; revision=46344
2010-12-14 21:30:40 +00:00
Timo Stollenwerk
a8bfd7fc6e Disable discussion by default.
svn path=/plone.app.discussion/trunk/; revision=46337
2010-12-14 17:58:46 +00:00
Timo Stollenwerk
e4e707e350 Remove unnecessary plone.uuid and uuid dependencies. These are fetched by plone.app.uuid. Refs #9288
svn path=/plone.app.discussion/trunk/; revision=46267
2010-12-12 14:00:28 +00:00
Timo Stollenwerk
d702c666f0 Tests for moderation_enabled setting added.
svn path=/plone.app.discussion/trunk/; revision=46266
2010-12-12 13:56:06 +00:00
Timo Stollenwerk
ea2038b122 Remove XXX line from conversation.py. Martin and I agree that this is probably not relevant anymore. Refs #9288
svn path=/plone.app.discussion/trunk/; revision=46265
2010-12-12 12:51:41 +00:00
Timo Stollenwerk
a9ef0503f2 Move discussion action item from actionicons.xml to actions.xml to avoid deprecation warning.
svn path=/plone.app.discussion/trunk/; revision=46264
2010-12-12 12:40:19 +00:00
Timo Stollenwerk
4c4cd9e44d Replace XXX with todo.
svn path=/plone.app.discussion/trunk/; revision=46263
2010-12-12 08:14:48 +00:00
Timo Stollenwerk
0485398de0 whitespace, make jslint happy.
svn path=/plone.app.discussion/trunk/; revision=46262
2010-12-12 08:13:03 +00:00
Timo Stollenwerk
be78fbe300 There is no need to enable the "enable moderation" checkbox dynamically, except when commenting is disabled/enabled globally.
svn path=/plone.app.discussion/trunk/; revision=46261
2010-12-12 07:35:43 +00:00
Timo Stollenwerk
08857df7a9 Fix cancel button on edit view when using Dexterity types. This fixes http://dev.plone.org/plone/ticket/11338. Refs #11338
svn path=/plone.app.discussion/trunk/; revision=46254
2010-12-11 21:33:43 +00:00
Timo Stollenwerk
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.
svn path=/plone.app.discussion/trunk/; revision=46253
2010-12-11 21:30:18 +00:00
Timo Stollenwerk
0475376ed0 "Enable comment moderation" setting added to the discussion control panel. Just a proof of concept so far. Not fully implemented yet. No tests.
svn path=/plone.app.discussion/trunk/; revision=46249
2010-12-11 17:18:14 +00:00
Timo Stollenwerk
09a804aa88 Remove unnecessary and failing test.
svn path=/plone.app.discussion/trunk/; revision=46235
2010-12-10 09:16:36 +00:00
Timo Stollenwerk
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.
svn path=/plone.app.discussion/trunk/; revision=46231
2010-12-10 08:57:53 +00:00
Timo Stollenwerk
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 #9288
svn path=/plone.app.discussion/trunk/; revision=46230
2010-12-10 08:57:35 +00:00
Timo Stollenwerk
585460b95f Fix headline.
svn path=/plone.app.discussion/trunk/; revision=46221
2010-12-09 19:01:39 +00:00
Timo Stollenwerk
7c168c376f Use the default Sphinx theme for now since the plone theme currently opens all links in new windows.
svn path=/plone.app.discussion/trunk/; revision=46218
2010-12-09 11:30:46 +00:00
Timo Stollenwerk
6fd665a44e Documentation for workflows and permissions added.
svn path=/plone.app.discussion/trunk/; revision=46217
2010-12-09 11:30:10 +00:00
Timo Stollenwerk
a833c86515 Fix email-notification sphinx page.
svn path=/plone.app.discussion/trunk/; revision=46216
2010-12-09 11:03:25 +00:00
Timo Stollenwerk
45140c66db Functional test for posting a comment as user without the 'Reply to item' permission added.
svn path=/plone.app.discussion/trunk/; revision=46215
2010-12-09 10:58:32 +00:00
Timo Stollenwerk
0b1c831f70 Pin Sphinx to 0.6.6
svn path=/plone.app.discussion/trunk/; revision=46214
2010-12-09 10:57:02 +00:00
Timo Stollenwerk
4b3ebcf1b5 Versions updated.
svn path=/plone.app.discussion/trunk/; revision=46213
2010-12-09 08:19:03 +00:00
Timo Stollenwerk
7e279d3ad3 Make sure the handleComment method checks for the 'Reply to item' permission when adding a comment.
svn path=/plone.app.discussion/trunk/; revision=46212
2010-12-09 08:11:41 +00:00
Timo Stollenwerk
c8e78449a2 Make the mail-setting warning message show up in the discussion control panel.
svn path=/plone.app.discussion/trunk/; revision=46211
2010-12-09 08:07:15 +00:00
Timo Stollenwerk
797ed40852 Link directly to the "Discussion Item" types control panel in the moderation view.
svn path=/plone.app.discussion/trunk/; revision=46207
2010-12-08 17:45:58 +00:00
Timo Stollenwerk
583b25530e Show "moderate comments" link in the admin panel only if a moderation workflow is enabled for comments.
svn path=/plone.app.discussion/trunk/; revision=46206
2010-12-08 17:45:11 +00:00
Timo Stollenwerk
6e354718f4 Revert r46143.
svn path=/plone.app.discussion/trunk/; revision=46144
2010-12-05 14:56:13 +00:00
Timo Stollenwerk
22425b06ac Disable commenting by default if pad is shipped with Plone. If shipped as add-on product, commenting should be enabled by default.
svn path=/plone.app.discussion/trunk/; revision=46143
2010-12-05 14:50:25 +00:00
Timo Stollenwerk
04a0669731 Remove the grey background from disabled settings.
svn path=/plone.app.discussion/trunk/; revision=46142
2010-12-05 14:10:21 +00:00