Product that allows mass-upload of files and images.
Project description
Plone Flash Upload
Plone Flash Upload is a Plone add-on product which adds an upload tab to folders which takes the user to an upload form. This upload form uses a flash applet to provide the ability to upload multiple files simultaneously.
Requirements
The 1.1 version only works on plone 3.0. Also you’ll apparently need zope 2.10.5 as otherwise lib/python packaged can’t be in the Products namespace.
Zope 2.10.5+
Plone 3.0.x
Installation
Option one: use buildout and specify ‘Products.PloneFlashUpload’ as an egg dependency. (Or depend on it in your own product’s setup.py).
Option two: simply extract downloaded archive into the $INSTANCE_HOME/lib/python directory and (re)start Zope.
Once Zope is running, go to the Plone site’s Add/Remove Products configuration screen and install the PloneFlashUpload product.
Basic Usage
After installation of the product is complete, go to any folder within the plone site and a new upload tab should be present if the current user has access to add new files to the folder.
Additional Notes
The flash applet has been tested (and runs successfully) on MSIE6, MSIE7, Firefox 1.5 (WinXP), Firefox 2.0 (WinXP/Linux) and various Safari and Firefox versions on MacOSX. If a particular browser is found not to work, please submit an issue to the issue tracker.
Any file that is uploaded will try to use the content type registry to determine what portal type should be the result of the file being uploaded (ie jpg’s created as Image’s and random binary files created as File’s). It should be observed though that only portal types defined within the PFU configlet are possible candidates (ie add more here if you have additional custom types you are using and have registered with CTR).
Issue Tracker, SVN, Other Resources
- Project Homepage
- Issue Tracker
- Source Control Repository
Testing
To run the Plone Flash Upload tests you must use the standard Zope testrunner:
$INSTANCE_HOME/bin/zopectl test -s Products.PloneFlashUpload
SWFUpload integration
Attempting to wedge SWFUpload 2.2 into PloneFlashUpload in an effort to resolve problems with Flash 10.
Status
First pass integration of SWFUpload 2.2.0 Beta 2 using. Largely replicates the original behavior of PloneFlashUpload. Targeting:
Plone 3.1 (Uses jquery - support for older versions of Plone would require jquery to be included.)
Flash 9 or 10. (SWFUpload version 2.2 drops support for Flash 8.)
Next up is a wider browser testing. Tested and works with:
Flash 9,0,124,0, Mac OS X 10.5, Safari 3.1 and Firefox 3.0
Flash 10, Windows x64, Firefox 3.0, IE 7, Chrome 0.3.154.9
Flash 9,0,124,0, Windows XP SP 2, IE 7
Todo
Wider browser based testing.
Update documentation to reference use of SWFUpload and it’s licensing.
Style the Upload queue.
Move the JavaScript into resource registries.
Provide a simple switch to enable debug.
Use SWFObject for loading the Flash object to provide warnings about old versions of Flash? Is there already a SWFObject plugin for Plone?
License
This product and it’s contents are covered under the Zope Public License (ZPL). More information can be found in LICENSE.txt.
Credits and Copyrights
This product was created by Rocky Burt (rocky AT serverzen.com) on behalf of 4teamwork (http://4teamwork.ch) and Jazkarta (http://www.jazkarta.com).
Extra kudos to the author(s) of z3c.widget.flashupload which PloneFlashUpload uses as the source of the actual flash applet.
Reinout van Rees has updated the product for plone 3.0 and turned it into an egg for Zest software.
Ramon Bartl, inquant, made it compatible with flash 10 and fixed lots of bugs (sponsored by http://www.innovationz.org).
Changelog
1.2rc (2009-01-16)
ticket.py (issueTicket): added try..except block to fix AttributeError: getName - with the admin zope user. [ramonski]
profiles/default/actionicons.xml: added configlet icon. This fixes #27 - Can’t find the configlet [ramonski]
profiles/default/contenttyperegistry.xml: added contenttyperegistry. This fixes #34 - uppercase file extension [ramonski]
profiles/default/controlpanel.xml: renamed new configlet to be not deleted by the import_steps seetuphandlers. This fixes also #27 - Can’t find the configlet. [ramonski]
Added SWFUpload 2.2 into PloneFlashUpload in an effort to resolve problems with Flash 10. See http://swfupload.org/. [ramonski]
1.1 (2008-11-10)
Releasing 1.1 final as there’s a 1.2 branch coming up with a good change. [reinout]
Correctly use i18n_domain in configure.zcml. [maurits]
Link fixed in README [reinout]
Release 1.1 beta2 (2007-12-13)
I stupidly forgot to do an svn up so that the z3c.widget.flashupload didn’t get included… [reinout]
Release 1.1 beta1 (2007-12-12)
Switched from being a Product to a lib/python library. [reinout]
Switched to genericsetup for the definition of our actions. [Reinout van Rees]
First rough update to get it working on plone 3.0 [reinout]
Release 1.0 final (2007-06-05)
Miscellaneous
If flash is not supported by the browser the reported error message is now in bright red (higher visibility). Also, the upload button is disabled and greyed out. [Rocky Burt]
Bugs
Fixed issue #7: IE7 now properly refreshes the page after successful upload. [Rocky Burt]
Fxied issue #8: Files with accented characters in their filenames are now uploaded properly. [Rocky Burt]
Fixed issue #1: Upload tab will no longer show up on folders that can’t have File’s uploaded to it. [Rocky Burt]
Fixed issue #2: Fixed issue where in IE7 when multiple files are uploaded only the first one was successfully uploaded. Multiple files can now be uploaded properly. [Rocky Burt]
Fixed issue #4: Uploading now works on ATBTreeFolder’s too. [Rocky Burt]
Release 1.0beta1 (2007-05-14)
First release, basic functionality in place
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
Hashes for Products.PloneFlashUpload-1.2rc.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e975fab2bfa26c38b3c487dfc7c4b7b6b85f472706df8e725376912ef544fd0 |
|
MD5 | 8f3f6ccfeefee88f379a4bf5bf37aa3c |
|
BLAKE2b-256 | b510040b1590c3897148c4517e921cabae162f961f718acca22986b18d95a201 |