diff --git a/CHANGES.rst b/CHANGES.rst index 482a299..437ae9a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,9 @@ Changelog 2.4.0 (unreleased) ------------------ +- Rename @@discussion-settings to @@discussion-controlpanel + [maartenkling] + - Add permission to allow comment authors to delete their own comments if there are no replies yet. [gaudenz] @@ -104,6 +107,7 @@ Changelog - Put defaultUser.png instead of old defaultUser.gif [bsuttor] +>>>>>>> master - Remove bbb directory. bbb was never really implemented. [timo] diff --git a/plone/app/discussion/browser/configure.zcml b/plone/app/discussion/browser/configure.zcml index 7464501..45ca2a0 100644 --- a/plone/app/discussion/browser/configure.zcml +++ b/plone/app/discussion/browser/configure.zcml @@ -152,6 +152,13 @@ /> + + Manage portal - \ No newline at end of file + diff --git a/plone/app/discussion/tests/functional_test_comment_review_workflow.txt b/plone/app/discussion/tests/functional_test_comment_review_workflow.txt index 069875e..7cc743c 100644 --- a/plone/app/discussion/tests/functional_test_comment_review_workflow.txt +++ b/plone/app/discussion/tests/functional_test_comment_review_workflow.txt @@ -61,7 +61,7 @@ We need to commit the transaction, otherwise setting the workflow will not work. Enable anonymous comments - >>> browser.open(portal_url+'/@@discussion-settings') + >>> browser.open(portal_url+'/@@discussion-controlpanel') >>> browser.getControl(name='form.widgets.anonymous_comments:list').value = True >>> browser.getControl(name='form.buttons.save').click() diff --git a/plone/app/discussion/tests/functional_test_comments.txt b/plone/app/discussion/tests/functional_test_comments.txt index 9712635..82c2051 100644 --- a/plone/app/discussion/tests/functional_test_comments.txt +++ b/plone/app/discussion/tests/functional_test_comments.txt @@ -182,7 +182,7 @@ Enable anonymous comment >>> browser.getControl(name='__ac_name').value = 'admin' >>> browser.getControl(name='__ac_password').value = 'secret' >>> browser.getControl(name='submit').click() - >>> browser.open(portal_url+'/@@discussion-settings') + >>> browser.open(portal_url+'/@@discussion-controlpanel') >>> browser.getControl(name='form.widgets.anonymous_comments:list').value = [True] >>> browser.getControl(name='form.buttons.save').click() >>> browser.open(portal_url + '/logout') diff --git a/plone/app/discussion/tests/test_controlpanel.py b/plone/app/discussion/tests/test_controlpanel.py index d672167..b2ded5b 100644 --- a/plone/app/discussion/tests/test_controlpanel.py +++ b/plone/app/discussion/tests/test_controlpanel.py @@ -33,7 +33,7 @@ class RegistryTest(unittest.TestCase): def test_discussion_controlpanel_view(self): view = getMultiAdapter( (self.portal, self.portal.REQUEST), - name="discussion-settings" + name="discussion-controlpanel" ) view = view.__of__(self.portal) self.assertTrue(view())