A file content type for gov usecases
Project description
Overview
========
This is a file content for plone which provides some usefull functions, such as:
- Write downloader-name in history (ftw.journal)
- Image preview
- New FileField (stores more informations in the RESPONSE header)
Install
=======
- Add ``ftw.file`` to yout buidlout configuration
::
[instance]
eggs =
ftw.file
- Run buildout
- Install ``ftw.file`` in portal_setup
Links
=====
- Package repository: https://github.com/4teamwork/ftw.file
- Issue tracker: https://github.com/4teamwork/ftw.file/issues
- Package on pypi: http://pypi.python.org/pypi/ftw.file
- Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.file
Copyright
=========
This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_.
``ftw.file`` is licensed under GNU General Public License, version 2.
.. image:: https://cruel-carlota.pagodabox.com/80251b972c0dc6e8dc874e620780619e
:alt: githalytics.com
:target: http://githalytics.com/4teamwork/ftw.file
Changelog
=========
1.7.0 (2013-07-18)
------------------
- Drop Plone 4.1 support.
[jone]
- File download: redirect to URL containing filename.
This allows us to easily track downloads in statistics tools.
[jone]
- Redirect users without any modifying permissions (without editable border)
to the download when not hitting a specific view.
Also add File back to allowAnonymousViewAbout for making sure that /view
is added in the navigation.
[jone]
1.6.4 (2013-06-04)
------------------
- Fix Upgradestep.
[tschanzt]
1.6.3 (2013-05-31)
------------------
- Add additional Schemata for removal since it was renamed.
[tschanzt]
- Add permission to edit advanced fields.
[tschanzt]
1.6.2 (2013-05-17)
------------------
- Hide author in file view if anonymous and allowAnonymousViewAbout is False.
[Julian Infanger]
1.6.1 (2013-04-17)
------------------
- Lawgiver support: map permissions.
[jone]
1.6 (2013-01-21)
----------------
- Drop Plone 4.0 support.
[jone]
- Hide view action for file.
[Julian Infanger]
1.5 (2012-10-16)
----------------
- Add missing dependency in setup.py
[tschanzt]
- use new document_date instead of effectiveDate.
[tschanzt]
1.4.12 (2012-05-09)
-------------------
- Show time too on contenthostory viewlet.
[mathias.leimgruber]
1.4.11 (2012-05-01)
-------------------
- Readded i18n:translate for content history viewlet action.
[mathias.leimgruber]
1.4.10 (2012-04-30)
-------------------
- Fixed filename in response header for download.
[Julian Infanger]
1.4.9 (2012-03-12)
------------------
- Table head should be in thead, body in tbody.
[Julian Infanger]
1.4.8 (2012-03-05)
------------------
- Added plone default classes to tables.
[Julian Infanger]
1.4.7 (2011-12-21)
------------------
- The image preview, should no be squarish.
[mathias.leimgruber]
1.4.6 (2011-12-21)
------------------
- Fixed MANIFEST.in (include *.rst)
[mathias.leimgruber]
1.4.5 (2011-12-21)
------------------
- add test for is_image method in FileView
[eschmutz]
- fix: error when uploading a not scalable image mimetype (i.e. .dwg)
we now check for allowed mimetypes to fix the error
[eschmutz]
1.4.4 (2011-08-22)
------------------
1.4.3 (unreleased)
------------------
- created imagepreview in file_view
[ttschanz]
- Added registry.xml for user_ids field.
[mathias.leimgruber]
- Added setFilename() method.
[Thomas Buchberger]
1.4.2
-----
- First move effectiveDate field to default schemata, then change write
permissions on all other fields (except default schemata)
[31.05.2011, mathias.leimgruber]
1.4.1
-----
- Do not show specific users in Journal
[16.02.2011, ttschanz]
1.4
---
- Show Journal to members with Reader-role.
[mathias.leimgruber]
1.3
---
- Link to author's site
[mathias.leimgruber]
- Removed styles, this should be done by theme
[mathias.leimgruber]
- Some translations / Added default_method to effectiveDate.
[mathias.leimgruber]
1.2
---
1.1
---
1.0
---
- Initial release
========
This is a file content for plone which provides some usefull functions, such as:
- Write downloader-name in history (ftw.journal)
- Image preview
- New FileField (stores more informations in the RESPONSE header)
Install
=======
- Add ``ftw.file`` to yout buidlout configuration
::
[instance]
eggs =
ftw.file
- Run buildout
- Install ``ftw.file`` in portal_setup
Links
=====
- Package repository: https://github.com/4teamwork/ftw.file
- Issue tracker: https://github.com/4teamwork/ftw.file/issues
- Package on pypi: http://pypi.python.org/pypi/ftw.file
- Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.file
Copyright
=========
This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_.
``ftw.file`` is licensed under GNU General Public License, version 2.
.. image:: https://cruel-carlota.pagodabox.com/80251b972c0dc6e8dc874e620780619e
:alt: githalytics.com
:target: http://githalytics.com/4teamwork/ftw.file
Changelog
=========
1.7.0 (2013-07-18)
------------------
- Drop Plone 4.1 support.
[jone]
- File download: redirect to URL containing filename.
This allows us to easily track downloads in statistics tools.
[jone]
- Redirect users without any modifying permissions (without editable border)
to the download when not hitting a specific view.
Also add File back to allowAnonymousViewAbout for making sure that /view
is added in the navigation.
[jone]
1.6.4 (2013-06-04)
------------------
- Fix Upgradestep.
[tschanzt]
1.6.3 (2013-05-31)
------------------
- Add additional Schemata for removal since it was renamed.
[tschanzt]
- Add permission to edit advanced fields.
[tschanzt]
1.6.2 (2013-05-17)
------------------
- Hide author in file view if anonymous and allowAnonymousViewAbout is False.
[Julian Infanger]
1.6.1 (2013-04-17)
------------------
- Lawgiver support: map permissions.
[jone]
1.6 (2013-01-21)
----------------
- Drop Plone 4.0 support.
[jone]
- Hide view action for file.
[Julian Infanger]
1.5 (2012-10-16)
----------------
- Add missing dependency in setup.py
[tschanzt]
- use new document_date instead of effectiveDate.
[tschanzt]
1.4.12 (2012-05-09)
-------------------
- Show time too on contenthostory viewlet.
[mathias.leimgruber]
1.4.11 (2012-05-01)
-------------------
- Readded i18n:translate for content history viewlet action.
[mathias.leimgruber]
1.4.10 (2012-04-30)
-------------------
- Fixed filename in response header for download.
[Julian Infanger]
1.4.9 (2012-03-12)
------------------
- Table head should be in thead, body in tbody.
[Julian Infanger]
1.4.8 (2012-03-05)
------------------
- Added plone default classes to tables.
[Julian Infanger]
1.4.7 (2011-12-21)
------------------
- The image preview, should no be squarish.
[mathias.leimgruber]
1.4.6 (2011-12-21)
------------------
- Fixed MANIFEST.in (include *.rst)
[mathias.leimgruber]
1.4.5 (2011-12-21)
------------------
- add test for is_image method in FileView
[eschmutz]
- fix: error when uploading a not scalable image mimetype (i.e. .dwg)
we now check for allowed mimetypes to fix the error
[eschmutz]
1.4.4 (2011-08-22)
------------------
1.4.3 (unreleased)
------------------
- created imagepreview in file_view
[ttschanz]
- Added registry.xml for user_ids field.
[mathias.leimgruber]
- Added setFilename() method.
[Thomas Buchberger]
1.4.2
-----
- First move effectiveDate field to default schemata, then change write
permissions on all other fields (except default schemata)
[31.05.2011, mathias.leimgruber]
1.4.1
-----
- Do not show specific users in Journal
[16.02.2011, ttschanz]
1.4
---
- Show Journal to members with Reader-role.
[mathias.leimgruber]
1.3
---
- Link to author's site
[mathias.leimgruber]
- Removed styles, this should be done by theme
[mathias.leimgruber]
- Some translations / Added default_method to effectiveDate.
[mathias.leimgruber]
1.2
---
1.1
---
1.0
---
- Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ftw.file-1.7.0.zip
(53.8 kB
view hashes)