From ce55e80bb47d91c11eada488e0e352472553ece9 Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Thu, 17 Apr 2025 14:31:52 +0530 Subject: [PATCH] chore: Add the support for xml file in attachment (#11328) # Pull Request Template ## Description Please include a summary of the change and issue(s) fixed. Also, mention relevant motivation, context, and any dependencies that this change requires. Fixes # (issue) ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality not to work as expected) - [ ] This change requires a documentation update ## How Has This Been Tested? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. ## Checklist: - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --- app/javascript/shared/constants/messages.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/shared/constants/messages.js b/app/javascript/shared/constants/messages.js index b827216a5..e0a57b11c 100644 --- a/app/javascript/shared/constants/messages.js +++ b/app/javascript/shared/constants/messages.js @@ -44,6 +44,7 @@ export const ALLOWED_FILE_TYPES = 'video/*,' + '.3gpp,' + 'text/csv, text/plain, application/json, application/pdf, text/rtf,' + + 'application/xml, text/xml,' + 'application/zip, application/x-7z-compressed application/vnd.rar application/x-tar,' + 'application/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/vnd.oasis.opendocument.text,' + 'application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,' +