-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
4.1 robot #11
Closed
Closed
4.1 robot #11
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esteele
added a commit
that referenced
this pull request
Jan 21, 2015
Branch: refs/heads/master Date: 2015-01-21T11:38:02+02:00 Author: Alexandru Ghica (alecghica) <alec.ghica@eaudeweb.ro> Commit: plone/plone.app.caching@a28176e Cleanup & PEP8 fixes Files changed: M plone/app/caching/utils.py diff --git a/plone/app/caching/utils.py b/plone/app/caching/utils.py index af64a75..a6b92ea 100644 --- a/plone/app/caching/utils.py +++ b/plone/app/caching/utils.py @@ -47,7 +47,8 @@ def getObjectDefaultView(context): fti = context.getTypeInfo() try: - # XXX: This isn't quite right since it assumes the action starts with ${object_url} + # XXX: This isn't quite right since it assumes the action starts + #with ${object_url} action = fti.getActionInfo('object/view')['url'].split('/')[-1] except ValueError: # If the action doesn't exist, stop @@ -57,7 +58,8 @@ def getObjectDefaultView(context): if action: action = fti.queryMethodID(action, default = action, context = context) else: - action = fti.queryMethodID('(Default)', default = action, context = context) + action = fti.queryMethodID('(Default)', default = action, + context = context) # Strip off leading / and/or @@ if action and action[0] == '/': @@ -65,5 +67,3 @@ def getObjectDefaultView(context): if action and action.startswith('@@'): action = action[2:] return action - - Repository: plone.app.caching Branch: refs/heads/master Date: 2015-01-21T11:43:04+02:00 Author: Alexandru Ghica (alecghica) <alec.ghica@eaudeweb.ro> Commit: plone/plone.app.caching@dc87fa4 Fixed getObjectDefaultView method - Fixed getObjectDefaultView method to strip off leading / and/or @@. [alecghica] Files changed: M CHANGES.rst M plone/app/caching/utils.py diff --git a/CHANGES.rst b/CHANGES.rst index af909ed..6c52e37 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,8 @@ Changelog 1.2.3 (unreleased) ------------------ -- Nothing changed yet. +- Fixed getObjectDefaultView method to strip off leading / and/or @@. + [alecghica] 1.2.2 (2014-10-23) diff --git a/plone/app/caching/utils.py b/plone/app/caching/utils.py index a6b92ea..ad37cc6 100644 --- a/plone/app/caching/utils.py +++ b/plone/app/caching/utils.py @@ -27,6 +27,17 @@ def isPurged(object): return (portal_type in settings.purgedContentTypes) +def stripLeadingCharacters(name): + """Strip off leading / and/or @@ + """ + + if name and name[0] == '/': + name = name[1:] + if name and name.startswith('@@'): + name = name[2:] + + return name + def getObjectDefaultView(context): """Get the id of an object's default view """ @@ -37,7 +48,7 @@ def getObjectDefaultView(context): if browserDefault is not None: try: - return browserDefault.defaultView() + return stripLeadingCharacters(browserDefault.defaultView()) except AttributeError: # Might happen if FTI didn't migrate yet. pass @@ -61,9 +72,4 @@ def getObjectDefaultView(context): action = fti.queryMethodID('(Default)', default = action, context = context) - # Strip off leading / and/or @@ - if action and action[0] == '/': - action = action[1:] - if action and action.startswith('@@'): - action = action[2:] - return action + return stripLeadingCharacters(action) Repository: plone.app.caching Branch: refs/heads/master Date: 2015-01-21T14:22:08+02:00 Author: Alexandru Ghica (alecghica) <alec.ghica@eaudeweb.ro> Commit: plone/plone.app.caching@d659e98 Added test for getObjectDefaultView fix Files changed: M plone/app/caching/tests/test_utils.py diff --git a/plone/app/caching/tests/test_utils.py b/plone/app/caching/tests/test_utils.py index b768054..86e6563 100644 --- a/plone/app/caching/tests/test_utils.py +++ b/plone/app/caching/tests/test_utils.py @@ -130,6 +130,10 @@ def test_browserdefault(self): context = DummyContent() self.assertEqual('defaultView', getObjectDefaultView(context)) + def test_browserviewdefault(self): + context = DummyContent(defaultView="@@defaultView") + self.assertEqual('defaultView', getObjectDefaultView(context)) + def test_not_IBrowserDefault_methodid(self): context = DummyNotBrowserDefault('testtype', 'string:${object_url}/view') self.assertEqual('defaultView', getObjectDefaultView(context)) Repository: plone.app.caching Branch: refs/heads/master Date: 2015-01-21T07:38:14-05:00 Author: Eric Steele (esteele) <eric@esteele.net> Commit: plone/plone.app.caching@031356b Merge pull request #11 from alecghica/master Fixed getObjectDefaultView method to strip off leading / and/or @@ Files changed: M CHANGES.rst M plone/app/caching/tests/test_utils.py M plone/app/caching/utils.py diff --git a/CHANGES.rst b/CHANGES.rst index af909ed..6c52e37 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,8 @@ Changelog 1.2.3 (unreleased) ------------------ -- Nothing changed yet. +- Fixed getObjectDefaultView method to strip off leading / and/or @@. + [alecghica] 1.2.2 (2014-10-23) diff --git a/plone/app/caching/tests/test_utils.py b/plone/app/caching/tests/test_utils.py index b768054..86e6563 100644 --- a/plone/app/caching/tests/test_utils.py +++ b/plone/app/caching/tests/test_utils.py @@ -130,6 +130,10 @@ def test_browserdefault(self): context = DummyContent() self.assertEqual('defaultView', getObjectDefaultView(context)) + def test_browserviewdefault(self): + context = DummyContent(defaultView="@@defaultView") + self.assertEqual('defaultView', getObjectDefaultView(context)) + def test_not_IBrowserDefault_methodid(self): context = DummyNotBrowserDefault('testtype', 'string:${object_url}/view') self.assertEqual('defaultView', getObjectDefaultView(context)) diff --git a/plone/app/caching/utils.py b/plone/app/caching/utils.py index af64a75..ad37cc6 100644 --- a/plone/app/caching/utils.py +++ b/plone/app/caching/utils.py @@ -27,6 +27,17 @@ def isPurged(object): return (portal_type in settings.purgedContentTypes) +def stripLeadingCharacters(name): + """Strip off leading / and/or @@ + """ + + if name and name[0] == '/': + name = name[1:] + if name and name.startswith('@@'): + name = name[2:] + + return name + def getObjectDefaultView(context): """Get the id of an object's default view """ @@ -37,7 +48,7 @@ def getObjectDefaultView(context): if browserDefault is not None: try: - return browserDefault.defaultView() + return stripLeadingCharacters(browserDefault.defaultView()) except AttributeError: # Might happen if FTI didn't migrate yet. pass @@ -47,7 +58,8 @@ def getObjectDefaultView(context): fti = context.getTypeInfo() try: - # XXX: This isn't quite right since it assumes the action starts with ${object_url} + # XXX: This isn't quite right since it assumes the action starts + #with ${object_url} action = fti.getActionInfo('object/view')['url'].split('/')[-1] except ValueError: # If the action doesn't exist, stop @@ -57,13 +69,7 @@ def getObjectDefaultView(context): if action: action = fti.queryMethodID(action, default = action, context = context) else: - action = fti.queryMethodID('(Default)', default = action, context = context) - - # Strip off leading / and/or @@ - if action and action[0] == '/': - action = action[1:] - if action and action.startswith('@@'): - action = action[2:] - return action - + action = fti.queryMethodID('(Default)', default = action, + context = context) + return stripLeadingCharacters(action)
jensens
added a commit
that referenced
this pull request
Jan 22, 2015
Branch: refs/heads/master Date: 2014-12-09T10:50:42+01:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/Products.ATContentTypes@1c4aff0 Allow addons to depend on ATContentTypes without installing the types. Files changed: A Products/ATContentTypes/profiles/base/componentregistry.xml A Products/ATContentTypes/profiles/base/metadata.xml A Products/ATContentTypes/profiles/base/rolemap.xml A Products/ATContentTypes/profiles/base/skins.xml A Products/ATContentTypes/profiles/base/toolset.xml M Products/ATContentTypes/configure.zcml M Products/ATContentTypes/profiles/default/metadata.xml M Products/ATContentTypes/profiles/default/types.xml D Products/ATContentTypes/profiles/default/componentregistry.xml D Products/ATContentTypes/profiles/default/rolemap.xml D Products/ATContentTypes/profiles/default/skins.xml D Products/ATContentTypes/profiles/default/toolset.xml diff --git a/Products/ATContentTypes/configure.zcml b/Products/ATContentTypes/configure.zcml index db7a6dd..1a5792a 100644 --- a/Products/ATContentTypes/configure.zcml +++ b/Products/ATContentTypes/configure.zcml @@ -60,6 +60,14 @@ provides="Products.GenericSetup.interfaces.EXTENSION" /> + <genericsetup:registerProfile + name="base" + title="Archetypes-tools without content-types" + directory="profiles/base" + for="Products.CMFPlone.interfaces.IPloneSiteRoot" + provides="Products.GenericSetup.interfaces.EXTENSION" + /> + <genericsetup:importStep name="atct_content" title="ATContentTypes default content" diff --git a/Products/ATContentTypes/profiles/base/componentregistry.xml b/Products/ATContentTypes/profiles/base/componentregistry.xml new file mode 100644 index 0000000..7a4d865 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/componentregistry.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<componentregistry> + <utilities> + <utility + interface="Products.ATContentTypes.interface.IATCTTool" + object="portal_atct"/> + </utilities> +</componentregistry> diff --git a/Products/ATContentTypes/profiles/base/metadata.xml b/Products/ATContentTypes/profiles/base/metadata.xml new file mode 100644 index 0000000..964d111 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<metadata> + <version>1</version> + <dependencies> + <dependency>profile-Products.Archetypes:Archetypes</dependency> + <dependency>profile-Products.CMFFormController:CMFFormController</dependency> + </dependencies> +</metadata> diff --git a/Products/ATContentTypes/profiles/base/rolemap.xml b/Products/ATContentTypes/profiles/base/rolemap.xml new file mode 100644 index 0000000..ff91619 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/rolemap.xml @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<rolemap> + <permissions> + <permission name="ATContentTypes: Add Document" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add Event" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add File" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add Folder" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add Image" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add Link" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add News Item" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + </permissions> +</rolemap> diff --git a/Products/ATContentTypes/profiles/base/skins.xml b/Products/ATContentTypes/profiles/base/skins.xml new file mode 100644 index 0000000..4e2ae22 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/skins.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<object name="portal_skins" meta_type="Plone Skins Tool"> + <object name="ATContentTypes" meta_type="Filesystem Directory View" + directory="Products.ATContentTypes:skins/ATContentTypes"/> + <object name="archetypes" meta_type="Filesystem Directory View" + directory="Products.Archetypes:skins/archetypes"/> + <skin-path name="*"> + <layer name="ATContentTypes" insert-after="custom"/> + <layer name="archetypes" insert-after="custom"/> + </skin-path> +</object> diff --git a/Products/ATContentTypes/profiles/base/toolset.xml b/Products/ATContentTypes/profiles/base/toolset.xml new file mode 100644 index 0000000..6f6b568 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/toolset.xml @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<tool-setup> + <required tool_id="portal_atct" + class="Products.ATContentTypes.tool.atct.ATCTTool"/> + <required tool_id="portal_factory" + class="Products.ATContentTypes.tool.factory.FactoryTool"/> + <required tool_id="portal_metadata" + class="Products.ATContentTypes.tool.metadata.MetadataTool"/> +</tool-setup> diff --git a/Products/ATContentTypes/profiles/default/componentregistry.xml b/Products/ATContentTypes/profiles/default/componentregistry.xml deleted file mode 100644 index 7a4d865..0000000 --- a/Products/ATContentTypes/profiles/default/componentregistry.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0"?> -<componentregistry> - <utilities> - <utility - interface="Products.ATContentTypes.interface.IATCTTool" - object="portal_atct"/> - </utilities> -</componentregistry> diff --git a/Products/ATContentTypes/profiles/default/metadata.xml b/Products/ATContentTypes/profiles/default/metadata.xml index 4410f5f..4ff0d5f 100644 --- a/Products/ATContentTypes/profiles/default/metadata.xml +++ b/Products/ATContentTypes/profiles/default/metadata.xml @@ -2,8 +2,7 @@ <metadata> <version>1</version> <dependencies> - <dependency>profile-Products.Archetypes:Archetypes</dependency> - <dependency>profile-Products.CMFFormController:CMFFormController</dependency> + <dependency>profile-Products.ATContentTypes:base</dependency> <dependency>profile-plone.app.collection:default</dependency> <dependency>profile-plone.app.imaging:default</dependency> <dependency>profile-plone.app.widgets:default</dependency> diff --git a/Products/ATContentTypes/profiles/default/rolemap.xml b/Products/ATContentTypes/profiles/default/rolemap.xml deleted file mode 100644 index ff91619..0000000 --- a/Products/ATContentTypes/profiles/default/rolemap.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0"?> -<rolemap> - <permissions> - <permission name="ATContentTypes: Add Document" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add Event" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add File" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add Folder" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add Image" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add Link" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add News Item" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - </permissions> -</rolemap> diff --git a/Products/ATContentTypes/profiles/default/skins.xml b/Products/ATContentTypes/profiles/default/skins.xml deleted file mode 100644 index 4e2ae22..0000000 --- a/Products/ATContentTypes/profiles/default/skins.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<object name="portal_skins" meta_type="Plone Skins Tool"> - <object name="ATContentTypes" meta_type="Filesystem Directory View" - directory="Products.ATContentTypes:skins/ATContentTypes"/> - <object name="archetypes" meta_type="Filesystem Directory View" - directory="Products.Archetypes:skins/archetypes"/> - <skin-path name="*"> - <layer name="ATContentTypes" insert-after="custom"/> - <layer name="archetypes" insert-after="custom"/> - </skin-path> -</object> diff --git a/Products/ATContentTypes/profiles/default/toolset.xml b/Products/ATContentTypes/profiles/default/toolset.xml deleted file mode 100644 index 6f6b568..0000000 --- a/Products/ATContentTypes/profiles/default/toolset.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0"?> -<tool-setup> - <required tool_id="portal_atct" - class="Products.ATContentTypes.tool.atct.ATCTTool"/> - <required tool_id="portal_factory" - class="Products.ATContentTypes.tool.factory.FactoryTool"/> - <required tool_id="portal_metadata" - class="Products.ATContentTypes.tool.metadata.MetadataTool"/> -</tool-setup> diff --git a/Products/ATContentTypes/profiles/default/types.xml b/Products/ATContentTypes/profiles/default/types.xml index 325a6d1..5b36d62 100644 --- a/Products/ATContentTypes/profiles/default/types.xml +++ b/Products/ATContentTypes/profiles/default/types.xml @@ -2,6 +2,17 @@ <object name="portal_types" meta_type="Plone Types Tool"> <property name="title">Controls the available content types in your portal</property> + + <!-- We remove existing DX-Types if they exist --> + <object name="Collection" remove="True"/> + <object name="Document" remove="True"/> + <object name="Event" remove="True"/> + <object name="File" remove="True"/> + <object name="Folder" remove="True"/> + <object name="Image" remove="True"/> + <object name="Link" remove="True"/> + <object name="News Item" remove="True"/> + <object name="ATBooleanCriterion" meta_type="Factory-based Type Information"/> <object name="ATCurrentAuthorCriterion" Repository: Products.ATContentTypes Branch: refs/heads/master Date: 2014-12-27T21:26:10+01:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/Products.ATContentTypes@2d4c1ca test base-profile Files changed: A Products/ATContentTypes/tests/test_base_profile.py M CHANGES.txt M Products/ATContentTypes/profiles/default/types.xml diff --git a/CHANGES.txt b/CHANGES.txt index 39ff9c7..206fa13 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,7 +4,9 @@ Changelog 2.2.3 (unreleased) ------------------ -- Nothing changed yet. +- Add profile 'base' to allow addons to depend on ATContentTypes in Plone 5 + without uninstalling the dexterity default-types. + [pbauer] 2.2.2 (2014-10-23) diff --git a/Products/ATContentTypes/profiles/default/types.xml b/Products/ATContentTypes/profiles/default/types.xml index 5b36d62..907c5b3 100644 --- a/Products/ATContentTypes/profiles/default/types.xml +++ b/Products/ATContentTypes/profiles/default/types.xml @@ -3,16 +3,6 @@ <property name="title">Controls the available content types in your portal</property> - <!-- We remove existing DX-Types if they exist --> - <object name="Collection" remove="True"/> - <object name="Document" remove="True"/> - <object name="Event" remove="True"/> - <object name="File" remove="True"/> - <object name="Folder" remove="True"/> - <object name="Image" remove="True"/> - <object name="Link" remove="True"/> - <object name="News Item" remove="True"/> - <object name="ATBooleanCriterion" meta_type="Factory-based Type Information"/> <object name="ATCurrentAuthorCriterion" diff --git a/Products/ATContentTypes/tests/test_base_profile.py b/Products/ATContentTypes/tests/test_base_profile.py new file mode 100644 index 0000000..2c34d1e --- /dev/null +++ b/Products/ATContentTypes/tests/test_base_profile.py @@ -0,0 +1,20 @@ +# -*- coding: UTF-8 -*- +from Products.PloneTestCase.PloneTestCase import PloneTestCase +from Products.CMFCore.utils import getToolByName +from Products.CMFDynamicViewFTI.interfaces import IDynamicViewTypeInformation + + +class TestBaseProfile(PloneTestCase): + + def afterSetUp(self): + self.loginAsPortalOwner() + qi = self.portal.portal_quickinstaller + qi.uninstallProducts(['ATContentTypes']) + portal_setup = self.portal.portal_setup + portal_setup.runAllImportStepsFromProfile('profile-Products.ATContentTypes:base') + + def test_attypes_not_installed(self): + tt = getToolByName(self.portal, 'portal_types') + types = tt.listTypeInfo() + for t in types: + self.assertNotEqual(t.product, 'ATContentTypes') Repository: Products.ATContentTypes Branch: refs/heads/master Date: 2014-12-27T21:28:08+01:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/Products.ATContentTypes@12d8eb8 cleanup Files changed: M Products/ATContentTypes/profiles/default/types.xml diff --git a/Products/ATContentTypes/profiles/default/types.xml b/Products/ATContentTypes/profiles/default/types.xml index 907c5b3..325a6d1 100644 --- a/Products/ATContentTypes/profiles/default/types.xml +++ b/Products/ATContentTypes/profiles/default/types.xml @@ -2,7 +2,6 @@ <object name="portal_types" meta_type="Plone Types Tool"> <property name="title">Controls the available content types in your portal</property> - <object name="ATBooleanCriterion" meta_type="Factory-based Type Information"/> <object name="ATCurrentAuthorCriterion" Repository: Products.ATContentTypes Branch: refs/heads/master Date: 2014-12-28T14:19:40+01:00 Author: Philip Bauer (pbauer) <bauer@starzel.de> Commit: plone/Products.ATContentTypes@2d28233 Remove old FTIs on install to allow use in clean Plone 5 Files changed: M Products/ATContentTypes/profiles/default/types.xml diff --git a/Products/ATContentTypes/profiles/default/types.xml b/Products/ATContentTypes/profiles/default/types.xml index 325a6d1..10a5c78 100644 --- a/Products/ATContentTypes/profiles/default/types.xml +++ b/Products/ATContentTypes/profiles/default/types.xml @@ -1,5 +1,15 @@ <?xml version="1.0"?> <object name="portal_types" meta_type="Plone Types Tool"> + <!-- We remove existing FTIs since they could be Dexterity-based and would + not be compatible in that case --> + <object name="Document" remove="True"/> + <object name="Event" remove="True"/> + <object name="File" remove="True"/> + <object name="Folder" remove="True"/> + <object name="Image" remove="True"/> + <object name="Link" remove="True"/> + <object name="News Item" remove="True"/> + <property name="title">Controls the available content types in your portal</property> <object name="ATBooleanCriterion" Repository: Products.ATContentTypes Branch: refs/heads/master Date: 2015-01-22T16:49:11+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/Products.ATContentTypes@5b6f03c Merge pull request #11 from starzel/master Add profile 'base' to allow addons to depend on ATContentTypes in Plone 5 Files changed: A Products/ATContentTypes/profiles/base/componentregistry.xml A Products/ATContentTypes/profiles/base/metadata.xml A Products/ATContentTypes/profiles/base/rolemap.xml A Products/ATContentTypes/profiles/base/skins.xml A Products/ATContentTypes/profiles/base/toolset.xml A Products/ATContentTypes/tests/test_base_profile.py M CHANGES.txt M Products/ATContentTypes/configure.zcml M Products/ATContentTypes/profiles/default/metadata.xml M Products/ATContentTypes/profiles/default/types.xml D Products/ATContentTypes/profiles/default/componentregistry.xml D Products/ATContentTypes/profiles/default/rolemap.xml D Products/ATContentTypes/profiles/default/skins.xml D Products/ATContentTypes/profiles/default/toolset.xml diff --git a/CHANGES.txt b/CHANGES.txt index 39ff9c7..206fa13 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,7 +4,9 @@ Changelog 2.2.3 (unreleased) ------------------ -- Nothing changed yet. +- Add profile 'base' to allow addons to depend on ATContentTypes in Plone 5 + without uninstalling the dexterity default-types. + [pbauer] 2.2.2 (2014-10-23) diff --git a/Products/ATContentTypes/configure.zcml b/Products/ATContentTypes/configure.zcml index db7a6dd..1a5792a 100644 --- a/Products/ATContentTypes/configure.zcml +++ b/Products/ATContentTypes/configure.zcml @@ -60,6 +60,14 @@ provides="Products.GenericSetup.interfaces.EXTENSION" /> + <genericsetup:registerProfile + name="base" + title="Archetypes-tools without content-types" + directory="profiles/base" + for="Products.CMFPlone.interfaces.IPloneSiteRoot" + provides="Products.GenericSetup.interfaces.EXTENSION" + /> + <genericsetup:importStep name="atct_content" title="ATContentTypes default content" diff --git a/Products/ATContentTypes/profiles/base/componentregistry.xml b/Products/ATContentTypes/profiles/base/componentregistry.xml new file mode 100644 index 0000000..7a4d865 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/componentregistry.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<componentregistry> + <utilities> + <utility + interface="Products.ATContentTypes.interface.IATCTTool" + object="portal_atct"/> + </utilities> +</componentregistry> diff --git a/Products/ATContentTypes/profiles/base/metadata.xml b/Products/ATContentTypes/profiles/base/metadata.xml new file mode 100644 index 0000000..964d111 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<metadata> + <version>1</version> + <dependencies> + <dependency>profile-Products.Archetypes:Archetypes</dependency> + <dependency>profile-Products.CMFFormController:CMFFormController</dependency> + </dependencies> +</metadata> diff --git a/Products/ATContentTypes/profiles/base/rolemap.xml b/Products/ATContentTypes/profiles/base/rolemap.xml new file mode 100644 index 0000000..ff91619 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/rolemap.xml @@ -0,0 +1,47 @@ +<?xml version="1.0"?> +<rolemap> + <permissions> + <permission name="ATContentTypes: Add Document" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add Event" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add File" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add Folder" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add Image" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add Link" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + <permission name="ATContentTypes: Add News Item" acquire="True"> + <role name="Manager"/> + <role name="Site Administrator"/> + <role name="Owner"/> + <role name="Contributor"/> + </permission> + </permissions> +</rolemap> diff --git a/Products/ATContentTypes/profiles/base/skins.xml b/Products/ATContentTypes/profiles/base/skins.xml new file mode 100644 index 0000000..4e2ae22 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/skins.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<object name="portal_skins" meta_type="Plone Skins Tool"> + <object name="ATContentTypes" meta_type="Filesystem Directory View" + directory="Products.ATContentTypes:skins/ATContentTypes"/> + <object name="archetypes" meta_type="Filesystem Directory View" + directory="Products.Archetypes:skins/archetypes"/> + <skin-path name="*"> + <layer name="ATContentTypes" insert-after="custom"/> + <layer name="archetypes" insert-after="custom"/> + </skin-path> +</object> diff --git a/Products/ATContentTypes/profiles/base/toolset.xml b/Products/ATContentTypes/profiles/base/toolset.xml new file mode 100644 index 0000000..6f6b568 --- /dev/null +++ b/Products/ATContentTypes/profiles/base/toolset.xml @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<tool-setup> + <required tool_id="portal_atct" + class="Products.ATContentTypes.tool.atct.ATCTTool"/> + <required tool_id="portal_factory" + class="Products.ATContentTypes.tool.factory.FactoryTool"/> + <required tool_id="portal_metadata" + class="Products.ATContentTypes.tool.metadata.MetadataTool"/> +</tool-setup> diff --git a/Products/ATContentTypes/profiles/default/componentregistry.xml b/Products/ATContentTypes/profiles/default/componentregistry.xml deleted file mode 100644 index 7a4d865..0000000 --- a/Products/ATContentTypes/profiles/default/componentregistry.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0"?> -<componentregistry> - <utilities> - <utility - interface="Products.ATContentTypes.interface.IATCTTool" - object="portal_atct"/> - </utilities> -</componentregistry> diff --git a/Products/ATContentTypes/profiles/default/metadata.xml b/Products/ATContentTypes/profiles/default/metadata.xml index 4410f5f..4ff0d5f 100644 --- a/Products/ATContentTypes/profiles/default/metadata.xml +++ b/Products/ATContentTypes/profiles/default/metadata.xml @@ -2,8 +2,7 @@ <metadata> <version>1</version> <dependencies> - <dependency>profile-Products.Archetypes:Archetypes</dependency> - <dependency>profile-Products.CMFFormController:CMFFormController</dependency> + <dependency>profile-Products.ATContentTypes:base</dependency> <dependency>profile-plone.app.collection:default</dependency> <dependency>profile-plone.app.imaging:default</dependency> <dependency>profile-plone.app.widgets:default</dependency> diff --git a/Products/ATContentTypes/profiles/default/rolemap.xml b/Products/ATContentTypes/profiles/default/rolemap.xml deleted file mode 100644 index ff91619..0000000 --- a/Products/ATContentTypes/profiles/default/rolemap.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0"?> -<rolemap> - <permissions> - <permission name="ATContentTypes: Add Document" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add Event" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add File" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add Folder" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add Image" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add Link" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - <permission name="ATContentTypes: Add News Item" acquire="True"> - <role name="Manager"/> - <role name="Site Administrator"/> - <role name="Owner"/> - <role name="Contributor"/> - </permission> - </permissions> -</rolemap> diff --git a/Products/ATContentTypes/profiles/default/skins.xml b/Products/ATContentTypes/profiles/default/skins.xml deleted file mode 100644 index 4e2ae22..0000000 --- a/Products/ATContentTypes/profiles/default/skins.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<object name="portal_skins" meta_type="Plone Skins Tool"> - <object name="ATContentTypes" meta_type="Filesystem Directory View" - directory="Products.ATContentTypes:skins/ATContentTypes"/> - <object name="archetypes" meta_type="Filesystem Directory View" - directory="Products.Archetypes:skins/archetypes"/> - <skin-path name="*"> - <layer name="ATContentTypes" insert-after="custom"/> - <layer name="archetypes" insert-after="custom"/> - </skin-path> -</object> diff --git a/Products/ATContentTypes/profiles/default/toolset.xml b/Products/ATContentTypes/profiles/default/toolset.xml deleted file mode 100644 index 6f6b568..0000000 --- a/Products/ATContentTypes/profiles/default/toolset.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0"?> -<tool-setup> - <required tool_id="portal_atct" - class="Products.ATContentTypes.tool.atct.ATCTTool"/> - <required tool_id="portal_factory" - class="Products.ATContentTypes.tool.factory.FactoryTool"/> - <required tool_id="portal_metadata" - class="Products.ATContentTypes.tool.metadata.MetadataTool"/> -</tool-setup> diff --git a/Products/ATContentTypes/profiles/default/types.xml b/Products/ATContentTypes/profiles/default/types.xml index 325a6d1..10a5c78 100644 --- a/Products/ATContentTypes/profiles/default/types.xml +++ b/Products/ATContentTypes/profiles/default/types.xml @@ -1,5 +1,15 @@ <?xml version="1.0"?> <object name="portal_types" meta_type="Plone Types Tool"> + <!-- We remove existing FTIs since they could be Dexterity-based and would + not be compatible in that case --> + <object name="Document" remove="True"/> + <object name="Event" remove="True"/> + <object name="File" remove="True"/> + <object name="Folder" remove="True"/> + <object name="Image" remove="True"/> + <object name="Link" remove="True"/> + <object name="News Item" remove="True"/> + <property name="title">Controls the available content types in your portal</property> <object name="ATBooleanCriterion" diff --git a/Products/ATContentTypes/tests/test_base_profile.py b/Products/ATContentTypes/tests/test_base_profile.py new file mode 100644 index 0000000..2c34d1e --- /dev/null +++ b/Products/ATContentTypes/tests/test_base_profile.py @@ -0,0 +1,20 @@ +# -*- coding: UTF-8 -*- +from Products.PloneTestCase.PloneTestCase import PloneTestCase +from Products.CMFCore.utils import getToolByName +from Products.CMFDynamicViewFTI.interfaces import IDynamicViewTypeInformation + + +class TestBaseProfile(PloneTestCase): + + def afterSetUp(self): + self.loginAsPortalOwner() + qi = self.portal.portal_quickinstaller + qi.uninstallProducts(['ATContentTypes']) + portal_setup = self.portal.portal_setup + portal_setup.runAllImportStepsFromProfile('profile-Products.ATContentTypes:base') + + def test_attypes_not_installed(self): + tt = getToolByName(self.portal, 'portal_types') + types = tt.listTypeInfo() + for t in types: + self.assertNotEqual(t.product, 'ATContentTypes')
jensens
added a commit
that referenced
this pull request
Jan 27, 2015
Branch: refs/heads/master Date: 2014-11-23T22:38:32+01:00 Author: Jonas Baumann (jone) <jone@jone.ch> Commit: plone/plone.app.versioningbehavior@8e1a11a Ported tests to plone.app.testing. Removed PloneTestCase / p.a.testing compatibility hack. Files changed: M CHANGES.rst M plone/app/versioningbehavior/testing.py M plone/app/versioningbehavior/tests/test_IntegrationTests.py M plone/app/versioningbehavior/tests/test_modifiers.py diff --git a/CHANGES.rst b/CHANGES.rst index 9bc8fd1..a0a411b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,10 @@ Changelog 1.2.1 (unreleased) ------------------ +- Ported tests to plone.app.testing. + Removed PloneTestCase / p.a.testing compatibility hack. + [jone] + - Remove dependencies on zope.app.container and rwproperty. [davisagli] diff --git a/plone/app/versioningbehavior/testing.py b/plone/app/versioningbehavior/testing.py index b6817a3..fe18e4e 100644 --- a/plone/app/versioningbehavior/testing.py +++ b/plone/app/versioningbehavior/testing.py @@ -6,7 +6,6 @@ from plone.dexterity.fti import DexterityFTI from Products.CMFCore.utils import getToolByName from Products.CMFDiffTool.TextDiff import TextDiff -from Products.PloneTestCase.layer import onteardown from zope.configuration import xmlconfig # Make it work with plone.protect < 3.0.0 where the `auto` module is not available. @@ -19,23 +18,6 @@ class DummyAuto(object): protect_auto = DummyAuto() -def fix_plonetestcase_mess(): - """Registers a Products.PloneTestCase cleanup. - It is a nested teardown so that we can meake sure that it is executate - as last tear down function. - """ - def reset_zope2(): - """Testing.ZopeTestCase.layer.ZopeLite does not support tearing down. - This results in a partically teared down Zope2 instance. - This function resets the Zope2 initialization state so that we can - initialize another Zope2 instance with p.a.testing. - """ - import Zope2 - Zope2._began_startup = 0 - onteardown(reset_zope2)() -onteardown(fix_plonetestcase_mess)() - - TEST_CONTENT_TYPE_ID = 'TestContentType' DEFAULT_POLICIES = ('at_edit_autoversion', 'version_on_revert',) diff --git a/plone/app/versioningbehavior/tests/test_IntegrationTests.py b/plone/app/versioningbehavior/tests/test_IntegrationTests.py index 761e904..d74fad8 100644 --- a/plone/app/versioningbehavior/tests/test_IntegrationTests.py +++ b/plone/app/versioningbehavior/tests/test_IntegrationTests.py @@ -2,14 +2,10 @@ from plone.dexterity.fti import DexterityFTI from Products.CMFCore.utils import getToolByName from Products.CMFEditions.tests import test_IntegrationTests -from Products.PloneTestCase import PloneTestCase from unittest import makeSuite from unittest import TestSuite -PloneTestCase.setupPloneSite() - - class TestDexterityIntegration(test_IntegrationTests.TestIntegration): """This tests is the same tests as in CMFEditions, but it's run for dexterity Document and dexterity Folder. diff --git a/plone/app/versioningbehavior/tests/test_modifiers.py b/plone/app/versioningbehavior/tests/test_modifiers.py index 0eb66ea..87c717e 100644 --- a/plone/app/versioningbehavior/tests/test_modifiers.py +++ b/plone/app/versioningbehavior/tests/test_modifiers.py @@ -1,24 +1,21 @@ # -*- coding: utf-8 -*- -from Products.PloneTestCase import PloneTestCase -from plone.dexterity.fti import DexterityFTI from plone.app.versioningbehavior.modifiers import CloneNamedFileBlobs from plone.app.versioningbehavior.modifiers import SkipRelations -from unittest import TestSuite, makeSuite -from plone.namedfile.file import NamedBlobFile -from plone.namedfile import field -from plone.supermodel import model from plone.autoform.interfaces import IFormFieldProvider +from plone.dexterity.fti import DexterityFTI from plone.dexterity.utils import createContentInContainer, createContent -from ZODB.interfaces import IBlob -from zope.interface import alsoProvides, Interface +from plone.namedfile import field +from plone.namedfile.file import NamedBlobFile +from plone.supermodel import model +from Products.CMFEditions.tests.base import CMFEditionsBaseTestCase from StringIO import StringIO -from zope.configuration import xmlconfig -from zope.component import getUtility -from z3c.relationfield.schema import RelationChoice, RelationList +from unittest import TestSuite, makeSuite from z3c.relationfield.relation import RelationValue - -PloneTestCase.setupPloneSite( - extension_profiles=['plone.app.versioningbehavior:default']) +from z3c.relationfield.schema import RelationChoice, RelationList +from ZODB.interfaces import IBlob +from zope.component import getUtility +from zope.configuration import xmlconfig +from zope.interface import alsoProvides, Interface class IBlobFile(model.Schema): @@ -41,7 +38,7 @@ class IRelationsBehavior(model.Schema): alsoProvides(IRelationsBehavior, IFormFieldProvider) -class TestModifiers(PloneTestCase.PloneTestCase): +class TestModifiers(CMFEditionsBaseTestCase): def afterSetUp(self): # we need to have the Manager role to be able to add things Repository: plone.app.versioningbehavior Branch: refs/heads/master Date: 2014-12-26T21:11:08+01:00 Author: Tom Gross (tomgross) <itconsense@gmail.com> Commit: plone/plone.app.versioningbehavior@0ed2add added missing dependency Files changed: M setup.py diff --git a/setup.py b/setup.py index eab31ed..3d10e58 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ 'plone.app.testing', 'plone.app.versioningbehavior', 'plone.namedfile[blobs]', + 'zope.app.intid', ] setup(name='plone.app.versioningbehavior', @@ -25,10 +26,12 @@ classifiers=[ "Environment :: Web Environment", "Framework :: Plone", + "Framework :: Plone :: 5.0", "Framework :: Zope2", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", + "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords='plone dexterity behavior versioning CMFEditions', Repository: plone.app.versioningbehavior Branch: refs/heads/master Date: 2015-01-05T07:48:52+01:00 Author: Tom Gross (tomgross) <itconsense@gmail.com> Commit: plone/plone.app.versioningbehavior@ed7f1fc specify missing testing dependency Files changed: M setup.py diff --git a/setup.py b/setup.py index eab31ed..39e2e22 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ 'plone.app.testing', 'plone.app.versioningbehavior', 'plone.namedfile[blobs]', + 'zope.app.intid', ] setup(name='plone.app.versioningbehavior', Repository: plone.app.versioningbehavior Branch: refs/heads/master Date: 2015-01-05T07:49:02+01:00 Author: Tom Gross (tomgross) <itconsense@gmail.com> Commit: plone/plone.app.versioningbehavior@f6df07e Merge branch 'patesting' of git://github.com/plone/plone.app.versioningbehavior into patesting Files changed: M setup.py diff --git a/setup.py b/setup.py index 39e2e22..3d10e58 100644 --- a/setup.py +++ b/setup.py @@ -26,10 +26,12 @@ classifiers=[ "Environment :: Web Environment", "Framework :: Plone", + "Framework :: Plone :: 5.0", "Framework :: Zope2", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", + "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords='plone dexterity behavior versioning CMFEditions', Repository: plone.app.versioningbehavior Branch: refs/heads/master Date: 2015-01-27T17:49:52+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.versioningbehavior@3ed3c07 Merge pull request #11 from plone/patesting Ported tests to plone.app.testing. Files changed: M CHANGES.rst M plone/app/versioningbehavior/testing.py M plone/app/versioningbehavior/tests/test_IntegrationTests.py M plone/app/versioningbehavior/tests/test_modifiers.py M setup.py diff --git a/CHANGES.rst b/CHANGES.rst index 9bc8fd1..a0a411b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,10 @@ Changelog 1.2.1 (unreleased) ------------------ +- Ported tests to plone.app.testing. + Removed PloneTestCase / p.a.testing compatibility hack. + [jone] + - Remove dependencies on zope.app.container and rwproperty. [davisagli] diff --git a/plone/app/versioningbehavior/testing.py b/plone/app/versioningbehavior/testing.py index b6817a3..fe18e4e 100644 --- a/plone/app/versioningbehavior/testing.py +++ b/plone/app/versioningbehavior/testing.py @@ -6,7 +6,6 @@ from plone.dexterity.fti import DexterityFTI from Products.CMFCore.utils import getToolByName from Products.CMFDiffTool.TextDiff import TextDiff -from Products.PloneTestCase.layer import onteardown from zope.configuration import xmlconfig # Make it work with plone.protect < 3.0.0 where the `auto` module is not available. @@ -19,23 +18,6 @@ class DummyAuto(object): protect_auto = DummyAuto() -def fix_plonetestcase_mess(): - """Registers a Products.PloneTestCase cleanup. - It is a nested teardown so that we can meake sure that it is executate - as last tear down function. - """ - def reset_zope2(): - """Testing.ZopeTestCase.layer.ZopeLite does not support tearing down. - This results in a partically teared down Zope2 instance. - This function resets the Zope2 initialization state so that we can - initialize another Zope2 instance with p.a.testing. - """ - import Zope2 - Zope2._began_startup = 0 - onteardown(reset_zope2)() -onteardown(fix_plonetestcase_mess)() - - TEST_CONTENT_TYPE_ID = 'TestContentType' DEFAULT_POLICIES = ('at_edit_autoversion', 'version_on_revert',) diff --git a/plone/app/versioningbehavior/tests/test_IntegrationTests.py b/plone/app/versioningbehavior/tests/test_IntegrationTests.py index 761e904..d74fad8 100644 --- a/plone/app/versioningbehavior/tests/test_IntegrationTests.py +++ b/plone/app/versioningbehavior/tests/test_IntegrationTests.py @@ -2,14 +2,10 @@ from plone.dexterity.fti import DexterityFTI from Products.CMFCore.utils import getToolByName from Products.CMFEditions.tests import test_IntegrationTests -from Products.PloneTestCase import PloneTestCase from unittest import makeSuite from unittest import TestSuite -PloneTestCase.setupPloneSite() - - class TestDexterityIntegration(test_IntegrationTests.TestIntegration): """This tests is the same tests as in CMFEditions, but it's run for dexterity Document and dexterity Folder. diff --git a/plone/app/versioningbehavior/tests/test_modifiers.py b/plone/app/versioningbehavior/tests/test_modifiers.py index 0eb66ea..87c717e 100644 --- a/plone/app/versioningbehavior/tests/test_modifiers.py +++ b/plone/app/versioningbehavior/tests/test_modifiers.py @@ -1,24 +1,21 @@ # -*- coding: utf-8 -*- -from Products.PloneTestCase import PloneTestCase -from plone.dexterity.fti import DexterityFTI from plone.app.versioningbehavior.modifiers import CloneNamedFileBlobs from plone.app.versioningbehavior.modifiers import SkipRelations -from unittest import TestSuite, makeSuite -from plone.namedfile.file import NamedBlobFile -from plone.namedfile import field -from plone.supermodel import model from plone.autoform.interfaces import IFormFieldProvider +from plone.dexterity.fti import DexterityFTI from plone.dexterity.utils import createContentInContainer, createContent -from ZODB.interfaces import IBlob -from zope.interface import alsoProvides, Interface +from plone.namedfile import field +from plone.namedfile.file import NamedBlobFile +from plone.supermodel import model +from Products.CMFEditions.tests.base import CMFEditionsBaseTestCase from StringIO import StringIO -from zope.configuration import xmlconfig -from zope.component import getUtility -from z3c.relationfield.schema import RelationChoice, RelationList +from unittest import TestSuite, makeSuite from z3c.relationfield.relation import RelationValue - -PloneTestCase.setupPloneSite( - extension_profiles=['plone.app.versioningbehavior:default']) +from z3c.relationfield.schema import RelationChoice, RelationList +from ZODB.interfaces import IBlob +from zope.component import getUtility +from zope.configuration import xmlconfig +from zope.interface import alsoProvides, Interface class IBlobFile(model.Schema): @@ -41,7 +38,7 @@ class IRelationsBehavior(model.Schema): alsoProvides(IRelationsBehavior, IFormFieldProvider) -class TestModifiers(PloneTestCase.PloneTestCase): +class TestModifiers(CMFEditionsBaseTestCase): def afterSetUp(self): # we need to have the Manager role to be able to add things diff --git a/setup.py b/setup.py index 39e2e22..3d10e58 100644 --- a/setup.py +++ b/setup.py @@ -26,10 +26,12 @@ classifiers=[ "Environment :: Web Environment", "Framework :: Plone", + "Framework :: Plone :: 5.0", "Framework :: Zope2", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", + "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords='plone dexterity behavior versioning CMFEditions',
bloodbare
added a commit
that referenced
this pull request
Mar 25, 2015
Branch: refs/heads/master Date: 2015-03-16T12:48:10+01:00 Author: Timo Stollenwerk (tisto) <tisto@plone.org> Commit: plone/archetypes.multilingual@3fad524 Remove PloneLanguageTool dependency. Files changed: M archetypes/multilingual/configure.zcml M docs/HISTORY.txt Repository: archetypes.multilingual Branch: refs/heads/master Date: 2015-03-17T13:16:16+01:00 Author: Ramon Navarro Bosch (bloodbare) <ramon.nb@gmail.com> Commit: plone/archetypes.multilingual@15bca65 ILanguage Interface in CMFPlone Files changed: M archetypes/multilingual/browser/translate.py M archetypes/multilingual/browser/viewlets.py M archetypes/multilingual/configure.zcml M archetypes/multilingual/language.py M archetypes/multilingual/subscriber.py M archetypes/multilingual/tests/languageindependentfields.txt M archetypes/multilingual/tests/multilingual.txt M archetypes/multilingual/tests/test_language_inheritance.py M archetypes/multilingual/tests/test_monkey.py Repository: archetypes.multilingual Branch: refs/heads/master Date: 2015-03-20T19:03:58+01:00 Author: Timo Stollenwerk (tisto) <tisto@plone.org> Commit: plone/archetypes.multilingual@38ce463 Fix typo Files changed: M archetypes/multilingual/tests/test_language_inheritance.py Repository: archetypes.multilingual Branch: refs/heads/master Date: 2015-03-20T21:05:00+01:00 Author: Timo Stollenwerk (tisto) <tisto@plone.org> Commit: plone/archetypes.multilingual@3bd789c Remove archetypes.testcase test dependency. Files changed: M archetypes/multilingual/testing.py M archetypes/multilingual/tests/multilingual.txt M docs/HISTORY.txt M setup.py Repository: archetypes.multilingual Branch: refs/heads/master Date: 2015-03-22T11:02:55+01:00 Author: Ramon Navarro Bosch (bloodbare) <ramon.nb@gmail.com> Commit: plone/archetypes.multilingual@e67a292 Browser layer and uninstall profile Files changed: A archetypes/multilingual/profiles/default/browserlayer.xml A archetypes/multilingual/profiles/uninstall/componentregistry.xml M archetypes/multilingual/browser/configure.zcml M archetypes/multilingual/configure.zcml M archetypes/multilingual/interfaces.py M archetypes/multilingual/profile.zcml M archetypes/multilingual/profiles/default/componentregistry.xml Repository: archetypes.multilingual Branch: refs/heads/master Date: 2015-03-23T17:17:41+01:00 Author: Ramon Navarro Bosch (bloodbare) <ramon.nb@gmail.com> Commit: plone/archetypes.multilingual@fca5c1a Removing session support, no babel view implementation on archetypes.multilingual, cleaning package Files changed: M archetypes/multilingual/browser/viewlets.py M archetypes/multilingual/profiles/default/componentregistry.xml M archetypes/multilingual/testing.py M setup.py Repository: archetypes.multilingual Branch: refs/heads/master Date: 2015-03-24T09:08:44+01:00 Author: Ramon Navarro Bosch (bloodbare) <ramon.nb@gmail.com> Commit: plone/archetypes.multilingual@85a086d Fixing test setup Files changed: M archetypes/multilingual/tests/test_language_inheritance.py Repository: archetypes.multilingual Branch: refs/heads/master Date: 2015-03-25T20:45:13+01:00 Author: Ramon Navarro Bosch (bloodbare) <ramon.nb@gmail.com> Commit: plone/archetypes.multilingual@e570f80 Merge pull request #11 from plone/plip13091-multilingual Plip13091 multilingual Files changed: A archetypes/multilingual/profiles/default/browserlayer.xml A archetypes/multilingual/profiles/uninstall/componentregistry.xml M archetypes/multilingual/browser/configure.zcml M archetypes/multilingual/browser/translate.py M archetypes/multilingual/browser/viewlets.py M archetypes/multilingual/configure.zcml M archetypes/multilingual/interfaces.py M archetypes/multilingual/language.py M archetypes/multilingual/profile.zcml M archetypes/multilingual/profiles/default/componentregistry.xml M archetypes/multilingual/subscriber.py M archetypes/multilingual/testing.py M archetypes/multilingual/tests/languageindependentfields.txt M archetypes/multilingual/tests/multilingual.txt M archetypes/multilingual/tests/test_language_inheritance.py M archetypes/multilingual/tests/test_monkey.py M docs/HISTORY.txt M setup.py
bloodbare
added a commit
that referenced
this pull request
Apr 22, 2015
Branch: refs/heads/master Date: 2015-04-20T12:03:34+02:00 Author: Tom Gross (tomgross) <itconsense@gmail.com> Commit: plone/plone.i18n@fcec32a Allow calling getPreferredLanguage with no request This makes calls of getPreferredLanguage backwards compatible. Files changed: M plone/i18n/utility.py Repository: plone.i18n Branch: refs/heads/master Date: 2015-04-20T10:09:17Z Author: Tom Gross (tomgross) <itconsense@gmail.com> Commit: plone/plone.i18n@6dd1d45 document changes Files changed: M CHANGES.txt Repository: plone.i18n Branch: refs/heads/master Date: 2015-04-22T15:35:18+02:00 Author: Ramon Navarro Bosch (bloodbare) <ramon.nb@gmail.com> Commit: plone/plone.i18n@845d2b1 Merge pull request #11 from plone/tomgross-patch-1 Allow calling getPreferredLanguage with no request Files changed: M CHANGES.txt M plone/i18n/utility.py
tisto
added a commit
that referenced
this pull request
Jun 5, 2015
Branch: refs/heads/master Date: 2015-03-18T17:42:21+01:00 Author: Godefroid Chapelle (gotcha) <gotcha@bubblenet.be> Commit: plone/plone.app.testing@940996f Document PloneWithPackageLayer First step Files changed: M docs/source/README.rst Repository: plone.app.testing Branch: refs/heads/master Date: 2015-06-05T21:45:51+02:00 Author: Timo Stollenwerk (tisto) <tisto@plone.org> Commit: plone/plone.app.testing@80c3def Merge pull request #11 from gotcha/master Document PloneWithPackageLayer Files changed: M docs/source/README.rst
gforcada
added a commit
that referenced
this pull request
Jul 4, 2015
Branch: refs/heads/master Date: 2015-07-03T16:14:56+01:00 Author: Adam Forsythe-Cheasley (adamcheasley) <adam@netsight.co.uk> Commit: plone/plone.protect@f00ff96 Update README.rst Files changed: M README.rst Repository: plone.protect Branch: refs/heads/master Date: 2015-07-04T14:40:57+02:00 Author: Gil Forcada Codinachs (gforcada) <gforcada@gnome.org> Commit: plone/plone.protect@ac2cf37 Merge pull request #11 from plone/docs-patch-1 Correct grammar in readme Files changed: M README.rst
vangheem
added a commit
that referenced
this pull request
Jul 26, 2015
Branch: refs/heads/master Date: 2015-07-26T00:33:00-05:00 Author: vangheem (vangheem) <vangheem@gmail.com> Commit: plone/plone.app.contentmenu@a32e129 do not open manage portlets in a modal Files changed: M CHANGES.rst M plone/app/contentmenu/menu.py Repository: plone.app.contentmenu Branch: refs/heads/master Date: 2015-07-26T01:34:32-05:00 Author: vangheem (vangheem) <vangheem@gmail.com> Commit: plone/plone.app.contentmenu@d98874c portlets do not use ajax Files changed: M plone/app/contentmenu/tests/test_menu.py Repository: plone.app.contentmenu Branch: refs/heads/master Date: 2015-07-26T08:00:22-05:00 Author: Nathan Van Gheem (vangheem) <vangheem@gmail.com> Commit: plone/plone.app.contentmenu@290c57d Merge pull request #11 from plone/portlets-no-modal do not open manage portlets in a modal Files changed: M CHANGES.rst M plone/app/contentmenu/menu.py M plone/app/contentmenu/tests/test_menu.py
agitator
added a commit
that referenced
this pull request
Jul 28, 2015
Branch: refs/heads/master Date: 2015-07-28T13:52:21+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/Products.CMFQuickInstallerTool@37e1f88 cleanup: pep8 et al Files changed: M CHANGES.rst M Products/CMFQuickInstallerTool/InstalledProduct.py M Products/CMFQuickInstallerTool/QuickInstallerTool.py M Products/CMFQuickInstallerTool/__init__.py M Products/CMFQuickInstallerTool/events.py M Products/CMFQuickInstallerTool/interfaces/installable.py M Products/CMFQuickInstallerTool/interfaces/portal_quickinstaller.py M Products/CMFQuickInstallerTool/tests/__init__.py M Products/CMFQuickInstallerTool/tests/testSetup.py M Products/CMFQuickInstallerTool/tests/test_install.py M Products/CMFQuickInstallerTool/utils.py M Products/__init__.py M README.rst M setup.py Repository: Products.CMFQuickInstallerTool Branch: refs/heads/master Date: 2015-07-28T15:45:34+02:00 Author: agitator (agitator) <hpeter@agitator.com> Commit: plone/Products.CMFQuickInstallerTool@5375de2 Merge pull request #11 from plone/jensens-cleanup cleanup: pep8 et al Files changed: M CHANGES.rst M Products/CMFQuickInstallerTool/InstalledProduct.py M Products/CMFQuickInstallerTool/QuickInstallerTool.py M Products/CMFQuickInstallerTool/__init__.py M Products/CMFQuickInstallerTool/events.py M Products/CMFQuickInstallerTool/interfaces/installable.py M Products/CMFQuickInstallerTool/interfaces/portal_quickinstaller.py M Products/CMFQuickInstallerTool/tests/__init__.py M Products/CMFQuickInstallerTool/tests/testSetup.py M Products/CMFQuickInstallerTool/tests/test_install.py M Products/CMFQuickInstallerTool/utils.py M Products/__init__.py M README.rst M setup.py
agitator
added a commit
that referenced
this pull request
Jul 28, 2015
Branch: refs/heads/master Date: 2015-07-28T13:52:21+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/Products.CMFQuickInstallerTool@37e1f88 cleanup: pep8 et al Files changed: M CHANGES.rst M Products/CMFQuickInstallerTool/InstalledProduct.py M Products/CMFQuickInstallerTool/QuickInstallerTool.py M Products/CMFQuickInstallerTool/__init__.py M Products/CMFQuickInstallerTool/events.py M Products/CMFQuickInstallerTool/interfaces/installable.py M Products/CMFQuickInstallerTool/interfaces/portal_quickinstaller.py M Products/CMFQuickInstallerTool/tests/__init__.py M Products/CMFQuickInstallerTool/tests/testSetup.py M Products/CMFQuickInstallerTool/tests/test_install.py M Products/CMFQuickInstallerTool/utils.py M Products/__init__.py M README.rst M setup.py Repository: Products.CMFQuickInstallerTool Branch: refs/heads/master Date: 2015-07-28T15:45:34+02:00 Author: agitator (agitator) <hpeter@agitator.com> Commit: plone/Products.CMFQuickInstallerTool@5375de2 Merge pull request #11 from plone/jensens-cleanup cleanup: pep8 et al Files changed: M CHANGES.rst M Products/CMFQuickInstallerTool/InstalledProduct.py M Products/CMFQuickInstallerTool/QuickInstallerTool.py M Products/CMFQuickInstallerTool/__init__.py M Products/CMFQuickInstallerTool/events.py M Products/CMFQuickInstallerTool/interfaces/installable.py M Products/CMFQuickInstallerTool/interfaces/portal_quickinstaller.py M Products/CMFQuickInstallerTool/tests/__init__.py M Products/CMFQuickInstallerTool/tests/testSetup.py M Products/CMFQuickInstallerTool/tests/test_install.py M Products/CMFQuickInstallerTool/utils.py M Products/__init__.py M README.rst M setup.py
vangheem
added a commit
that referenced
this pull request
Sep 8, 2015
Branch: refs/heads/master Date: 2015-09-08T12:11:26-05:00 Author: Sam Schwartz (obct537) <obct537@gmail.com> Commit: plone/plone.resourceeditor@be80eef Added check to prevent saving over folders Files changed: M plone/resourceeditor/browser.py Repository: plone.resourceeditor Branch: refs/heads/master Date: 2015-09-08T12:23:59-05:00 Author: Nathan Van Gheem (vangheem) <vangheem@gmail.com> Commit: plone/plone.resourceeditor@62b2de7 Merge pull request #11 from plone/folder_saving Added check to prevent saving over folders Files changed: M plone/resourceeditor/browser.py
gforcada
added a commit
that referenced
this pull request
Nov 25, 2015
Branch: refs/heads/master Date: 2015-11-22T20:56:48-03:00 Author: Davi Lima (davilima6) <davilima6@gmail.com> Commit: plone/plone.app.registry@b42e96e Update Site Setup link in all control panels (fixes plone/Products.CMFPlone#1255) Files changed: M CHANGES.rst M plone/app/registry/browser/controlpanel.py M plone/app/registry/browser/controlpanel_layout.pt M plone/app/registry/browser/records.pt Repository: plone.app.registry Branch: refs/heads/master Date: 2015-11-25T01:34:59+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.forcada@freitag.de> Commit: plone/plone.app.registry@da0557a Merge pull request #11 from plone/fix_sitesetup_link Update Site Setup link in all control panels Files changed: M CHANGES.rst M plone/app/registry/browser/controlpanel.py M plone/app/registry/browser/controlpanel_layout.pt M plone/app/registry/browser/records.pt
jensens
added a commit
that referenced
this pull request
Dec 22, 2015
Branch: refs/heads/master Date: 2015-12-15T17:42:48+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@c8ee296 PEP 8, UTF 8 headers. reformatings Files changed: M CHANGES.rst M plone/__init__.py M plone/batching/__init__.py M plone/batching/batch.py M plone/batching/browser.py M plone/batching/configure.zcml M plone/batching/interfaces.py M plone/batching/tests.py M plone/batching/utils.py M setup.py Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:40:31+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@1dd6589 doctest formating Files changed: M USAGE.rst M plone/batching/batching.rst Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:45:55+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@60ee288 fix broken through cleanup Files changed: M plone/batching/browser.py Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:46:09+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@7d27195 add USAGE.rst to tests and fix it Files changed: M USAGE.rst M plone/batching/tests.py Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:48:37+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@edc8488 move usage.rst to plone/batching Files changed: A plone/batching/usage.rst M plone/batching/tests.py M setup.py D USAGE.rst Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:53:02+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@8240c74 docs/index, heading for usage Files changed: A docs/index.rst M plone/batching/usage.rst Repository: plone.batching Branch: refs/heads/master Date: 2015-12-21T13:26:57+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@f701e05 re-move usage.rst to docs folder Files changed: A docs/usage.rst M CHANGES.rst M docs/index.rst M plone/batching/tests.py M setup.py D plone/batching/usage.rst Repository: plone.batching Branch: refs/heads/master Date: 2015-12-22T15:38:56+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.batching@ea556ae Merge pull request #11 from plone/thet-reformat doc reformat, pep8 Files changed: A docs/index.rst A docs/usage.rst M CHANGES.rst M plone/__init__.py M plone/batching/__init__.py M plone/batching/batch.py M plone/batching/batching.rst M plone/batching/browser.py M plone/batching/configure.zcml M plone/batching/interfaces.py M plone/batching/tests.py M plone/batching/utils.py M setup.py D USAGE.rst
jensens
added a commit
that referenced
this pull request
Dec 22, 2015
Branch: refs/heads/master Date: 2015-12-15T17:42:48+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@c8ee296 PEP 8, UTF 8 headers. reformatings Files changed: M CHANGES.rst M plone/__init__.py M plone/batching/__init__.py M plone/batching/batch.py M plone/batching/browser.py M plone/batching/configure.zcml M plone/batching/interfaces.py M plone/batching/tests.py M plone/batching/utils.py M setup.py Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:40:31+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@1dd6589 doctest formating Files changed: M USAGE.rst M plone/batching/batching.rst Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:45:55+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@60ee288 fix broken through cleanup Files changed: M plone/batching/browser.py Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:46:09+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@7d27195 add USAGE.rst to tests and fix it Files changed: M USAGE.rst M plone/batching/tests.py Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:48:37+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@edc8488 move usage.rst to plone/batching Files changed: A plone/batching/usage.rst M plone/batching/tests.py M setup.py D USAGE.rst Repository: plone.batching Branch: refs/heads/master Date: 2015-12-16T00:53:02+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@8240c74 docs/index, heading for usage Files changed: A docs/index.rst M plone/batching/usage.rst Repository: plone.batching Branch: refs/heads/master Date: 2015-12-21T13:26:57+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.batching@f701e05 re-move usage.rst to docs folder Files changed: A docs/usage.rst M CHANGES.rst M docs/index.rst M plone/batching/tests.py M setup.py D plone/batching/usage.rst Repository: plone.batching Branch: refs/heads/master Date: 2015-12-22T15:38:56+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.batching@ea556ae Merge pull request #11 from plone/thet-reformat doc reformat, pep8 Files changed: A docs/index.rst A docs/usage.rst M CHANGES.rst M plone/__init__.py M plone/batching/__init__.py M plone/batching/batch.py M plone/batching/batching.rst M plone/batching/browser.py M plone/batching/configure.zcml M plone/batching/interfaces.py M plone/batching/tests.py M plone/batching/utils.py M setup.py D USAGE.rst
mister-roboto
pushed a commit
that referenced
this pull request
Feb 1, 2016
Branch: refs/heads/master Date: 2015-11-25T22:52:11+01:00 Author: Johannes Raggam (thet) <raggam-nl@adm.at> Commit: plone/plone.portlet.static@bdf9c96 Plone 4 compatibility. Files changed: M CHANGES.rst M plone/portlet/static/static.py Repository: plone.portlet.static Branch: refs/heads/master Date: 2016-02-01T08:52:43+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.portlet.static@45411dc Merge pull request #11 from bluedynamics/master Plone 4 compatibility. Files changed: M CHANGES.rst M plone/portlet/static/static.py
mister-roboto
pushed a commit
that referenced
this pull request
May 5, 2016
Branch: refs/heads/master Date: 2016-05-04T11:57:26+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.autoform@560db8e isort Files changed: A setup.cfg M plone/autoform/base.py M plone/autoform/form.py M plone/autoform/interfaces.py M plone/autoform/supermodel.py M plone/autoform/testing.py M plone/autoform/tests/test_directives.py M plone/autoform/tests/test_doctests.py M plone/autoform/tests/test_supermodel_handler.py M plone/autoform/tests/test_utils.py M plone/autoform/tests/test_widgets.py M plone/autoform/utils.py M plone/autoform/view.py M plone/autoform/widgets.py Repository: plone.autoform Branch: refs/heads/master Date: 2016-05-04T11:58:59+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.autoform@00fee7b autopep8 -ir * Files changed: M plone/autoform/tests/test_directives.py M plone/autoform/tests/test_doctests.py M plone/autoform/tests/test_supermodel_handler.py M plone/autoform/tests/test_widgets.py M setup.py Repository: plone.autoform Branch: refs/heads/master Date: 2016-05-04T12:08:48+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.autoform@2ce41ea ZCA decorators Files changed: M plone/autoform/supermodel.py M plone/autoform/tests/subform.txt M plone/autoform/view.txt Repository: plone.autoform Branch: refs/heads/master Date: 2016-05-05T09:48:27+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.autoform@f856d2e quotes Files changed: M plone/autoform/directives.py M plone/autoform/form.py M plone/autoform/supermodel.py M plone/autoform/testing.py M plone/autoform/widgets.py Repository: plone.autoform Branch: refs/heads/master Date: 2016-05-05T09:48:27+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.autoform@6dd0af8 Sane form field reorder based on a dependency tree. Files changed: A plone/autoform/autoform.rst A plone/autoform/tests/test_base.py M plone/autoform/base.py M plone/autoform/tests/test_doctests.py M plone/autoform/utils.py D plone/autoform/autoform.txt Repository: plone.autoform Branch: refs/heads/master Date: 2016-05-05T09:48:27+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.autoform@679d989 document changes and bump version Files changed: M CHANGES.rst M setup.py Repository: plone.autoform Branch: refs/heads/master Date: 2016-05-05T14:55:37+02:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.autoform@48b6dbf Merge pull request #11 from plone/jensens-autoform Sane ordering for fields. Files changed: A plone/autoform/autoform.rst A plone/autoform/tests/test_base.py A setup.cfg M CHANGES.rst M plone/autoform/base.py M plone/autoform/directives.py M plone/autoform/form.py M plone/autoform/interfaces.py M plone/autoform/supermodel.py M plone/autoform/testing.py M plone/autoform/tests/subform.txt M plone/autoform/tests/test_directives.py M plone/autoform/tests/test_doctests.py M plone/autoform/tests/test_supermodel_handler.py M plone/autoform/tests/test_utils.py M plone/autoform/tests/test_widgets.py M plone/autoform/utils.py M plone/autoform/view.py M plone/autoform/view.txt M plone/autoform/widgets.py M setup.py D plone/autoform/autoform.txt
mister-roboto
pushed a commit
that referenced
this pull request
Jun 6, 2016
Branch: refs/heads/master Date: 2016-06-03T16:39:22+02:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.scale@9195c7a Don't scale images up for direction "down" or "thumbnail". Files changed: M CHANGES.rst M plone/scale/scale.py Repository: plone.scale Branch: refs/heads/master Date: 2016-06-03T16:39:22+02:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.scale@8412518 Preserve GIF format for GIF images instead of converting them to JPEG. Files changed: M CHANGES.rst M plone/scale/scale.py Repository: plone.scale Branch: refs/heads/master Date: 2016-06-03T16:39:22+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.scale@a789cfb Assume a width of zero is semantically the same as None. several simplifications and comments and code restructering Files changed: A plone/scale/tests/data/logo.tiff M CHANGES.rst M plone/scale/scale.py M plone/scale/tests/test_scale.py Repository: plone.scale Branch: refs/heads/master Date: 2016-06-03T16:43:56+02:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.scale@ba587bd changes justify new major version Files changed: M CHANGES.rst M setup.py Repository: plone.scale Branch: refs/heads/master Date: 2016-06-06T17:47:33+02:00 Author: agitator (agitator) <hpeter@agitator.com> Commit: plone/plone.scale@f87153a Merge pull request #11 from plone/thet-avoid-upscaling Cleanup: don't scale images up for direction "down", GIF handling, zero as flexible width Files changed: A plone/scale/tests/data/logo.tiff M CHANGES.rst M plone/scale/scale.py M plone/scale/tests/test_scale.py M setup.py
mister-roboto
pushed a commit
that referenced
this pull request
Jun 24, 2016
Branch: refs/heads/2.0.x Date: 2016-06-24T14:34:41+02:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/Products.PasswordResetTool@8de9b49 Remove unused fullname from ``mail_password_template.pt`` Remove unused attribute access of ``fullname`` (whereas it should have been access via ``getProperty``) on a PlonePAS MemberData object in ``mail_password_template.pt``, which lead to attribute access errors. Files changed: M CHANGES.txt M Products/PasswordResetTool/skins/PasswordReset/mail_password_template.pt Repository: Products.PasswordResetTool Branch: refs/heads/2.0.x Date: 2016-06-24T16:27:28+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.PasswordResetTool@8f4b308 Merge pull request #11 from plone/thet-rmunused-fullname Remove unused fullname from ``mail_password_template.pt`` Files changed: M CHANGES.txt M Products/PasswordResetTool/skins/PasswordReset/mail_password_template.pt
mister-roboto
pushed a commit
that referenced
this pull request
Jul 6, 2016
Branch: refs/heads/master Date: 2016-07-05T23:16:52+02:00 Author: Gil Forcada (gforcada) <gforcada@gnome.org> Commit: plone/plone.locking@2304ea2 Use zope.interface decorator This not only makes code more pleasent to read, but also makes the code python 3 compatible (while maintaining python 2 compatibility). Files changed: M CHANGES.rst M plone/locking/browser/info.py M plone/locking/interfaces.py M plone/locking/lockable.py Repository: plone.locking Branch: refs/heads/master Date: 2016-07-07T00:57:46+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.locking@150b256 Merge pull request #11 from plone/gforcada-use-zope-decorators Use zope.interface decorator Files changed: M CHANGES.rst M plone/locking/browser/info.py M plone/locking/interfaces.py M plone/locking/lockable.py
mister-roboto
pushed a commit
that referenced
this pull request
Jul 6, 2016
Branch: refs/heads/master Date: 2016-07-05T23:16:52+02:00 Author: Gil Forcada (gforcada) <gforcada@gnome.org> Commit: plone/plone.locking@2304ea2 Use zope.interface decorator This not only makes code more pleasent to read, but also makes the code python 3 compatible (while maintaining python 2 compatibility). Files changed: M CHANGES.rst M plone/locking/browser/info.py M plone/locking/interfaces.py M plone/locking/lockable.py Repository: plone.locking Branch: refs/heads/master Date: 2016-07-07T00:57:46+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.locking@150b256 Merge pull request #11 from plone/gforcada-use-zope-decorators Use zope.interface decorator Files changed: M CHANGES.rst M plone/locking/browser/info.py M plone/locking/interfaces.py M plone/locking/lockable.py
mister-roboto
pushed a commit
that referenced
this pull request
Jul 10, 2016
Branch: refs/heads/master Date: 2016-07-05T23:14:14+02:00 Author: Gil Forcada (gforcada) <gforcada@gnome.org> Commit: plone/plone.app.viewletmanager@6338177 Use zope.interface decorator This not only makes code more pleasent to read, but also makes the code python 3 compatible (while maintaining python 2 compatibility). Files changed: M CHANGES.rst M plone/app/viewletmanager/manager.py M plone/app/viewletmanager/storage.py Repository: plone.app.viewletmanager Branch: refs/heads/master Date: 2016-07-10T08:52:09+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.viewletmanager@a865591 Merge pull request #11 from plone/gforcada-use-zope-decorators Use zope.interface decorator Files changed: M CHANGES.rst M plone/app/viewletmanager/manager.py M plone/app/viewletmanager/storage.py
mister-roboto
pushed a commit
that referenced
this pull request
Dec 4, 2016
Branch: refs/heads/master Date: 2016-12-04T18:23:54+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.folder@cde5bb2 Remove unused file This file is not used by plone.app.folder itself. Files changed: M CHANGES.rst D src/plone/app/folder/tests/bbb.py Repository: plone.app.folder Branch: refs/heads/master Date: 2016-12-04T20:42:07+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.folder@2844a29 Merge pull request #11 from plone/gforcada-patch-1 Remove unused file Files changed: M CHANGES.rst D src/plone/app/folder/tests/bbb.py
mister-roboto
pushed a commit
that referenced
this pull request
Mar 17, 2017
Branch: refs/heads/master Date: 2017-03-15T14:59:01+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.openid@a9addfa Revert "Revert "Removing unittest2"" Files changed: M CHANGES.rst M plone/app/openid/tests/test_view.py Repository: plone.app.openid Branch: refs/heads/master Date: 2017-03-17T10:11:35+01:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.app.openid@b17778d Merge pull request #11 from plone/revert-10-revert-9-master Removing unittest2 (Revert "Revert "Removing unittest2"") Files changed: M CHANGES.rst M plone/app/openid/tests/test_view.py
mister-roboto
pushed a commit
that referenced
this pull request
Feb 14, 2018
Branch: refs/heads/2.0.x Date: 2018-02-13T16:15:43+01:00 Author: Fred van Dijk (fredvd) <fredvd@gmail.com> Commit: plone/Products.MimetypesRegistry@1889a3d backport woff2 mimetype Files changed: M Products/MimetypesRegistry/mime_types/suppl_mimetypes.py Repository: Products.MimetypesRegistry Branch: refs/heads/2.0.x Date: 2018-02-13T16:17:38+01:00 Author: Fred van Dijk (fredvd) <fredvd@gmail.com> Commit: plone/Products.MimetypesRegistry@45920dc Update CHANGES.rst Files changed: M CHANGES.rst Repository: Products.MimetypesRegistry Branch: refs/heads/2.0.x Date: 2018-02-14T11:22:44+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.MimetypesRegistry@107b225 Merge pull request #11 from plone/fredvd-backport-woff2 backport add woff2 mimetype Files changed: M CHANGES.rst M Products/MimetypesRegistry/mime_types/suppl_mimetypes.py
mister-roboto
pushed a commit
that referenced
this pull request
Feb 14, 2018
Branch: refs/heads/2.0.x Date: 2018-02-13T16:15:43+01:00 Author: Fred van Dijk (fredvd) <fredvd@gmail.com> Commit: plone/Products.MimetypesRegistry@1889a3d backport woff2 mimetype Files changed: M Products/MimetypesRegistry/mime_types/suppl_mimetypes.py Repository: Products.MimetypesRegistry Branch: refs/heads/2.0.x Date: 2018-02-13T16:17:38+01:00 Author: Fred van Dijk (fredvd) <fredvd@gmail.com> Commit: plone/Products.MimetypesRegistry@45920dc Update CHANGES.rst Files changed: M CHANGES.rst Repository: Products.MimetypesRegistry Branch: refs/heads/2.0.x Date: 2018-02-14T11:22:44+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.MimetypesRegistry@107b225 Merge pull request #11 from plone/fredvd-backport-woff2 backport add woff2 mimetype Files changed: M CHANGES.rst M Products/MimetypesRegistry/mime_types/suppl_mimetypes.py
mister-roboto
pushed a commit
that referenced
this pull request
Jul 16, 2018
Branch: refs/heads/master Date: 2018-06-06T20:59:37+03:00 Author: Alin Voinea (avoinea) <alin.voinea@eaudeweb.ro> Commit: plone/plone.cachepurging@b232111 Refs #11 - Set default purger backlog size to 0 (infinity) Files changed: M CHANGES.rst M plone/cachepurging/purger.py Repository: plone.cachepurging Branch: refs/heads/master Date: 2018-07-16T14:03:35+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.cachepurging@b04190a Merge pull request #12 from eea/master Refs #11 - Set default purger backlog size to 0 (infinity) Files changed: M CHANGES.rst M plone/cachepurging/purger.py
mister-roboto
pushed a commit
that referenced
this pull request
Jul 16, 2018
Branch: refs/heads/master Date: 2018-06-06T20:59:37+03:00 Author: Alin Voinea (avoinea) <alin.voinea@eaudeweb.ro> Commit: plone/plone.cachepurging@b232111 Refs #11 - Set default purger backlog size to 0 (infinity) Files changed: M CHANGES.rst M plone/cachepurging/purger.py Repository: plone.cachepurging Branch: refs/heads/master Date: 2018-07-16T14:03:35+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.cachepurging@b04190a Merge pull request #12 from eea/master Refs #11 - Set default purger backlog size to 0 (infinity) Files changed: M CHANGES.rst M plone/cachepurging/purger.py
mister-roboto
pushed a commit
that referenced
this pull request
Jul 16, 2018
Branch: refs/heads/master Date: 2018-06-06T20:59:37+03:00 Author: Alin Voinea (avoinea) <alin.voinea@eaudeweb.ro> Commit: plone/plone.cachepurging@b232111 Refs #11 - Set default purger backlog size to 0 (infinity) Files changed: M CHANGES.rst M plone/cachepurging/purger.py Repository: plone.cachepurging Branch: refs/heads/master Date: 2018-07-16T14:03:35+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.cachepurging@b04190a Merge pull request #12 from eea/master Refs #11 - Set default purger backlog size to 0 (infinity) Files changed: M CHANGES.rst M plone/cachepurging/purger.py
mister-roboto
pushed a commit
that referenced
this pull request
Jul 16, 2018
Branch: refs/heads/master Date: 2018-06-06T20:59:37+03:00 Author: Alin Voinea (avoinea) <alin.voinea@eaudeweb.ro> Commit: plone/plone.cachepurging@b232111 Refs #11 - Set default purger backlog size to 0 (infinity) Files changed: M CHANGES.rst M plone/cachepurging/purger.py Repository: plone.cachepurging Branch: refs/heads/master Date: 2018-07-16T14:03:35+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/plone.cachepurging@b04190a Merge pull request #12 from eea/master Refs #11 - Set default purger backlog size to 0 (infinity) Files changed: M CHANGES.rst M plone/cachepurging/purger.py
mister-roboto
pushed a commit
that referenced
this pull request
Aug 21, 2018
Branch: refs/heads/master Date: 2018-08-21T09:54:48+02:00 Author: Michael Howitz (icemac) <mh@gocept.com> Commit: plone/plone.memoize@5a28303 Fix the Travis config (#11) * Fix the Travis config so it actually runs the tests. Files changed: M .travis.yml
mister-roboto
pushed a commit
that referenced
this pull request
Aug 21, 2018
Branch: refs/heads/master Date: 2018-08-21T09:54:48+02:00 Author: Michael Howitz (icemac) <mh@gocept.com> Commit: plone/plone.memoize@5a28303 Fix the Travis config (#11) * Fix the Travis config so it actually runs the tests. Files changed: M .travis.yml
mister-roboto
pushed a commit
that referenced
this pull request
Aug 21, 2018
Branch: refs/heads/master Date: 2018-08-21T09:54:48+02:00 Author: Michael Howitz (icemac) <mh@gocept.com> Commit: plone/plone.memoize@5a28303 Fix the Travis config (#11) * Fix the Travis config so it actually runs the tests. Files changed: M .travis.yml
mister-roboto
pushed a commit
that referenced
this pull request
Oct 3, 2018
Branch: refs/heads/master Date: 2018-10-03T03:28:44Z Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@6859663 Update classifiers and add six as dependency Files changed: M setup.py Repository: collective.monkeypatcher Branch: refs/heads/master Date: 2018-10-03T03:29:03Z Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@a665b5a Prepare for Python 2 / 3 compatibility Files changed: M CHANGES.rst M collective/monkeypatcher/meta.py Repository: collective.monkeypatcher Branch: refs/heads/master Date: 2018-10-03T13:16:58-03:00 Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@ec18e98 Merge pull request #11 from plone/python3 Python3 Files changed: M CHANGES.rst M collective/monkeypatcher/meta.py M setup.py
mister-roboto
pushed a commit
that referenced
this pull request
Oct 3, 2018
Branch: refs/heads/master Date: 2018-10-03T03:28:44Z Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@6859663 Update classifiers and add six as dependency Files changed: M setup.py Repository: collective.monkeypatcher Branch: refs/heads/master Date: 2018-10-03T03:29:03Z Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@a665b5a Prepare for Python 2 / 3 compatibility Files changed: M CHANGES.rst M collective/monkeypatcher/meta.py Repository: collective.monkeypatcher Branch: refs/heads/master Date: 2018-10-03T13:16:58-03:00 Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@ec18e98 Merge pull request #11 from plone/python3 Python3 Files changed: M CHANGES.rst M collective/monkeypatcher/meta.py M setup.py
mister-roboto
pushed a commit
that referenced
this pull request
Oct 3, 2018
Branch: refs/heads/master Date: 2018-10-03T03:28:44Z Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@6859663 Update classifiers and add six as dependency Files changed: M setup.py Repository: collective.monkeypatcher Branch: refs/heads/master Date: 2018-10-03T03:29:03Z Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@a665b5a Prepare for Python 2 / 3 compatibility Files changed: M CHANGES.rst M collective/monkeypatcher/meta.py Repository: collective.monkeypatcher Branch: refs/heads/master Date: 2018-10-03T13:16:58-03:00 Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@ec18e98 Merge pull request #11 from plone/python3 Python3 Files changed: M CHANGES.rst M collective/monkeypatcher/meta.py M setup.py
mister-roboto
pushed a commit
that referenced
this pull request
Oct 3, 2018
Branch: refs/heads/master Date: 2018-10-03T03:28:44Z Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@6859663 Update classifiers and add six as dependency Files changed: M setup.py Repository: collective.monkeypatcher Branch: refs/heads/master Date: 2018-10-03T03:29:03Z Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@a665b5a Prepare for Python 2 / 3 compatibility Files changed: M CHANGES.rst M collective/monkeypatcher/meta.py Repository: collective.monkeypatcher Branch: refs/heads/master Date: 2018-10-03T13:16:58-03:00 Author: Franco Pellegrini (frapell) <frapell@gmail.com> Commit: plone/collective.monkeypatcher@ec18e98 Merge pull request #11 from plone/python3 Python3 Files changed: M CHANGES.rst M collective/monkeypatcher/meta.py M setup.py
mister-roboto
pushed a commit
that referenced
this pull request
Apr 12, 2019
Branch: refs/heads/master Date: 2019-03-11T00:33:07+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.ExtendedPathIndex@df4ad85 Avoid a deprecation warning Make it so, that it is backwards compatible. As ``master`` branch of ``P.ExtendedPathIndex`` is still being used by Plone 5.1 as well according to mr.roboto: https://jenkins.plone.org/roboto/branches Fixes plone/Products.ExtendedPathIndex#10 Files changed: M Products/ExtendedPathIndex/ExtendedPathIndex.py Repository: Products.ExtendedPathIndex Branch: refs/heads/master Date: 2019-03-11T00:34:36+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.ExtendedPathIndex@7909854 Add news entry Files changed: A news/10.bugfix Repository: Products.ExtendedPathIndex Branch: refs/heads/master Date: 2019-04-12T14:53:52+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/Products.ExtendedPathIndex@e41ae94 Merge pull request #11 from plone/gforcada-patch-1 Avoid a deprecation warning Files changed: A news/10.bugfix M Products/ExtendedPathIndex/ExtendedPathIndex.py
mister-roboto
pushed a commit
that referenced
this pull request
Apr 12, 2019
Branch: refs/heads/master Date: 2019-03-11T00:33:07+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.ExtendedPathIndex@df4ad85 Avoid a deprecation warning Make it so, that it is backwards compatible. As ``master`` branch of ``P.ExtendedPathIndex`` is still being used by Plone 5.1 as well according to mr.roboto: https://jenkins.plone.org/roboto/branches Fixes plone/Products.ExtendedPathIndex#10 Files changed: M Products/ExtendedPathIndex/ExtendedPathIndex.py Repository: Products.ExtendedPathIndex Branch: refs/heads/master Date: 2019-03-11T00:34:36+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.ExtendedPathIndex@7909854 Add news entry Files changed: A news/10.bugfix Repository: Products.ExtendedPathIndex Branch: refs/heads/master Date: 2019-04-12T14:53:52+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/Products.ExtendedPathIndex@e41ae94 Merge pull request #11 from plone/gforcada-patch-1 Avoid a deprecation warning Files changed: A news/10.bugfix M Products/ExtendedPathIndex/ExtendedPathIndex.py
mister-roboto
pushed a commit
that referenced
this pull request
Apr 17, 2020
Branch: refs/heads/master Date: 2020-04-17T13:51:40+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.z3cform@2b0b596 Travis: test on Python 3.8 as well. Then the check-python-versions script is happy. Cleaned up the Travis config. Files changed: M .travis.yml Repository: plone.z3cform Branch: refs/heads/master Date: 2020-04-17T14:07:42+02:00 Author: Alessandro Pisa (ale-rt) <alessandro.pisa@gmail.com> Commit: plone/plone.z3cform@a6279d8 Merge pull request #11 from plone/maurits/check-python-versions Travis: test on Python 3.8 as well. Files changed: M .travis.yml
mister-roboto
pushed a commit
that referenced
this pull request
Feb 13, 2021
Branch: refs/heads/master Date: 2021-02-13T09:51:14+01:00 Author: André Gonçalves (andreesg) <andre@intk.com> Commit: plone/plone.contentrules@fce0143 Fix fields in the IRuleConfiguration interface (#11) * Fix fields in the interface IRuleConfiguration: enabled, stop and cascading are not required * Update CHANGES.txt Files changed: M CHANGES.rst M plone/contentrules/rule/interfaces.py
mister-roboto
pushed a commit
that referenced
this pull request
Mar 24, 2021
Branch: refs/heads/master Date: 2021-03-22T11:15:26+01:00 Author: Victor Fernandez de Alba (sneridagh) <sneridagh@gmail.com> Commit: plone/plone.schema@dd861be Adjust JSONField to include widget name Files changed: A news/10.feature M plone/schema/jsonfield.py Repository: plone.schema Branch: refs/heads/master Date: 2021-03-24T09:39:56+01:00 Author: Timo Stollenwerk (tisto) <tisto@users.noreply.github.com> Commit: plone/plone.schema@58135cc Merge pull request #11 from plone/widgetproponjsonfield Adjust JSONField to include widget name Files changed: A news/10.feature M plone/schema/jsonfield.py
mister-roboto
pushed a commit
that referenced
this pull request
Mar 24, 2021
Branch: refs/heads/master Date: 2021-03-22T11:15:26+01:00 Author: Victor Fernandez de Alba (sneridagh) <sneridagh@gmail.com> Commit: plone/plone.schema@dd861be Adjust JSONField to include widget name Files changed: A news/10.feature M plone/schema/jsonfield.py Repository: plone.schema Branch: refs/heads/master Date: 2021-03-24T09:39:56+01:00 Author: Timo Stollenwerk (tisto) <tisto@users.noreply.github.com> Commit: plone/plone.schema@58135cc Merge pull request #11 from plone/widgetproponjsonfield Adjust JSONField to include widget name Files changed: A news/10.feature M plone/schema/jsonfield.py
mister-roboto
pushed a commit
that referenced
this pull request
Jun 13, 2022
Branch: refs/heads/main Date: 2022-06-02T12:12:44+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.base@6105b21 Renamed test_l18nl10n.py to test_i18nl10n.py. So i18n (internationalization) version l18n. Files changed: A src/plone/base/tests/test_i18nl10n.py D src/plone/base/tests/test_l18nl10n.py Repository: plone.base Branch: refs/heads/main Date: 2022-06-02T14:21:43+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.base@1b4ff45 Add tests for utranslate and ulocalized_time. I copied, adapted and extended tests from CMFPlone.tests.testTranslationServiceTool. Files changed: M src/plone/base/tests/test_i18nl10n.py Repository: plone.base Branch: refs/heads/main Date: 2022-06-02T19:04:12+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.base@9987c85 Test translations, especially days of the week and month names. Files changed: M src/plone/base/tests/test_i18nl10n.py Repository: plone.base Branch: refs/heads/main Date: 2022-06-03T01:30:44+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.base@ad8bd66 Support dollar signs in registry override for date formats. Then it uses the correct language in multilingual sites. Fixes plone/Products.CMFPlone#3550 Files changed: A news/3550.bugfix M src/plone/base/i18nl10n.py M src/plone/base/tests/test_i18nl10n.py Repository: plone.base Branch: refs/heads/main Date: 2022-06-03T01:31:13+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.base@9796a4f ulocalized_time: accept a string argument to long_format. For example: `${a} ${d} hello guys ${b} ${Y}`. Taken over from `experimental.ulocalized_time <https://pypi.org/project/experimental.ulocalized_time/>`_. Fixes plone/Products.CMFPlone#3549 Files changed: A news/3549.feature M src/plone/base/i18nl10n.py M src/plone/base/tests/test_i18nl10n.py Repository: plone.base Branch: refs/heads/main Date: 2022-06-13T23:22:39+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.base@1246301 Merge pull request #11 from plone/maurits-merge-experimental-ulocalized_time Merge experimental ulocalized time Files changed: A news/3549.feature A news/3550.bugfix A src/plone/base/tests/test_i18nl10n.py M src/plone/base/i18nl10n.py D src/plone/base/tests/test_l18nl10n.py
mister-roboto
pushed a commit
that referenced
this pull request
Mar 1, 2023
Branch: refs/heads/master Date: 2023-02-26T23:40:41+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@3eea1e7 Configuring with plone/meta Files changed: A .editorconfig A .meta.toml A .pre-commit-config.yaml A news/ba6bcc29.internal A tox.ini M pyproject.toml M setup.cfg Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-02-26T23:45:01+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@b1c36b6 chore: pyupgrade Files changed: M plone/__init__.py M plone/browserlayer/exportimport.py M plone/browserlayer/interfaces.py M plone/browserlayer/layer.py M plone/browserlayer/testing.py M plone/browserlayer/tests/__init__.py M plone/browserlayer/tests/interfaces.py M plone/browserlayer/tests/test_doctest.py M plone/browserlayer/utils.py M setup.py Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-02-26T23:48:01+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@66377f6 chore: black Files changed: M plone/__init__.py M plone/browserlayer/exportimport.py M plone/browserlayer/interfaces.py M plone/browserlayer/layer.py M plone/browserlayer/testing.py M plone/browserlayer/tests/interfaces.py M plone/browserlayer/tests/test_doctest.py M plone/browserlayer/utils.py M setup.py Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-02-26T23:49:37+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@9c52aca chore: zpretty Files changed: M plone/browserlayer/configure.zcml M plone/browserlayer/tests/local.pt M plone/browserlayer/tests/profiles/testing/browserlayer.xml M plone/browserlayer/tests/profiles/uninstall/browserlayer.xml M plone/browserlayer/tests/standard.pt M plone/browserlayer/tests/testing.zcml Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-03-01T01:05:55+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@4ee8113 fix: adjust tests Files changed: M plone/browserlayer/README.rst M plone/browserlayer/tests/test_doctest.py Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-03-01T01:06:24+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@ec94bfe fix: remove python 2 compatiblity code Files changed: M plone/browserlayer/tests/test_doctest.py Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-03-01T01:06:26+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@cdd00f8 feat: declare dependencies Files changed: M setup.py Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-03-01T01:06:26+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@673bcea chore: typos Files changed: M CHANGES.rst Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-03-01T01:06:26+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.browserlayer@4a436fc chore: pyroma Files changed: M setup.py Repository: plone.browserlayer Branch: refs/heads/master Date: 2023-03-01T11:34:31+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.browserlayer@79ea092 Merge pull request #11 from plone/config-with-default-template-6dbd685b Config with default template Files changed: A .editorconfig A .meta.toml A .pre-commit-config.yaml A news/ba6bcc29.internal A tox.ini M CHANGES.rst M plone/__init__.py M plone/browserlayer/README.rst M plone/browserlayer/configure.zcml M plone/browserlayer/exportimport.py M plone/browserlayer/interfaces.py M plone/browserlayer/layer.py M plone/browserlayer/testing.py M plone/browserlayer/tests/__init__.py M plone/browserlayer/tests/interfaces.py M plone/browserlayer/tests/local.pt M plone/browserlayer/tests/profiles/testing/browserlayer.xml M plone/browserlayer/tests/profiles/uninstall/browserlayer.xml M plone/browserlayer/tests/standard.pt M plone/browserlayer/tests/test_doctest.py M plone/browserlayer/tests/testing.zcml M plone/browserlayer/utils.py M pyproject.toml M setup.cfg M setup.py
mister-roboto
pushed a commit
that referenced
this pull request
Apr 18, 2023
Branch: refs/heads/master Date: 2023-04-09T14:44:33+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.isurlinportal@a62e7ea Configuring with plone/meta Files changed: A .editorconfig A .meta.toml A .pre-commit-config.yaml A news/3333c742.internal M pyproject.toml M setup.cfg M tox.ini Repository: Products.isurlinportal Branch: refs/heads/master Date: 2023-04-09T14:49:09+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.isurlinportal@ac0b360 cleanup: use generic workflow Files changed: D .github/workflows/tests.yml D buildout.cfg D requirements.txt Repository: Products.isurlinportal Branch: refs/heads/master Date: 2023-04-09T14:49:52+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.isurlinportal@4d6a41d chore: isort Files changed: M Products/isurlinportal/__init__.py Repository: Products.isurlinportal Branch: refs/heads/master Date: 2023-04-09T14:50:55+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.isurlinportal@7b447af feat: configure codespell Files changed: M pyproject.toml Repository: Products.isurlinportal Branch: refs/heads/master Date: 2023-04-09T14:55:18+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.isurlinportal@0fa32d4 feat: declare dependencies Files changed: M setup.py Repository: Products.isurlinportal Branch: refs/heads/master Date: 2023-04-13T16:11:17+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/Products.isurlinportal@d8d161f Random change to trigger GHA Files changed: M tox.ini Repository: Products.isurlinportal Branch: refs/heads/master Date: 2023-04-18T00:17:11+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.isurlinportal@0e3b7d0 Configuring with plone/meta Files changed: M .meta.toml M pyproject.toml M tox.ini Repository: Products.isurlinportal Branch: refs/heads/master Date: 2023-04-18T00:21:25+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.isurlinportal@418de5a Moved Products.CMFPlone to requirements in new test extra. Files changed: M .meta.toml M pyproject.toml M setup.py Repository: Products.isurlinportal Branch: refs/heads/master Date: 2023-04-18T14:32:37+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.isurlinportal@8da42ca Merge pull request #11 from plone/config-with-default-template-79b64ed3 Config with default template Files changed: A .editorconfig A .meta.toml A .pre-commit-config.yaml A news/3333c742.internal M Products/isurlinportal/__init__.py M pyproject.toml M setup.cfg M setup.py M tox.ini D .github/workflows/tests.yml D buildout.cfg D requirements.txt
mister-roboto
pushed a commit
that referenced
this pull request
May 2, 2023
Branch: refs/heads/master Date: 2023-05-01T22:51:24Z Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com> Commit: plone/plone.intelligenttext@0c52ae1 [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.3.1 → v3.3.2](asottile/pyupgrade@v3.3.1...v3.3.2) - [github.com/collective/zpretty: 3.0.3 → 3.0.4](collective/zpretty@3.0.3...3.0.4) Files changed: M .pre-commit-config.yaml Repository: plone.intelligenttext Branch: refs/heads/master Date: 2023-05-02T16:33:49+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.intelligenttext@51e84a0 Merge pull request #11 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 2, 2023
Branch: refs/heads/master Date: 2023-05-01T22:48:07Z Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com> Commit: plone/plone.app.i18n@79a36d6 [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.3.1 → v3.3.2](asottile/pyupgrade@v3.3.1...v3.3.2) - [github.com/collective/zpretty: 3.0.3 → 3.0.4](collective/zpretty@3.0.3...3.0.4) Files changed: M .pre-commit-config.yaml Repository: plone.app.i18n Branch: refs/heads/master Date: 2023-05-02T16:39:55+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.i18n@9876079 Merge pull request #11 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
Jul 4, 2023
Branch: refs/heads/master Date: 2023-07-03T23:32:05Z Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com> Commit: plone/plone.uuid@e669926 [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.4.0 → v3.8.0](asottile/pyupgrade@v3.4.0...v3.8.0) - [github.com/collective/zpretty: 3.1.0a2 → 3.1.0](collective/zpretty@3.1.0a2...3.1.0) - [github.com/codespell-project/codespell: v2.2.4 → v2.2.5](codespell-project/codespell@v2.2.4...v2.2.5) - [github.com/mgedmin/check-python-versions: 0.21.2 → 0.21.3](mgedmin/check-python-versions@0.21.2...0.21.3) Files changed: M .pre-commit-config.yaml Repository: plone.uuid Branch: refs/heads/master Date: 2023-07-04T08:00:09+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.uuid@982f63e Merge pull request #11 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
Jul 4, 2023
Branch: refs/heads/master Date: 2023-07-03T23:32:05Z Author: pre-commit-ci[bot] (pre-commit-ci[bot]) <66853113+pre-commit-ci[bot]@users.noreply.github.com> Commit: plone/plone.uuid@e669926 [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.4.0 → v3.8.0](asottile/pyupgrade@v3.4.0...v3.8.0) - [github.com/collective/zpretty: 3.1.0a2 → 3.1.0](collective/zpretty@3.1.0a2...3.1.0) - [github.com/codespell-project/codespell: v2.2.4 → v2.2.5](codespell-project/codespell@v2.2.4...v2.2.5) - [github.com/mgedmin/check-python-versions: 0.21.2 → 0.21.3](mgedmin/check-python-versions@0.21.2...0.21.3) Files changed: M .pre-commit-config.yaml Repository: plone.uuid Branch: refs/heads/master Date: 2023-07-04T08:00:09+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.uuid@982f63e Merge pull request #11 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
Jul 31, 2024
Branch: refs/heads/master Date: 2024-07-31T12:30:57+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.lockingbehavior@f74bc19 Remove setuptools fossils. Files changed: A news/72.bugfix M setup.py Repository: plone.app.lockingbehavior Branch: refs/heads/master Date: 2024-07-31T15:51:58+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.lockingbehavior@3761f4a Merge pull request #11 from plone/setuptools-fossils Remove setuptools fossils. Files changed: A news/72.bugfix M setup.py
mister-roboto
pushed a commit
that referenced
this pull request
Jul 31, 2024
Branch: refs/heads/master Date: 2024-07-31T12:30:57+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.lockingbehavior@f74bc19 Remove setuptools fossils. Files changed: A news/72.bugfix M setup.py Repository: plone.app.lockingbehavior Branch: refs/heads/master Date: 2024-07-31T15:51:58+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.lockingbehavior@3761f4a Merge pull request #11 from plone/setuptools-fossils Remove setuptools fossils. Files changed: A news/72.bugfix M setup.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No newline, I like clean files