{ "info": { "author": "Jonas Baumann", "author_email": "j.baumann@4teamwork.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 4.3", "Framework :: Plone :: 5.0", "Framework :: Plone :: 5.1", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "Introduction\n============\n\n.. image:: https://secure.travis-ci.org/plone/plone.formwidget.multifile.svg?branch=master\n :target: http://travis-ci.org/plone/plone.formwidget.multifile\n\n.. image:: https://coveralls.io/repos/plone/plone.formwidget.multifile/badge.svg?branch=master\n :target: https://coveralls.io/r/plone/plone.formwidget.multifile\n\n.. image:: https://img.shields.io/pypi/dm/plone.formwidget.multifile.svg\n :target: https://pypi.python.org/pypi/plone.formwidget.multifile/\n :alt: Downloads\n\n.. image:: https://img.shields.io/pypi/v/plone.formwidget.multifile.svg\n :target: https://pypi.python.org/pypi/plone.formwidget.multifile/\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/status/plone.formwidget.multifile.svg\n :target: https://pypi.python.org/pypi/plone.formwidget.multifile/\n :alt: Egg Status\n\n.. image:: https://img.shields.io/pypi/l/plone.formwidget.multifile.svg\n :target: https://pypi.python.org/pypi/plone.formwidget.multifile/\n :alt: License\n\n\n`plone.formwidget.multifile` is a z3c.form-widget which lets users\nupload multiple files, either at once, or in batches using repeated form\nsubmissions.\n\nBrowsers that do not implement the file input \"multiple\" attribute are\nsupported via javascript adding of multiple file inputs. This also works\nwith browsers that do support \"multiple\", and allows users to add and\nremove files in bundles. Upload does not occur until the form is saved.\n\n\nUsage\n-----\n\nUsing the widget is quite easy::\n\n >>> from plone.directives import form as directivesform\n >>> from plone.formwidget.multifile import MultiFileFieldWidget\n >>> from plone.namedfile.field import NamedFile\n >>> from zope import schema\n >>> from zope.interface import Interface\n >>>\n >>> class IMySchema(Interface):\n ... \"\"\"My schema interface\"\"\"\n ...\n ... directivesform.widget(files=MultiFileFieldWidget)\n ... files = schema.List(title=u'Files',\n ... value_type=NamedFile())\n\n\nLimitations\n-----------\n\nWe do not yet support ordering.\nThere is no fallback for non-html5, non-javascript browsers. They will\nonly be able to upload 1 file at a time.\n\nChangelog\n=========\n\n2.0 (2016-08-31)\n----------------\n\nIncompatibilities:\n\n- Instead of ``zope.app.file.interfaces.IFile`` use ``plone.namedfile.interfaces.IFile``.\n [thet]\n\n- Fix missing Javascript call that breaks the widget\n [laulaz]\n\n- Add French and Dutch translations\n [laulaz]\n\n- Add travis & coveralls hook\n [tomgross]\n\n- Plone 5.0 support\n [tomgross]\n\n1.1 (2014-03-24)\n----------------\n\n- Added Spanish (es) and Basque (eu) translation\n [erral]\n\n- Added PO file generation script\n [erral]\n\n- Use similar pattern to plone.formwidget.namedfile for the data converter.\n [gaudenz]\n\n- Add @@download BrowserView for file downloads\n [gaudenz]\n\n- Base widget on z3c.form.widget.Widget instead of MultiWidget. The MultiWidget\n is for combining different widgets into one.\n [gaudenz]\n\n- Don't call update from render. This is not necessary and can lead to unwanted\n side-effects.\n [gaudenz]\n\n- Extract FileUpload objects instead of relying on Widget.extract to do the mostly\n right thing.\n [gaudenz]\n\n- Base files shown by the widget on the actual fields content instead of a mixture\n of request data and converter magic.\n [gaudenz]\n\n- Improve input template and JavaScript\n\n - Append file inputs below the file list to not overwrite existing files\n - Remove Hacks for IE7. They no longer work with recent jQuery versions and\n IE7 is mostly irrelevant by now.\n - Use standard file input widget instead of custom add link. This is what people\n expect and as a bonus is already translated. If people want custom links they can\n still override the template.\n\n - Integrate not yet uploaded files into the same file list.\n [gaudenz]\n\n- Add german translation\n [gaudenz]\n\n1.0a6 (2013-01-22)\n------------------\n\n* Fixed bug: \"add files\" link was opening multiple file dialogs.\n [rafaelbco]\n* Fixed bug: bugfix of the previous release didn't work on IE 7.\n [rafaelbco]\n\n1.0a5 (2013-01-21)\n------------------\n\n* Fixed bug on IE: When an file-input is opened via a scripted, forced click()\n event, IE won't let you submit the form.\n [rafaelbco]\n* Updated pt_BR translation.\n [rafaelbco]\n\n1.0a4 (2012-12-20)\n------------------\n\n* Updated URL on setup.py\n [rafaelbco]\n\n1.0a3 (2012-12-20)\n------------------\n\n* Changed the UI so now there's a link to \"add files\" instead of an standard\n input[type=file] HTML element (which still exists, but is hidden). Users were\n complaining that the old UI was confusing since the textbox of the\n input[type=file] element was always empty.\n [rafaelbco]\n\n1.0a2 (2012-12-20)\n------------------\n\n* Removed integration with jQuery plugin. Instead we use HTML and javascript,\n and when applicable, the \"multiple\" extension from HTML5 which lets a\n user upload multiple files at once.\n [tmog]\n\n* Fix minor bugs on the new non-flash implementation.\n [rafaelbco]\n\n* Removed dependency on plone.app.drafts.\n [rafaelbco]\n\n1.0a1 (2011-09-13)\n------------------\n\n* Initial release", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/plone/plone.formwidget.multifile", "keywords": "", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "plone.formwidget.multifile", "package_url": "https://pypi.org/project/plone.formwidget.multifile/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/plone.formwidget.multifile/", "project_urls": { "Homepage": "https://github.com/plone/plone.formwidget.multifile" }, "release_url": "https://pypi.org/project/plone.formwidget.multifile/2.0/", "requires_dist": null, "requires_python": "", "summary": "z3c.form widget for adding multiple files", "version": "2.0" }, "last_serial": 2315415, "releases": { "1.0a1": [ { "comment_text": "", "digests": { "md5": "a1f487afe61dd67f7f310e25783b9999", "sha256": "6b8fd93a088717cfcf38721ac6b012feb549c680440d205b74f93a72358e3aba" }, "downloads": -1, "filename": "plone.formwidget.multifile-1.0a1.tar.gz", "has_sig": false, "md5_digest": "a1f487afe61dd67f7f310e25783b9999", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42189, "upload_time": "2011-09-13T08:45:13", "url": "https://files.pythonhosted.org/packages/53/11/dd64e446e130c7deb1095310ba42f90dce880e53b498f541aab6c5ad843e/plone.formwidget.multifile-1.0a1.tar.gz" } ], "1.0a2": [ { "comment_text": "", "digests": { "md5": "d042c6a00073549fb06a3f39053eff3d", "sha256": "f0873ef4831d847ea75b17823297e66536379a8debec743581a8d1c780eb3247" }, "downloads": -1, "filename": "plone.formwidget.multifile-1.0a2.zip", "has_sig": false, "md5_digest": "d042c6a00073549fb06a3f39053eff3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18772, "upload_time": "2012-12-20T16:28:11", "url": "https://files.pythonhosted.org/packages/41/29/338fb3fa9ff4db47159cab12c538a28121af0cf3d906c0cee7f6aedc63a2/plone.formwidget.multifile-1.0a2.zip" } ], "1.0a3": [ { "comment_text": "", "digests": { "md5": "11f38f2f5520af4211cec35c709bd189", "sha256": "09691f01e7ff3d2ede16488c72ac05d32b74c06423974737e85e6a2960adb952" }, "downloads": -1, "filename": "plone.formwidget.multifile-1.0a3.zip", "has_sig": false, "md5_digest": "11f38f2f5520af4211cec35c709bd189", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19530, "upload_time": "2012-12-20T16:22:53", "url": "https://files.pythonhosted.org/packages/a1/15/707fcc61a69298a73dada2938284e1328bea64294ae6034c5a80bdea5148/plone.formwidget.multifile-1.0a3.zip" } ], "1.0a4": [ { "comment_text": "", "digests": { "md5": "1261a6442ed4072b4c3f53bc5d4fe175", "sha256": "33cce66e92828a597d04838ef0c5e140b090de5382367b161d8995d9f2266126" }, "downloads": -1, "filename": "plone.formwidget.multifile-1.0a4.zip", "has_sig": false, "md5_digest": "1261a6442ed4072b4c3f53bc5d4fe175", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19629, "upload_time": "2012-12-20T17:45:28", "url": "https://files.pythonhosted.org/packages/23/d3/7472f9ed9fc4a320404b5e74a3c57cac3d75db29311f166a60b85ec795b5/plone.formwidget.multifile-1.0a4.zip" } ], "1.0a5": [ { "comment_text": "", "digests": { "md5": "f9e64333864e2f4f464115fa21a9e32e", "sha256": "69dff4a3bae230a106ec524da8ec0d4c7b6f0ffa0c13178450eafc2ad5893956" }, "downloads": -1, "filename": "plone.formwidget.multifile-1.0a5.zip", "has_sig": false, "md5_digest": "f9e64333864e2f4f464115fa21a9e32e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20593, "upload_time": "2013-01-21T21:06:40", "url": "https://files.pythonhosted.org/packages/f5/ef/26a3922d8b323ba44884def66537dd7b1048e6ed051e53eccee24b6c9030/plone.formwidget.multifile-1.0a5.zip" } ], "1.0a6": [ { "comment_text": "", "digests": { "md5": "256ffcaeba8ddb45f94e32dc000234e0", "sha256": "569a7d3efe799ff18690d794938b831bbce3ad764e388f8a8a1b6eed6d6cf708" }, "downloads": -1, "filename": "plone.formwidget.multifile-1.0a6.zip", "has_sig": false, "md5_digest": "256ffcaeba8ddb45f94e32dc000234e0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20871, "upload_time": "2013-01-22T18:52:12", "url": "https://files.pythonhosted.org/packages/72/de/22a00a6eb993278a87ca9145b7735ddf1c7f9657c8ea784be8570a0057f7/plone.formwidget.multifile-1.0a6.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "3df9518c477796367c4e3b55228925ec", "sha256": "83d46a502bc836c26fa44e7555d01dffcdb91de58d9ad05ddabaded4a3bd5563" }, "downloads": -1, "filename": "plone.formwidget.multifile-1.1.zip", "has_sig": false, "md5_digest": "3df9518c477796367c4e3b55228925ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28920, "upload_time": "2014-03-24T11:16:42", "url": "https://files.pythonhosted.org/packages/75/e5/4f08f5ce2cfecaa5c2e823816b54a130448f3848627d3e84eb004d0fb581/plone.formwidget.multifile-1.1.zip" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "bba60a1d50e88d99b0f822f4283739ac", "sha256": "99162f7158ee1f7d2554c36cf4f8099aa6542e0fcfd88c5f039293e654a88b42" }, "downloads": -1, "filename": "plone.formwidget.multifile-2.0.tar.gz", "has_sig": false, "md5_digest": "bba60a1d50e88d99b0f822f4283739ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12550, "upload_time": "2016-08-31T11:02:17", "url": "https://files.pythonhosted.org/packages/e1/b9/9ad271ffd80387fec6861faa9df1eedd51d75bad496b86885db52382d660/plone.formwidget.multifile-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bba60a1d50e88d99b0f822f4283739ac", "sha256": "99162f7158ee1f7d2554c36cf4f8099aa6542e0fcfd88c5f039293e654a88b42" }, "downloads": -1, "filename": "plone.formwidget.multifile-2.0.tar.gz", "has_sig": false, "md5_digest": "bba60a1d50e88d99b0f822f4283739ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12550, "upload_time": "2016-08-31T11:02:17", "url": "https://files.pythonhosted.org/packages/e1/b9/9ad271ffd80387fec6861faa9df1eedd51d75bad496b86885db52382d660/plone.formwidget.multifile-2.0.tar.gz" } ] }