chatwoot/app/javascript/shared/constants
Aakash Bakhle bef25781de
feat(attachments): add XML and PFX file support (#14539)
Update frontend allowed file types and FileIcon mapping, and backend
Attachment constants to accept .xml and .pfx files

# Pull Request Template

## Description
Customer also wanted XML support along with .pfx

Following up on #14456

## Type of change

- [x] New feature (non-breaking change which adds functionality)

## 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.
locally

<img width="864" height="512" alt="CleanShot 2026-05-22 at 11 43 20@2x"
src="https://github.com/user-attachments/assets/4cbf65d4-b919-4a4b-bf75-a4f2e8690586"
/>

<img width="870" height="1440" alt="CleanShot 2026-05-22 at 11 44 03@2x"
src="https://github.com/user-attachments/assets/e763b49d-4365-4c45-9b43-b0c39af87656"
/>


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules
2026-05-22 11:55:16 +05:30
..
busEvents.js fix: Reduce unnecessary label suggestion API calls (#12978) 2025-12-01 13:36:34 +05:30
campaign.js feat: One off campaign UI (#2621) 2021-07-15 13:31:43 +05:30
contentType.js chore: Add an indicator for incoming emails (#1112) 2020-08-01 20:56:47 +05:30
countries.js chore: Update Guyana's country dial code from +595 to +592 (#12510) 2025-09-24 12:42:15 +05:30
links.js feat: TikTok channel (#12741) 2025-12-17 07:54:50 -08:00
locales.js feat: Portals store integration (#5185) 2022-08-08 15:47:32 +05:30
messages.js feat(attachments): add XML and PFX file support (#14539) 2026-05-22 11:55:16 +05:30
sharedFrameEvents.js feat: Add the SDK method to programatically toggle live chat bubble (#4223) 2022-05-06 19:30:48 +05:30