[CMF-checkins] CVS: CMF/CMFDefault - DiscussionItem.py:1.23.4.1 Document.py:1.38.2.1 Favorite.py:1.13.4.1 File.py:1.18.4.1 Image.py:1.16.4.1 Link.py:1.13.4.1 MembershipTool.py:1.17.4.1 NewsItem.py:1.14.4.1 Portal.py:1.28.4.1 SkinnedFolder.py:1.6.4.1

Andrew Sawyers andrew@zope.com
Tue, 11 Dec 2001 10:54:24 -0500


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

Modified Files:
      Tag: ExtensionsBranch
	DiscussionItem.py Document.py Favorite.py File.py Image.py 
	Link.py MembershipTool.py NewsItem.py Portal.py 
	SkinnedFolder.py 
Log Message:

*Prototype CMF with extensions for webdav
*Things will change to make this functionality baclwards
compatible; beware.


=== CMF/CMFDefault/DiscussionItem.py 1.23 => 1.23.4.1 ===
                                 ( { 'id'            : 'view'
                                   , 'name'          : 'View'
-                                  , 'action'        : 'discussionitem_view'
+                                  , 'action'        : 'discussionitem_view.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.View, )
                                   }


=== CMF/CMFDefault/Document.py 1.38 => 1.38.2.1 ===
                              , 'product'        : 'CMFDefault'
                              , 'factory'        : 'addDocument'
-                             , 'immediate_view' : 'metadata_edit_form'
+                             , 'immediate_view' : 'metadata_edit_form.pt'
                              , 'actions'        :
                                 ( { 'id'            : 'view' 
                                   , 'name'          : 'View'
-                                  , 'action'        : 'document_view'
+                                  , 'action'        : 'document_view.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.View, )
                                   }
                                 , { 'id'            : 'edit'
                                   , 'name'          : 'Edit'
-                                  , 'action'        : 'document_edit_form'
+                                  , 'action'        : 'document_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }
                                 , { 'id'            : 'metadata'
                                   , 'name'          : 'Metadata'
-                                  , 'action'        : 'metadata_edit_form'
+                                  , 'action'        : 'metadata_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }


=== CMF/CMFDefault/Favorite.py 1.13 => 1.13.4.1 ===
                              , 'product'        : 'CMFDefault'
                              , 'factory'        : 'addFavorite'
-                             , 'immediate_view' : 'metadata_edit_form'
+                             , 'immediate_view' : 'metadata_edit_form.pt'
                              , 'actions'        :
                                 ( { 'id'            : 'view'
                                   , 'name'          : 'View'
-                                  , 'action'        : 'favorite_view'
+                                  , 'action'        : 'favorite_view.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.View, )
                                   }
                                 , { 'id'            : 'edit'
                                   , 'name'          : 'Edit'
-                                  , 'action'        : 'link_edit_form'
+                                  , 'action'        : 'link_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }
                                 , { 'id'            : 'metadata'
                                   , 'name'          : 'Metadata'
-                                  , 'action'        : 'metadata_edit_form'
+                                  , 'action'        : 'metadata_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }


=== CMF/CMFDefault/File.py 1.18 => 1.18.4.1 ===
                              , 'product'        : 'CMFDefault'
                              , 'factory'        : 'addFile'
-                             , 'immediate_view' : 'metadata_edit_form'
+                             , 'immediate_view' : 'metadata_edit_form.pt'
                              , 'actions'        :
                                 ( { 'id'            : 'view'
                                   , 'name'          : 'View'
-                                  , 'action'        : 'file_view'
+                                  , 'action'        : 'file_view.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.View, )
                                   }
@@ -52,13 +52,13 @@
                                   }
                                 , { 'id'            : 'edit'
                                   , 'name'          : 'Edit'
-                                  , 'action'        : 'file_edit_form'
+                                  , 'action'        : 'file_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }
                                 , { 'id'            : 'metadata'
                                   , 'name'          : 'Metadata'
-                                  , 'action'        : 'metadata_edit_form'
+                                  , 'action'        : 'metadata_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }


=== CMF/CMFDefault/Image.py 1.16 => 1.16.4.1 ===
                              , 'product'        : 'CMFDefault'
                              , 'factory'        : 'addImage'
-                             , 'immediate_view' : 'metadata_edit_form'
+                             , 'immediate_view' : 'metadata_edit_form.pt'
                              , 'actions'        :
                                 ( { 'id'            : 'view'
                                   , 'name'          : 'View'
-                                  , 'action'        : 'image_view'
+                                  , 'action'        : 'image_view.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.View, )
                                   }
                                 , { 'id'            : 'edit'
                                   , 'name'          : 'Edit'
-                                  , 'action'        : 'image_edit_form'
+                                  , 'action'        : 'image_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }
                                 , { 'id'            : 'metadata'
                                   , 'name'          : 'Metadata'
-                                  , 'action'        : 'metadata_edit_form'
+                                  , 'action'        : 'metadata_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }


=== CMF/CMFDefault/Link.py 1.13 => 1.13.4.1 ===
                              , 'product'        : 'CMFDefault'
                              , 'factory'        : 'addLink'
-                             , 'immediate_view' : 'metadata_edit_form'
+                             , 'immediate_view' : 'metadata_edit_form.pt'
                              , 'actions'        :
                                 ( { 'id'            : 'view'
                                   , 'name'          : 'View'
-                                  , 'action'        : 'link_view'
+                                  , 'action'        : 'link_view.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.View, )
                                   }
                                 , { 'id'            : 'edit'
                                   , 'name'          : 'Edit'
-                                  , 'action'        : 'link_edit_form'
+                                  , 'action'        : 'link_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }
                                 , { 'id'            : 'metadata'
                                   , 'name'          : 'Metadata'
-                                  , 'action'        : 'metadata_edit_form'
+                                  , 'action'        : 'metadata_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }


=== CMF/CMFDefault/MembershipTool.py 1.17 => 1.17.4.1 ===
             user_actions = (
                 {'name': 'Log in',
-                 'url': portal_url + '/login_form',
+                 'url': portal_url + '/login_form'.pt,
                  'permissions': [],
                  'category': 'user'},
                 {'name': 'Join',
-                 'url': portal_url + '/join_form',
+                 'url': portal_url + '/join_form.pt',
                  'permissions': [AddPortalMember],
                  'category': 'user'},
                 )
@@ -172,7 +172,7 @@
             homeUrl = self.getHomeUrl()
             user_actions = (
                 {'name': 'Preferences',
-                 'url': portal_url + '/personalize_form',
+                 'url': portal_url + '/personalize_form.pt',
                  'permissions': [],
                  'category': 'user'},
                 {'name': 'Log out',
@@ -180,7 +180,7 @@
                  'permissions' : [],
                  'category': 'user'},
                 {'name': 'Reconfigure portal',
-                 'url': portal_url + '/reconfig_form',
+                 'url': portal_url + '/reconfig_form.pt',
                  'permissions': ['Manage portal'],
                  'category': 'global'},
                 )
@@ -193,7 +193,7 @@
                      'permissions' : [],
                      'category': 'user'},
                     {'name': 'My Stuff',
-                     'url': homeUrl + '/folder_contents',
+                     'url': homeUrl + '/folder_contents.pt',
                      'permissions': [],
                      'category': 'user'},
                     )
@@ -202,7 +202,7 @@
                 if hasattr( home_folder, 'Favorites' ):
                     added_actions = (
                       {'name': 'My Favorites',
-                       'url' : homeUrl + '/Favorites/folder_contents',
+                       'url' : homeUrl + '/Favorites/folder_contents.pt',
                        'permissions': [],
                        'category': 'user'},) 
                     user_actions = user_actions + added_actions


=== CMF/CMFDefault/NewsItem.py 1.14 => 1.14.4.1 ===
                              , 'product'        : 'CMFDefault'
                              , 'factory'        : 'addNewsItem'
-                             , 'immediate_view' : 'metadata_edit_form'
+                             , 'immediate_view' : 'metadata_edit_form.pt'
                              , 'actions'        :
                                 ( { 'id'            : 'view'
                                   , 'name'          : 'View'
-                                  , 'action'        : 'newsitem_view'
+                                  , 'action'        : 'newsitem_view.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.View, )
                                   }
                                 , { 'id'            : 'edit'
                                   , 'name'          : 'Edit'
-                                  , 'action'        : 'newsitem_edit_form'
+                                  , 'action'        : 'newsitem_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }
                                 , { 'id'            : 'metadata'
                                   , 'name'          : 'Metadata'
-                                  , 'action'        : 'metadata_edit_form'
+                                  , 'action'        : 'metadata_edit_form.pt'
                                   , 'permissions'   : (
                                       CMFCorePermissions.ModifyPortalContent, )
                                   }


=== CMF/CMFDefault/Portal.py 1.28 => 1.28.4.1 ===
                                validate_email)
     if RESPONSE is not None:
-        RESPONSE.redirect(p.absolute_url() + '/finish_portal_construction')
+        RESPONSE.redirect(p.absolute_url() + '/finish_portal_construction.pt')


=== CMF/CMFDefault/SkinnedFolder.py 1.6 => 1.6.4.1 ===
                                 , { 'id'            : 'edit'
                                   , 'name'          : 'Edit'
-                                  , 'action'        : 'folder_edit_form'
+                                  , 'action'        : 'folder_edit_form.pt'
                                   , 'permissions'   :
                                      (CMFCorePermissions.ManageProperties,)
                                   , 'category'      : 'folder'
                                   }
                                 , { 'id'            : 'syndication'
                                   , 'name'          : 'Syndication'
-                                  , 'action'        : 'synPropertiesForm'
+                                  , 'action'        : 'synPropertiesForm.pt'
                                   , 'permissions'   :
                                      (CMFCorePermissions.ManageProperties,)
                                   , 'category'      : 'folder'
                                   }
                                 , { 'id'            : 'foldercontents'
                                   , 'name'          : 'Folder contents'
-                                  , 'action'        : 'folder_contents'
+                                  , 'action'        : 'folder_contents.pt'
                                   , 'permissions'   : 
                                      (CMFCorePermissions.ListFolderContents,)
                                   , 'category'      : 'folder'