[CMF-checkins] CVS: CMF/CMFDefault - DiscussionItem.py:1.35 Document.py:1.58 Favorite.py:1.21 File.py:1.27 Image.py:1.25 Link.py:1.28 NewsItem.py:1.20 SkinnedFolder.py:1.15

Yvo Schubbe schubbe@web.de
Sat, 28 Jun 2003 12:31:52 -0400


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv21800/CMFDefault

Modified Files:
	DiscussionItem.py Document.py Favorite.py File.py Image.py 
	Link.py NewsItem.py SkinnedFolder.py 
Log Message:
Merged yuppie-ti_aliases-branch:
- Added Method Aliases to TypeInformation.
- Added __before_publishing_traverse__ to DynamicType.
- Made PortalFolder's 'mkdir' hook an alias.

=== CMF/CMFDefault/DiscussionItem.py 1.34 => 1.35 ===
--- CMF/CMFDefault/DiscussionItem.py:1.34	Fri May  9 17:40:24 2003
+++ CMF/CMFDefault/DiscussionItem.py	Sat Jun 28 12:31:21 2003
@@ -46,6 +46,8 @@
   , 'product'        : '' # leave blank to suppress
   , 'factory'        : ''
   , 'immediate_view' : ''
+  , 'aliases'        : {'(Default)':'discussionitem_view',
+                        'view':'discussionitem_view'}
   , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/discussionitem_view'


=== CMF/CMFDefault/Document.py 1.57 => 1.58 ===
--- CMF/CMFDefault/Document.py:1.57	Fri May  9 17:40:24 2003
+++ CMF/CMFDefault/Document.py	Sat Jun 28 12:31:21 2003
@@ -42,6 +42,8 @@
   , 'product'        : 'CMFDefault'
   , 'factory'        : 'addDocument'
   , 'immediate_view' : 'metadata_edit_form'
+  , 'aliases'        : {'(Default)':'document_view',
+                        'view':'document_view'}
   , 'actions'        : ( { 'id'            : 'view' 
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/document_view'


=== CMF/CMFDefault/Favorite.py 1.20 => 1.21 ===
--- CMF/CMFDefault/Favorite.py:1.20	Fri May  9 17:40:24 2003
+++ CMF/CMFDefault/Favorite.py	Sat Jun 28 12:31:21 2003
@@ -36,6 +36,8 @@
   , 'product'        : 'CMFDefault'
   , 'factory'        : 'addFavorite'
   , 'immediate_view' : 'metadata_edit_form'
+  , 'aliases'        : {'(Default)':'favorite_view',
+                        'view':'favorite_view'}
   , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/favorite_view'


=== CMF/CMFDefault/File.py 1.26 => 1.27 ===
--- CMF/CMFDefault/File.py:1.26	Fri May  9 17:40:24 2003
+++ CMF/CMFDefault/File.py	Sat Jun 28 12:31:21 2003
@@ -38,6 +38,8 @@
   , 'product'        : 'CMFDefault'
   , 'factory'        : 'addFile'
   , 'immediate_view' : 'metadata_edit_form'
+  , 'aliases'        : {'(Default)':'index_html',
+                        'view':'file_view'}
   , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/file_view'


=== CMF/CMFDefault/Image.py 1.24 => 1.25 ===
--- CMF/CMFDefault/Image.py:1.24	Fri May  9 17:40:24 2003
+++ CMF/CMFDefault/Image.py	Sat Jun 28 12:31:21 2003
@@ -36,6 +36,8 @@
   , 'product'        : 'CMFDefault'
   , 'factory'        : 'addImage'
   , 'immediate_view' : 'metadata_edit_form'
+  , 'aliases'        : {'(Default)':'index_html',
+                        'view':'image_view'}
   , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/image_view'


=== CMF/CMFDefault/Link.py 1.27 => 1.28 ===
--- CMF/CMFDefault/Link.py:1.27	Fri May  9 17:40:24 2003
+++ CMF/CMFDefault/Link.py	Sat Jun 28 12:31:21 2003
@@ -40,6 +40,8 @@
   , 'product'        : 'CMFDefault'
   , 'factory'        : 'addLink'
   , 'immediate_view' : 'metadata_edit_form'
+  , 'aliases'        : {'(Default)':'link_view',
+                        'view':'link_view'}
   , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/link_view'
@@ -59,7 +61,6 @@
   }
 ,
 )
-
 
 def addLink( self
            , id


=== CMF/CMFDefault/NewsItem.py 1.19 => 1.20 ===
--- CMF/CMFDefault/NewsItem.py:1.19	Fri May  9 17:40:24 2003
+++ CMF/CMFDefault/NewsItem.py	Sat Jun 28 12:31:21 2003
@@ -35,6 +35,8 @@
   , 'product'        : 'CMFDefault'
   , 'factory'        : 'addNewsItem'
   , 'immediate_view' : 'metadata_edit_form'
+  , 'aliases'        : {'(Default)':'newsitem_view',
+                        'view':'newsitem_view'}
   , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/newsitem_view'


=== CMF/CMFDefault/SkinnedFolder.py 1.14 => 1.15 ===
--- CMF/CMFDefault/SkinnedFolder.py:1.14	Fri May  9 17:40:24 2003
+++ CMF/CMFDefault/SkinnedFolder.py	Sat Jun 28 12:31:21 2003
@@ -36,6 +36,8 @@
   , 'factory'        : 'addSkinnedFolder'
   , 'filter_content_types' : 0
   , 'immediate_view' : 'folder_edit_form'
+  , 'aliases'        : {'(Default)':'folder_view',
+                        'view':'folder_view'}
   , 'actions'        : ( { 'id'            : 'view' 
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/folder_view'