-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cleanupbefore4.0.0
* main: Remove c.folderishtypes dependency. (#36)
- Loading branch information
Showing
13 changed files
with
139 additions
and
5 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# -*- coding: utf-8 -*- | ||
from plone.volto.interfaces import IFolderishDocument | ||
from plone.volto.interfaces import IFolderishEvent | ||
from plone.volto.interfaces import IFolderishNewsItem | ||
from plone.app.contenttypes.interfaces import IDocument | ||
from plone.app.contenttypes.interfaces import IEvent | ||
from plone.app.contenttypes.interfaces import INewsItem | ||
from plone.dexterity.content import Container | ||
from zope.interface import implementer | ||
|
||
|
||
@implementer(IDocument, IFolderishDocument) | ||
class FolderishDocument(Container): | ||
pass | ||
|
||
|
||
@implementer(IEvent, IFolderishEvent) | ||
class FolderishEvent(Container): | ||
pass | ||
|
||
|
||
@implementer(INewsItem, IFolderishNewsItem) | ||
class FolderishNewsItem(Container): | ||
pass |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata> | ||
<version>1013</version> | ||
<version>1015</version> | ||
<dependencies> | ||
<dependency>profile-collective.folderishtypes.dx:default</dependency> | ||
<dependency>profile-plone.restapi:blocks</dependency> | ||
</dependencies> | ||
</metadata> |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<object name="Event" meta_type="Dexterity FTI" i18n:domain="plone" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n"> | ||
<property name="filter_content_types">False</property> | ||
<property name="klass">plone.volto.content.FolderishEvent</property> | ||
<property name="behaviors" purge="false"> | ||
<element value="plone.constraintypes"/> | ||
</property> | ||
</object> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0"?> | ||
<object name="News Item" meta_type="Dexterity FTI" i18n:domain="plone" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n"> | ||
<property name="filter_content_types">False</property> | ||
<property name="klass">plone.volto.content.FolderishNewsItem</property> | ||
<property name="behaviors" purge="false"> | ||
<element value="plone.constraintypes"/> | ||
</property> | ||
</object> |
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
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