Products.localfs

Latest version: v3.1

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.9.4

--------------
- Really fixed __getitem__ this time. Really.

0.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.

0.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.

0.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.

0.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.

0.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.

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.