Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

[SDPAP-7716] Added managed file element type and related settings. #82

Open
wants to merge 17 commits into
base: develop
Choose a base branch
from

Conversation

MdNadimHossain
Copy link
Contributor

@MdNadimHossain MdNadimHossain commented Apr 27, 2023

JIRA

https://digital-vic.atlassian.net/browse/SDPAP-7716
https://digital-vic.atlassian.net/browse/SDPAP-7717

Changes

  1. Added file upload element and custom validations related to this field type.
  2. Added custom filter to filter out the submissions based on the attachment.
  3. Added service to block deleting files using json api.
  4. Added new webform rest module and dependant module to allow uploading file using POST from FE.
  5. Updated webfrom info to put hard requirement on the related module, cause those modules will be required for file upload feature and file upload element will be added for all projects.

Test env - https://nginx-php.pr-254.content-reference-sdp-vic-gov-au.sdp4.sdp.vic.gov.au/

class: Drupal\tide_webform\Routing\JsonapiLimitingRouteSubscriber
tags:
- { name: event_subscriber }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added this service to block deleting files using json api

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants