https://github.com/redturtle/collective.limitfilesizepanel
Configure files and images size limit through Plone control panel
https://github.com/redturtle/collective.limitfilesizepanel
Last synced: 12 months ago
JSON representation
Configure files and images size limit through Plone control panel
- Host: GitHub
- URL: https://github.com/redturtle/collective.limitfilesizepanel
- Owner: RedTurtle
- Created: 2012-08-01T10:45:47.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2024-02-13T09:43:20.000Z (over 2 years ago)
- Last Synced: 2025-07-11T05:07:46.304Z (12 months ago)
- Language: Python
- Homepage: http://plone.org/products/collective.limitfilesizepanel/
- Size: 242 KB
- Stars: 2
- Watchers: 14
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
This is an helper package that setup a RedTurtle's Plone site ready to work with Volto.
|python| |version| |ci| |coverage| |downloads| |license|
.. |python| image:: https://img.shields.io/pypi/pyversions/collective.limitfilesizepanel.svg
:target: https://pypi.python.org/pypi/collective.limitfilesizepanel/
.. |version| image:: http://img.shields.io/pypi/v/collective.limitfilesizepanel.svg
:target: https://pypi.python.org/pypi/collective.limitfilesizepanel
.. |ci| image:: https://github.com/RedTurtle/collective.limitfilesizepanel/actions/workflows/tests.yml/badge.svg
:target: https://github.com/RedTurtle/collective.limitfilesizepanel/actions
.. |downloads| image:: https://img.shields.io/pypi/dm/collective.limitfilesizepanel.svg
:target: https://pypi.org/project/collective.limitfilesizepanel/
.. |license| image:: https://img.shields.io/pypi/l/collective.limitfilesizepanel.svg
:target: https://pypi.org/project/collective.limitfilesizepanel/
:alt: License
.. |coverage| image:: https://coveralls.io/repos/github/redturtle/collective.limitfilesizepanel/badge.svg?branch=master
:target: https://coveralls.io/github/redturtle/collective.limitfilesizepanel?branch=main
:alt: Coverage
Introduction
============
This product allows you to set a max siza validation for file and image fields in content-types.
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. Also in TinyMCE text editor.
.. image:: https://raw.githubusercontent.com/RedTurtle/collective.limitfilesizepanel/93abb025ecae1070e28ead13874fc07dc25de52e/docs/collective.limitfilesizepanel-1.3-01.png
:alt: Settings
Advanced use
------------
While default general purpose file and image settings can be OK for most common scenarios,
you can also define custom settings for specific content types: just fill the
"**Settings for other content types and fields**" section.
.. image:: https://raw.githubusercontent.com/RedTurtle/collective.limitfilesizepanel/93abb025ecae1070e28ead13874fc07dc25de52e/docs/collective.limitfilesizepanel-1.3-02.png
:alt: Type's settings
Configuration in that section wins over global configuration.
Validator bypass
================
If some users need to bypass the validation and upload some larger files, there is a new permission
"*collective.limitfilesizepanel: Bypass limit size*" that allows to do this.
You only need to set this permission to some roles, and they'll have no upload limits.
Compatibility
=============
This products runs on Python3 and has been tested on:
* Plone 5.2
For older versions, please refer to 2.x branch/tags
Credits
=======
Developed with the support of:
* `Regione Emilia Romagna`__
* `Province of Vicenza`__
.. image:: http://www.provincia.vicenza.it/logo_provincia_vicenza.png
:alt: Province of Vicenza - logo
All of them supports the `PloneGov initiative`__.
__ http://www.regione.emilia-romagna.it/
__ http://www.provincia.vicenza.it/
__ http://www.plonegov.it/
Authors
=======
This product was developed by RedTurtle Technology team.
.. image:: http://www.redturtle.it/redturtle_banner.png
:alt: RedTurtle Technology Site
:target: http://www.redturtle.it/