Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Branch: refs/heads/master Date: 2024-03-14T21:25:17+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.app.z3cform@c52dd4e 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: plone/plone.formwidget.namedfile#66 Depends on: - plone/plone.namedfile#158 - plone/plone.formwidget.namedfile#67 Files changed: A news/198.feature M plone/app/z3cform/templates/file_input.pt M plone/app/z3cform/templates/image_input.pt M setup.py Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-14T23:02:39+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.app.z3cform@c6e1d78 file input: Show accepted media types. Files changed: M plone/app/z3cform/templates/file_input.pt M plone/app/z3cform/templates/image_input.pt Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-15T12:41:28+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.app.z3cform@f7236d3 Update plone/app/z3cform/templates/image_input.pt Co-authored-by: Maurits van Rees <maurits@vanrees.org> Files changed: M plone/app/z3cform/templates/image_input.pt Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-15T12:41:38+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.app.z3cform@5d6d0e7 Update plone/app/z3cform/templates/image_input.pt Co-authored-by: Maurits van Rees <maurits@vanrees.org> Files changed: M plone/app/z3cform/templates/image_input.pt Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-15T12:41:47+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.app.z3cform@e4b11e6 Update plone/app/z3cform/templates/file_input.pt Co-authored-by: Maurits van Rees <maurits@vanrees.org> Files changed: M plone/app/z3cform/templates/file_input.pt Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-15T12:41:54+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.app.z3cform@b45fb30 Update plone/app/z3cform/templates/file_input.pt Co-authored-by: Maurits van Rees <maurits@vanrees.org> Files changed: M plone/app/z3cform/templates/file_input.pt Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-15T14:33:28+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.z3cform@dc8eaac Depend on the just released plone.formwidget.namedfile 3.1.0. Files changed: M setup.py Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-15T14:45:09+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.z3cform@4262f25 Configuring with plone/meta Files changed: A dependabot.yml M .editorconfig M .flake8 M .github/workflows/meta.yml M .gitignore M .meta.toml M .pre-commit-config.yaml M pyproject.toml M tox.ini Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-15T14:50:51+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.z3cform@8b5d2aa dependencychecker: ignore plone.formwidget.namedfile. z3c.dependencychecker says this dependency is not needed, but it is wrong: it is used in widgets.zcml. Files changed: M .meta.toml M pyproject.toml Repository: plone.app.z3cform Branch: refs/heads/master Date: 2024-03-15T16:37:34+01:00 Author: Johannes Raggam (thet) <thetetet@gmail.com> Commit: plone/plone.app.z3cform@f081ed7 Merge pull request #200 from plone/allowed_content_types Add support for accept attribute on file input. Files changed: A dependabot.yml A news/198.feature M .editorconfig M .flake8 M .github/workflows/meta.yml M .gitignore M .meta.toml M .pre-commit-config.yaml M plone/app/z3cform/templates/file_input.pt M plone/app/z3cform/templates/image_input.pt M pyproject.toml M setup.py M tox.ini
- Loading branch information