Add a viewlet that appears over the main content when the Upload action button is clicked.
Allows access to the quickuploader functionality without having to set a portlet.
Limitations:
* No config as in the portlet is available (i.e. for portal_type and media type); just upload all
* The Upload action button is shown on any folderish item or default page; availability checker nice to have
Merge remote-tracking branch 'upstream/master' into upload-viewlet
nicer place for the viewlet
updated history
finally, move viewlet to belo title
prepare for conditional showing of Upload action tab
Added a control-panel setting that determines if the Upload action is shown.
Additionally, don't show the Upload action if the upload portlet is present in
the current context
proper way to look for currently active portlets
more explanation text
use proper upgrade step to add new Property
only perform the expensive checking for the portlet if all other previous less expensive checks
were true
of course we also need to add the new action in our upgrade step
Be a lot more defensive about showing the viewlet: 1) only actually render it if the
respective setting in the control panel has been ticked. 2) use display=none on the form,
to make it explicit that it's hidden
don't fail if we can't get the IQuickUploadControlPanel, e.g. during site installation
Update buildout
Move all tests to plone.app.testing
Merge remote-tracking branch 'pysailor/upload-viewlet'