Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.limitfilesizepanel

How to install collective.limitfilesizepanel

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.limitfilesizepanel
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.2 Available View build log
Windows (64-bit)
1.2 Available View build log
Mac OS X (10.5+)
Linux (32-bit)
1.2 Available View build log
Linux (64-bit)
1.2 Available View build log
 
License
GPL
Lastest release
version 1.2 on Aug 24th, 2013

Introduction

Plone Archetypes framework already gives you a max size validation for files and images, but the default configuration has some drawbacks:

This product will let you customize this validation from Plone user interface.

How to use it

Just add the product to the buildout and install it in the site you want to use.

A new "Limit file size settings" option will be added in the control panel, where you can change the File and Image attachments.

No users will be able to upload files that exceed the limit.

Validator bypass

If some users need to bypass the validation and upload some larger files, there is a new permission "collective.limitfilesizepanel: Manage limit file size settings" that allows to do this.

You only need to set this permission to some roles, and they'll have no upload limits.

Dependencies

This products has been tested on:

  • Plone 3.3
  • Plone 4.2
  • Plone 4.3

It's based on plone.app.registry that it not part of Plone on 3.3 version. You need to be sure that a compatible version is used (in my experience: use version 1.0b1).

Credits

Developed with the support of Regione Emilia Romagna; Regione Emilia Romagna supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

1.2 (2013-08-19)
  • Add German translations. [jone]
  • Ensure consistency of megabyte symbols to be MB. [davidjb]
1.1.2 (2013-03-26)
  • run rolemap configurations when upgrading from older versions [keul]
1.1.1 (2013-03-26)
  • fixed pypi classifiers [keul]
1.1 (2013-03-26)
  • Added a proper uninstall step [keul]

  • Now based on collective.monkeypatcher [keul]

  • i18n refactoring [keul]

  • Do not try to automatically validate file size for already existings attachments.

    This provent to get validation error when editing file after size limit has been changed [keul]

  • Added new permission "collective.limitfilesizepanel: Manage limit file size settings". Users with this permission can bypass size validation [cekk]

1.0 (Unreleased)
  • Initial release

Subscribe to package updates

Last updated Aug 24th, 2013

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.