Skip to content

Commit

Permalink
Merge pull request #148 from plone/plonepas-canonical-import-master
Browse files Browse the repository at this point in the history
Import setupPasswordPolicyPlugin from canonical place in PlonePAS. [master]
  • Loading branch information
mauritsvanrees authored Jan 30, 2018
2 parents 1773ebc + fbac3e8 commit dfe087d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ New features:

Bug fixes:

- Import ``setupPasswordPolicyPlugin`` from canonical place in ``PlonePAS``.
[maurits]

- Log progress and ignore bad catalog entries while updating catalog metadata.
[davisagli]

Expand Down
4 changes: 2 additions & 2 deletions plone/app/upgrade/v43/final.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def removePersistentKSSMimeTypeImportStep(context):

def addDefaultPlonePasswordPolicy(context):
portal = getToolByName(context, 'portal_url').getPortalObject()
from Products.PlonePAS.Extensions.Install import setupPasswordPolicyPlugin
from Products.PlonePAS.setuphandlers import setupPasswordPolicyPlugin
setupPasswordPolicyPlugin(portal)


Expand Down Expand Up @@ -323,7 +323,7 @@ def removeFakeKupu(context):

def addSortOnProperty(context):
"""Add sort_on field to search controlpanel.
The default value of this field is relevance.
"""
site_properties = getToolByName(context, 'portal_properties').site_properties
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
'Products.CMFEditions',
'Products.CMFQuickInstallerTool',
'Products.GenericSetup>=1.8.1',
'Products.PlonePAS',
'Products.PlonePAS >= 5.0.1',
'Products.PluggableAuthService',
'Products.ZCatalog >= 2.13.4',
'Zope2',
Expand Down

0 comments on commit dfe087d

Please sign in to comment.