[PR #818] [MERGED] Feat/customizable file upload config #22708

Closed
opened 2026-02-21 20:19:34 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/818
Author: @MatriQ
Created: 8/12/2023
Status: Merged
Merged: 8/16/2023
Merged by: @takatost

Base: mainHead: feat/customizable-file-upload-config


📝 Commits (3)

  • e613347 feat: customizable file upload config
  • 71ca625 refactor: fontend file type
  • 56bcdee Merge branch 'main' into feat/customizable-file-upload-config

📊 Changes

13 files changed (+122 additions, -83 deletions)

View changed files

📝 api/config.py (+7 -1)
📝 api/controllers/console/datasets/data_source.py (+0 -4)
📝 api/controllers/console/datasets/file.py (+20 -3)
📝 web/app/components/datasets/create/file-preview/index.tsx (+2 -2)
📝 web/app/components/datasets/create/file-uploader/index.tsx (+56 -50)
📝 web/app/components/datasets/create/index.tsx (+5 -5)
📝 web/app/components/datasets/create/step-one/index.tsx (+4 -4)
📝 web/app/components/datasets/create/step-two/index.tsx (+2 -2)
📝 web/i18n/lang/dataset-creation.en.ts (+2 -2)
📝 web/i18n/lang/dataset-creation.zh.ts (+2 -2)
📝 web/models/common.ts (+5 -0)
📝 web/models/datasets.ts (+12 -8)
📝 web/service/common.ts (+5 -0)

📄 Description

  • Move UPLOAD_FILE_SIZE_LIMIT and UPLOAD_FILE_BATCH_LIMIT into env
  • Refactor file type file upload in frontend

image


🔄 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/langgenius/dify/pull/818 **Author:** [@MatriQ](https://github.com/MatriQ) **Created:** 8/12/2023 **Status:** ✅ Merged **Merged:** 8/16/2023 **Merged by:** [@takatost](https://github.com/takatost) **Base:** `main` ← **Head:** `feat/customizable-file-upload-config` --- ### 📝 Commits (3) - [`e613347`](https://github.com/langgenius/dify/commit/e613347fe5f85262f54a3f88afa36cabf948e55d) feat: customizable file upload config - [`71ca625`](https://github.com/langgenius/dify/commit/71ca625510ebc26348692276fbbfd0303a7c7e2a) refactor: fontend file type - [`56bcdee`](https://github.com/langgenius/dify/commit/56bcdee3874fd423ce7e19804374a46734432d94) Merge branch 'main' into feat/customizable-file-upload-config ### 📊 Changes **13 files changed** (+122 additions, -83 deletions) <details> <summary>View changed files</summary> 📝 `api/config.py` (+7 -1) 📝 `api/controllers/console/datasets/data_source.py` (+0 -4) 📝 `api/controllers/console/datasets/file.py` (+20 -3) 📝 `web/app/components/datasets/create/file-preview/index.tsx` (+2 -2) 📝 `web/app/components/datasets/create/file-uploader/index.tsx` (+56 -50) 📝 `web/app/components/datasets/create/index.tsx` (+5 -5) 📝 `web/app/components/datasets/create/step-one/index.tsx` (+4 -4) 📝 `web/app/components/datasets/create/step-two/index.tsx` (+2 -2) 📝 `web/i18n/lang/dataset-creation.en.ts` (+2 -2) 📝 `web/i18n/lang/dataset-creation.zh.ts` (+2 -2) 📝 `web/models/common.ts` (+5 -0) 📝 `web/models/datasets.ts` (+12 -8) 📝 `web/service/common.ts` (+5 -0) </details> ### 📄 Description * Move `UPLOAD_FILE_SIZE_LIMIT` and `UPLOAD_FILE_BATCH_LIMIT` into env * Refactor file type file upload in frontend ![image](https://github.com/langgenius/dify/assets/1320925/02819b66-03d6-42f1-97b0-5b673f73fe58) --- <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-21 20:19:34 -05:00
yindo closed this issue 2026-02-21 20:19:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22708