[PR #1091] [CLOSED] [FEAT] #1089 Collector: allow more file type extensions #3577

Closed
opened 2026-02-22 18:34:04 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1091
Author: @tobitege
Created: 4/12/2024
Status: Closed

Base: masterHead: 1089-feat-expand-allowed-filetypes


📝 Commits (1)

  • 855da3f Collector: allow more file type extensions

📊 Changes

1 file changed (+10 additions, -1 deletions)

View changed files

📝 collector/utils/constants.js (+10 -1)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #1089

What is in this change?

The constants.js file in the Collector contains a list of allowed file extensions/mimes.
These have been expanded for some common development languages, like C, C#, Javascript, Lua, Pascal, Python and Typescript.
They're all treated as text files.

Additional Information

Tried yarn lint, but it fails in WSL2 with command prettier not found and I'm not a Linux guy.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/1091 **Author:** [@tobitege](https://github.com/tobitege) **Created:** 4/12/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `1089-feat-expand-allowed-filetypes` --- ### 📝 Commits (1) - [`855da3f`](https://github.com/Mintplex-Labs/anything-llm/commit/855da3fd43a8d775c6c105da577a66b562e57af3) Collector: allow more file type extensions ### 📊 Changes **1 file changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `collector/utils/constants.js` (+10 -1) </details> ### 📄 Description ### Pull Request Type - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1089 ### What is in this change? The constants.js file in the Collector contains a list of allowed file extensions/mimes. These have been expanded for some common development languages, like C, C#, Javascript, Lua, Pascal, Python and Typescript. They're all treated as text files. ### Additional Information Tried yarn lint, but it fails in WSL2 with command prettier not found and I'm not a Linux guy. ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated - [ ] I have tested my code functionality - [ ] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:04 -05:00
yindo closed this issue 2026-02-22 18:34:04 -05:00
yindo changed title from [PR #1091] [FEAT] #1089 Collector: allow more file type extensions to [PR #1091] [CLOSED] [FEAT] #1089 Collector: allow more file type extensions 2026-06-05 15:14:09 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3577