Implement restrictions on front-end upload methods such as click upload, pull upload, paste upload, etc.
Perfect paste upload file code
Originally created by @Yanyutin753 on GitHub (Aug 3, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4327
## Descripation
### Limit the size and number of uploaded files
1. The number and size of files are limited.
https://github.com/user-attachments/assets/e1b415f1-b0b9-4940-a322-06d389cc4eb7
https://github.com/user-attachments/assets/da89caf4-e103-4611-9bff-78b31b20888f
2. The administrator can customize the size and number of files.
https://github.com/user-attachments/assets/0982ead3-b892-46be-87a3-030fec7df272
3. Implement restrictions on front-end upload methods such as click upload, pull upload, paste upload, etc.
4. Perfect paste upload file code
Next time you open a feature request, I'd greatly appreciate if you could list the reasons why this feature would be beneficial for people and provide example use cases, as it will help me understand the workflow in general, Thanks.
<!-- gh-comment-id:2312672943 -->
@tjbck commented on GitHub (Aug 27, 2024):
Next time you open a feature request, I'd greatly appreciate if you could list the reasons why this feature would be beneficial for people and provide example use cases, as it will help me understand the workflow in general, Thanks.
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.
Originally created by @Yanyutin753 on GitHub (Aug 3, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4327
Descripation
Limit the size and number of uploaded files
https://github.com/user-attachments/assets/e1b415f1-b0b9-4940-a322-06d389cc4eb7
https://github.com/user-attachments/assets/da89caf4-e103-4611-9bff-78b31b20888f
https://github.com/user-attachments/assets/0982ead3-b892-46be-87a3-030fec7df272
Implement restrictions on front-end upload methods such as click upload, pull upload, paste upload, etc.
Perfect paste upload file code
@tjbck commented on GitHub (Aug 27, 2024):
Next time you open a feature request, I'd greatly appreciate if you could list the reasons why this feature would be beneficial for people and provide example use cases, as it will help me understand the workflow in general, Thanks.