plone.formwidget.namedfile


Nameplone.formwidget.namedfile JSON
Version 3.1.0 PyPI version JSON
download
home_pagehttps://pypi.org/project/plone.formwidget.namedfile
SummaryImage widget for z3c.form and Plone
upload_time2024-03-15 13:28:46
maintainer
docs_urlNone
authorMartin Aspeli
requires_python>=3.8
licenseGPL
keywords plone image widget z3c.form
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

This package provides z3c.form widgets for file and image upload/download,
with the option of keeping the existing file or replacing it with a new one.

The widgets will act as the default for any NamedFile, NamedBlobFile,
NamedImage or NamedBlobImage field from the plone.namedfile package.


Changelog
=========

.. You should *NOT* be adding new change log entries to this file.
   You should create a file in the news directory instead.
   For helpful instructions, please see:
   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst

.. towncrier release notes start

3.1.0 (2024-03-15)
------------------

New features:


- Add support for the "accept" attribute on file inputs.

  If the widget's field - if there is one - has the "accept" attribute set (the
  `NamedImage` field has `image/*` set by default) then this is rendered as an
  `accept` attribute on the file input.

  This would restrict the allowed file types before uploading while still being
  checked on the server side.

  Fixes: https://github.com/plone/plone.formwidget.namedfile/issues/66
  Depends on: https://github.com/plone/plone.namedfile/pull/158
  [thet] (#67)


3.0.3 (2023-10-18)
------------------

Internal:


- Update configuration files.
  [plone devs] (243ca9ec)


3.0.2 (2023-03-14)
------------------

Bug fixes:


- Test fix: use latin-1 decoded filename in tests with FileUpload.
  [maurits] (#1094)


3.0.1 (2023-02-22)
------------------

Bug fixes:


- Fix deprecation warnings (#58)


3.0.0 (2022-11-30)
------------------

Bug fixes:


- Final release.
  [gforcada] (#600)


3.0.0a5 (2022-05-15)
--------------------

Bug fixes:


- Removed z3c.autoinclude.plugin entrypoint. [maurits] (#3188)


3.0.0a4 (2021-09-15)
--------------------

Bug fixes:


- Fix issue where expired temporary uploads have not been removed when calling FileUploadTemporaryStorage.cleanup() (https://github.com/plone/plone.formwidget.namedfile/issues/52) [fRiSi] (#52)
- Make CLEANUP_INTERVAL patchable and fix condition (https://github.com/plone/plone.formwidget.namedfile/issues/54) (#54)


3.0.0a3 (2021-07-28)
--------------------

New features:


- Add to generate configured Plone image scales on save when environment variable PLONE_SCALE_GENERATE_ON_SAVE=1 is set. With the default Plone configuration, this effectively removes on-demand image scaling on GET requests. [datakurre] (#43)


Bug fixes:


- Fix issue where already uploaded images were lost when file validation error occurs (https://github.com/plone/plone.formwidget.namedfile/issues/46)  [fRiSi] (#46)


3.0.0a2 (2021-06-30)
--------------------

Bug fixes:


- Support for Pillow 8 in tests. [jensens] (#50)


3.0.0a1 (2021-06-14)
--------------------

Bug fixes:


- Fix `NamedFileWidget` bug when trying to create value from `None`. [vangheem] (#35)
- Don't check for hard coded image size in test.
  [agitator] (#40)
- Overhaul for Plone 6: Skip Python 2 compatibility, pyupgrade, isort, black, manual cleanup. [jensens] (#47)


2.1.0 (2020-06-24)
------------------

New features:


- Range support (https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests)
  [mamico] (#44)


2.0.11 (2020-04-20)
-------------------

Bug fixes:


- Minor packaging updates. (#1)


2.0.10 (2019-12-11)
-------------------

Bug fixes:


- set widget value to z3c.form.interfaces.NOT_CHANGED when the user selects 'Keep Existing File' in the widget, so z3c.form understands the field has not changed [flipmcf] (#41)


2.0.9 (2019-03-28)
------------------

Bug fixes:


- Only use the new feature for keeping an already uploaded image when it is a POST request.
  Fixes auto csrf error in `site-controlpanel <https://github.com/plone/Products.CMFPlone/issues/2628>`_
  and `personal-information <https://github.com/plone/Products.CMFPlone/issues/2709>`_ page.
  [maurits] (#2628)


2.0.8 (2019-01-08)
------------------

Bug fixes:


- Close files, so no resource warnings are shown. [gforcada] (#36)
- Initialize towncrier. [gforcada] (#2548)


2.0.7 (2018-11-05)
------------------

Bug fixes:

- Python 2 / 3 compatibility
  [ale-rt, pbauer, davisagli]


2.0.6 (2018-09-26)
------------------

Bug fixes:

- Prepare for Python 2 / 3 compatibility
  [ale-rt, pbauer]

- On form validation errors after submitting, keep the already uploaded image.
  [thet]


2.0.5 (2017-11-26)
------------------

Bug fixes:

- remove mention of "retina" (https://github.com/plone/Products.CMFPlone/issues/2123)
  [tkimnguyen]


2.0.4 (2017-09-05)
------------------

Bug fixes:

- Fixing UnicodeError when the @@z3cform_validate_field view sends
  a filename with type unicode. (collective.easyform in our case)
  [karalics]

2.0.3 (2017-07-03)
------------------

Bug fixes:

- Fix issue where display widget failed to render file fields located
  on form fieldsets, because of broken generated download url
  [datakurre]


2.0.2 (2016-08-15)
------------------

Bug fixes:

- Use zope.interface decorator.
  [gforcada]


2.0.1 (2016-06-07)
------------------

Bug fixes:

- Make the download URL independent of the request URL. The format of the
  URL will always be:
  ``$CONTEXT_URL/[$FORM/]++widget++$WIDGET/@@download[/$FILENAME]``
  [rafaelbco]


2.0.0 (2016-05-09)
------------------

Incompatibilities:

- Removed no longer needed ``thumb_width`` and ``thumb_height`` from
  the image widget.  ``width`` and ``height`` are still there.
  [jladage, maurits]

New:

- On the edit form, show a thumbnail instead of rendering the image in
  full size.  To make this prettier on retina screens, we actually
  load the larger preview scale and let it use the width and height of
  the thumbnail.
  Fixes https://github.com/plone/plone.formwidget.namedfile/issues/21
  [jladage, maurits]

- Use ``plone.app.testing`` in tests.  [maurits]


1.0.15 (2016-03-22)
-------------------

Fixes:

- Fix issue, where NamedFileWidget and NamedImageWidget on
  ``zope.schema.ASCII`` fields cleared the field values on resubmit
  with action ``nochange``.
  Fixes: plone/Products.CMFPlone#1144
  [thet]


1.0.14 (2016-02-12)
-------------------

New:

- Use plone i18n domain.
  See https://github.com/plone/plone.formwidget.namedfile/pull/18
  [staeff]

- Add Finnish translations.
  [petri]

Fixes:

- Specify doctest encoding and make doctest more robust against formatting changes.
  [thet]

- Replace deprecated ``zope.testing.doctestunit`` import with ``doctest`` module from stdlib.
  [thet]


1.0.13 (2015-03-21)
-------------------

- Do not use format() since it will break for Python 2.6.
  [timo]


1.0.12 (2015-02-01)
-------------------

- Add Base64 data converter for NamedImage and NamedFile widgets on ASCII
  fields with base64 encoded data and filename. Now the NamedImage and
  NamedFile widgets can be used with ``zope.schema.ASCII`` fields.
  [thet]

- PEP 8.
  [thet]


1.0.11 (2014-09-29)
-------------------

- Ignore contentType sent by browser for file uploads.
  See https://github.com/plone/plone.formwidget.namedfile/issues/9
  [lgraf]

- The context should be ignored, but not the value if explicitly set.
  plone.multilingual will set the value for language-independent fields
  when translating.
  [regebro]


1.0.10 (2014-05-26)
-------------------

- Catch mimetype exception, avoid site error if mimetype is not recognized.
  [thomasdesvenain]

- Avoid error if widget is not used in acquisition context.
  [thomasdesvenain]

- Add Italian translation
  [giacomos]


1.0.9 (2014-01-27)
------------------

- Fix fr translation for "Remove image".


1.0.8 (2013-12-07)
------------------

- The _mimetype property in NamedFileWidget would fail on attempting
  to render after a validation failure when it tried to lookup a
  mimetype with the wrong method. Result was a malformed mimetype
  exception. Fixes #13798.
  [smcmahon]

- Display icon and content type name on widget.
  [thomasdesvenain]

- Internationalized size on file and image widget.
  [thomasdesvenain]


1.0.7 (2013-08-13)
------------------

- Add optional force parameter to the validate method to match a change
  in the z3c.form API.


1.0.6 (2013-05-26)
------------------

* added dutch translation
  [maartenkling]

1.0.5 (2013-03-05)
------------------

- Nothing changed yet.


1.0.4 (2013-01-01)
------------------

* added french translation
  [tschanzt]

* added danish translation
  https://github.com/plone/plone.formwidget.namedfile/pull/2
  [tmog]

1.0.3 (2012-10-09)
------------------

* Use download_url for display templates also
  [lentinj]

* Fix the download view for widgets whose form has a custom getContent method.
  [davisagli]

1.0.2 (2011-09-24)
------------------
* Added Simplified Chinese translation.
  [jianaijun]

* Added pt_BR translation.
  [rafaelbco, davisagli]

* Additional unit tests for download view
  [lentinj]

1.0.1 (2011-07-02)
------------------

* Don't need to ask parent for widget name anymore, since ++widget++ traverser
  will understand full widget names.
  [lentinj]

1.0 (2011-04-30)
----------------

* Allow field widget to display without absolute_url.
  [elro]

1.0b10 (2011-03-02)
-------------------

* Use what the parent considers to be the widget name if available.
  Without which named images in dexterity behaviors break.
  [lentinj, elro]

1.0b9 (2011-02-11)
------------------

* Fix handling of unicode filenames when converting or quoting the URL.
  Fixes http://code.google.com/p/dexterity/issues/detail?id=148
  [rossp, mj]

* Added Spanish translations.
  [dukebody]

* Added german translations.
  [jbaumann]


1.0b8 (2010-10-01)
------------------

* Avoid showing validation errors during KSS validation, as the file is not
  uploaded in this case.
  [davisagli]

* Don't use the action from the request when the form submission succeeded.
  (In that case we always want "keep existing image")
  [davisagli]

1.0b7 (2010-08-05)
------------------

* Fix Wichert's previous fix to check ignoreContext the correct way.
  [davisagli]

1.0b6 (2010-05-17)
------------------

* Do not query the datamanager if we should ignore the context. Fixes
  http://code.google.com/p/dexterity/issues/detail?id=120
  [wichert]

1.0b5 (2010-04-19)
------------------

* Avoiding reading file uploads to determine their size.
  [wichert]

1.0b4 (2010-04-07)
------------------

* Rename nochange to action, since the field was being used to specify
  which action to take.
  [wichert]

* Disabled state was being applied to the wrong tag (span instead of the
  input) for images and files, and we're not using tabindex anymore.
  [limi]

1.0b3 (2010-01-25)
------------------

* Fix bug where fields that failed validation for requiredness mistakenly
  interpret the empty FileUpload in the request as a real value.
  [davisagli]

* Fix bug where fields were not validated for requiredness or field constraints.
  [davisagli]

* In lieu of real image scaling, at least make sure the thumbnail used on the
  image input widget has the correct aspect ratio.  Fixes
  http://code.google.com/p/dexterity/issues/detail?id=77
  [davisagli]

1.0b2 (2009-09-13)
------------------

* Make the widget more robust to validation errors elsewhere in the form.
  Fixes http://code.google.com/p/dexterity/issues/detail?id=76.
  [optilude]

1.0b1 (2009-08-02)
------------------

* Add option to remove files or images. This fixes dexterity issue #71:
  http://code.google.com/p/dexterity/issues/detail?id=71
  [wichert]


1.0a1 (2009-04-17)
------------------

* Initial release

            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/plone.formwidget.namedfile",
    "name": "plone.formwidget.namedfile",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "plone image widget z3c.form",
    "author": "Martin Aspeli",
    "author_email": "optilude@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/4e/7d/d3a2eff0a7e737ed6b27428e3a3f0eaf6414f795e7a268630919a7e458d9/plone.formwidget.namedfile-3.1.0.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\nThis package provides z3c.form widgets for file and image upload/download,\nwith the option of keeping the existing file or replacing it with a new one.\n\nThe widgets will act as the default for any NamedFile, NamedBlobFile,\nNamedImage or NamedBlobImage field from the plone.namedfile package.\n\n\nChangelog\n=========\n\n.. You should *NOT* be adding new change log entries to this file.\n   You should create a file in the news directory instead.\n   For helpful instructions, please see:\n   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst\n\n.. towncrier release notes start\n\n3.1.0 (2024-03-15)\n------------------\n\nNew features:\n\n\n- Add support for the \"accept\" attribute on file inputs.\n\n  If the widget's field - if there is one - has the \"accept\" attribute set (the\n  `NamedImage` field has `image/*` set by default) then this is rendered as an\n  `accept` attribute on the file input.\n\n  This would restrict the allowed file types before uploading while still being\n  checked on the server side.\n\n  Fixes: https://github.com/plone/plone.formwidget.namedfile/issues/66\n  Depends on: https://github.com/plone/plone.namedfile/pull/158\n  [thet] (#67)\n\n\n3.0.3 (2023-10-18)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (243ca9ec)\n\n\n3.0.2 (2023-03-14)\n------------------\n\nBug fixes:\n\n\n- Test fix: use latin-1 decoded filename in tests with FileUpload.\n  [maurits] (#1094)\n\n\n3.0.1 (2023-02-22)\n------------------\n\nBug fixes:\n\n\n- Fix deprecation warnings (#58)\n\n\n3.0.0 (2022-11-30)\n------------------\n\nBug fixes:\n\n\n- Final release.\n  [gforcada] (#600)\n\n\n3.0.0a5 (2022-05-15)\n--------------------\n\nBug fixes:\n\n\n- Removed z3c.autoinclude.plugin entrypoint. [maurits] (#3188)\n\n\n3.0.0a4 (2021-09-15)\n--------------------\n\nBug fixes:\n\n\n- Fix issue where expired temporary uploads have not been removed when calling FileUploadTemporaryStorage.cleanup() (https://github.com/plone/plone.formwidget.namedfile/issues/52) [fRiSi] (#52)\n- Make CLEANUP_INTERVAL patchable and fix condition (https://github.com/plone/plone.formwidget.namedfile/issues/54) (#54)\n\n\n3.0.0a3 (2021-07-28)\n--------------------\n\nNew features:\n\n\n- Add to generate configured Plone image scales on save when environment variable PLONE_SCALE_GENERATE_ON_SAVE=1 is set. With the default Plone configuration, this effectively removes on-demand image scaling on GET requests. [datakurre] (#43)\n\n\nBug fixes:\n\n\n- Fix issue where already uploaded images were lost when file validation error occurs (https://github.com/plone/plone.formwidget.namedfile/issues/46)  [fRiSi] (#46)\n\n\n3.0.0a2 (2021-06-30)\n--------------------\n\nBug fixes:\n\n\n- Support for Pillow 8 in tests. [jensens] (#50)\n\n\n3.0.0a1 (2021-06-14)\n--------------------\n\nBug fixes:\n\n\n- Fix `NamedFileWidget` bug when trying to create value from `None`. [vangheem] (#35)\n- Don't check for hard coded image size in test.\n  [agitator] (#40)\n- Overhaul for Plone 6: Skip Python 2 compatibility, pyupgrade, isort, black, manual cleanup. [jensens] (#47)\n\n\n2.1.0 (2020-06-24)\n------------------\n\nNew features:\n\n\n- Range support (https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests)\n  [mamico] (#44)\n\n\n2.0.11 (2020-04-20)\n-------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n2.0.10 (2019-12-11)\n-------------------\n\nBug fixes:\n\n\n- set widget value to z3c.form.interfaces.NOT_CHANGED when the user selects 'Keep Existing File' in the widget, so z3c.form understands the field has not changed [flipmcf] (#41)\n\n\n2.0.9 (2019-03-28)\n------------------\n\nBug fixes:\n\n\n- Only use the new feature for keeping an already uploaded image when it is a POST request.\n  Fixes auto csrf error in `site-controlpanel <https://github.com/plone/Products.CMFPlone/issues/2628>`_\n  and `personal-information <https://github.com/plone/Products.CMFPlone/issues/2709>`_ page.\n  [maurits] (#2628)\n\n\n2.0.8 (2019-01-08)\n------------------\n\nBug fixes:\n\n\n- Close files, so no resource warnings are shown. [gforcada] (#36)\n- Initialize towncrier. [gforcada] (#2548)\n\n\n2.0.7 (2018-11-05)\n------------------\n\nBug fixes:\n\n- Python 2 / 3 compatibility\n  [ale-rt, pbauer, davisagli]\n\n\n2.0.6 (2018-09-26)\n------------------\n\nBug fixes:\n\n- Prepare for Python 2 / 3 compatibility\n  [ale-rt, pbauer]\n\n- On form validation errors after submitting, keep the already uploaded image.\n  [thet]\n\n\n2.0.5 (2017-11-26)\n------------------\n\nBug fixes:\n\n- remove mention of \"retina\" (https://github.com/plone/Products.CMFPlone/issues/2123)\n  [tkimnguyen]\n\n\n2.0.4 (2017-09-05)\n------------------\n\nBug fixes:\n\n- Fixing UnicodeError when the @@z3cform_validate_field view sends\n  a filename with type unicode. (collective.easyform in our case)\n  [karalics]\n\n2.0.3 (2017-07-03)\n------------------\n\nBug fixes:\n\n- Fix issue where display widget failed to render file fields located\n  on form fieldsets, because of broken generated download url\n  [datakurre]\n\n\n2.0.2 (2016-08-15)\n------------------\n\nBug fixes:\n\n- Use zope.interface decorator.\n  [gforcada]\n\n\n2.0.1 (2016-06-07)\n------------------\n\nBug fixes:\n\n- Make the download URL independent of the request URL. The format of the\n  URL will always be:\n  ``$CONTEXT_URL/[$FORM/]++widget++$WIDGET/@@download[/$FILENAME]``\n  [rafaelbco]\n\n\n2.0.0 (2016-05-09)\n------------------\n\nIncompatibilities:\n\n- Removed no longer needed ``thumb_width`` and ``thumb_height`` from\n  the image widget.  ``width`` and ``height`` are still there.\n  [jladage, maurits]\n\nNew:\n\n- On the edit form, show a thumbnail instead of rendering the image in\n  full size.  To make this prettier on retina screens, we actually\n  load the larger preview scale and let it use the width and height of\n  the thumbnail.\n  Fixes https://github.com/plone/plone.formwidget.namedfile/issues/21\n  [jladage, maurits]\n\n- Use ``plone.app.testing`` in tests.  [maurits]\n\n\n1.0.15 (2016-03-22)\n-------------------\n\nFixes:\n\n- Fix issue, where NamedFileWidget and NamedImageWidget on\n  ``zope.schema.ASCII`` fields cleared the field values on resubmit\n  with action ``nochange``.\n  Fixes: plone/Products.CMFPlone#1144\n  [thet]\n\n\n1.0.14 (2016-02-12)\n-------------------\n\nNew:\n\n- Use plone i18n domain.\n  See https://github.com/plone/plone.formwidget.namedfile/pull/18\n  [staeff]\n\n- Add Finnish translations.\n  [petri]\n\nFixes:\n\n- Specify doctest encoding and make doctest more robust against formatting changes.\n  [thet]\n\n- Replace deprecated ``zope.testing.doctestunit`` import with ``doctest`` module from stdlib.\n  [thet]\n\n\n1.0.13 (2015-03-21)\n-------------------\n\n- Do not use format() since it will break for Python 2.6.\n  [timo]\n\n\n1.0.12 (2015-02-01)\n-------------------\n\n- Add Base64 data converter for NamedImage and NamedFile widgets on ASCII\n  fields with base64 encoded data and filename. Now the NamedImage and\n  NamedFile widgets can be used with ``zope.schema.ASCII`` fields.\n  [thet]\n\n- PEP 8.\n  [thet]\n\n\n1.0.11 (2014-09-29)\n-------------------\n\n- Ignore contentType sent by browser for file uploads.\n  See https://github.com/plone/plone.formwidget.namedfile/issues/9\n  [lgraf]\n\n- The context should be ignored, but not the value if explicitly set.\n  plone.multilingual will set the value for language-independent fields\n  when translating.\n  [regebro]\n\n\n1.0.10 (2014-05-26)\n-------------------\n\n- Catch mimetype exception, avoid site error if mimetype is not recognized.\n  [thomasdesvenain]\n\n- Avoid error if widget is not used in acquisition context.\n  [thomasdesvenain]\n\n- Add Italian translation\n  [giacomos]\n\n\n1.0.9 (2014-01-27)\n------------------\n\n- Fix fr translation for \"Remove image\".\n\n\n1.0.8 (2013-12-07)\n------------------\n\n- The _mimetype property in NamedFileWidget would fail on attempting\n  to render after a validation failure when it tried to lookup a\n  mimetype with the wrong method. Result was a malformed mimetype\n  exception. Fixes #13798.\n  [smcmahon]\n\n- Display icon and content type name on widget.\n  [thomasdesvenain]\n\n- Internationalized size on file and image widget.\n  [thomasdesvenain]\n\n\n1.0.7 (2013-08-13)\n------------------\n\n- Add optional force parameter to the validate method to match a change\n  in the z3c.form API.\n\n\n1.0.6 (2013-05-26)\n------------------\n\n* added dutch translation\n  [maartenkling]\n\n1.0.5 (2013-03-05)\n------------------\n\n- Nothing changed yet.\n\n\n1.0.4 (2013-01-01)\n------------------\n\n* added french translation\n  [tschanzt]\n\n* added danish translation\n  https://github.com/plone/plone.formwidget.namedfile/pull/2\n  [tmog]\n\n1.0.3 (2012-10-09)\n------------------\n\n* Use download_url for display templates also\n  [lentinj]\n\n* Fix the download view for widgets whose form has a custom getContent method.\n  [davisagli]\n\n1.0.2 (2011-09-24)\n------------------\n* Added Simplified Chinese translation.\n  [jianaijun]\n\n* Added pt_BR translation.\n  [rafaelbco, davisagli]\n\n* Additional unit tests for download view\n  [lentinj]\n\n1.0.1 (2011-07-02)\n------------------\n\n* Don't need to ask parent for widget name anymore, since ++widget++ traverser\n  will understand full widget names.\n  [lentinj]\n\n1.0 (2011-04-30)\n----------------\n\n* Allow field widget to display without absolute_url.\n  [elro]\n\n1.0b10 (2011-03-02)\n-------------------\n\n* Use what the parent considers to be the widget name if available.\n  Without which named images in dexterity behaviors break.\n  [lentinj, elro]\n\n1.0b9 (2011-02-11)\n------------------\n\n* Fix handling of unicode filenames when converting or quoting the URL.\n  Fixes http://code.google.com/p/dexterity/issues/detail?id=148\n  [rossp, mj]\n\n* Added Spanish translations.\n  [dukebody]\n\n* Added german translations.\n  [jbaumann]\n\n\n1.0b8 (2010-10-01)\n------------------\n\n* Avoid showing validation errors during KSS validation, as the file is not\n  uploaded in this case.\n  [davisagli]\n\n* Don't use the action from the request when the form submission succeeded.\n  (In that case we always want \"keep existing image\")\n  [davisagli]\n\n1.0b7 (2010-08-05)\n------------------\n\n* Fix Wichert's previous fix to check ignoreContext the correct way.\n  [davisagli]\n\n1.0b6 (2010-05-17)\n------------------\n\n* Do not query the datamanager if we should ignore the context. Fixes\n  http://code.google.com/p/dexterity/issues/detail?id=120\n  [wichert]\n\n1.0b5 (2010-04-19)\n------------------\n\n* Avoiding reading file uploads to determine their size.\n  [wichert]\n\n1.0b4 (2010-04-07)\n------------------\n\n* Rename nochange to action, since the field was being used to specify\n  which action to take.\n  [wichert]\n\n* Disabled state was being applied to the wrong tag (span instead of the\n  input) for images and files, and we're not using tabindex anymore.\n  [limi]\n\n1.0b3 (2010-01-25)\n------------------\n\n* Fix bug where fields that failed validation for requiredness mistakenly\n  interpret the empty FileUpload in the request as a real value.\n  [davisagli]\n\n* Fix bug where fields were not validated for requiredness or field constraints.\n  [davisagli]\n\n* In lieu of real image scaling, at least make sure the thumbnail used on the\n  image input widget has the correct aspect ratio.  Fixes\n  http://code.google.com/p/dexterity/issues/detail?id=77\n  [davisagli]\n\n1.0b2 (2009-09-13)\n------------------\n\n* Make the widget more robust to validation errors elsewhere in the form.\n  Fixes http://code.google.com/p/dexterity/issues/detail?id=76.\n  [optilude]\n\n1.0b1 (2009-08-02)\n------------------\n\n* Add option to remove files or images. This fixes dexterity issue #71:\n  http://code.google.com/p/dexterity/issues/detail?id=71\n  [wichert]\n\n\n1.0a1 (2009-04-17)\n------------------\n\n* Initial release\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Image widget for z3c.form and Plone",
    "version": "3.1.0",
    "project_urls": {
        "Homepage": "https://pypi.org/project/plone.formwidget.namedfile"
    },
    "split_keywords": [
        "plone",
        "image",
        "widget",
        "z3c.form"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f57a9942330a5cceb6549e40e8028c5672c77b1df564e155200c01b5e18000cc",
                "md5": "90a3edd552f6dc0a9e7518df37a734a6",
                "sha256": "4d126bc84d4f78ed798eed76f3cd3bc2279e27f4423bc4e1f03e5f46a21c7ed1"
            },
            "downloads": -1,
            "filename": "plone.formwidget.namedfile-3.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "90a3edd552f6dc0a9e7518df37a734a6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 34253,
            "upload_time": "2024-03-15T13:28:44",
            "upload_time_iso_8601": "2024-03-15T13:28:44.758016Z",
            "url": "https://files.pythonhosted.org/packages/f5/7a/9942330a5cceb6549e40e8028c5672c77b1df564e155200c01b5e18000cc/plone.formwidget.namedfile-3.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e7dd3a2eff0a7e737ed6b27428e3a3f0eaf6414f795e7a268630919a7e458d9",
                "md5": "88c62fdd8db8f762aaaf3b177b856677",
                "sha256": "302c75ac636a59b1543e516738c87bc682b71287be3c2638fdc4e5ac60cb27fe"
            },
            "downloads": -1,
            "filename": "plone.formwidget.namedfile-3.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "88c62fdd8db8f762aaaf3b177b856677",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 43410,
            "upload_time": "2024-03-15T13:28:46",
            "upload_time_iso_8601": "2024-03-15T13:28:46.829606Z",
            "url": "https://files.pythonhosted.org/packages/4e/7d/d3a2eff0a7e737ed6b27428e3a3f0eaf6414f795e7a268630919a7e458d9/plone.formwidget.namedfile-3.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-15 13:28:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "plone.formwidget.namedfile"
}
        
Elapsed time: 0.20635s