Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dl removal branches #41

Closed
wants to merge 4 commits into from
Closed

Use dl removal branches #41

wants to merge 4 commits into from

Conversation

khink
Copy link
Member

@khink khink commented Feb 12, 2014

@khink khink closed this Feb 12, 2014
@khink khink deleted the use-dl-removal-branches branch February 12, 2014 13:07
gforcada added a commit that referenced this pull request Jan 22, 2015
Branch: refs/heads/master
Date: 2015-01-22T13:48:20+01:00
Author: Kees Hink (khink) <keeshink@gmail.com>
Commit: https://github.com/plone/plone.app.controlpanel/commit/71000f4f545735a33299584263674ec5df017878

Remove commented-out code that was already moved to Products.CMFPlone

Files changed:
M plone/app/controlpanel/tests/test_doctests.py
D plone/app/controlpanel/maintenance.pt
D plone/app/controlpanel/maintenance.py
D plone/app/controlpanel/tests/maintenance.txt

diff --git a/plone/app/controlpanel/maintenance.pt b/plone/app/controlpanel/maintenance.pt
deleted file mode 100644
index 7dc4de9..0000000
--- a/plone/app/controlpanel/maintenance.pt
+++ /dev/null
@@ -1,196 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
-      xmlns:metal="http://xml.zope.org/namespaces/metal"
-      xmlns:tal="http://xml.zope.org/namespaces/tal"
-      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
-      xml:lang="en" lang="en"
-      metal:use-macro="context/prefs_main_template/macros/master"
-      i18n:domain="plone">
-
-<body>
-
-<metal:main fill-slot="prefs_configlet_main">
-
-    <metal:form define-macro="form" tal:condition="view/available">
-
-         <metal:block define-macro="header">
-
-             <div class="portalMessage info"
-                  tal:define="status view/status"
-                  tal:condition="status">
-                 <strong i18n:translate="">
-                     Info
-                 </strong>
-                 <span tal:replace="view/status" />
-             </div>
-
-         </metal:block>
-
-         <h1 class="documentFirstHeading"
-             i18n:translate=""
-             tal:condition="view/label"
-             tal:content="view/label"
-             metal:define-slot="heading">
-             Do something
-         </h1>
-
-         <div class="documentDescription" i18n:translate=""
-            tal:condition="view/description"
-            tal:content="view/description">
-             Description
-         </div>
-
-        <div id="content-core">
-
-            <form action="."
-                  tal:attributes="action request/URL"
-                  method="post"
-                  class="edit-form"
-                  enctype="multipart/form-data">
-
-                <fieldset>
-                    <legend i18n:translate="heading_zope_server">
-                        Zope Server
-                    </legend>
-
-                    <p i18n:translate="text_zope_server_uptime">
-                        Zope Server uptime: <span i18n:name="time" tal:replace="view/processTime" />
-                    </p>
-
-                    <div id="actionsView" class="formControls">
-                        <span class="actionButtons">
-                            <input type="submit"
-                                   id="form.actions.shutdown"
-                                   name="form.actions.shutdown"
-                                   value="Shut down"
-                                   i18n:attributes="value"
-                                   class="standalone" />
-
-                            <input tal:condition="view/isRestartable"
-                                   type="submit"
-                                   id="form.actions.restart"
-                                   name="form.actions.restart"
-                                   value="Restart"
-                                   i18n:attributes="value"
-                                   class="standalone" />
-
-                        </span>
-                    </div>
-
-                </fieldset>
-
-                <input tal:replace="structure context/@@authenticator/authenticator" />
-
-            </form>
-            <br><br>
-            <form action="."
-                  metal:define-macro="master"
-                  tal:attributes="action request/URL"
-                  method="post"
-                  class="edit-form"
-                  enctype="multipart/form-data"
-                  id="zc.page.browser_form">
-
-                <div metal:define-slot="extra_info" tal:replace="nothing">
-                </div>
-
-                <fieldset>
-                    <legend tal:define="form_name view/form_name|nothing"
-                            tal:condition="form_name"
-                            tal:content="form_name">Form name</legend>
-
-                    <p i18n:translate="text_zope_database_size">
-                        <strong>Current database size:</strong> <span i18n:name="size" tal:replace="view/dbSize" />
-                    </p>
-
-                    <tal:block tal:repeat="widget view/widgets">
-
-                      <div class="field"
-                           tal:define="description widget/hint;
-                                       error widget/error"
-                           tal:attributes="class python:'field'+(error and ' error' or '')">
-
-                          <label tal:attributes="for widget/name">
-                            <span i18n:translate="" tal:replace="widget/label">
-                              label
-                            </span> <span class="required"
-                                  title="Required"
-                                  i18n:attributes="title title_required;"
-                                  i18n:translate="label_required"
-                                  tal:condition="widget/required">&nbsp;</span>
-                          </label>
-                            <div class="formHelp"
-                                 i18n:translate=""
-                                 tal:content="description"
-                                 tal:condition="description">
-                                field description
-                            </div>
-
-
-                          <div tal:condition="error"
-                               tal:content="structure error">
-                              The Error
-                          </div>
-
-                          <div class="widget" tal:content="structure widget">
-                              <input type="text" />
-                          </div>
-                      </div>
-
-                    </tal:block>
-
-                    <metal:block define-slot="above_buttons" />
-
-
-                    <div id="actionsView" class="formControls">
-                        <span class="actionButtons">
-                            <input type="submit"
-                                   id="form.actions.pack"
-                                   name="form.actions.pack"
-                                   value="Pack database now"
-                                   i18n:attributes="value"
-                                   class="context" />
-                        </span>
-                    </div>
-
-                </fieldset>
-
-                <input tal:replace="structure context/@@authenticator/authenticator" />
-
-            </form>
-
-            <script type="text/javascript"
-                tal:define="extra_script view/extra_script | nothing"
-                tal:condition="extra_script"
-                tal:content="structure extra_script">
-            </script>
-        </div>
-
-    </metal:form>
-
-    <metal:block tal:condition="not: view/available">
-         <h1 class="documentFirstHeading"
-             i18n:translate=""
-             tal:condition="view/label"
-             tal:content="view/label">
-             Do something
-         </h1>
-
-         <div class="documentDescription" i18n:translate="text_not_allowed_manage_server"
-            tal:condition="view/description">
-             You are not allowed to manage the Zope server.
-         </div>
-
-         <div id="content-core">
-             <a href=""
-                class="link-parent"
-                tal:attributes="href string:$portal_url/plone_control_panel"
-                i18n:translate="label_up_to_plone_setup">
-                 Up to Site Setup
-             </a>
-         </div>
-    </metal:block>
-
-
-</metal:main>
-</body>
-</html>
diff --git a/plone/app/controlpanel/maintenance.py b/plone/app/controlpanel/maintenance.py
deleted file mode 100644
index 4c87b60..0000000
--- a/plone/app/controlpanel/maintenance.py
+++ /dev/null
@@ -1,142 +0,0 @@
-import os
-from cgi import escape
-
-from plone.app.form.validators import null_validator
-from plone.fieldsets.form import FieldsetsEditForm
-from zope.component import adapts
-from zope.formlib import form
-from zope.interface import Interface
-from zope.interface import implements
-from zope.schema import Int
-
-from AccessControl import getSecurityManager
-from AccessControl.Permissions import view_management_screens
-from Acquisition import aq_inner
-from Products.CMFCore.utils import getToolByName
-from Products.CMFDefault.formlib.schema import SchemaAdapterBase
-from Products.CMFPlone import PloneMessageFactory as _
-from Products.CMFPlone.interfaces import IPloneSiteRoot
-from Products.Five.browser.pagetemplatefile import ZopeTwoPageTemplateFile
-
-from plone.app.controlpanel.interfaces import IPloneControlPanelForm
-
-from plone.protect import CheckAuthenticator
-
-
-class IMaintenanceSchema(Interface):
-
-    days = Int(title=_(u"Days of object history to keep after packing"),
-        description=_(u"You should pack your database regularly. This number "
-                       "indicates how many days of undo history you want to "
-                       "keep. It is unrelated to versioning, so even if you "
-                       "pack the database, the history of the content changes "
-                       "will be kept. Recommended value is 7 days."),
-        default=7,
-        required=True)
-
-
-class MaintenanceControlPanelAdapter(SchemaAdapterBase):
-
-    adapts(IPloneSiteRoot)
-    implements(IMaintenanceSchema)
-
-    def __init__(self, context):
-        pprop = getToolByName(context, 'portal_properties')
-        self.context = pprop.site_properties
-
-    def get_days(self):
-        return self.context.number_of_days_to_keep
-
-    def set_days(self, value):
-        if isinstance(value, basestring):
-            value = int(value)
-        self.context.number_of_days_to_keep = value
-
-    days = property(get_days, set_days)
-
-
-class MaintenanceControlPanel(FieldsetsEditForm):
-    """A simple form to pack the databases."""
-
-    implements(IPloneControlPanelForm)
-
-    template = ZopeTwoPageTemplateFile('maintenance.pt')
-    form_fields = form.FormFields(IMaintenanceSchema)
-    label = _(u'Maintenance')
-    description = _(u"Zope server and site maintenance options.")
-    form_name = _(u'Zope Database Packing')
-
-    @form.action(_(u'Pack database now'), name=u'pack')
-    def handle_edit_action(self, action, data):
-        CheckAuthenticator(self.request)
-        if not self.available():
-            self.status = _(u'text_not_allowed_manage_server',
-                            default=u'You are not allowed to manage the Zope server.')
-            return
-        form.applyChanges(self.context, self.form_fields, data, self.adapters)
-        value = data.get('days', None)
-        # skip the actual pack method in tests
-        if value is not None and isinstance(value, int) and value >= 0:
-            context = aq_inner(self.context)
-            cpanel = context.unrestrictedTraverse('/Control_Panel')
-            cpanel.manage_pack(days=value, REQUEST=None)
-        self.status = _(u'Packed the database.')
-
-    @form.action(_(u'Shut down'), validator=null_validator, name=u'shutdown')
-    def handle_shutdown_action(self, action, data):
-        CheckAuthenticator(self.request)
-        if not self.available():
-            self.status = _(u'text_not_allowed_manage_server',
-                            default=u'You are not allowed to manage the Zope server.')
-            return
-        context = aq_inner(self.context)
-        cpanel = context.unrestrictedTraverse('/Control_Panel')
-        result = cpanel.manage_shutdown()
-        return result
-
-    @form.action(_(u'Restart'), validator=null_validator)
-    def handle_restart_action(self, action, data):
-        CheckAuthenticator(self.request)
-        if not self.available():
-            self.status = _(u'text_not_allowed_manage_server',
-                            default=u'You are not allowed to manage the Zope server.')
-            return
-        context = aq_inner(self.context)
-        cpanel = context.unrestrictedTraverse('/Control_Panel')
-        url = self.request.get('URL')
-        cpanel.manage_restart(url)
-        return """<html>
-        <head><meta HTTP-EQUIV=REFRESH CONTENT="30; URL=%s">
-        </head>
-        <body>Zope is restarting. This page will refresh in 30 seconds...</body></html>
-        """ % escape(url, 1)
-
-    def available(self):
-        root = aq_inner(self.context).getPhysicalRoot()
-        sm = getSecurityManager()
-        return sm.checkPermission(view_management_screens, root)
-
-    def isRestartable(self):
-        if os.environ.has_key('ZMANAGED'):
-            return True
-        return False
-
-    def isDevelopmentMode(self):
-        qi = getToolByName(self.context, 'portal_quickinstaller')
-        return qi.isDevelopmentMode()
-
-    def coreVersions(self):
-        mt = getToolByName(self.context, 'portal_migration')
-        versions = mt.coreVersions()
-        versions['Instance'] = versions['Plone Instance']
-        return versions
-
-    def processTime(self):
-        context = aq_inner(self.context)
-        cpanel = context.unrestrictedTraverse('/Control_Panel')
-        return cpanel.process_time()
-
-    def dbSize(self):
-        context = aq_inner(self.context)
-        cpanel = context.unrestrictedTraverse('/Control_Panel')
-        return cpanel.db_size()
diff --git a/plone/app/controlpanel/tests/maintenance.txt b/plone/app/controlpanel/tests/maintenance.txt
deleted file mode 100644
index d4492be..0000000
--- a/plone/app/controlpanel/tests/maintenance.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-Maintenance control panel
-=========================
-
-First some initial setup code:
-
-    >>> self.loginAsManager()
-
-Viewing the maintenance control panel
--------------------------------------
-
-    >>> self.browser.open('http://nohost/plone/@@maintenance-controlpanel')
-    >>> self.browser.url.endswith('maintenance-controlpanel')
-    True
-
-While we have manage permisssions inside the site, we don't have them at the
-Zope root:
-
-    >>> 'You are not allowed to manage the Zope server' in self.browser.contents
-    True
-
-Let's create a manager at the Zope root:
-
-    >>> self.app.acl_users.userFolderAddUser('app', 'secret', ['Manager'], [])
-
-And log in as that user instead:
-
-    >>> self.browser.open('http://nohost/plone/')
-    >>> self.browser.getLink('Log out').click()
-    >>> self.loginAsManager(user='app')
-
-See if we can manage the server now:
-
-    >>> self.browser.open('http://nohost/plone/@@maintenance-controlpanel')
-    >>> self.browser.url.endswith('maintenance-controlpanel')
-    True
-
-    >>> 'Zope Database' in self.browser.contents
-    True
-
-While we cannot test the actual packaging during tests, we can skip the actual
-manage_pack method by providing a negative value for days:
-
-    >>> self.browser.getControl(name='form.days').value = '-1'
-    >>> self.browser.getControl(name="form.actions.pack").click()
-    >>> self.browser.url.endswith('maintenance-controlpanel')
-    True
-
-We should get a status message:
-
-    >>> 'Packed the database.' in self.browser.contents
-    True
diff --git a/plone/app/controlpanel/tests/test_doctests.py b/plone/app/controlpanel/tests/test_doctests.py
index 7682db1..6a05665 100644
--- a/plone/app/controlpanel/tests/test_doctests.py
+++ b/plone/app/controlpanel/tests/test_doctests.py
@@ -5,8 +5,6 @@
 from Testing.ZopeTestCase import FunctionalDocFileSuite
 
 from plone.app.controlpanel.tests.cptc import ControlPanelTestCase
-from plone.app.controlpanel.tests.cptc import UserGroupsControlPanelTestCase
-from plone.app.controlpanel.tests.cptc import EmailLoginSecurityControlPanelTestCase
 
 setupPloneSite()
 
@@ -18,7 +16,6 @@ def test_suite():
 #            'editing.txt',
              'filter.txt',
 #             'mail.txt',
-#             'maintenance.txt',
 #             'security_enable_user_folder.txt',
 #             'search.txt',
 #             'site.txt',


Repository: plone.app.controlpanel
Branch: refs/heads/master
Date: 2015-01-22T13:48:20+01:00
Author: Kees Hink (khink) <keeshink@gmail.com>
Commit: https://github.com/plone/plone.app.controlpanel/commit/b0e3ae1847133827d231ebd82b1fa1ee95ebcabb

pep8

Files changed:
M plone/app/controlpanel/tests/test_doctests.py

diff --git a/plone/app/controlpanel/tests/test_doctests.py b/plone/app/controlpanel/tests/test_doctests.py
index 6a05665..a26dff9 100644
--- a/plone/app/controlpanel/tests/test_doctests.py
+++ b/plone/app/controlpanel/tests/test_doctests.py
@@ -13,22 +13,23 @@
 
 def test_suite():
     tests = [
-#            'editing.txt',
-             'filter.txt',
-#             'mail.txt',
-#             'security_enable_user_folder.txt',
-#             'search.txt',
-#             'site.txt',
-#             'skins.txt',
-#             'markup.txt',
-#             'navigation.txt',
-             'types.txt',
-             'syndication.txt'
-             ]
+        # 'editing.txt',
+        'filter.txt',
+        # 'mail.txt',
+        # 'security_enable_user_folder.txt',
+        # 'search.txt',
+        # 'site.txt',
+        # 'skins.txt',
+        # 'markup.txt',
+        # 'navigation.txt',
+        'types.txt',
+        'syndication.txt'
+    ]
     suite = TestSuite()
 
     for test in tests:
