You are not logged in Log in Join
You are here: Home » Members » Jfarr's Zope Page » Products » Archived Projects » Local File System » CHANGES » View File

Log in
Name

Password

 

CHANGES

File details
Size
6 K
File type
text/plain

File contents

Changes v1.0

	- Fixed regex deprecation warning.

	- Fixed possible IOError on module loadup trying to log exceptions.

	- Fixed acquisition problems with LocalFile and LocalDirectory 
	  objects. DTML rendered from the file system should now work just
	  like DTML in the object database.

	- Fixed a permissions bug with the manage_upload() method. It was 
	  looking for the wrong permission. =(

	- Updated management pages to new Zope look and feel.

	- Removed redundant edit page and manage_edit() method. All properties
	  are now edited through the properties page.
	
	- Added help system documentation.

	- Removed automatic text mode translation. All files are now copied
	  as binary (with a nice little performance boost!)

	- Removed old, crusty win32wnet.pyd.

	- Changed manage_upload() to use a new strategy for determining the
	  object id from the file path. First we check for Unix path seperators.
	  If we find one we grab everything after the last one as the filename.
	  Next we check for Windows and then Mac path separators and hope we
	  never get a Unix path without a Unix path seperator but with one of 
	  these characters ('\' or ':'). Finally, if we never see any kind of 
	  path separator we just assume there is no path and use the whole 
	  thing as the filename. I think this should work for most browsers. :-/

	- Changed object creation protocol. External adapters now receive an
	  open file object instead of a blob of text.

	- Added get_size() and bobobase_modification_time() methods to
	  LocalFile objects.

	- Added new manage_createDirectory() method to LocalDirectory objects
	  (uses the 'Manage local files' permission).

Changes v0.10.1

	- Fixes for Zope 2.3
	
Changes v0.9.6

	- Fixed saving large File and Image objects.

	- Added ZCatalog support.

	- Fixed fileIds, fileItems, fileValues behavior when spec='*/'.
	
	- Added optional 'propagate' parameter to fileItems and fileValues
	  to prevent 'spec' from propagating to the url for child directories.

Changes v0.9.5

	- Fixed bobobase_modification_time.

	- Fixed cross-platform bug calculating object id in manage_upload.

	- Added optional 'id' parameter to manage_upload to allow the
	  caller to specify the new object id.

	- Added optional 'action' parameter to manage_upload to allow
	  redirecting somewhere other than the default 'manage_workspace'.

Changes v0.9.4

	- Really fixed __getitem__ this time. Really.

Changes v0.9.3

	- Fixed a bug in __getitem__ that broke the mapping protocol, 
	  i.e. localfs['subobject'].

	- Fixed a problem with tree tag items from separate localfs instances 
	  affecting each other's state.

	- Prevented exceptions in the localfs tree rendering from crashing the 
	  management interface.

	- Added 'Display in Tree View' option to disable displaying LocalFS
	  objects in the management tree.

	- Added LocalFile properties display_size and display_mtime which return 
	  formatted properties. The size and mtime attributes now return an integer
	  and a DateTime object, respectively. This should make the LocalFile 
	  object more useful for creating custom directory views.
      
Changes v0.9.2

	- Fixed a typo error in __ac_permissions__.

	- Fixed a bug in manage_upload. The 'file' parameter must be a 
	  FileUpload instance. It was accepting a string as input which
	  caused an error.

Changes v0.9.1

	- Added Contents view.

	- Added support for adding and editing objects in the local file 
	  system through the management interface.

	- Added rename, cut, copy, paste, and delete support.

Changes v0.8.1

	- Set modified time on File and Image objects so browser caching works
	  correctly. This also fixes a bug with Zope versions 2.1.5 and later.

	- Eliminated __init__ from factory class. Use __call__(self, id, data).

	- Added file uploading.

Changes v0.7.1

	- Fixed Zope permissions on LocalFS and LocalDirectory objects.

	- Changed the spec parameter to filter directories as well as files.
	  (Use '*/' to include all directories.)

	- Added ability to use LocalFS objects with the tree tag.
  
	- Added object traversal methods: fileIds, fileValues, fileItems.
	  Obsoleted objectIds, objectProps.

	- Renamed FSProps class to LocalFile and added getObject method
	  to get the Zope object from a LocalFile object. This is the object
	  returned by the fileValues and fileItems methods.

	- Added 'type map' property to allow customizing the content-types 
	  and optionally the Zope object class associated with each file 
	  extension.

	- Added 'icon map' property to specify the icon associated with
	  each content-type in directory browse view.

	- Added Help tab.
    
Changes v0.6.1

	- Fixed a bug with filtering in directory browse view.

	- Fixed bogus text/html content-type on non-HTML files.

	- Use a more aggressive search to determine whether files are 
	  binary or text. This causes directory browsing to take a bit 
	  longer but hopefully prevents file corruption problems.

	- Added a Properties tab which allows specifying custom properties.

	- Improved the formatting of directory browse view again with tables.

	- Convert .xml files to XMLDocument objects if the XMLDocument 
	  product is installed.

	- Convert .stx files to StructuredDocument objects if the 
	  StructuredDocument product is installed.

Changes v0.5.1

	- Fixed lots of problems with local permissions. Many thanks to Greg Ward 
	  for his help.

Changes v0.4.1

	- Fixed problems with acquisition.

	- Added the ability to connect to network shares using UNC paths on 
	  win32 only. This does not affect non-Windows platforms. Many thanks 
	  to Jephte CLAIN for submitting this code.

	- Improved the formatting of directory browse view.

	- Added 'default.html' and 'default.htm' to the default document list.

Changes v0.3.1

	- Converted all dtml to 1.x syntax for backward compatibility.

	- Prevented Zope from inserting <base> tag for HTML files.
	
	- Moved icons to misc_/LocalFS/ to avoid name conflicts.

	- Added default document property.

	- Added date and time in directory browse view.

	- Sort directory contents by filename in browse view.
	
Changes v0.2.1

	- Fixed url escaping in directory browse view. Now filenames with
	  spaces and other 'special characters' work correctly.

	- Added filtering by file extension in directory browse view.