[CMF-checkins] CVS: CMF/CMFSetup/profiles/default/types -
Discussion_Item.xml:1.1 Document.xml:1.1 Favorite.xml:1.1
File.xml:1.1 Folder.xml:1.1 Image.xml:1.1 Link.xml:1.1
News_Item.xml:1.1 Topic.xml:1.1
Tres Seaver
tseaver at zope.com
Sun May 30 16:00:57 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/profiles/default/types
In directory cvs.zope.org:/tmp/cvs-serv13427/profiles/default/types
Added Files:
Discussion_Item.xml Document.xml Favorite.xml File.xml
Folder.xml Image.xml Link.xml News_Item.xml Topic.xml
Log Message:
- typeinfo.py:
o Make 'importTypesTool' actually work.
o Fux big in translating permissions from XML to type info actions.
- profiles/default/*:
o Snapshot current dump.
=== Added File CMF/CMFSetup/profiles/default/types/Discussion_Item.xml ===
<?xml version="1.0"?>
<type-info id="Discussion Item"
kind="Factory-based Type Information"
title="Discussion Item"
meta_type="Discussion Item"
icon="discussionitem_icon.gif" immediate_view=""
filter_content_types="1" allowed_content_types=""
allow_discussion="0" global_allow="1" product=""
factory="">
<description>Discussion Items are documents which reply to other content.
They should *not* be addable through the standard 'folder_factories' interface.
</description>
<aliases>
<alias from="(Default)" to="discussionitem_view"/>
<alias from="view" to="discussionitem_view"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}/discussionitem_view"
permissions="View" category="object"
visible="True"/>
</type-info>
=== Added File CMF/CMFSetup/profiles/default/types/Document.xml ===
<?xml version="1.0"?>
<type-info id="Document"
kind="Factory-based Type Information"
title="Document" meta_type="Document"
icon="document_icon.gif"
immediate_view="metadata_edit_form"
filter_content_types="1" allowed_content_types=""
allow_discussion="0" global_allow="1"
product="CMFDefault" factory="addDocument">
<description>Documents contain text that can be formatted using 'Structured Text.'
They may also contain HTML, or "plain" text.
</description>
<aliases>
<alias from="gethtml" to="source_html"/>
<alias from="(Default)" to="document_view"/>
<alias from="view" to="document_view"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}/document_view"
permissions="View" category="object"
visible="True"/>
<action action_id="edit" title="Edit" condition=""
action_expr="string:${object_url}/document_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
<action action_id="metadata" title="Metadata" condition=""
action_expr="string:${object_url}/metadata_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
</type-info>
=== Added File CMF/CMFSetup/profiles/default/types/Favorite.xml ===
<?xml version="1.0"?>
<type-info id="Favorite"
kind="Factory-based Type Information"
title="Favorite" meta_type="Favorite"
icon="link_icon.gif"
immediate_view="metadata_edit_form"
filter_content_types="1" allowed_content_types=""
allow_discussion="0" global_allow="1"
product="CMFDefault" factory="addFavorite">
<description>A Favorite is a Link to an intra-portal resource.
</description>
<aliases>
<alias from="(Default)" to="favorite_view"/>
<alias from="view" to="favorite_view"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}/favorite_view"
permissions="View" category="object"
visible="True"/>
<action action_id="edit" title="Edit" condition=""
action_expr="string:${object_url}/link_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
<action action_id="metadata" title="Metadata" condition=""
action_expr="string:${object_url}/metadata_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
</type-info>
=== Added File CMF/CMFSetup/profiles/default/types/File.xml ===
<?xml version="1.0"?>
<type-info id="File" kind="Factory-based Type Information"
title="File" meta_type="Portal File"
icon="file_icon.gif"
immediate_view="metadata_edit_form"
filter_content_types="1" allowed_content_types=""
allow_discussion="0" global_allow="1"
product="CMFDefault" factory="addFile">
<description>File objects can contain arbitrary downloadable files.
</description>
<aliases>
<alias from="(Default)" to="index_html"/>
<alias from="view" to="file_view"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}/file_view"
permissions="View" category="object"
visible="True"/>
<action action_id="download" title="Download" condition=""
action_expr="string:${object_url}"
permissions="View" category="object"
visible="True"/>
<action action_id="edit" title="Edit" condition=""
action_expr="string:${object_url}/file_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
<action action_id="metadata" title="Metadata" condition=""
action_expr="string:${object_url}/metadata_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
</type-info>
=== Added File CMF/CMFSetup/profiles/default/types/Folder.xml ===
<?xml version="1.0"?>
<type-info id="Folder" kind="Factory-based Type Information"
title="Folder" meta_type="Portal Folder"
icon="folder_icon.gif"
immediate_view="folder_edit_form"
filter_content_types="0" allowed_content_types=""
allow_discussion="0" global_allow="1"
product="CMFCore"
factory="manage_addPortalFolder">
<description> Use folders to put content in categories.</description>
<aliases>
<alias from="(Default)" to="index_html"/>
<alias from="view" to="index_html"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}"
permissions="View" category="folder"
visible="True"/>
<action action_id="edit" title="Edit" condition=""
action_expr="string:${object_url}/folder_edit_form"
permissions="Manage properties" category="folder"
visible="True"/>
<action action_id="localroles" title="Local Roles"
condition=""
action_expr="string:${object_url}/folder_localrole_form"
permissions="Manage properties" category="folder"
visible="True"/>
</type-info>
=== Added File CMF/CMFSetup/profiles/default/types/Image.xml ===
<?xml version="1.0"?>
<type-info id="Image" kind="Factory-based Type Information"
title="Image" meta_type="Portal Image"
icon="image_icon.gif"
immediate_view="metadata_edit_form"
filter_content_types="1" allowed_content_types=""
allow_discussion="0" global_allow="1"
product="CMFDefault" factory="addImage">
<description>Image objects can be embedded in Portal documents.
</description>
<aliases>
<alias from="(Default)" to="index_html"/>
<alias from="view" to="image_view"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}/image_view"
permissions="View" category="object"
visible="True"/>
<action action_id="edit" title="Edit" condition=""
action_expr="string:${object_url}/image_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
<action action_id="metadata" title="Metadata" condition=""
action_expr="string:${object_url}/metadata_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
</type-info>
=== Added File CMF/CMFSetup/profiles/default/types/Link.xml ===
<?xml version="1.0"?>
<type-info id="Link" kind="Factory-based Type Information"
title="Link" meta_type="Link"
icon="link_icon.gif"
immediate_view="metadata_edit_form"
filter_content_types="1" allowed_content_types=""
allow_discussion="0" global_allow="1"
product="CMFDefault" factory="addLink">
<description>Link items are annotated URLs.
</description>
<aliases>
<alias from="(Default)" to="link_view"/>
<alias from="view" to="link_view"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}/link_view"
permissions="View" category="object"
visible="True"/>
<action action_id="edit" title="Edit" condition=""
action_expr="string:${object_url}/link_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
<action action_id="metadata" title="Metadata" condition=""
action_expr="string:${object_url}/metadata_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
</type-info>
=== Added File CMF/CMFSetup/profiles/default/types/News_Item.xml ===
<?xml version="1.0"?>
<type-info id="News Item"
kind="Factory-based Type Information"
title="News Item" meta_type="News Item"
icon="newsitem_icon.gif"
immediate_view="metadata_edit_form"
filter_content_types="1" allowed_content_types=""
allow_discussion="0" global_allow="1"
product="CMFDefault" factory="addNewsItem">
<description>News Items contain short text articles and carry a title as well as
an optional description.
</description>
<aliases>
<alias from="gethtml" to="source_html"/>
<alias from="(Default)" to="newsitem_view"/>
<alias from="view" to="newsitem_view"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}/newsitem_view"
permissions="View" category="object"
visible="True"/>
<action action_id="edit" title="Edit" condition=""
action_expr="string:${object_url}/newsitem_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
<action action_id="metadata" title="Metadata" condition=""
action_expr="string:${object_url}/metadata_edit_form"
permissions="Modify portal content"
category="object" visible="True"/>
</type-info>
=== Added File CMF/CMFSetup/profiles/default/types/Topic.xml ===
<?xml version="1.0"?>
<type-info id="Topic" kind="Factory-based Type Information"
title="Topic" meta_type="Portal Topic"
icon="topic_icon.gif"
immediate_view="topic_edit_form"
filter_content_types="1" allowed_content_types=""
allow_discussion="0" global_allow="1"
product="CMFTopic" factory="addTopic">
<description>Topics are canned queries for organizing content with up to date queries into the catalog.</description>
<aliases>
<alias from="(Default)" to="topic_view"/>
<alias from="view" to="topic_view"/>
</aliases>
<action action_id="view" title="View" condition=""
action_expr="string:${object_url}/topic_view"
permissions="View" category="object"
visible="True"/>
<action action_id="edit" title="Edit" condition=""
action_expr="string:${object_url}/topic_edit_form"
permissions="Change portal topics"
category="object" visible="True"/>
<action action_id="criteria" title="Criteria" condition=""
action_expr="string:${object_url}/topic_criteria_form"
permissions="Change portal topics"
category="object" visible="True"/>
<action action_id="subtopics" title="Subtopics"
condition=""
action_expr="string:${object_url}/topic_subtopics_form"
permissions="Change portal topics"
category="object" visible="True"/>
</type-info>
More information about the CMF-checkins
mailing list