-        suite.addTest(FunctionalDocFileSuite(test,
+        suite.addTest(FunctionalDocFileSuite(
+            test,
             optionflags=OPTIONFLAGS,
             package="plone.app.controlpanel.tests",
             test_class=ControlPanelTestCase))


Repository: plone.app.controlpanel
Branch: refs/heads/master
Date: 2015-01-22T13:57:15+01:00
Author: Kees Hink (khink) <keeshink@gmail.com>
Commit: https://github.com/plone/plone.app.controlpanel/commit/754878c37f722557d55529422008a7693c27c96d

Remove unused test markup.txt

Files changed:
M plone/app/controlpanel/tests/test_doctests.py
D plone/app/controlpanel/tests/markup.txt

diff --git a/plone/app/controlpanel/tests/markup.txt b/plone/app/controlpanel/tests/markup.txt
deleted file mode 100644
index eb2d42f..0000000
--- a/plone/app/controlpanel/tests/markup.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-Markup control panel
-====================
-
-Viewing the markup control panel
---------------------------------
-
-    >>> self.loginAsManager()
-    >>> self.login('root')  # need to login with test fixture too to get right token
-    >>> from plone.protect.authenticator import createToken
-
-It is only necessary in the test here to add the token.
-
-    >>> self.browser.open('http://nohost/plone/@@markup-controlpanel?_authenticator=' + createToken())
-    >>> self.browser.url
-    'http://nohost/plone/@@markup-controlpanel...'
-
-We have two controls, one for the default type and a multi selection for
-alternative formats:
-
-    >>> self.browser.getControl(name='form.default_type').value
-    ['text/html']
-    >>> self.browser.getControl(name='form.allowed_types').value
-    ['text/html', 'text/x-web-textile']
-
-Click the save button without making any changes:
-
-    >>> self.browser.getControl(name="form.actions.save").click()
-    >>> self.browser.url.endswith('markup-controlpanel')
-    True
-
-We should get a status message:
-
-    >>> 'Changes saved.' in self.browser.contents
-    True
-
-Now click the cancel button:
-
-    >>> self.browser.getControl(name="form.actions.cancel").click()
-    >>> self.browser.url.endswith('plone_control_panel')
-    True
-
-There should be still no changes:
-
-    >>> 'Changes canceled.' in self.browser.contents
-    True
-
-Modifying values
-----------------
-
-    >>> self.browser.open('http://nohost/plone/@@markup-controlpanel')
-    >>> self.browser.getControl(name='form.default_type').value = ['text/x-web-textile',]
-    >>> self.browser.getControl(name='form.allowed_types').value = ['text/html', 'text/x-web-textile']
-    >>> self.browser.getControl(name="form.actions.save").click()
-    >>> 'Changes saved' in self.browser.contents
-    True
-
-Verify, that the settings have actually been changed:
-
-    >>> self.portal.portal_properties.site_properties.default_contenttype
-    'text/x-web-textile'
-    >>> forbidden_types = self.portal.portal_properties.site_properties.forbidden_contenttypes
-    >>> set(self.portal.portal_transforms.listAvailableTextInputs()) - set(forbidden_types)
-    set(['text/html', 'text/x-web-textile'])
diff --git a/plone/app/controlpanel/tests/test_doctests.py b/plone/app/controlpanel/tests/test_doctests.py
index a26dff9..9be4542 100644
--- a/plone/app/controlpanel/tests/test_doctests.py
+++ b/plone/app/controlpanel/tests/test_doctests.py
@@ -20,7 +20,6 @@ def test_suite():
         # 'search.txt',
         # 'site.txt',
         # 'skins.txt',
-        # 'markup.txt',
         # 'navigation.txt',
         'types.txt',
         'syndication.txt'


Repository: plone.app.controlpanel
Branch: refs/heads/master
Date: 2015-01-22T14:05:55+01:00
Author: Kees Hink (khink) <keeshink@gmail.com>
Commit: https://github.com/plone/plone.app.controlpanel/commit/d19a74a000294d0dcebde4e0e77fae032d048fe4

Remove controlpanel definition from markup.py (already migrated to Products.CMFPlone)

Files changed:
M plone/app/controlpanel/markup.py

diff --git a/plone/app/controlpanel/markup.py b/plone/app/controlpanel/markup.py
index a076c46..64a6eab 100644
--- a/plone/app/controlpanel/markup.py
+++ b/plone/app/controlpanel/markup.py
@@ -1,7 +1,6 @@
 from plone.fieldsets.fieldsets import FormFieldsets
 
 from zope.interface import Interface
-from zope.component import adapts
 from zope.interface import implements
 from zope.schema import Choice
 from zope.schema import Tuple
@@ -11,20 +10,16 @@
 from zope.schema.vocabulary import SimpleTerm
 
 from Products.CMFCore.utils import getToolByName
-from Products.CMFDefault.formlib.schema import SchemaAdapterBase
 from Products.CMFPlone import PloneMessageFactory as _
-from Products.CMFPlone.interfaces import IPloneSiteRoot
 
 from plone.app.controlpanel.form import ControlPanelForm
 from plone.app.controlpanel.widgets import AllowedTypesWidget
 from plone.app.controlpanel.widgets import MultiCheckBoxVocabularyWidget
 
 from persistent import Persistent
-from zope.annotation.interfaces import IAnnotations
 
 try:
     from wicked.plone.registration import basic_type_regs as wicked_basic_type_regs
-    from wicked.txtfilter import BrackettedWickedFilter
 except ImportError:
     HAS_WICKED = False
 else:
@@ -114,115 +109,6 @@ class IMarkupSchema(ITextMarkupSchema, IWikiMarkupSchema):
 else:
     IMarkupSchema = ITextMarkupSchema
 
-class MarkupControlPanelAdapter(SchemaAdapterBase):
-
-    adapts(IPloneSiteRoot)
-    implements(IMarkupSchema)
-
-    def __init__(self, context):
-        super(MarkupControlPanelAdapter, self).__init__(context)
-        self.context = context
-        self.toggle_mediawiki = False
-
-    # Text markup settings
-
-    def get_default_type(self):
-        portal_properties = getToolByName(self.context, 'portal_properties', None)
-        if portal_properties is not None:
-            site_properties = getattr(portal_properties, 'site_properties', None)
-            if site_properties is not None:
-                return site_properties.getProperty('default_contenttype')
-        return 'text/plain'
-
-    def set_default_type(self, value):
-        portal_properties = getToolByName(self.context, 'portal_properties', None)
-        if portal_properties is not None:
-            site_properties = getattr(portal_properties, 'site_properties', None)
-            if site_properties is not None:
-                site_properties.manage_changeProperties(default_contenttype=value)
-
-    default_type = property(get_default_type, set_default_type)
-
-    def _get_allowable_types(self):
-        portal_transforms = getToolByName(self.context, 'portal_transforms')
-        return portal_transforms.listAvailableTextInputs()
-
-    def _get_forbidden_types(self, forbidden_contenttypes=None):
-        if forbidden_contenttypes is None:
-            forbidden_contenttypes = []
-        portal_properties = getToolByName(self.context, 'portal_properties', None)
-        if portal_properties is not None:
-            site_properties = getattr(portal_properties, 'site_properties', None)
-            if site_properties is not None:
-                if site_properties.hasProperty('forbidden_contenttypes'):
-                    return list(site_properties.getProperty('forbidden_contenttypes'))
-        return []
-
-    def get_allowed_types(self):
-        allowable_types = self._get_allowable_types()
-        forbidden_types = self._get_forbidden_types()
-        allowed_types = [type for type in allowable_types if type not in forbidden_types]
-        return allowed_types
-
-    def set_allowed_types(self, value):
-        # The menu pretends to be a whitelist, but we are storing a blacklist
-        # so that new types are available by default. So, we inverse the list.
-        allowable_types = self._get_allowable_types()
-        forbidden_types = [t for t in allowable_types if t not in value]
-
-        portal_properties = getToolByName(self.context, 'portal_properties', None)
-        if portal_properties is not None:
-            site_properties = getattr(portal_properties, 'site_properties', None)
-            if site_properties is not None:
-                site_properties.manage_changeProperties(forbidden_contenttypes=tuple(forbidden_types))
-
-    allowed_types = property(get_allowed_types, set_allowed_types)
-
-    # Wiki settings
-
-    if HAS_WICKED:
-        def get_enable_mediawiki(self):
-            return self.wicked_settings.enable_mediawiki
-
-        def set_enable_mediawiki(self, value):
-            settings = self.wicked_settings
-            if settings.enable_mediawiki != value:
-                self.toggle_mediawiki = True
-                settings.enable_mediawiki = value
-
-        enable_mediawiki = property(get_enable_mediawiki, set_enable_mediawiki)
-
-        def get_wiki_enabled_types(self):
-            return self.wicked_settings.types_enabled
-
-        def set_wiki_enabled_types(self, value):
-            settings = self.wicked_settings
-            if not self.toggle_mediawiki and value == settings.types_enabled:
-                return
-
-            self.unregister_wicked_types() # @@ use sets to avoid thrashing
-            for name in value:
-                reg = wicked_type_regs[name](self.context)
-                if self.enable_mediawiki:
-                    reg.txtfilter = BrackettedWickedFilter
-                reg.handle()
-
-            self.toggle_mediawiki = False
-            settings.types_enabled = value
-
-        wiki_enabled_types = property(get_wiki_enabled_types,
-                                      set_wiki_enabled_types)
-
-        @property
-        def wicked_settings(self):
-            ann = IAnnotations(self.context)
-            return ann.setdefault(WICKED_SETTING_KEY, WickedSettings())
-
-        def unregister_wicked_types(self):
-            """Unregisters all previous registration objects
-            """
-            for name in wicked_type_regs.keys():
-                wicked_type_regs[name](self.context).handle(unregister=True)
 
 textset = FormFieldsets(ITextMarkupSchema)
 textset.id = 'textmarkup'


Repository: plone.app.controlpanel
Branch: refs/heads/master
Date: 2015-01-22T14:14:42+01:00
Author: Kees Hink (khink) <keeshink@gmail.com>
Commit: https://github.com/plone/plone.app.controlpanel/commit/7705673f3b47859c1351c01eaf19603e1d95d566

Remove commented out test search.txt

Files changed:
M plone/app/controlpanel/tests/test_doctests.py
D plone/app/controlpanel/tests/search.txt

diff --git a/plone/app/controlpanel/tests/search.txt b/plone/app/controlpanel/tests/search.txt
deleted file mode 100644
index 719cfd5..0000000
--- a/plone/app/controlpanel/tests/search.txt
+++ /dev/null
@@ -1,86 +0,0 @@
-Search control panel
-====================
-
-First some initial setup code:
-
-    >>> from Products.CMFCore.utils import getToolByName
-    >>> jstool = getToolByName(self.portal, 'portal_javascripts')
-    >>> self.loginAsManager()
-
-Viewing the search control panel
---------------------------------
-
-    >>> self.browser.open('http://nohost/plone/@@search-controlpanel')
-    >>> self.browser.url.endswith('search-controlpanel')
-    True
-
-Click the save button without making any changes:
-
-    >>> self.browser.getControl(name="form.actions.save").click()
-    >>> self.browser.url.endswith('search-controlpanel')
-    True
-
-We should get a status message:
-
-    >>> 'Changes saved.' in self.browser.contents
-    True
-
-Now click the cancel button:
-
-    >>> self.browser.getControl(name="form.actions.cancel").click()
-    >>> self.browser.url.endswith('plone_control_panel')
-    True
-
-There should be still no changes:
-
-    >>> 'Changes canceled.' in self.browser.contents
-    True
-
-Make some changes
------------------
-
-    >>> self.browser.open('http://nohost/plone/@@search-controlpanel')
-    >>> self.browser.url.endswith('search-controlpanel')
-    True
-
-    >>> self.browser.getControl(name='form.enable_livesearch').value = False
-    >>> self.browser.getControl(name='form.types_not_searched').value = \
-    ...     ['Event', 'Document']
-
-
-Click the save button:
-
-    >>> self.browser.getControl(name="form.actions.save").click()
-    >>> self.browser.url.endswith('search-controlpanel')
-    True
-
-We should be informed that something has changed:
-
-    >>> 'Changes saved.' in self.browser.contents
-    True
-
-Make sure the changes have been applied correctly to the tool:
-
-    >>> self.site_props.enable_livesearch
-    False
-
-    >>> jstool.getResource('livesearch.js').getEnabled()
-    False
-
-    >>> 'Event' not in self.site_props.types_not_searched
-    True
-
-    >>> 'Document' not in self.site_props.types_not_searched
-    True
-
-    >>> 'File' in self.site_props.types_not_searched
-    True
-
-So called 'bad types' are not listed in the search panel, but they
-should still be listed in the site_properties as not searchable:
-
-    >>> from plone.app.vocabularies.types import BAD_TYPES
-    >>> [bad for bad in BAD_TYPES if bad not in self.site_props.types_not_searched]
-    []
-
-
diff --git a/plone/app/controlpanel/tests/test_doctests.py b/plone/app/controlpanel/tests/test_doctests.py
index 9be4542..5765214 100644
--- a/plone/app/controlpanel/tests/test_doctests.py
+++ b/plone/app/controlpanel/tests/test_doctests.py
@@ -17,7 +17,6 @@ def test_suite():
         'filter.txt',
         # 'mail.txt',
         # 'security_enable_user_folder.txt',
-        # 'search.txt',
         # 'site.txt',
         # 'skins.txt',
         # 'navigation.txt',


Repository: plone.app.controlpanel
Branch: refs/heads/master
Date: 2015-01-22T14:17:26+01:00
Author: Kees Hink (khink) <keeshink@gmail.com>
Commit: https://github.com/plone/plone.app.controlpanel/commit/4bc67a79060ec4c6d129b6d227012331f4225dea

Remove search controlpanel definition that was moved to CMFPlone

Files changed:
M plone/app/controlpanel/search.py

diff --git a/plone/app/controlpanel/search.py b/plone/app/controlpanel/search.py
index 649e7d0..650823f 100644
--- a/plone/app/controlpanel/search.py
+++ b/plone/app/controlpanel/search.py
@@ -1,19 +1,12 @@
 from plone.fieldsets.fieldsets import FormFieldsets
 from zope.interface import Interface
-from zope.interface import implements
-from zope.component import adapts
 from zope.schema import Bool
 from zope.schema import Choice
 from zope.schema import Tuple
 from zope.schema.vocabulary import SimpleTerm
 from zope.schema.vocabulary import SimpleVocabulary
 
-from Products.CMFCore.utils import getToolByName
-from Products.CMFDefault.formlib.schema import SchemaAdapterBase
 from Products.CMFPlone import PloneMessageFactory as _
-from Products.CMFPlone.interfaces import IPloneSiteRoot
-
-from plone.app.vocabularies.types import BAD_TYPES
 
 from form import ControlPanelForm
 from widgets import MultiCheckBoxThreeColumnWidget as MCBThreeColumnWidget
@@ -55,49 +48,6 @@ class ISearchSchema(IBaseSearchSchema):
     ''' Base search form options '''
 
 
-class SearchControlPanelAdapter(SchemaAdapterBase):
-
-    adapts(IPloneSiteRoot)
-    implements(ISearchSchema)
-
-    def __init__(self, context):
-        super(SearchControlPanelAdapter, self).__init__(context)
-        pprop = getToolByName(context, 'portal_properties')
-        self.context = pprop.site_properties
-        self.jstool = getToolByName(context, 'portal_javascripts')
-        self.ttool = getToolByName(context, 'portal_types')
-
-    def get_enable_livesearch(self):
-        return self.context.enable_livesearch
-
-    def set_enable_livesearch(self, value):
-        if value:
-            self.context.manage_changeProperties(enable_livesearch=True)
-            self.jstool.getResource('livesearch.js').setEnabled(True)
-        else:
-            self.context.manage_changeProperties(enable_livesearch=False)
-            self.jstool.getResource('livesearch.js').setEnabled(False)
-        self.jstool.cookResources()
-
-    enable_livesearch = property(get_enable_livesearch, set_enable_livesearch)
-
-    def get_types_not_searched(self):
-        # Note: we do not show BAD_TYPES.
-        return [t for t in self.ttool.listContentTypes()
-                        if t not in self.context.types_not_searched and
-                           t not in BAD_TYPES]
-
-    def set_types_not_searched(self, value):
-        # Note: we add BAD_TYPES to the value list.
-        value = [t for t in self.ttool.listContentTypes() if t not in value
-                   or t in BAD_TYPES]
-        self.context._updateProperty('types_not_searched', value)
-
-    # This also defines the user friendly types
-    types_not_searched = property(get_types_not_searched,
-                                  set_types_not_searched)
-
-
 searchset = FormFieldsets(IBaseSearchSchema)
 searchset.id = 'search'
 searchset.label = _("Search settings")


Repository: plone.app.controlpanel
Branch: refs/heads/master
Date: 2015-01-22T16:28:06+01:00
Author: Gil Forcada (gforcada) <gforcada@gnome.org>
Commit: https://github.com/plone/plone.app.controlpanel/commit/529cc9eed5d9ba2a742604dc84e19140805886fc

Merge pull request #41 from plone/plip10359-migrate-to-cmfplone

Plip10359 remove unused code

Files changed:
M plone/app/controlpanel/markup.py
M plone/app/controlpanel/search.py
M plone/app/controlpanel/tests/test_doctests.py
D plone/app/controlpanel/maintenance.pt
D plone/app/controlpanel/maintenance.py
D plone/app/controlpanel/tests/maintenance.txt
D plone/app/controlpanel/tests/markup.txt
D plone/app/controlpanel/tests/search.txt

diff --git a/plone/app/controlpanel/maintenance.pt b/plone/app/controlpanel/maintenance.pt
deleted file mode 100644
index 7dc4de9..0000000
--- a/plone/app/controlpanel/maintenance.pt
+++ /dev/null
@@ -1,196 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
-      xmlns:metal="http://xml.zope.org/namespaces/metal"
-      xmlns:tal="http://xml.zope.org/namespaces/tal"
-      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
-      xml:lang="en" lang="en"
-      metal:use-macro="context/prefs_main_template/macros/master"
-      i18n:domain="plone">
-
-<body>
-
-<metal:main fill-slot="prefs_configlet_main">
-
-    <metal:form define-macro="form" tal:condition="view/available">
-
-         <metal:block define-macro="header">
-
-             <div class="portalMessage info"
-                  tal:define="status view/status"
-                  tal:condition="status">
-                 <strong i18n:translate="">
-                     Info
-                 </strong>
-                 <span tal:replace="view/status" />
-             </div>
-
-         </metal:block>
-
-         <h1 class="documentFirstHeading"
-             i18n:translate=""
-             tal:condition="view/label"
-             tal:content="view/label"
-             metal:define-slot="heading">
-             Do something
-         </h1>
-
-         <div class="documentDescription" i18n:translate=""
-            tal:condition="view/description"
-            tal:content="view/description">
-             Description
-         </div>
-
-        <div id="content-core">
-
-            <form action="."
-                  tal:attributes="action request/URL"
-                  method="post"
-                  class="edit-form"
-                  enctype="multipart/form-data">
-
-                <fieldset>
-                    <legend i18n:translate="heading_zope_server">
-                        Zope Server
-                    </legend>
-
-                    <p i18n:translate="text_zope_server_uptime">
-                        Zope Server uptime: <span i18n:name="time" tal:replace="view/processTime" />
-                    </p>
-
-                    <div id="actionsView" class="formControls">
-                        <span class="actionButtons">
-                            <input type="submit"
-                                   id="form.actions.shutdown"
-                                   name="form.actions.shutdown"
-                                   value="Shut down"
-                                   i18n:attributes="value"
-                                   class="standalone" />
-
-                            <input tal:condition="view/isRestartable"
-                                   type="submit"
-                                   id="form.actions.restart"
-                                   name="form.actions.restart"
-                                   value="Restart"
-                                   i18n:attributes="value"
-                                   class="standalone" />
-
-                        </span>
-                    </div>
-
-                </fieldset>
-
-                <input tal:replace="structure context/@@authenticator/authenticator" />
-
-            </form>
-            <br><br>
-            <form action="."
-                  metal:define-macro="master"
-                  tal:attributes="action request/URL"
-                  method="post"
-                  class="edit-form"
-                  enctype="multipart/form-data"
-                  id="zc.page.browser_form">
-
-                <div metal:define-slot="extra_info" tal:replace="nothing">
-                </div>
-
-                <fieldset>
-                    <legend tal:define="form_name view/form_name|nothing"
-                            tal:condition="form_name"
-                            tal:content="form_name">Form name</legend>
-
-                    <p i18n:translate="text_zope_database_size">
-                        <strong>Current database size:</strong> <span i18n:name="size" tal:replace="view/dbSize" />
-                    </p>
-
-                    <tal:block tal:repeat="widget view/widgets">
-
-                      <div class="field"
-                           tal:define="description widget/hint;
-                                       error widget/error"
-                           tal:attributes="class python:'field'+(error and ' error' or '')">
-
-                          <label tal:attributes="for widget/name">
-                            <span i18n:translate="" tal:replace="widget/label">
-                              label
-                            </span> <span class="required"
-                                  title="Required"
-                                  i18n:attributes="title title_required;"
-                                  i18n:translate="label_required"
-                                  tal:condition="widget/required">&nbsp;</span>
-                          </label>
-                            <div class="formHelp"
-                                 i18n:translate=""
-                                 tal:content="description"
-                                 tal:condition="description">
-                                field description
-                            </div>
-
-
-                          <div tal:condition="error"
-                               tal:content="structure error">
-                              The Error
-                          </div>
-
-                          <div class="widget" tal:content="structure widget">
-                              <input type="text" />
-                          </div>
-                      </div>
-
-                    </tal:block>
-
-                    <metal:block define-slot="above_buttons" />
-
-
-                    <div id="actionsView" class="formControls">
-                        <span class="actionButtons">
-                            <input type="submit"
-                                   id="form.actions.pack"
-                                   name="form.actions.pack"
-                                   value="Pack database now"
-                                   i18n:attributes="value"
-                                   class="context" />
-                        </span>
-                    </div>
-
-                </fieldset>
-
-                <input tal:replace="structure context/@@authenticator/authenticator" />
-
-            </form>
-
-            <script type="text/javascript"
-                tal:define="extra_script view/extra_script | nothing"
-                tal:condition="extra_script"
-                tal:content="structure extra_script">
-            </script>
-        </div>
-
-    </metal:form>
-
-    <metal:block tal:condition="not: view/available">
-         <h1 class="documentFirstHeading"
-             i18n:translate=""
-             tal:condition="view/label"
-             tal:content="view/label">
-             Do something
-         </h1>
-
-         <div class="documentDescription" i18n:translate="text_not_allowed_manage_server"
-            tal:condition="view/description">
-             You are not allowed to manage the Zope server.
-         </div>
-
-         <div id="content-core">
-             <a href=""
-                class="link-parent"
-                tal:attributes="href string:$portal_url/plone_control_panel"
-                i18n:translate="label_up_to_plone_setup">
-                 Up to Site Setup
-             </a>
-         </div>
-    </metal:block>
-
-
-</metal:main>
-</body>
-</html>
diff --git a/plone/app/controlpanel/maintenance.py b/plone/app/controlpanel/maintenance.py
deleted file mode 100644
index 4c87b60..0000000
--- a/plone/app/controlpanel/maintenance.py
+++ /dev/null
@@ -1,142 +0,0 @@
-import os
-from cgi import escape
-
-from plone.app.form.validators import null_validator
-from plone.fieldsets.form import FieldsetsEditForm
-from zope.component import adapts
-from zope.formlib import form
-from zope.interface import Interface
-from zope.interface import implements
-from zope.schema import Int
-
-from AccessControl import getSecurityManager
-from AccessControl.Permissions import view_management_screens
-from Acquisition import aq_inner
-from Products.CMFCore.utils import getToolByName
-from Products.CMFDefault.formlib.schema import SchemaAdapterBase
-from Products.CMFPlone import PloneMessageFactory as _
-from Products.CMFPlone.interfaces import IPloneSiteRoot
-from Products.Five.browser.pagetemplatefile import ZopeTwoPageTemplateFile
-
-from plone.app.controlpanel.interfaces import IPloneControlPanelForm
-
-from plone.protect import CheckAuthenticator
-
-
-class IMaintenanceSchema(Interface):
-
-    days = Int(title=_(u"Days of object history to keep after packing"),
-        description=_(u"You should pack your database regularly. This number "
-                       "indicates how many days of undo history you want to "
-                       "keep. It is unrelated to versioning, so even if you "
-                       "pack the database, the history of the content changes "
-                       "will be kept. Recommended value is 7 days."),
-        default=7,
-        required=True)
-
-
-class MaintenanceControlPanelAdapter(SchemaAdapterBase):
-
-    adapts(IPloneSiteRoot)
-    implements(IMaintenanceSchema)
-
-    def __init__(self, context):
-        pprop = getToolByName(context, 'portal_properties')
-        self.context = pprop.site_properties
-
-    def get_days(self):
-        return self.context.number_of_days_to_keep
-
-    def set_days(self, value):
-        if isinstance(value, basestring):
-            value = int(value)
-        self.context.number_of_days_to_keep = value
-
-    days = property(get_days, set_days)
-
-
-class MaintenanceControlPanel(FieldsetsEditForm):
-    """A simple form to pack the databases."""
-
-    implements(IPloneControlPanelForm)
-
-    template = ZopeTwoPageTemplateFile('maintenance.pt')
-    form_fields = form.FormFields(IMaintenanceSchema)
-    label = _(u'Maintenance')
-    description = _(u"Zope server and site maintenance options.")
-    form_name = _(u'Zope Database Packing')
-
-    @form.action(_(u'Pack database now'), name=u'pack')
-    def handle_edit_action(self, action, data):
-        CheckAuthenticator(self.request)
-        if not self.available():
-            self.status = _(u'text_not_allowed_manage_server',
-                            default=u'You are not allowed to manage the Zope server.')
-            return
-        form.applyChanges(self.context, self.form_fields, data, self.adapters)
-        value = data.get('days', None)
-        # skip the actual pack method in tests
-        if value is not None and isinstance(value, int) and value >= 0:
-            context = aq_inner(self.context)
-            cpanel = context.unrestrictedTraverse('/Control_Panel')
-            cpanel.manage_pack(days=value, REQUEST=None)
-        self.status = _(u'Packed the database.')
-
-    @form.action(_(u'Shut down'), validator=null_validator, name=u'shutdown')
-    def handle_shutdown_action(self, action, data):
-        CheckAuthenticator(self.request)
-        if not self.available():
-            self.status = _(u'text_not_allowed_manage_server',
-                            default=u'You are not allowed to manage the Zope server.')
-            return
-        context = aq_inner(self.context)
-        cpanel = context.unrestrictedTraverse('/Control_Panel')
-        result = cpanel.manage_shutdown()
-        return result
-
-    @form.action(_(u'Restart'), validator=null_validator)
-    def handle_restart_action(self, action, data):
-        CheckAuthenticator(self.request)
-        if not self.available():
-            self.status = _(u'text_not_allowed_manage_server',
-                            default=u'You are not allowed to manage the Zope server.')
-            return
-        context = aq_inner(self.context)
-        cpanel = context.unrestrictedTraverse('/Control_Panel')
-        url = self.request.get('URL')
-        cpanel.manage_restart(url)
-        return """<html>
-        <head><meta HTTP-EQUIV=REFRESH CONTENT="30; URL=%s">
-        </head>
-        <body>Zope is restarting. This page will refresh in 30 seconds...</body></html>
-        """ % escape(url, 1)
-
-    def available(self):
-        root = aq_inner(self.context).getPhysicalRoot()
-        sm = getSecurityManager()
-        return sm.checkPermission(view_management_screens, root)
-
-    def isRestartable(self):
-        if os.environ.has_key('ZMANAGED'):
-            return True
-        return False
-
-    def isDevelopmentMode(self):
-        qi = getToolByName(self.context, 'portal_quickinstaller')
-        return qi.isDevelopmentMode()
-
-    def coreVersions(self):
-        mt = getToolByName(self.context, 'portal_migration')
-        versions = mt.coreVersions()
-        versions['Instance'] = versions['Plone Instance']
-        return versions
-
-    def processTime(self):
-        context = aq_inner(self.context)
-        cpanel = context.unrestrictedTraverse('/Control_Panel')
-        return cpanel.process_time()
-
-    def dbSize(self):
-        context = aq_inner(self.context)
-        cpanel = context.unrestrictedTraverse('/Control_Panel')
-        return cpanel.db_size()
diff --git a/plone/app/controlpanel/markup.py b/plone/app/controlpanel/markup.py
index a076c46..64a6eab 100644
--- a/plone/app/controlpanel/markup.py
+++ b/plone/app/controlpanel/markup.py
@@ -1,7 +1,6 @@
 from plone.fieldsets.fieldsets import FormFieldsets
 
 from zope.interface import Interface
-from zope.component import adapts
 from zope.interface import implements
 from zope.schema import Choice
 from zope.schema import Tuple
@@ -11,20 +10,16 @@
 from zope.schema.vocabulary import SimpleTerm
 
 from Products.CMFCore.utils import getToolByName
-from Products.CMFDefault.formlib.schema import SchemaAdapterBase
 from Products.CMFPlone import PloneMessageFactory as _
-from Products.CMFPlone.interfaces import IPloneSiteRoot
 
 from plone.app.controlpanel.form import ControlPanelForm
 from plone.app.controlpanel.widgets import AllowedTypesWidget
 from plone.app.controlpanel.widgets import MultiCheckBoxVocabularyWidget
 
 from persistent import Persistent
-from zope.annotation.interfaces import IAnnotations
 
 try:
     from wicked.plone.registration import basic_type_regs as wicked_basic_type_regs
-    from wicked.txtfilter import BrackettedWickedFilter
 except ImportError:
     HAS_WICKED = False
 else:
@@ -114,115 +109,6 @@ class IMarkupSchema(ITextMarkupSchema, IWikiMarkupSchema):
 else:
     IMarkupSchema = ITextMarkupSchema
 
-class MarkupControlPanelAdapter(SchemaAdapterBase):
-
-    adapts(IPloneSiteRoot)
-    implements(IMarkupSchema)
-
-    def __init__(self, context):
-        super(MarkupControlPanelAdapter, self).__init__(context)
-        self.context = context
-        self.toggle_mediawiki = False
-
-    # Text markup settings
-
-    def get_default_type(self):
-        portal_properties = getToolByName(self.context, 'portal_properties', None)
-        if portal_properties is not None:
-            site_properties = getattr(portal_properties, 'site_properties', None)
-            if site_properties is not None:
-                return site_properties.getProperty('default_contenttype')
-        return 'text/plain'
-
-    def set_default_type(self, value):
-        portal_properties = getToolByName(self.context, 'portal_properties', None)
-        if portal_properties is not None:
-            site_properties = getattr(portal_properties, 'site_properties', None)
-            if site_properties is not None:
-                site_properties.manage_changeProperties(default_contenttype=value)
-
-    default_type = property(get_default_type, set_default_type)
-
-    def _get_allowable_types(self):
-        portal_transforms = getToolByName(self.context, 'portal_transforms')
-        return portal_transforms.listAvailableTextInputs()
-
-    def _get_forbidden_types(self, forbidden_contenttypes=None):
-        if forbidden_contenttypes is None:
-            forbidden_contenttypes = []
-        portal_properties = getToolByName(self.context, 'portal_properties', None)
-        if portal_properties is not None:
-            site_properties = getattr(portal_properties, 'site_properties', None)
-            if site_properties is not None:
-                if site_properties.hasProperty('forbidden_contenttypes'):
-                    return list(site_properties.getProperty('forbidden_contenttypes'))
-        return []
-
-    def get_allowed_types(self):
-        allowable_types = self._get_allowable_types()
-        forbidden_types = self._get_forbidden_types()
-        allowed_types = [type for type in allowable_types if type not in forbidden_types]
-        return allowed_types
-
-    def set_allowed_types(self, value):
-        # The menu pretends to be a whitelist, but we are storing a blacklist
-        # so that new types are available by default. So, we inverse the list.
-        allowable_types = self._get_allowable_types()
-        forbidden_types = [t for t in allowable_types if t not in value]
-
-        portal_properties = getToolByName(self.context, 'portal_properties', None)
-        if portal_properties is not None:
-            site_properties = getattr(portal_properties, 'site_properties', None)
-            if site_properties is not None:
-                site_properties.manage_changeProperties(forbidden_contenttypes=tuple(forbidden_types))
-
-    allowed_types = property(get_allowed_types, set_allowed_types)
-
-    # Wiki settings
-
-    if HAS_WICKED:
-        def get_enable_mediawiki(self):
-            return self.wicked_settings.enable_mediawiki
-
-        def set_enable_mediawiki(self, value):
-            settings = self.wicked_settings
-            if settings.enable_mediawiki != value:
-                self.toggle_mediawiki = True
-                settings.enable_mediawiki = value
-
-        enable_mediawiki = property(get_enable_mediawiki, set_enable_mediawiki)
-
-        def get_wiki_enabled_types(self):
-            return self.wicked_settings.types_enabled
-
-        def set_wiki_enabled_types(self, value):
-            settings = self.wicked_settings
-            if not self.toggle_mediawiki and value == settings.types_enabled:
-                return
-
-            self.unregister_wicked_types() # @@ use sets to avoid thrashing
-            for name in value:
-                reg = wicked_type_regs[name](self.context)
-                if self.enable_mediawiki:
-                    reg.txtfilter = BrackettedWickedFilter
-                reg.handle()
-
-            self.toggle_mediawiki = False
-            settings.types_enabled = value
-
-        wiki_enabled_types = property(get_wiki_enabled_types,
-                                      set_wiki_enabled_types)
-
-        @property
-        def wicked_settings(self):
-            ann = IAnnotations(self.context)
-            return ann.setdefault(WICKED_SETTING_KEY, WickedSettings())
-
-        def unregister_wicked_types(self):
-            """Unregisters all previous registration objects
-            """
-            for name in wicked_type_regs.keys():
-                wicked_type_regs[name](self.context).handle(unregister=True)
 
 textset = FormFieldsets(ITextMarkupSchema)
 textset.id = 'textmarkup'
diff --git a/plone/app/controlpanel/search.py b/plone/app/controlpanel/search.py
index 649e7d0..650823f 100644
--- a/plone/app/controlpanel/search.py
+++ b/plone/app/controlpanel/search.py
@@ -1,19 +1,12 @@
 from plone.fieldsets.fieldsets import FormFieldsets
 from zope.interface import Interface
-from zope.interface import implements
-from zope.component import adapts
 from zope.schema import Bool
 from zope.schema import Choice
 from zope.schema import Tuple
 from zope.schema.vocabulary import SimpleTerm
 from zope.schema.vocabulary import SimpleVocabulary
 
-from Products.CMFCore.utils import getToolByName
-from Products.CMFDefault.formlib.schema import SchemaAdapterBase
 from Products.CMFPlone import PloneMessageFactory as _
-from Products.CMFPlone.interfaces import IPloneSiteRoot
-
-from plone.app.vocabularies.types import BAD_TYPES
 
 from form import ControlPanelForm
 from widgets import MultiCheckBoxThreeColumnWidget as MCBThreeColumnWidget
@@ -55,49 +48,6 @@ class ISearchSchema(IBaseSearchSchema):
     ''' Base search form options '''
 
 
-class SearchControlPanelAdapter(SchemaAdapterBase):
-
-    adapts(IPloneSiteRoot)
-    implements(ISearchSchema)
-
-    def __init__(self, context):
-        super(SearchControlPanelAdapter, self).__init__(context)
-        pprop = getToolByName(context, 'portal_properties')
-        self.context = pprop.site_properties
-        self.jstool = getToolByName(context, 'portal_javascripts')
-        self.ttool = getToolByName(context, 'portal_types')
-
-    def get_enable_livesearch(self):
-        return self.context.enable_livesearch
-
-    def set_enable_livesearch(self, value):
-        if value:
-            self.context.manage_changeProperties(enable_livesearch=True)
-            self.jstool.getResource('livesearch.js').setEnabled(True)
-        else:
-            self.context.manage_changeProperties(enable_livesearch=False)
-            self.jstool.getResource('livesearch.js').setEnabled(False)
-        self.jstool.cookResources()
-
-    enable_livesearch = property(get_enable_livesearch, set_enable_livesearch)
-
-    def get_types_not_searched(self):
-        # Note: we do not show BAD_TYPES.
-        return [t for t in self.ttool.listContentTypes()
-                        if t not in self.context.types_not_searched and
-                           t not in BAD_TYPES]
-
-    def set_types_not_searched(self, value):
-        # Note: we add BAD_TYPES to the value list.
-        value = [t for t in self.ttool.listContentTypes() if t not in value
-                   or t in BAD_TYPES]
-        self.context._updateProperty('types_not_searched', value)
-
-    # This also defines the user friendly types
-    types_not_searched = property(get_types_not_searched,
-                                  set_types_not_searched)
-
-
 searchset = FormFieldsets(IBaseSearchSchema)
 searchset.id = 'search'
 searchset.label = _("Search settings")
diff --git a/plone/app/controlpanel/tests/maintenance.txt b/plone/app/controlpanel/tests/maintenance.txt
deleted file mode 100644
index d4492be..0000000
--- a/plone/app/controlpanel/tests/maintenance.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-Maintenance control panel
-=========================
-
-First some initial setup code:
-
-    >>> self.loginAsManager()
-
-Viewing the maintenance control panel
--------------------------------------
-
-    >>> self.browser.open('http://nohost/plone/@@maintenance-controlpanel')
-    >>> self.browser.url.endswith('maintenance-controlpanel')
-    True
-
-While we have manage permisssions inside the site, we don't have them at the
-Zope root:
-
-    >>> 'You are not allowed to manage the Zope server' in self.browser.contents
-    True
-
-Let's create a manager at the Zope root:
-
-    >>> self.app.acl_users.userFolderAddUser('app', 'secret', ['Manager'], [])
-
-And log in as that user instead:
-
-    >>> self.browser.open('http://nohost/plone/')
-    >>> self.browser.getLink('Log out').click()
-    >>> self.loginAsManager(user='app')
-
-See if we can manage the server now:
-
-    >>> self.browser.open('http://nohost/plone/@@maintenance-controlpanel')
-    >>> self.browser.url.endswith('maintenance-controlpanel')
-    True
-
-    >>> 'Zope Database' in self.browser.contents
-    True
-
-While we cannot test the actual packaging during tests, we can skip the actual
-manage_pack method by providing a negative value for days:
-
-    >>> self.browser.getControl(name='form.days').value = '-1'
-    >>> self.browser.getControl(name="form.actions.pack").click()
-    >>> self.browser.url.endswith('maintenance-controlpanel')
-    True
-
-We should get a status message:
-
-    >>> 'Packed the database.' in self.browser.contents
-    True
diff --git a/plone/app/controlpanel/tests/markup.txt b/plone/app/controlpanel/tests/markup.txt
deleted file mode 100644
index eb2d42f..0000000
--- a/plone/app/controlpanel/tests/markup.txt
+++ /dev/null
@@ -1,63 +0,0 @@
-Markup control panel
-====================
-
-Viewing the markup control panel
---------------------------------
-
-    >>> self.loginAsManager()
-    >>> self.login('root')  # need to login with test fixture too to get right token
-    >>> from plone.protect.authenticator import createToken
-
-It is only necessary in the test here to add the token.
-
-    >>> self.browser.open('http://nohost/plone/@@markup-controlpanel?_authenticator=' + createToken())
-    >>> self.browser.url
-    'http://nohost/plone/@@markup-controlpanel...'
-
-We have two controls, one for the default type and a multi selection for
-alternative formats:
-
-    >>> self.browser.getControl(name='form.default_type').value
-    ['text/html']
-    >>> self.browser.getControl(name='form.allowed_types').value
-    ['text/html', 'text/x-web-textile']
-
-Click the save button without making any changes:
-
-    >>> self.browser.getControl(name="form.actions.save").click()
-    >>> self.browser.url.endswith('markup-controlpanel')
-    True
-
-We should get a status message:
-
-    >>> 'Changes saved.' in self.browser.contents
-    True
-
-Now click the cancel button:
-
-    >>> self.browser.getControl(name="form.actions.cancel").click()
-    >>> self.browser.url.endswith('plone_control_panel')
-    True
-
-There should be still no changes:
-
-    >>> 'Changes canceled.' in self.browser.contents
-    True
-
-Modifying values
-----------------
-
-    >>> self.browser.open('http://nohost/plone/@@markup-controlpanel')
-    >>> self.browser.getControl(name='form.default_type').value = ['text/x-web-textile',]
-    >>> self.browser.getControl(name='form.allowed_types').value = ['text/html', 'text/x-web-textile']
-    >>> self.browser.getControl(name="form.actions.save").click()
-    >>> 'Changes saved' in self.browser.contents
-    True
-
-Verify, that the settings have actually been changed:
-
-    >>> self.portal.portal_properties.site_properties.default_contenttype
-    'text/x-web-textile'
-    >>> forbidden_types = self.portal.portal_properties.site_properties.forbidden_contenttypes
-    >>> set(self.portal.portal_transforms.listAvailableTextInputs()) - set(forbidden_types)
-    set(['text/html', 'text/x-web-textile'])
diff --git a/plone/app/controlpanel/tests/search.txt b/plone/app/controlpanel/tests/search.txt
deleted file mode 100644
index 719cfd5..0000000
--- a/plone/app/controlpanel/tests/search.txt
+++ /dev/null
@@ -1,86 +0,0 @@
-Search control panel
-====================
-
-First some initial setup code:
-
-    >>> from Products.CMFCore.utils import getToolByName
-    >>> jstool = getToolByName(self.portal, 'portal_javascripts')
-    >>> self.loginAsManager()
-
-Viewing the search control panel
---------------------------------
-
-    >>> self.browser.open('http://nohost/plone/@@search-controlpanel')
-    >>> self.browser.url.endswith('search-controlpanel')
-    True
-
-Click the save button without making any changes:
-
-    >>> self.browser.getControl(name="form.actions.save").click()
-    >>> self.browser.url.endswith('search-controlpanel')
-    True
-
-We should get a status message:
-
-    >>> 'Changes saved.' in self.browser.contents
-    True
-
-Now click the cancel button:
-
-    >>> self.browser.getControl(name="form.actions.cancel").click()
-    >>> self.browser.url.endswith('plone_control_panel')
-    True
-
-There should be still no changes:
-
-    >>> 'Changes canceled.' in self.browser.contents
-    True
-
-Make some changes
------------------
-
-    >>> self.browser.open('http://nohost/plone/@@search-controlpanel')
-    >>> self.browser.url.endswith('search-controlpanel')
-    True
-
-    >>> self.browser.getControl(name='form.enable_livesearch').value = False
-    >>> self.browser.getControl(name='form.types_not_searched').value = \
-    ...     ['Event', 'Document']
-
-
-Click the save button:
-
-    >>> self.browser.getControl(name="form.actions.save").click()
-    >>> self.browser.url.endswith('search-controlpanel')
-    True
-
-We should be informed that something has changed:
-
-    >>> 'Changes saved.' in self.browser.contents
-    True
-
-Make sure the changes have been applied correctly to the tool:
-
-    >>> self.site_props.enable_livesearch
-    False
-
-    >>> jstool.getResource('livesearch.js').getEnabled()
-    False
-
-    >>> 'Event' not in self.site_props.types_not_searched
-    True
-
-    >>> 'Document' not in self.site_props.types_not_searched
-    True
-
-    >>> 'File' in self.site_props.types_not_searched
-    True
-
-So called 'bad types' are not listed in the search panel, but they
-should still be listed in the site_properties as not searchable:
-
-    >>> from plone.app.vocabularies.types import BAD_TYPES
-    >>> [bad for bad in BAD_TYPES if bad not in self.site_props.types_not_searched]
-    []
-
-
diff --git a/plone/app/controlpanel/tests/test_doctests.py b/plone/app/controlpanel/tests/test_doctests.py
index 7682db1..5765214 100644
--- a/plone/app/controlpanel/tests/test_doctests.py
+++ b/plone/app/controlpanel/tests/test_doctests.py
@@ -5,8 +5,6 @@
 from Testing.ZopeTestCase import FunctionalDocFileSuite
 
 from plone.app.controlpanel.tests.cptc import ControlPanelTestCase
-from plone.app.controlpanel.tests.cptc import UserGroupsControlPanelTestCase
-from plone.app.controlpanel.tests.cptc import EmailLoginSecurityControlPanelTestCase
 
 setupPloneSite()
 
@@ -15,23 +13,21 @@
 
 def test_suite():
     tests = [
-#            'editing.txt',
-             'filter.txt',
-#             'mail.txt',
-#             'maintenance.txt',
-#             'security_enable_user_folder.txt',
-#             'search.txt',
-#             'site.txt',
-#             'skins.txt',
-#             'markup.txt',
-#             'navigation.txt',
-             'types.txt',
-             'syndication.txt'
-             ]
+        # 'editing.txt',
+        'filter.txt',
+        # 'mail.txt',
+        # 'security_enable_user_folder.txt',
+        # 'site.txt',
+       …
lrowe added a commit that referenced this pull request Apr 8, 2015
Branch: refs/heads/master
Date: 2015-03-02T18:58:09+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@ed98d2c

fix for remote https themes, which are not loaded due to an lxml problem, where a IOError is raised on https sources

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T19:06:24+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@d4703dc

conditional imports for Python 2 and Python 3 to let Diazo work in both environments

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T21:14:39+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@54c089c

wrong import from in Python 3 case: must be urllib.request

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T21:29:11+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@9b26a41

reduced import due to future import posibility, as @lrowe recommended

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T23:10:05+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@8b6cce0

always use urlopen on remote locations

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T23:21:41+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@4cea882

make protocol check more pythonic

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-03T23:24:25+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@f06f717

fix broken tests, due to explicit usage of urllib only for remote themes

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-03T23:36:15+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@1657f2d

apply lrowe flake8 fix to my fork

Files changed:
M lib/diazo/compiler.py
M lib/diazo/cssrules.py
M lib/diazo/rules.py
M lib/diazo/run.py
M lib/diazo/tests/test_diazo.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-03T23:50:12+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@afa0ca0

make checks even more explicite to avoid any problem on remote connections

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-04T00:00:48+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@38d529d

modified changes.txt to describe changes / changelog

Files changed:
M docs/CHANGES.txt
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-31T03:31:11+02:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@e86b8f6

update gitignore

Files changed:
M .gitignore
Repository: diazo
Branch: refs/heads/master
Date: 2015-04-08T14:53:34+02:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@22ca84b

Merge remote-tracking branch 'plone/master'

Files changed:
M docs/CHANGES.txt
M lib/diazo/tests/test_diazo.py
M lib/diazo/utils.py
M setup.py
D docs/HISTORY.txt
Repository: diazo
Branch: refs/heads/master
Date: 2015-04-08T14:59:34+02:00
Author: Laurence Rowe (lrowe) <l@lrowe.co.uk>
Commit: plone/diazo@7bb1137

Merge pull request #41 from loechel/master

Fix case when theme is provided via an remote https source

Files changed:
M .gitignore
M docs/CHANGES.txt
M lib/diazo/rules.py
lrowe added a commit that referenced this pull request Apr 8, 2015
Branch: refs/heads/master
Date: 2015-03-02T18:58:09+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@ed98d2c

fix for remote https themes, which are not loaded due to an lxml problem, where a IOError is raised on https sources

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T19:06:24+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@d4703dc

conditional imports for Python 2 and Python 3 to let Diazo work in both environments

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T21:14:39+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@54c089c

wrong import from in Python 3 case: must be urllib.request

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T21:29:11+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@9b26a41

reduced import due to future import posibility, as @lrowe recommended

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T23:10:05+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@8b6cce0

always use urlopen on remote locations

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-02T23:21:41+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@4cea882

make protocol check more pythonic

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-03T23:24:25+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@f06f717

fix broken tests, due to explicit usage of urllib only for remote themes

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-03T23:36:15+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@1657f2d

apply lrowe flake8 fix to my fork

Files changed:
M lib/diazo/compiler.py
M lib/diazo/cssrules.py
M lib/diazo/rules.py
M lib/diazo/run.py
M lib/diazo/tests/test_diazo.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-03T23:50:12+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@afa0ca0

make checks even more explicite to avoid any problem on remote connections

Files changed:
M lib/diazo/rules.py
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-04T00:00:48+01:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@38d529d

modified changes.txt to describe changes / changelog

Files changed:
M docs/CHANGES.txt
Repository: diazo
Branch: refs/heads/master
Date: 2015-03-31T03:31:11+02:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@e86b8f6

update gitignore

Files changed:
M .gitignore
Repository: diazo
Branch: refs/heads/master
Date: 2015-04-08T14:53:34+02:00
Author: Alexander Loechel () <Alexander.Loechel@lmu.de>
Commit: plone/diazo@22ca84b

Merge remote-tracking branch 'plone/master'

Files changed:
M docs/CHANGES.txt
M lib/diazo/tests/test_diazo.py
M lib/diazo/utils.py
M setup.py
D docs/HISTORY.txt
Repository: diazo
Branch: refs/heads/master
Date: 2015-04-08T14:59:34+02:00
Author: Laurence Rowe (lrowe) <l@lrowe.co.uk>
Commit: plone/diazo@7bb1137

Merge pull request #41 from loechel/master

Fix case when theme is provided via an remote https source

Files changed:
M .gitignore
M docs/CHANGES.txt
M lib/diazo/rules.py
tisto added a commit that referenced this pull request Jun 2, 2015
Branch: refs/heads/master
Date: 2015-06-02T18:35:15+02:00
Author: Timo Stollenwerk (tisto) <tisto@plone.org>
Commit: plone/plone.app.users@9bdbc02

Import ConfigurationChangedEvent from Products.CMFPlone instead of from plone.app.controlpanel.

Files changed:
M CHANGES.rst
M plone/app/users/browser/account.py
Repository: plone.app.users
Branch: refs/heads/master
Date: 2015-06-02T19:38:34+02:00
Author: Timo Stollenwerk (tisto) <tisto@plone.org>
Commit: plone/plone.app.users@6199849

Merge pull request #41 from plone/configuration-changed-event

Import ConfigurationChangedEvent from Products.CMFPlone instead of fr…

Files changed:
M CHANGES.rst
M plone/app/users/browser/account.py
tisto added a commit that referenced this pull request Jun 2, 2015
Branch: refs/heads/master
Date: 2015-06-02T18:35:15+02:00
Author: Timo Stollenwerk (tisto) <tisto@plone.org>
Commit: plone/plone.app.users@9bdbc02

Import ConfigurationChangedEvent from Products.CMFPlone instead of from plone.app.controlpanel.

Files changed:
M CHANGES.rst
M plone/app/users/browser/account.py
Repository: plone.app.users
Branch: refs/heads/master
Date: 2015-06-02T19:38:34+02:00
Author: Timo Stollenwerk (tisto) <tisto@plone.org>
Commit: plone/plone.app.users@6199849

Merge pull request #41 from plone/configuration-changed-event

Import ConfigurationChangedEvent from Products.CMFPlone instead of fr…

Files changed:
M CHANGES.rst
M plone/app/users/browser/account.py
bloodbare added a commit that referenced this pull request Jun 4, 2015
Branch: refs/heads/master
Date: 2015-06-04T15:59:16-05:00
Author: vangheem (vangheem) <vangheem@gmail.com>
Commit: plone/plone.app.layout@ba36d51

Add social meta tags viewlet

Files changed:
A plone/app/layout/viewlets/social.py
A plone/app/layout/viewlets/social_tags.pt
A plone/app/layout/viewlets/tests/test_social.py
M CHANGES.rst
M plone/app/layout/viewlets/configure.zcml
Repository: plone.app.layout
Branch: refs/heads/master
Date: 2015-06-04T15:59:16-05:00
Author: vangheem (vangheem) <vangheem@gmail.com>
Commit: plone/plone.app.layout@34e3560

also add google+ compatible tags

Files changed:
M plone/app/layout/viewlets/social.py
Repository: plone.app.layout
Branch: refs/heads/master
Date: 2015-06-04T23:00:50+02:00
Author: Ramon Navarro Bosch (bloodbare) <ramon.nb@gmail.com>
Commit: plone/plone.app.layout@3ea4674

Merge pull request #41 from plone/social-tags

PLIP#20256 Add social meta tags viewlet

Files changed:
A plone/app/layout/viewlets/social.py
A plone/app/layout/viewlets/social_tags.pt
A plone/app/layout/viewlets/tests/test_social.py
M CHANGES.rst
M plone/app/layout/viewlets/configure.zcml
vangheem added a commit that referenced this pull request Jul 22, 2015
Branch: refs/heads/master
Date: 2015-07-22T16:30:21+02:00
Author: Alessandro Pisa (ale-rt) <alessandro.pisa@redturtle.it>
Commit: plone/plone.app.content@44299dc

When clicking cancel on the delete_confirmation got to the view_url

Files changed:
M CHANGES.rst
M plone/app/content/browser/actions.py
M plone/app/content/tests/test_actions.py
Repository: plone.app.content
Branch: refs/heads/master
Date: 2015-07-22T10:41:29-05:00
Author: Nathan Van Gheem (vangheem) <vangheem@gmail.com>
Commit: plone/plone.app.content@bf4527c

Merge pull request #41 from plone/38-fix-delete-confirmation-redirect

When clicking cancel on the delete_confirmation got to the view_url

Files changed:
M CHANGES.rst
M plone/app/content/browser/actions.py
M plone/app/content/tests/test_actions.py
ebrehault added a commit that referenced this pull request Aug 5, 2015
Branch: refs/heads/master
Date: 2015-08-05T01:12:13+02:00
Author: Eric BREHAULT (ebrehault) <ebrehault@gmail.com>
Commit: plone/plone.app.upgrade@35954bb

Turn @@tinymce-controlpanel content_css field into a list

Files changed:
A plone/app/upgrade/v50/profiles/to_beta4/registry.xml
M CHANGES.rst
M plone/app/upgrade/v50/betas.py
M plone/app/upgrade/v50/configure.zcml
M plone/app/upgrade/v50/profiles.zcml
Repository: plone.app.upgrade
Branch: refs/heads/master
Date: 2015-08-05T07:46:05+02:00
Author: Eric BREHAULT (ebrehault) <ebrehault@gmail.com>
Commit: plone/plone.app.upgrade@206595e

Merge pull request #41 from plone/ebr-tiny-css-content-list

Turn @@tinymce-controlpanel content_css field into a list

Files changed:
A plone/app/upgrade/v50/profiles/to_beta4/registry.xml
M CHANGES.rst
M plone/app/upgrade/v50/betas.py
M plone/app/upgrade/v50/configure.zcml
M plone/app/upgrade/v50/profiles.zcml
ebrehault added a commit that referenced this pull request Aug 5, 2015
Branch: refs/heads/master
Date: 2015-08-05T01:12:13+02:00
Author: Eric BREHAULT (ebrehault) <ebrehault@gmail.com>
Commit: plone/plone.app.upgrade@35954bb

Turn @@tinymce-controlpanel content_css field into a list

Files changed:
A plone/app/upgrade/v50/profiles/to_beta4/registry.xml
M CHANGES.rst
M plone/app/upgrade/v50/betas.py
M plone/app/upgrade/v50/configure.zcml
M plone/app/upgrade/v50/profiles.zcml
Repository: plone.app.upgrade
Branch: refs/heads/master
Date: 2015-08-05T07:46:05+02:00
Author: Eric BREHAULT (ebrehault) <ebrehault@gmail.com>
Commit: plone/plone.app.upgrade@206595e

Merge pull request #41 from plone/ebr-tiny-css-content-list

Turn @@tinymce-controlpanel content_css field into a list

Files changed:
A plone/app/upgrade/v50/profiles/to_beta4/registry.xml
M CHANGES.rst
M plone/app/upgrade/v50/betas.py
M plone/app/upgrade/v50/configure.zcml
M plone/app/upgrade/v50/profiles.zcml
vangheem added a commit that referenced this pull request Sep 8, 2015
Branch: refs/heads/master
Date: 2015-09-07T20:43:27-05:00
Author: David Bain (pigeonflight) <pigeonflight@gmail.com>
Commit: plone/plonetheme.barceloneta@baeb665

Update and rename HOWTO_DEVELOP.txt to HOWTO_DEVELOP.rst

Files changed:
A HOWTO_DEVELOP.rst
D HOWTO_DEVELOP.txt
Repository: plonetheme.barceloneta
Branch: refs/heads/master
Date: 2015-09-07T20:48:45-05:00
Author: David Bain (pigeonflight) <pigeonflight@gmail.com>
Commit: plone/plonetheme.barceloneta@782f850

Update HOWTO_DEVELOP.rst

Files changed:
M HOWTO_DEVELOP.rst
Repository: plonetheme.barceloneta
Branch: refs/heads/master
Date: 2015-09-07T20:57:59-05:00
Author: David Bain (pigeonflight) <pigeonflight@gmail.com>
Commit: plone/plonetheme.barceloneta@2e5fb04

Update HOWTO_DEVELOP.rst

Files changed:
M HOWTO_DEVELOP.rst
Repository: plonetheme.barceloneta
Branch: refs/heads/master
Date: 2015-09-07T21:43:42-05:00
Author: Nathan Van Gheem (vangheem) <vangheem@gmail.com>
Commit: plone/plonetheme.barceloneta@5d6d9b3

Merge pull request #41 from plone/pigeonflight-tweak-howto-develop-text

Update and rename HOWTO_DEVELOP.txt to HOWTO_DEVELOP.rst

Files changed:
A HOWTO_DEVELOP.rst
D HOWTO_DEVELOP.txt
pbauer added a commit that referenced this pull request Sep 20, 2015
Branch: refs/heads/master
Date: 2015-09-20T17:31:25+02:00
Author: esteele (esteele) <eric@esteele.net>
Commit: plone/plone.dexterity@daa8d26

Use registry lookup for types_use_view_action_in_listings

Files changed:
M CHANGES.rst
M plone/dexterity/browser/edit.py
Repository: plone.dexterity
Branch: refs/heads/master
Date: 2015-09-20T17:31:26+02:00
Author: esteele (esteele) <eric@esteele.net>
Commit: plone/plone.dexterity@c1129e9

Fix registry id

Files changed:
M plone/dexterity/browser/edit.py
Repository: plone.dexterity
Branch: refs/heads/master
Date: 2015-09-20T17:31:26+02:00
Author: esteele (esteele) <eric@esteele.net>
Commit: plone/plone.dexterity@825042b

Handle missing portal_type value (seems to only be a test issue at this point)

Files changed:
M plone/dexterity/browser/edit.py
Repository: plone.dexterity
Branch: refs/heads/master
Date: 2015-09-20T17:31:40+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.dexterity@69cd55d

Merge pull request #41 from plone/portal-properties-cleanup

Portal properties cleanup

Files changed:
M CHANGES.rst
M plone/dexterity/browser/edit.py
pbauer added a commit that referenced this pull request Sep 20, 2015
Branch: refs/heads/master
Date: 2015-09-20T17:31:25+02:00
Author: esteele (esteele) <eric@esteele.net>
Commit: plone/plone.dexterity@daa8d26

Use registry lookup for types_use_view_action_in_listings

Files changed:
M CHANGES.rst
M plone/dexterity/browser/edit.py
Repository: plone.dexterity
Branch: refs/heads/master
Date: 2015-09-20T17:31:26+02:00
Author: esteele (esteele) <eric@esteele.net>
Commit: plone/plone.dexterity@c1129e9

Fix registry id

Files changed:
M plone/dexterity/browser/edit.py
Repository: plone.dexterity
Branch: refs/heads/master
Date: 2015-09-20T17:31:26+02:00
Author: esteele (esteele) <eric@esteele.net>
Commit: plone/plone.dexterity@825042b

Handle missing portal_type value (seems to only be a test issue at this point)

Files changed:
M plone/dexterity/browser/edit.py
Repository: plone.dexterity
Branch: refs/heads/master
Date: 2015-09-20T17:31:40+02:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.dexterity@69cd55d

Merge pull request #41 from plone/portal-properties-cleanup

Portal properties cleanup

Files changed:
M CHANGES.rst
M plone/dexterity/browser/edit.py
mister-roboto pushed a commit that referenced this pull request Aug 3, 2016
Branch: refs/heads/master
Date: 2016-07-16T22:24:38-05:00
Author: vangheem (vangheem) <vangheem@gmail.com>
Commit: plone/plone.app.linkintegrity@c686114

Fix object url in delete confirmation

Files changed:
M CHANGES.rst
M plone/app/linkintegrity/browser/delete_confirmation_info.pt
Repository: plone.app.linkintegrity
Branch: refs/heads/master
Date: 2016-08-03T16:15:17+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.linkintegrity@1fcf20b

Merge pull request #41 from plone/fix-delete-confirm-url

Fix object url in delete confirmation

Files changed:
M CHANGES.rst
M plone/app/linkintegrity/browser/delete_confirmation_info.pt
mister-roboto pushed a commit that referenced this pull request Aug 3, 2016
Branch: refs/heads/master
Date: 2016-07-16T22:24:38-05:00
Author: vangheem (vangheem) <vangheem@gmail.com>
Commit: plone/plone.app.linkintegrity@c686114

Fix object url in delete confirmation

Files changed:
M CHANGES.rst
M plone/app/linkintegrity/browser/delete_confirmation_info.pt
Repository: plone.app.linkintegrity
Branch: refs/heads/master
Date: 2016-08-03T16:15:17+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.linkintegrity@1fcf20b

Merge pull request #41 from plone/fix-delete-confirm-url

Fix object url in delete confirmation

Files changed:
M CHANGES.rst
M plone/app/linkintegrity/browser/delete_confirmation_info.pt
mister-roboto pushed a commit that referenced this pull request Aug 31, 2016
Branch: refs/heads/master
Date: 2016-08-31T19:05:13+03:00
Author: ichim-david (ichim-david) <ichim.david@gmail.com>
Commit: plone/plone.app.collection@96de560

summary_view.pt failed on obj/@@images when a Comment was found

Files changed:
M plone/app/collection/browser/templates/summary_view.pt
Repository: plone.app.collection
Branch: refs/heads/master
Date: 2016-08-31T19:05:56+03:00
Author: ichim-david (ichim-david) <ichim.david@gmail.com>
Commit: plone/plone.app.collection@af764e2

Added Changes.rst entry for summary.pt Discussion Item fix

Files changed:
M CHANGES.rst
Repository: plone.app.collection
Branch: refs/heads/master
Date: 2016-08-31T22:02:36+03:00
Author: ichim-david (ichim-david) <ichim.david@gmail.com>
Commit: plone/plone.app.collection@44a41f9

Merge pull request #41 from ichim-david/master

Port summary_view fix to master branch

Files changed:
M CHANGES.rst
M plone/app/collection/browser/templates/summary_view.pt
mister-roboto pushed a commit that referenced this pull request Oct 2, 2016
Branch: refs/heads/master
Date: 2016-10-02T20:30:40+02:00
Author: Gil Forcada (gforcada) <gforcada@gnome.org>
Commit: plone/plone.schemaeditor@2795f98

Add coding header

Files changed:
M CHANGES.rst
M plone/__init__.py
M plone/schemaeditor/__init__.py
M plone/schemaeditor/browser/__init__.py
M plone/schemaeditor/browser/field/edit.py
M plone/schemaeditor/browser/field/fieldset.py
M plone/schemaeditor/browser/field/order.py
M plone/schemaeditor/browser/field/traversal.py
M plone/schemaeditor/browser/schema/__init__.py
M plone/schemaeditor/browser/schema/add_field.py
M plone/schemaeditor/browser/schema/add_fieldset.py
M plone/schemaeditor/browser/schema/listing.py
M plone/schemaeditor/browser/schema/traversal.py
M plone/schemaeditor/fields.py
M plone/schemaeditor/interfaces.py
M plone/schemaeditor/schema.py
M plone/schemaeditor/tests/fixtures.py
M plone/schemaeditor/tests/tests.py
M plone/schemaeditor/utils.py
M plone/schemaeditor/vocabularies.py
M setup.py
Repository: plone.schemaeditor
Branch: refs/heads/master
Date: 2016-10-02T22:02:54+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.schemaeditor@2f8707f

Merge pull request #41 from plone/gforcada-patch-1

Add coding header

Files changed:
M CHANGES.rst
M plone/__init__.py
M plone/schemaeditor/__init__.py
M plone/schemaeditor/browser/__init__.py
M plone/schemaeditor/browser/field/edit.py
M plone/schemaeditor/browser/field/fieldset.py
M plone/schemaeditor/browser/field/order.py
M plone/schemaeditor/browser/field/traversal.py
M plone/schemaeditor/browser/schema/__init__.py
M plone/schemaeditor/browser/schema/add_field.py
M plone/schemaeditor/browser/schema/add_fieldset.py
M plone/schemaeditor/browser/schema/listing.py
M plone/schemaeditor/browser/schema/traversal.py
M plone/schemaeditor/fields.py
M plone/schemaeditor/interfaces.py
M plone/schemaeditor/schema.py
M plone/schemaeditor/tests/fixtures.py
M plone/schemaeditor/tests/tests.py
M plone/schemaeditor/utils.py
M plone/schemaeditor/vocabularies.py
M setup.py
mister-roboto pushed a commit that referenced this pull request Oct 2, 2016
Branch: refs/heads/master
Date: 2016-10-02T20:30:40+02:00
Author: Gil Forcada (gforcada) <gforcada@gnome.org>
Commit: plone/plone.schemaeditor@2795f98

Add coding header

Files changed:
M CHANGES.rst
M plone/__init__.py
M plone/schemaeditor/__init__.py
M plone/schemaeditor/browser/__init__.py
M plone/schemaeditor/browser/field/edit.py
M plone/schemaeditor/browser/field/fieldset.py
M plone/schemaeditor/browser/field/order.py
M plone/schemaeditor/browser/field/traversal.py
M plone/schemaeditor/browser/schema/__init__.py
M plone/schemaeditor/browser/schema/add_field.py
M plone/schemaeditor/browser/schema/add_fieldset.py
M plone/schemaeditor/browser/schema/listing.py
M plone/schemaeditor/browser/schema/traversal.py
M plone/schemaeditor/fields.py
M plone/schemaeditor/interfaces.py
M plone/schemaeditor/schema.py
M plone/schemaeditor/tests/fixtures.py
M plone/schemaeditor/tests/tests.py
M plone/schemaeditor/utils.py
M plone/schemaeditor/vocabularies.py
M setup.py
Repository: plone.schemaeditor
Branch: refs/heads/master
Date: 2016-10-02T22:02:54+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.schemaeditor@2f8707f

Merge pull request #41 from plone/gforcada-patch-1

Add coding header

Files changed:
M CHANGES.rst
M plone/__init__.py
M plone/schemaeditor/__init__.py
M plone/schemaeditor/browser/__init__.py
M plone/schemaeditor/browser/field/edit.py
M plone/schemaeditor/browser/field/fieldset.py
M plone/schemaeditor/browser/field/order.py
M plone/schemaeditor/browser/field/traversal.py
M plone/schemaeditor/browser/schema/__init__.py
M plone/schemaeditor/browser/schema/add_field.py
M plone/schemaeditor/browser/schema/add_fieldset.py
M plone/schemaeditor/browser/schema/listing.py
M plone/schemaeditor/browser/schema/traversal.py
M plone/schemaeditor/fields.py
M plone/schemaeditor/interfaces.py
M plone/schemaeditor/schema.py
M plone/schemaeditor/tests/fixtures.py
M plone/schemaeditor/tests/tests.py
M plone/schemaeditor/utils.py
M plone/schemaeditor/vocabularies.py
M setup.py
mister-roboto pushed a commit that referenced this pull request Oct 18, 2016
Branch: refs/heads/master
Date: 2016-10-18T16:43:39-04:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/Products.CMFEditions@6dd694c

Do not log using plone restricted python logging script

Files changed:
M CHANGES.rst
M Products/CMFEditions/browser/utils.py
Repository: Products.CMFEditions
Branch: refs/heads/master
Date: 2016-10-18T19:54:26-04:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/Products.CMFEditions@7cb131a

Merge pull request #41 from plone/sane-logging

Do not log using plone restricted python logging script

Files changed:
M CHANGES.rst
M Products/CMFEditions/browser/utils.py
mister-roboto pushed a commit that referenced this pull request Feb 5, 2017
Branch: refs/heads/master
Date: 2017-02-05T20:42:33+01:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/Products.ATContentTypes@ad1c90b

Fix doctest

The last line results in "KeyError: 0" since data is a list of ZPublisher.HTTPRequest.record instances which calls self.__dict__[key] on __getitem__.

Files changed:
M CHANGES.rst
M Products/ATContentTypes/tool/topic.py
Repository: Products.ATContentTypes
Branch: refs/heads/master
Date: 2017-02-05T20:43:12+01:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/Products.ATContentTypes@5fb7195

Merge pull request #41 from plone/plonezope4

Fix doctest

Files changed:
M CHANGES.rst
M Products/ATContentTypes/tool/topic.py
mister-roboto pushed a commit that referenced this pull request Feb 21, 2017
Branch: refs/heads/master
Date: 2017-02-20T21:46:15Z
Author: Franco Pellegrini (frapell) <frapell@gmail.com>
Commit: plone/plone.app.iterate@061b702

Add each field label for the diff view, fix visual diff link and add break

Files changed:
M CHANGES.rst
M plone/app/iterate/browser/diff.pt
Repository: plone.app.iterate
Branch: refs/heads/master
Date: 2017-02-21T07:21:50+01:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.iterate@5af9137

Merge pull request #41 from plone/diff_view

Minor aesthetic changes for the diff view

Files changed:
M CHANGES.rst
M plone/app/iterate/browser/diff.pt
mister-roboto pushed a commit that referenced this pull request Apr 25, 2017
Branch: refs/heads/3.0.x
Date: 2017-01-05T09:17:49-02:00
Author: Rodrigo Ferreira de Souza (rodfersou) <rodfersou@gmail.com>
Commit: plone/plone.namedfile@836d41b

Add test to show the error

Files changed:
M plone/namedfile/tests/test_scaling.py
Repository: plone.namedfile
Branch: refs/heads/3.0.x
Date: 2017-01-05T10:25:56-02:00
Author: Rodrigo Ferreira de Souza (rodfersou) <rodfersou@gmail.com>
Commit: plone/plone.namedfile@53b91d7

* Add changelog
* Change contentType attribute to str type

Files changed:
M CHANGES.rst
M plone/namedfile/scaling.py
Repository: plone.namedfile
Branch: refs/heads/3.0.x
Date: 2017-04-26T00:24:49+02:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.namedfile@7051766

Merge pull request #41 from plone/issue_38

Issue 38 - Scales create NamedBlobImage with wrong contentType field

Files changed:
M CHANGES.rst
M plone/namedfile/scaling.py
M plone/namedfile/tests/test_scaling.py
mister-roboto pushed a commit that referenced this pull request Apr 25, 2017
Branch: refs/heads/3.0.x
Date: 2017-01-05T09:17:49-02:00
Author: Rodrigo Ferreira de Souza (rodfersou) <rodfersou@gmail.com>
Commit: plone/plone.namedfile@836d41b

Add test to show the error

Files changed:
M plone/namedfile/tests/test_scaling.py
Repository: plone.namedfile
Branch: refs/heads/3.0.x
Date: 2017-01-05T10:25:56-02:00
Author: Rodrigo Ferreira de Souza (rodfersou) <rodfersou@gmail.com>
Commit: plone/plone.namedfile@53b91d7

* Add changelog
* Change contentType attribute to str type

Files changed:
M CHANGES.rst
M plone/namedfile/scaling.py
Repository: plone.namedfile
Branch: refs/heads/3.0.x
Date: 2017-04-26T00:24:49+02:00
Author: Johannes Raggam (thet) <thetetet@gmail.com>
Commit: plone/plone.namedfile@7051766

Merge pull request #41 from plone/issue_38

Issue 38 - Scales create NamedBlobImage with wrong contentType field

Files changed:
M CHANGES.rst
M plone/namedfile/scaling.py
M plone/namedfile/tests/test_scaling.py
mister-roboto pushed a commit that referenced this pull request May 4, 2017
Branch: refs/heads/master
Date: 2017-05-04T14:32:11+02:00
Author: Alexander Loechel (loechel) <Alexander.Loechel@lmu.de>
Commit: plone/plone.versioncheck@92bfea4

make package names and versions links

Files changed:
M CHANGES.rst
M src/plone/versioncheck/tpl/browser.jinja
Repository: plone.versioncheck
Branch: refs/heads/master
Date: 2017-05-04T14:34:46+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.versioncheck@d197d0a

Merge pull request #41 from plone/urls

make package names and versions links

Files changed:
M CHANGES.rst
M src/plone/versioncheck/tpl/browser.jinja
mister-roboto pushed a commit that referenced this pull request May 29, 2017
Branch: refs/heads/master
Date: 2017-05-23T09:53:56+02:00
Author: Bert Vanderbauwhede (batlock666) <batlock666@gmail.com>
Commit: plone/plone.app.blob@56ab7b2

Handle ValueError exceptions when doing a range request.

Files changed:
M CHANGES.rst
M src/plone/app/blob/download.py
M src/plone/app/blob/tests/test_integration.py
Repository: plone.app.blob
Branch: refs/heads/master
Date: 2017-05-29T10:05:04+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.blob@e5ebaaa

Merge pull request #41 from batlock666/master

Handle ValueError exceptions when doing a range request. (Fixes issue #39)

Files changed:
M CHANGES.rst
M src/plone/app/blob/download.py
M src/plone/app/blob/tests/test_integration.py
mister-roboto pushed a commit that referenced this pull request Oct 3, 2018
Branch: refs/heads/master
Date: 2018-10-01T16:51:32+02:00
Author: Gil Forcada (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.versioningbehavior@4219665

Drop zope.app.intid dependency

Files changed:
M CHANGES.rst
M plone/app/versioningbehavior/tests/test_modifiers.py
M setup.py
Repository: plone.app.versioningbehavior

Branch: refs/heads/master
Date: 2018-10-03T18:06:04+02:00
Author: Alessandro Pisa (ale-rt) <alessandro.pisa@gmail.com>
Commit: plone/plone.app.versioningbehavior@f767bfc

Merge pull request #41 from plone/remove-z.a.intid-dep

Drop zope.app.intid dependency

Files changed:
M CHANGES.rst
M plone/app/versioningbehavior/tests/test_modifiers.py
M setup.py
mister-roboto pushed a commit that referenced this pull request Oct 3, 2018
Branch: refs/heads/master
Date: 2018-10-01T16:51:32+02:00
Author: Gil Forcada (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.versioningbehavior@4219665

Drop zope.app.intid dependency

Files changed:
M CHANGES.rst
M plone/app/versioningbehavior/tests/test_modifiers.py
M setup.py
Repository: plone.app.versioningbehavior

Branch: refs/heads/master
Date: 2018-10-03T18:06:04+02:00
Author: Alessandro Pisa (ale-rt) <alessandro.pisa@gmail.com>
Commit: plone/plone.app.versioningbehavior@f767bfc

Merge pull request #41 from plone/remove-z.a.intid-dep

Drop zope.app.intid dependency

Files changed:
M CHANGES.rst
M plone/app/versioningbehavior/tests/test_modifiers.py
M setup.py
mister-roboto pushed a commit that referenced this pull request Oct 3, 2018
Branch: refs/heads/master
Date: 2018-10-01T16:51:32+02:00
Author: Gil Forcada (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.app.versioningbehavior@4219665

Drop zope.app.intid dependency

Files changed:
M CHANGES.rst
M plone/app/versioningbehavior/tests/test_modifiers.py
M setup.py
Repository: plone.app.versioningbehavior

Branch: refs/heads/master
Date: 2018-10-03T18:06:04+02:00
Author: Alessandro Pisa (ale-rt) <alessandro.pisa@gmail.com>
Commit: plone/plone.app.versioningbehavior@f767bfc

Merge pull request #41 from plone/remove-z.a.intid-dep

Drop zope.app.intid dependency

Files changed:
M CHANGES.rst
M plone/app/versioningbehavior/tests/test_modifiers.py
M setup.py
mister-roboto pushed a commit that referenced this pull request Oct 15, 2019
Branch: refs/heads/master
Date: 2019-10-14T22:07:03-03:00
Author: Franco Pellegrini (frapell) <frapell@gmail.com>
Commit: plone/plone.staticresources@8fd0595

Update with latest mockup

Files changed:
M src/plone/staticresources/profiles/default/registry/bundles.xml
M src/plone/staticresources/static/plone-logged-in-compiled.css.map
M src/plone/staticresources/static/plone-logged-in-compiled.js
M src/plone/staticresources/static/plone-logged-in-compiled.min.js
M src/plone/staticresources/static/plone-logged-in-compiled.min.js.map
Repository: plone.staticresources

Branch: refs/heads/master
Date: 2019-10-15T10:34:52-03:00
Author: Franco Pellegrini (frapell) <frapell@gmail.com>
Commit: plone/plone.staticresources@a917887

Include changelog

Files changed:
A 41.fix
Repository: plone.staticresources

Branch: refs/heads/master
Date: 2019-10-15T10:36:43-03:00
Author: Franco Pellegrini (frapell) <frapell@gmail.com>
Commit: plone/plone.staticresources@9eb5122

Move changelog to proper place

Files changed:
A news/41.bugfix
D 41.fix
Repository: plone.staticresources

Branch: refs/heads/master
Date: 2019-10-15T12:26:00-03:00
Author: Franco Pellegrini (frapell) <frapell@gmail.com>
Commit: plone/plone.staticresources@2bb00a0

Merge pull request #41 from plone/mockup-issue-923

Update with latest mockup

Files changed:
A news/41.bugfix
M src/plone/staticresources/profiles/default/registry/bundles.xml
M src/plone/staticresources/static/plone-logged-in-compiled.css.map
M src/plone/staticresources/static/plone-logged-in-compiled.js
M src/plone/staticresources/static/plone-logged-in-compiled.min.js
M src/plone/staticresources/static/plone-logged-in-compiled.min.js.map
mister-roboto pushed a commit that referenced this pull request Dec 3, 2019
Branch: refs/heads/master
Date: 2019-11-20T16:56:02-05:00
Author: flipmcf (flipmcf) <flipmcf@gmail.com>
Commit: plone/plone.formwidget.namedfile@046fa37

Add check for 'Keep existing file'

Files changed:
M plone/formwidget/namedfile/converter.py
Repository: plone.formwidget.namedfile

Branch: refs/heads/master
Date: 2019-11-21T09:27:41-05:00
Author: Flip McFadden (flipmcf) <flipmcf@gmail.com>
Commit: plone/plone.formwidget.namedfile@aa3816c

Create 41.bugfix

Files changed:
A news/41.bugfix
Repository: plone.formwidget.namedfile

Branch: refs/heads/master
Date: 2019-11-25T14:41:14-05:00
Author: flipmcf (flipmcf) <flipmcf@gmail.com>
Commit: plone/plone.formwidget.namedfile@ed84d8f

Update doctests for #41

Files changed:
M plone/formwidget/namedfile/widget.rst
Repository: plone.formwidget.namedfile

Branch: refs/heads/master
Date: 2019-12-03T13:52:14+01:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.formwidget.namedfile@8ed9372

Merge pull request #42 from flipmcf/issue41

Add check for 'Keep existing file'

Files changed:
A news/41.bugfix
M plone/formwidget/namedfile/converter.py
M plone/formwidget/namedfile/widget.rst
mister-roboto pushed a commit that referenced this pull request Dec 3, 2019
Branch: refs/heads/master
Date: 2019-11-20T16:56:02-05:00
Author: flipmcf (flipmcf) <flipmcf@gmail.com>
Commit: plone/plone.formwidget.namedfile@046fa37

Add check for 'Keep existing file'

Files changed:
M plone/formwidget/namedfile/converter.py
Repository: plone.formwidget.namedfile

Branch: refs/heads/master
Date: 2019-11-21T09:27:41-05:00
Author: Flip McFadden (flipmcf) <flipmcf@gmail.com>
Commit: plone/plone.formwidget.namedfile@aa3816c

Create 41.bugfix

Files changed:
A news/41.bugfix
Repository: plone.formwidget.namedfile

Branch: refs/heads/master
Date: 2019-11-25T14:41:14-05:00
Author: flipmcf (flipmcf) <flipmcf@gmail.com>
Commit: plone/plone.formwidget.namedfile@ed84d8f

Update doctests for #41

Files changed:
M plone/formwidget/namedfile/widget.rst
Repository: plone.formwidget.namedfile

Branch: refs/heads/master
Date: 2019-12-03T13:52:14+01:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.formwidget.namedfile@8ed9372

Merge pull request #42 from flipmcf/issue41

Add check for 'Keep existing file'

Files changed:
A news/41.bugfix
M plone/formwidget/namedfile/converter.py
M plone/formwidget/namedfile/widget.rst
mister-roboto pushed a commit that referenced this pull request Aug 13, 2020
Branch: refs/heads/master
Date: 2020-08-11T13:30:52+05:30
Author: Fazal Sulaiman (fazalsulaiman) <fazal.sulaiman@gmail.com>
Commit: plone/plone.recipe.zeoserver@e7a6cc5

Removing ZODB3_HOME from runzeo.bat and zeoservice.py.in files

Files changed:
A news/41.bugfix
M src/plone/recipe/zeoserver/runzeo.bat
M src/plone/recipe/zeoserver/zeoservice.py.in
Repository: plone.recipe.zeoserver

Branch: refs/heads/master
Date: 2020-08-13T07:55:08+05:30
Author: Fazal Sulaiman (fazalsulaiman) <fazal.sulaiman@gmail.com>
Commit: plone/plone.recipe.zeoserver@2662850

Merge pull request #41 from fazalsulaiman/master

Removing ZODB3_HOME from runzeo.bat and zeoservice.py.in files

Files changed:
A news/41.bugfix
M src/plone/recipe/zeoserver/runzeo.bat
M src/plone/recipe/zeoserver/zeoservice.py.in
mister-roboto pushed a commit that referenced this pull request Aug 13, 2020
Branch: refs/heads/master
Date: 2020-08-11T13:30:52+05:30
Author: Fazal Sulaiman (fazalsulaiman) <fazal.sulaiman@gmail.com>
Commit: plone/plone.recipe.zeoserver@e7a6cc5

Removing ZODB3_HOME from runzeo.bat and zeoservice.py.in files

Files changed:
A news/41.bugfix
M src/plone/recipe/zeoserver/runzeo.bat
M src/plone/recipe/zeoserver/zeoservice.py.in
Repository: plone.recipe.zeoserver

Branch: refs/heads/master
Date: 2020-08-13T07:55:08+05:30
Author: Fazal Sulaiman (fazalsulaiman) <fazal.sulaiman@gmail.com>
Commit: plone/plone.recipe.zeoserver@2662850

Merge pull request #41 from fazalsulaiman/master

Removing ZODB3_HOME from runzeo.bat and zeoservice.py.in files

Files changed:
A news/41.bugfix
M src/plone/recipe/zeoserver/runzeo.bat
M src/plone/recipe/zeoserver/zeoservice.py.in
mister-roboto pushed a commit that referenced this pull request Aug 19, 2020
Branch: refs/heads/master
Date: 2020-08-13T16:46:24-04:00
Author: Flip McFadden (flipmcf) <flipmcf@gmail.com>
Commit: plone/plone.outputfilters@b95200a

Check for -a- tag in captioned image.

before unwrapping, see if there is something to unwrap.

Files changed:
M plone/outputfilters/filters/resolveuid_and_caption.py
Repository: plone.outputfilters

Branch: refs/heads/master
Date: 2020-08-13T16:58:24-04:00
Author: Flip McFadden (flipmcf) <flipmcf@gmail.com>
Commit: plone/plone.outputfilters@7bd5506

Create 39.bugfix

Files changed:
A news/39.bugfix
Repository: plone.outputfilters

Branch: refs/heads/master
Date: 2020-08-19T11:21:32+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.outputfilters@fa0d89d

Merge pull request #41 from flipmcf/issue-39

Check for -a- tag in captioned image.

Files changed:
A news/39.bugfix
M plone/outputfilters/filters/resolveuid_and_caption.py
mister-roboto pushed a commit that referenced this pull request Aug 24, 2020
Branch: refs/heads/master
Date: 2020-08-22T10:56:21+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.PortalTransforms@8cd87c2

Fixed deprecation warning for DocumentTemplate.DT_Util.html_quote.

```
DeprecationWarning: html_quote is deprecated. Please import from DocumentTemplate.html_quote. These shims will go away in DocumentTemplate 4.0.
```

This is already available under DocumentTemplate.html_quote.html_quote since at least 2.13.6, so safe to change.

Files changed:
A news/41.bugfix
M Products/PortalTransforms/transforms/python.py
M Products/PortalTransforms/transforms/text_pre_to_html.py
M Products/PortalTransforms/transforms/text_to_html.py
Repository: Products.PortalTransforms

Branch: refs/heads/master
Date: 2020-08-24T11:15:03+02:00
Author: Maurits van Rees (mauritsvanrees) <m.van.rees@zestsoftware.nl>
Commit: plone/Products.PortalTransforms@c25ac79

Merge pull request #41 from plone/maurits/fix-startup-warnings

Fixed deprecation warning for DocumentTemplate.DT_Util.html_quote.

Files changed:
A news/41.bugfix
M Products/PortalTransforms/transforms/python.py
M Products/PortalTransforms/transforms/text_pre_to_html.py
M Products/PortalTransforms/transforms/text_to_html.py
mister-roboto pushed a commit that referenced this pull request Aug 24, 2020
Branch: refs/heads/master
Date: 2020-08-22T10:56:21+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.PortalTransforms@8cd87c2

Fixed deprecation warning for DocumentTemplate.DT_Util.html_quote.

```
DeprecationWarning: html_quote is deprecated. Please import from DocumentTemplate.html_quote. These shims will go away in DocumentTemplate 4.0.
```

This is already available under DocumentTemplate.html_quote.html_quote since at least 2.13.6, so safe to change.

Files changed:
A news/41.bugfix
M Products/PortalTransforms/transforms/python.py
M Products/PortalTransforms/transforms/text_pre_to_html.py
M Products/PortalTransforms/transforms/text_to_html.py
Repository: Products.PortalTransforms

Branch: refs/heads/master
Date: 2020-08-24T11:15:03+02:00
Author: Maurits van Rees (mauritsvanrees) <m.van.rees@zestsoftware.nl>
Commit: plone/Products.PortalTransforms@c25ac79

Merge pull request #41 from plone/maurits/fix-startup-warnings

Fixed deprecation warning for DocumentTemplate.DT_Util.html_quote.

Files changed:
A news/41.bugfix
M Products/PortalTransforms/transforms/python.py
M Products/PortalTransforms/transforms/text_pre_to_html.py
M Products/PortalTransforms/transforms/text_to_html.py
mister-roboto pushed a commit that referenced this pull request Aug 26, 2020
Branch: refs/heads/master
Date: 2020-08-26T15:33:04+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.registry@02e4425

Fix: Make interface list visible.

Files changed:
M plone/app/registry/browser/templates/exportxml.pt
Repository: plone.app.registry

Branch: refs/heads/master
Date: 2020-08-26T15:34:49+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.registry@da6aaa6

Document changes.

Files changed:
A news/41.bugfix
Repository: plone.app.registry

Branch: refs/heads/master
Date: 2020-08-26T17:25:37+02:00
Author: agitator (agitator) <agitator@users.noreply.github.com>
Commit: plone/plone.app.registry@563e5e2

Merge pull request #41 from plone/fix-exportpage-ifaces

Fix: Make interface list visible.

Files changed:
A news/41.bugfix
M plone/app/registry/browser/templates/exportxml.pt
mister-roboto pushed a commit that referenced this pull request Aug 26, 2020
Branch: refs/heads/master
Date: 2020-08-26T15:33:04+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.registry@02e4425

Fix: Make interface list visible.

Files changed:
M plone/app/registry/browser/templates/exportxml.pt
Repository: plone.app.registry

Branch: refs/heads/master
Date: 2020-08-26T15:34:49+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.app.registry@da6aaa6

Document changes.

Files changed:
A news/41.bugfix
Repository: plone.app.registry

Branch: refs/heads/master
Date: 2020-08-26T17:25:37+02:00
Author: agitator (agitator) <agitator@users.noreply.github.com>
Commit: plone/plone.app.registry@563e5e2

Merge pull request #41 from plone/fix-exportpage-ifaces

Fix: Make interface list visible.

Files changed:
A news/41.bugfix
M plone/app/registry/browser/templates/exportxml.pt
mister-roboto pushed a commit that referenced this pull request Jun 11, 2021
Branch: refs/heads/master
Date: 2021-06-05T01:01:37+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.CMFDiffTool@dc1f9ff

Fix inline diff for rich text fields after PloneHotfix20210518.

The first version of the hotfix escaped all html.
Now for the rich text field, use the safe html transform, otherwise the inline diff is no longer inline.
This may be added in a new version of the hotfix as well.

Files changed:
M Products/CMFDiffTool/BinaryDiff.py
M Products/CMFDiffTool/CMFDTHtmlDiff.py
M Products/CMFDiffTool/FieldDiff.py
M Products/CMFDiffTool/ListDiff.py
M Products/CMFDiffTool/TextDiff.py
M Products/CMFDiffTool/namedfile.py
M Products/CMFDiffTool/tests/test_richtextdiff.py
M Products/CMFDiffTool/utils.py
M news/39.bugfix
Repository: Products.CMFDiffTool

Branch: refs/heads/master
Date: 2021-06-11T18:25:33+02:00
Author: Maurits van Rees (mauritsvanrees) <m.van.rees@zestsoftware.nl>
Commit: plone/Products.CMFDiffTool@ea53210

Merge pull request #41 from plone/maurits/use-safe-html-transform

Fix inline diff for rich text fields after PloneHotfix20210518.

Files changed:
M Products/CMFDiffTool/BinaryDiff.py
M Products/CMFDiffTool/CMFDTHtmlDiff.py
M Products/CMFDiffTool/FieldDiff.py
M Products/CMFDiffTool/ListDiff.py
M Products/CMFDiffTool/TextDiff.py
M Products/CMFDiffTool/namedfile.py
M Products/CMFDiffTool/tests/test_richtextdiff.py
M Products/CMFDiffTool/utils.py
M news/39.bugfix
mister-roboto pushed a commit that referenced this pull request Jun 11, 2021
Branch: refs/heads/master
Date: 2021-06-05T01:01:37+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.CMFDiffTool@dc1f9ff

Fix inline diff for rich text fields after PloneHotfix20210518.

The first version of the hotfix escaped all html.
Now for the rich text field, use the safe html transform, otherwise the inline diff is no longer inline.
This may be added in a new version of the hotfix as well.

Files changed:
M Products/CMFDiffTool/BinaryDiff.py
M Products/CMFDiffTool/CMFDTHtmlDiff.py
M Products/CMFDiffTool/FieldDiff.py
M Products/CMFDiffTool/ListDiff.py
M Products/CMFDiffTool/TextDiff.py
M Products/CMFDiffTool/namedfile.py
M Products/CMFDiffTool/tests/test_richtextdiff.py
M Products/CMFDiffTool/utils.py
M news/39.bugfix
Repository: Products.CMFDiffTool

Branch: refs/heads/master
Date: 2021-06-11T18:25:33+02:00
Author: Maurits van Rees (mauritsvanrees) <m.van.rees@zestsoftware.nl>
Commit: plone/Products.CMFDiffTool@ea53210

Merge pull request #41 from plone/maurits/use-safe-html-transform

Fix inline diff for rich text fields after PloneHotfix20210518.

Files changed:
M Products/CMFDiffTool/BinaryDiff.py
M Products/CMFDiffTool/CMFDTHtmlDiff.py
M Products/CMFDiffTool/FieldDiff.py
M Products/CMFDiffTool/ListDiff.py
M Products/CMFDiffTool/TextDiff.py
M Products/CMFDiffTool/namedfile.py
M Products/CMFDiffTool/tests/test_richtextdiff.py
M Products/CMFDiffTool/utils.py
M news/39.bugfix
mister-roboto pushed a commit that referenced this pull request Oct 14, 2021
Branch: refs/heads/master
Date: 2021-10-13T23:25:02+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.releaser@41696c4

Do not offer updating core branches 4.3 and 5.1.

Only 5.2 and 6.0 are maintained.

Files changed:
A news/41.bugfix
M plone/releaser/release.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2021-10-14T14:10:02+02:00
Author: Maurits van Rees (mauritsvanrees) <m.van.rees@zestsoftware.nl>
Commit: plone/plone.releaser@70fc49f

Merge pull request #41 from plone/maurits/remove-43-51

Do not update core branches 4.3 and 5.1.

Files changed:
A news/41.bugfix
M plone/releaser/release.py
mister-roboto pushed a commit that referenced this pull request Oct 14, 2021
Branch: refs/heads/master
Date: 2021-10-13T23:25:02+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.releaser@41696c4

Do not offer updating core branches 4.3 and 5.1.

Only 5.2 and 6.0 are maintained.

Files changed:
A news/41.bugfix
M plone/releaser/release.py
Repository: plone.releaser

Branch: refs/heads/master
Date: 2021-10-14T14:10:02+02:00
Author: Maurits van Rees (mauritsvanrees) <m.van.rees@zestsoftware.nl>
Commit: plone/plone.releaser@70fc49f

Merge pull request #41 from plone/maurits/remove-43-51

Do not update core branches 4.3 and 5.1.

Files changed:
A news/41.bugfix
M plone/releaser/release.py
mister-roboto pushed a commit that referenced this pull request Jan 7, 2022
Branch: refs/heads/master
Date: 2022-01-04T16:28:47+01:00
Author: Thomas Schorr (tschorr) <t_schorr@gmx.de>
Commit: plone/plone.app.contentlisting@68edb74

Do not throw an error if the contenttype is not in the mimetyes_registry

Files changed:
M plone/app/contentlisting/contentlisting.py
Repository: plone.app.contentlisting

Branch: refs/heads/master
Date: 2022-01-04T16:35:10+01:00
Author: Thomas Schorr (tschorr) <t_schorr@gmx.de>
Commit: plone/plone.app.contentlisting@aa25e23

add changelog entry

Files changed:
A news/41.bugfix
Repository: plone.app.contentlisting

Branch: refs/heads/master
Date: 2022-01-07T10:56:41+01:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.contentlisting@175f008

Merge pull request #41 from plone/ct_not_in_mimetypes_registry

Do not throw an error if the contenttype is not in the mimetyes_registry

Files changed:
A news/41.bugfix
M plone/app/contentlisting/contentlisting.py
mister-roboto pushed a commit that referenced this pull request Jan 7, 2022
Branch: refs/heads/master
Date: 2022-01-04T16:28:47+01:00
Author: Thomas Schorr (tschorr) <t_schorr@gmx.de>
Commit: plone/plone.app.contentlisting@68edb74

Do not throw an error if the contenttype is not in the mimetyes_registry

Files changed:
M plone/app/contentlisting/contentlisting.py
Repository: plone.app.contentlisting

Branch: refs/heads/master
Date: 2022-01-04T16:35:10+01:00
Author: Thomas Schorr (tschorr) <t_schorr@gmx.de>
Commit: plone/plone.app.contentlisting@aa25e23

add changelog entry

Files changed:
A news/41.bugfix
Repository: plone.app.contentlisting

Branch: refs/heads/master
Date: 2022-01-07T10:56:41+01:00
Author: Philip Bauer (pbauer) <bauer@starzel.de>
Commit: plone/plone.app.contentlisting@175f008

Merge pull request #41 from plone/ct_not_in_mimetypes_registry

Do not throw an error if the contenttype is not in the mimetyes_registry

Files changed:
A news/41.bugfix
M plone/app/contentlisting/contentlisting.py
mister-roboto pushed a commit that referenced this pull request Jan 11, 2022
Branch: refs/heads/main
Date: 2022-01-09T12:50:22+01:00
Author: Victor Fernandez de Alba (sneridagh) <sneridagh@gmail.com>
Commit: plone/plone.volto@3f3865e

Fix computed dates in content for demo pages

Files changed:
M CHANGES.rst
M src/plone/volto/setuphandlers.py
Repository: plone.volto

Branch: refs/heads/main
Date: 2022-01-11T22:17:50+01:00
Author: Maurits van Rees (mauritsvanrees) <m.van.rees@zestsoftware.nl>
Commit: plone/plone.volto@c85c20c

Merge pull request #41 from plone/fixdatesindemos

Fix computed dates in content for demo pages

Files changed:
M CHANGES.rst
M src/plone/volto/setuphandlers.py
mister-roboto pushed a commit that referenced this pull request Jan 19, 2022
Branch: refs/heads/master
Date: 2022-01-18T22:11:39+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.i18n@6f1de57

Tests: call self.publish with handle_errors=False.

This gives us a proper error message instead of a status 500.
Then we can see that on ES6 there is a problem finding `icons.tag('arrow-bar-right')`.
I think I have a fix in CMFPlone for that.
Sample exception, if you want the full one:

```
Error in test testAcceptedLanguages (plone.i18n.tests.test_negotiation.TestCcTLDLanguageNegotiation)
Traceback (most recent call last):
  File "/Users/maurits/.pyenv/versions/3.8.12/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/Users/maurits/.pyenv/versions/3.8.12/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/Users/maurits/.pyenv/versions/3.8.12/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/Users/maurits/community/plone-coredev/es6/src/plone.i18n/plone/i18n/tests/test_negotiation.py", line 266, in testAcceptedLanguages
    response = self.publish(
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/Testing/ZopeTestCase/functional.py", line 41, in wrapped_func
    return func(*args, **kw)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/Testing/ZopeTestCase/functional.py", line 127, in publish
    wsgi_result = publish(env, start_response)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/ZPublisher/WSGIPublisher.py", line 376, in publish_module
    response = _publish(request, new_mod_info)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/ZPublisher/WSGIPublisher.py", line 271, in publish
    result = mapply(obj,
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/ZPublisher/mapply.py", line 85, in mapply
    return debug(object, args, context)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/ZPublisher/WSGIPublisher.py", line 68, in call_object
    return obj(*args)
  File "/Users/maurits/shared-eggs/cp38/zope.browserpage-4.4.0-py3.8.egg/zope/browserpage/simpleviewclass.py", line 41, in __call__
    return self.index(*args, **kw)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/Products/Five/browser/pagetemplatefile.py", line 126, in __call__
    return self.__func__(__self__, *args, **kw)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/Products/Five/browser/pagetemplatefile.py", line 58, in __call__
    s = self.pt_render(
  File "/Users/maurits/shared-eggs/cp38/zope.pagetemplate-4.6.0-py3.8.egg/zope/pagetemplate/pagetemplate.py", line 133, in pt_render
    return self._v_program(
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/Products/PageTemplates/engine.py", line 365, in __call__
    return template.render(**kwargs)
  File "/Users/maurits/shared-eggs/cp38/z3c.pt-3.3.1-py3.8.egg/z3c/pt/pagetemplate.py", line 176, in render
    return base_renderer(**context)
  File "/Users/maurits/shared-eggs/cp38/Chameleon-3.9.1-py3.8.egg/chameleon/zpt/template.py", line 302, in render
    return super(PageTemplate, self).render(**_kw)
  File "/Users/maurits/shared-eggs/cp38/Chameleon-3.9.1-py3.8.egg/chameleon/template.py", line 192, in render
    self._render(stream, econtext, rcontext)
  File "/Users/maurits/community/plone-coredev/es6/var/cache/f8d46c10cfff1026ac9bdab31abe8567.py", line 319, in render
    __m(__stream, econtext.copy(), rcontext, __i18n_domain)
  File "/Users/maurits/community/plone-coredev/es6/var/cache/f910c63ed8645a1ecc0243ffdd2a3528.py", line 688, in render_master
    __cache_4527708048 = _static_4480221776('provider', 'plone.toolbar', econtext=econtext)(_static_4480221584(econtext, __zt_tmp))
  File "/Users/maurits/shared-eggs/cp38/zope.contentprovider-4.2.1-py3.8.egg/zope/contentprovider/tales.py", line 79, in __call__
    return provider.render()
  File "/Users/maurits/community/plone-coredev/es6/src/plone.app.layout/plone/app/layout/viewlets/toolbar.py", line 19, in render
    return self.custom_template()
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/Products/Five/browser/pagetemplatefile.py", line 126, in __call__
    return self.__func__(__self__, *args, **kw)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/Products/Five/browser/pagetemplatefile.py", line 58, in __call__
    s = self.pt_render(
  File "/Users/maurits/shared-eggs/cp38/zope.pagetemplate-4.6.0-py3.8.egg/zope/pagetemplate/pagetemplate.py", line 133, in pt_render
    return self._v_program(
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/Products/PageTemplates/engine.py", line 365, in __call__
    return template.render(**kwargs)
  File "/Users/maurits/shared-eggs/cp38/z3c.pt-3.3.1-py3.8.egg/z3c/pt/pagetemplate.py", line 176, in render
    return base_renderer(**context)
  File "/Users/maurits/shared-eggs/cp38/Chameleon-3.9.1-py3.8.egg/chameleon/zpt/template.py", line 302, in render
    return super(PageTemplate, self).render(**_kw)
  File "/Users/maurits/shared-eggs/cp38/Chameleon-3.9.1-py3.8.egg/chameleon/template.py", line 215, in render
    raise_with_traceback(exc, tb)
  File "/Users/maurits/shared-eggs/cp38/Chameleon-3.9.1-py3.8.egg/chameleon/utils.py", line 53, in raise_with_traceback
    raise exc
  File "/Users/maurits/shared-eggs/cp38/Chameleon-3.9.1-py3.8.egg/chameleon/template.py", line 192, in render
    self._render(stream, econtext, rcontext)
  File "/Users/maurits/community/plone-coredev/es6/var/cache/424bb3a8dbef99a970cb59e9340790a7.py", line 224, in render
    __cache_4533863904 = _static_4480221776('python', "icons.tag('arrow-bar-right')", econtext=econtext)(_static_4480221584(econtext, __zt_tmp))
  File "/Users/maurits/shared-eggs/cp38/zope.tales-5.1-py3.8.egg/zope/tales/pythonexpr.py", line 73, in __call__
    return eval(self._code, vars)
   - __traceback_info__: (icons.tag('arrow-bar-right'))
  File "&lt;string&gt;", line 1, in &lt;module&gt;
  File "/Users/maurits/community/plone-coredev/es6/src/Products.CMFPlone/Products/CMFPlone/browser/icons.py", line 113, in tag
    iconfile = self._iconfile(icon)
  File "/Users/maurits/community/plone-coredev/es6/src/Products.CMFPlone/Products/CMFPlone/browser/icons.py", line 82, in _iconfile
    return site.restrictedTraverse(icon)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/OFS/Traversable.py", line 364, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=True)
  File "/Users/maurits/community/plone-coredev/es6/src/Zope/src/OFS/Traversable.py", line 236, in unrestrictedTraverse
    next = namespaceLookup(
   - __traceback_info__: (['arrow-bar-right.svg'], '++plone++bootstrap-icons')
  File "/Users/maurits/shared-eggs/cp38/zope.traversing-4.4.1-py3.8.egg/zope/traversing/namespace.py", line 165, in namespaceLookup
    return traverser.traverse(name, ())
  File "/Users/maurits/community/plone-coredev/es6/src/Products.CMFPlone/Products/CMFPlone/traversal.py", line 36, in traverse
    resource_name, resource_filepath = resource_path.split('/', 1)
ValueError: not enough values to unpack (expected 2, got 1)

 - Expression: "python:icons.tag('arrow-bar-right')"
 - Filename:   ... rc/plone.app.layout/plone/app/layout/viewlets/toolbar.pt
 - Location:   (line 13: col 39)
 - Source:     ... lace="structure python:icons.tag('arrow-bar-right')" /&gt;
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Expression: "provider:plone.toolbar"
 - Filename:   ... one/Products/CMFPlone/browser/templates/main_template.pt
 - Location:   (line 55: col 32)
 - Source:     ... al:replace="structure provider:plone.toolbar" /&gt;
                                         ^^^^^^^^^^^^^^^^^^^^^^
 - Expression: "context/@@main_template/macros/master"
 - Filename:   ... pes/plone/app/contenttypes/browser/templates/document.pt
 - Location:   (line 6: col 21)
 - Source:     ... tal:use-macro="context/@@main_template/macros/master"
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Arguments:  template: &lt;Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x10e0a4fd0&gt;
               options: {}
               args: ()
               nothing: None
               modules: &lt;Products.PageTemplates.ZRPythonExpr._SecureModuleImporter object at 0x10a559e80&gt;
               request: &lt;WSGIRequest, URL=None&gt;
               view: &lt;Products.Five.viewlet.manager.&lt;ViewletManager providing IToolbar&gt; object at 0x11016a8e0&gt;
               context: &lt;PloneSite at /plone&gt;
               views: &lt;Products.Five.browser.pagetemplatefile.ViewMapper object at 0x110178910&gt;
               here: &lt;PloneSite at /plone&gt;
               container: &lt;PloneSite at /plone&gt;
               root: &lt;Application at &gt;
               traverse_subpath: []
               user: &lt;PloneUser 'test-user'&gt;
               default: &lt;DEFAULT&gt;
               repeat: &lt;Products.PageTemplates.engine.RepeatDictWrapper object at 0x10d7793c0&gt;
               loop: {}
               target_language: None
               translate: &lt;function BaseTemplate.render.&lt;locals&gt;.translate at 0x110168c10&gt;
               attrs: {}
               context_state: &lt;Products.Five.browser.metaconfigure.ContextState object at 0x110178550&gt;
               icons: &lt;Products.Five.browser.metaconfigure.IconsView object at 0x1101871c0&gt;
               personal_bar: &lt;plone.app.layout.viewlets.common.PersonalBarViewlet object at 0x110187280&gt;

```

Files changed:
M plone/i18n/tests/test_negotiation.py
Repository: plone.i18n

Branch: refs/heads/master
Date: 2022-01-19T19:14:30+01:00
Author: Maurits van Rees (mauritsvanrees) <m.van.rees@zestsoftware.nl>
Commit: plone/plone.i18n@e2126b9

Merge pull request #41 from plone/es6

Tests: call self.publish with handle_errors=False.

Files changed:
M plone/i18n/tests/test_negotiation.py
mister-roboto pushed a commit that referenced this pull request Mar 22, 2022
Branch: refs/heads/master
Date: 2022-03-22T09:49:27+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.autoform@af2ceff

re-enable formhints on backported ObjectSubForm and ISubformFactory

Files changed:
M plone/autoform/tests/subform.txt
M plone/autoform/tests/test_doctests.py
M setup.py
Repository: plone.autoform

Branch: refs/heads/master
Date: 2022-03-22T09:52:50+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.autoform@4343675

add changelog

Files changed:
A news/41.feature
Repository: plone.autoform

Branch: refs/heads/master
Date: 2022-03-22T11:29:19+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.autoform@6328e27

update comment

Files changed:
M plone/autoform/form.py
Repository: plone.autoform

Branch: refs/heads/master
Date: 2022-03-22T11:29:28+01:00
Author: Peter Mathis (petschki) <peter.mathis@kombinat.at>
Commit: plone/plone.autoform@f245690

bump version

Files changed:
M setup.py
Repository: plone.autoform

Branch: refs/heads/master
Date: 2022-03-22T13:39:31+01:00
Author: Peter Mathis (petschki) <petschki@users.noreply.github.com>
Commit: plone/plone.autoform@b7b5a34

Merge pull request #41 from plone/backport-autoextensible-subform

Reimplementation of backported ObjectSubForm and ISubformFactory adapter

Files changed:
A news/41.feature
M plone/autoform/form.py
M plone/autoform/tests/subform.txt
M plone/autoform/tests/test_doctests.py
M setup.py
mister-roboto pushed a commit that referenced this pull request Feb 13, 2023
Branch: refs/heads/master
Date: 2023-02-13T22:05:19Z
Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Commit: plone/plone.batching@fb96d83

[pre-commit.ci] pre-commit autoupdate

updates:
- https://github.com/ambv/blackhttps://github.com/psf/black
- [github.com/collective/zpretty: 2.4.1 → 3.0.1](collective/zpretty@2.4.1...3.0.1)

Files changed:
M .pre-commit-config.yaml
Repository: plone.batching

Branch: refs/heads/master
Date: 2023-02-13T23:32:25+01:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.batching@a83e171

Merge pull request #41 from plone/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

Files changed:
M .pre-commit-config.yaml
mister-roboto pushed a commit that referenced this pull request Jun 5, 2023
Branch: refs/heads/master
Date: 2023-06-05T22:28:43Z
Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Commit: plone/plone.session@0857789

[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v3.3.2 → v3.4.0](asottile/pyupgrade@v3.3.2...v3.4.0)
- [github.com/collective/zpretty: 3.0.4 → 3.1.0a2](collective/zpretty@3.0.4...3.1.0a2)

Files changed:
M .pre-commit-config.yaml
Repository: plone.session

Branch: refs/heads/master
Date: 2023-06-06T01:18:13+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.session@0f156ab

Merge pull request #41 from plone/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

Files changed:
M .pre-commit-config.yaml
mister-roboto pushed a commit that referenced this pull request Jun 5, 2023
Branch: refs/heads/master
Date: 2023-06-05T22:28:43Z
Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Commit: plone/plone.session@0857789

[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v3.3.2 → v3.4.0](asottile/pyupgrade@v3.3.2...v3.4.0)
- [github.com/collective/zpretty: 3.0.4 → 3.1.0a2](collective/zpretty@3.0.4...3.1.0a2)

Files changed:
M .pre-commit-config.yaml
Repository: plone.session

Branch: refs/heads/master
Date: 2023-06-06T01:18:13+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.session@0f156ab

Merge pull request #41 from plone/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

Files changed:
M .pre-commit-config.yaml
mister-roboto pushed a commit that referenced this pull request May 7, 2024
Branch: refs/heads/master
Date: 2024-05-06T19:54:24Z
Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Commit: plone/plone.registry@98ad974

[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.3.0 → 24.4.2](psf/black@24.3.0...24.4.2)
- [github.com/collective/i18ndude: 6.1.0 → 6.2.0](collective/i18ndude@6.1.0...6.2.0)

Files changed:
M .pre-commit-config.yaml
Repository: plone.registry

Branch: refs/heads/master
Date: 2024-05-07T21:25:13+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.registry@d6fe5b3

Merge pull request #41 from plone/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

Files changed:
M .pre-commit-config.yaml
mister-roboto pushed a commit that referenced this pull request May 7, 2024
Branch: refs/heads/master
Date: 2024-05-06T19:54:24Z
Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Commit: plone/plone.registry@98ad974

[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.3.0 → 24.4.2](psf/black@24.3.0...24.4.2)
- [github.com/collective/i18ndude: 6.1.0 → 6.2.0](collective/i18ndude@6.1.0...6.2.0)

Files changed:
M .pre-commit-config.yaml
Repository: plone.registry

Branch: refs/heads/master
Date: 2024-05-07T21:25:13+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/plone.registry@d6fe5b3

Merge pull request #41 from plone/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

Files changed:
M .pre-commit-config.yaml
mister-roboto pushed a commit that referenced this pull request Oct 12, 2024
Branch: refs/heads/master
Date: 2024-10-07T21:23:57Z
Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Commit: plone/plone.behavior@1955cc9

[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.8.0 → 24.10.0](psf/black@24.8.0...24.10.0)

Files changed:
M .pre-commit-config.yaml
Repository: plone.behavior

Branch: refs/heads/master
Date: 2024-10-13T00:18:13+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.behavior@ecaf0d3

Merge pull request #41 from plone/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

Files changed:
M .pre-commit-config.yaml
mister-roboto pushed a commit that referenced this pull request Oct 12, 2024
Branch: refs/heads/master
Date: 2024-10-07T21:23:57Z
Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Commit: plone/plone.behavior@1955cc9

[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.8.0 → 24.10.0](psf/black@24.8.0...24.10.0)

Files changed:
M .pre-commit-config.yaml
Repository: plone.behavior

Branch: refs/heads/master
Date: 2024-10-13T00:18:13+02:00
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com>
Commit: plone/plone.behavior@ecaf0d3

Merge pull request #41 from plone/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

Files changed:
M .pre-commit-config.yaml
mister-roboto pushed a commit that referenced this pull request Jan 23, 2025
Branch: refs/heads/main
Date: 2025-01-21T22:27:36+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.exportimport@7d96bf2

Export principals: sort groups, roles and members.

Files changed:
A news/39.bugfix.1
M src/plone/exportimport/utils/principals/groups.py
M src/plone/exportimport/utils/principals/helpers.py
M src/plone/exportimport/utils/principals/members.py
M tests/exporters/test_exporters_principals.py
Repository: plone.exportimport

Branch: refs/heads/main
Date: 2025-01-22T11:20:44+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.exportimport@6c93b1f

Apply suggestions from code review

Co-authored-by: David Glick &lt;david@glicksoftware.com&gt;

Files changed:
M src/plone/exportimport/utils/principals/groups.py
Repository: plone.exportimport

Branch: refs/heads/main
Date: 2025-01-22T11:32:23+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.exportimport@c28c5ae

Export principals: sort only once.

Files changed:
M src/plone/exportimport/utils/principals/helpers.py
M src/plone/exportimport/utils/principals/members.py
Repository: plone.exportimport

Branch: refs/heads/main
Date: 2025-01-23T16:23:39+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/plone.exportimport@c3892c1

Merge pull request #41 from plone/maurits-sustainable-exports-principals-sort

Export principals: sort groups, roles and members.

Files changed:
A news/39.bugfix.1
M src/plone/exportimport/utils/principals/groups.py
M src/plone/exportimport/utils/principals/helpers.py
M tests/exporters/test_exporters_principals.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants