Skip to main content

Access the filesystem from Plone

Project description

Introduction

Reflecto is a tool to incorporate part of the file system into a Plone site. It allows you to browse through a filesystem hierarchy and access the files in it. Files are represented as simple downloadable object, not as full CMF or Plone content types.

Requirements

  • Plone 3.1 or later

  • TextIndexNG3 is optional, but needed to index non-text files.

Filename policies

Filenames must be valid Zope ids. In addition, filenames starting with a dot, or with ‘@@’ are also deemed invalid. Files with names not matching these criteria will be ignored.

This means that filenames must basically be ASCII characters only, and not start with aq_, @@, . or _, not end with __ nor contain a +.

More information

For new releases please visit the Reflecto product page on plone.org.

Please report bugs and feature requests in the Reflecto issue tracker.

Credits

Funding

Trolltech

Design and Development –

Jarn Wichert Akkerman, Martijn Pieters

Universal Encoding Detector

Mark Pilgrim, Netscape Communications Corporation

Changelog

2.4 - June 19, 2009

  • Do no index filesystem data when running in life mode. This guarantees no stale data will be in the catalog. [wichert]

  • Do not add trailing slash to file URLs in the folder contents view. This makes sure the base URL is correct, and relative paths in html files work correctly. [wichert]

  • Move the file-specific mime type logic to the ReflectoFile class, and make the default implementation always return application/octet-stream. This fixes problems with indexing of directories. [wichert]

2.2 - April 16, 2009

  • Use the mimetypes_registry tool to find the content-type of a file, only falling back to the system mimetype registry if the tool can not identify the file. [wichert]

  • Set the Content-Type header correctly for file downloads. [wichert]

2.1 - August 5, 2008

  • Return an empty list instead of raising an exception which triggers a site error when accessing a reflector which tries to use a path which does not exist on the filesystem. The old behaviour was non-intuitive for users and made migrating sites extremely hard. [wichert]

  • Update TextIndexNG3 support code to include the Title (ie the filename) of an object in SearchableText. [wichert]

  • Make Reflecto an ATCT content types to make it integrate better with Plone. This was triggered by Reflecto instances inheriting the excludeFromNav data from their parent which made them not appear in the site navigation for mysterious reasons. [wichert]

  • Fix Last-Modified header format. [elro]

  • Add webdav support. [elro]

  • Lowercase filenames before looking up the mime-type. This fixes incorrect mime-types for uppercase filenames. [wichert]

  • Remove the properties alias from the Reflector type. This is obsolete in Plone 3.x. [wichert]

  • Add CSRF authenticator to the folder_contents page. This means Reflecto now requires Plone 3.1, or Plone 3.0 with the CSRF hotfix. This fixes http://plone.org/products/reflecto/issues/30 . [wichert]

2.0 (Released 2008/05/14)

  • Use the correct title for the folder_contents buttons. [wichert]

  • Add support for downloading folders as zip files. [wichert]

  • If CacheSetup is installed allow users to tweak cache rules for individual Reflector instances. [wichert]

  • Prevent CR/LF conversion when uploading files on Windows. This fixes bug 22 (see http://plone.org/products/reflecto/issues/22 ). [wichert]

  • Port to Plone 3. [wichert]

  • Add a ‘live’ option which makes Reflecto show live filesystem data instead of catalogued data. [wichert]

  • Correct the Plone version test. This fixes bug 11 (see http://plone.org/products/reflecto/issues/11 ). [wichert]

1.2 (Released 2007/09/05)

  • Changed the permission mask from 600 to 644 [FinnArild]

  • Issue #1: Include the Title in SearchableText. [mj]

  • Issue #2: Add a SearchableText implementation for Directories, returing the Title. [mj]

  • Updated Install method to use the CMF 2.1 GenericSetup interface if Plone 3 is being used. [wichert]

  • Updated imports which current Zope 3 deprecated [wichert]

  • Updated tests to support Archetypes 1.5 as used by Plone 3.0 [wichert]

  • Updated @@index view mockup registration in directory tests for Plone 3.0 [mj]

  • Fixed contents tab for Plone 3.0 [mj]

1.1 (Released 2007/06/28)

  • Fixed uploading files and directory creation in subdirectories [mj]

1.0 (Released 2007/06/27)

  • Initial release [mj]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.Reflecto-2.3.zip (337.2 kB view details)

Uploaded Source

File details

Details for the file Products.Reflecto-2.3.zip.

File metadata

File hashes

Hashes for Products.Reflecto-2.3.zip
Algorithm Hash digest
SHA256 fce9e2372bc7cf22d0257bf5801070cd82c7381fccab2562fc0131eee97d576d
MD5 99f7b07c9db15bdf846a7dd183c0b914
BLAKE2b-256 c7c2ba5c8749083b9910b0f77941b389c283401c0e27eabb5c22d64805b65c62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page