Target branch: Please verify that the pull request targets the dev branch.
Description: Provide a concise description of the changes made in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
Testing: Have you written and run sufficient tests for validating the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
🔄 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/open-webui/open-webui/pull/4306
**Author:** [@Yanyutin753](https://github.com/Yanyutin753)
**Created:** 8/3/2024
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `tem_files_limit`
---
### 📝 Commits (10+)
- [`001c845`](https://github.com/open-webui/open-webui/commit/001c845dab6959a17274057c868313fcd06f4d95) 💄 Limit the size and number of uploaded files
- [`dd6856e`](https://github.com/open-webui/open-webui/commit/dd6856e942508d1906564c16e38816004b044d2b) 💄 Limit the size and number of uploaded files
- [`81f4819`](https://github.com/open-webui/open-webui/commit/81f48195f1e7aae24a2356787b211a1fbe7a37b0) 💄 Limit the size and number of uploaded files
- [`4d23831`](https://github.com/open-webui/open-webui/commit/4d23831832ee3334d29f4d9a899a665387e24650) 💄 Limit the size and number of uploaded files
- [`f1e190b`](https://github.com/open-webui/open-webui/commit/f1e190b15f8dfcc96d55dfe65866d0a507ec1e40) 💄 Limit the size and number of uploaded files
- [`030fefb`](https://github.com/open-webui/open-webui/commit/030fefb16bcf630ba796ca1db1202b7bc91fa14d) 💄Fix format
- [`e901ddf`](https://github.com/open-webui/open-webui/commit/e901ddf25be35b1022694cd841325912bd520a6b) 💄Fix format
- [`86a12c0`](https://github.com/open-webui/open-webui/commit/86a12c0027318b5038cda2f5b13ff5de13a6025f) 👀 Fix Common users cannot upload files
- [`f561c5b`](https://github.com/open-webui/open-webui/commit/f561c5b08e76259061844158761444870667af48) ⭐ Feat paste upload files and make restrictions
- [`b945443`](https://github.com/open-webui/open-webui/commit/b94544331725763744a5ddd880151970258c7649) Merge branch 'dev' of https://github.com/open-webui/open-webui into tem_files_limit
### 📊 Changes
**47 files changed** (+481 additions, -70 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/apps/rag/main.py` (+25 -0)
📝 `backend/config.py` (+12 -0)
📝 `src/lib/apis/rag/index.ts` (+29 -0)
📝 `src/lib/components/admin/Settings/Documents.svelte` (+37 -0)
📝 `src/lib/components/chat/MessageInput.svelte` (+108 -61)
📝 `src/lib/components/workspace/Documents.svelte` (+27 -8)
📝 `src/lib/i18n/locales/ar-BH/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/bg-BG/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/bn-BD/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/ca-ES/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/ceb-PH/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/de-DE/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/dg-DG/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/en-GB/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/en-US/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/es-ES/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/fa-IR/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/fi-FI/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/fr-CA/translation.json` (+6 -0)
📝 `src/lib/i18n/locales/fr-FR/translation.json` (+6 -0)
_...and 27 more files_
</details>
### 📄 Description
# Pull Request Checklist
- [x] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [x] **Description:** Provide a concise description of the changes made in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [x] **Testing:** Have you written and run sufficient tests for validating the changes?
- [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
# Changelog Entry
## Description
### Limit the size and number of uploaded files #4327


#### Warning


---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4306
Author: @Yanyutin753
Created: 8/3/2024
Status: ❌ Closed
Base:
dev← Head:tem_files_limit📝 Commits (10+)
001c845💄 Limit the size and number of uploaded filesdd6856e💄 Limit the size and number of uploaded files81f4819💄 Limit the size and number of uploaded files4d23831💄 Limit the size and number of uploaded filesf1e190b💄 Limit the size and number of uploaded files030fefb💄Fix formate901ddf💄Fix format86a12c0👀 Fix Common users cannot upload filesf561c5b⭐ Feat paste upload files and make restrictionsb945443Merge branch 'dev' of https://github.com/open-webui/open-webui into tem_files_limit📊 Changes
47 files changed (+481 additions, -70 deletions)
View changed files
📝
backend/apps/rag/main.py(+25 -0)📝
backend/config.py(+12 -0)📝
src/lib/apis/rag/index.ts(+29 -0)📝
src/lib/components/admin/Settings/Documents.svelte(+37 -0)📝
src/lib/components/chat/MessageInput.svelte(+108 -61)📝
src/lib/components/workspace/Documents.svelte(+27 -8)📝
src/lib/i18n/locales/ar-BH/translation.json(+6 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+6 -0)📝
src/lib/i18n/locales/bn-BD/translation.json(+6 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+6 -0)📝
src/lib/i18n/locales/ceb-PH/translation.json(+6 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+6 -0)📝
src/lib/i18n/locales/dg-DG/translation.json(+6 -0)📝
src/lib/i18n/locales/en-GB/translation.json(+6 -0)📝
src/lib/i18n/locales/en-US/translation.json(+6 -0)📝
src/lib/i18n/locales/es-ES/translation.json(+6 -0)📝
src/lib/i18n/locales/fa-IR/translation.json(+6 -0)📝
src/lib/i18n/locales/fi-FI/translation.json(+6 -0)📝
src/lib/i18n/locales/fr-CA/translation.json(+6 -0)📝
src/lib/i18n/locales/fr-FR/translation.json(+6 -0)...and 27 more files
📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Description
Limit the size and number of uploaded files #4327
Warning
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.