[Zope3-checkins] CVS: Zope3/src/zope/app/ftp - configure.zcml:1.2

Jim Fulton jim@zope.com
Fri, 7 Feb 2003 11:00:07 -0500


Update of /cvs-repository/Zope3/src/zope/app/ftp
In directory cvs.zope.org:/tmp/cvs-serv24670/src/zope/app/ftp

Modified Files:
	configure.zcml 
Log Message:
Implemented HTTP PUT. Do do this, I had to:

- Implement working HTTP publication, request, response

- Change the server setup so that rather than having a Browser
  server and an XML-RPC server, there is an HTTP server that 
  uses:

  o Browser request, response, and publication for browser (GET, POST, 
    and HEAD) requests,

  o XMLRPC request, response, and publication for xml-rpc (POST 
    w content-type=='text/xml') requests,

  o HTTP request, response, and publication for all other HTTP requests.

  XML-RPC now runs on the same port, 8080, as browser requests.

- Implemented HEAD.

- Implemented some simple PUT views that use the
  file-system-reprentation adapter framework. (This is the replacement
  for VFS that is also used by FTP and may be used as part of
  file-system synchronization.) 
  



=== Zope3/src/zope/app/ftp/configure.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/ftp/configure.zcml:1.1	Mon Feb  3 10:08:35 2003
+++ Zope3/src/zope/app/ftp/configure.zcml	Fri Feb  7 10:59:36 2003
@@ -3,7 +3,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="_traverse"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -12,7 +12,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="type"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -21,7 +21,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="names"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -30,7 +30,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="ls"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -39,7 +39,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="readfile"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -48,7 +48,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="lsinfo"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -57,7 +57,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="mtime"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -66,7 +66,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="size"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -75,7 +75,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="mkdir"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -84,7 +84,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="remove"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -93,7 +93,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="rmdir"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -102,7 +102,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="rename"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -111,7 +111,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="writefile"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"
@@ -120,7 +120,7 @@
 <view 
   for="zope.app.interfaces.container.IReadContainer"
   name="writable"
-  type="zope.publisher.interfaces.ftp.IFTPView"
+  type="zope.publisher.interfaces.ftp.IFTPPresentation"
   factory=".FTPView"
   permission="zope.Public"
   allowed_interface="zope.publisher.interfaces.ftp.IFTPDirectoryPublisher"