-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change default size of issue/pr attachments and repo file #27946
Conversation
How about 50MiB which is also the default on GitHub currently? We do want to find some reasonable default values that prevent abuse from uploading too large files. Edit: 50 MiB is limit for repo files, but I guess it will work just as well as a reasonable default for attachments etc. |
BTW, the alert of the file exceeding limits is broken. Haven't found out root reason yet but it's probably because the function gitea/web_src/js/features/common-global.js Lines 199 to 253 in 481e738
Edited: fixed in #27985 |
Right, releases need a separate bigger limit. GitHub has this at 2GB per file currently. |
…7946) As title. Some attachments and file sizes can easily be larger than these limits
* upstream/main: fixed duplicate attachments on dump on windows (go-gitea#28019) [skip ci] Updated translations via Crowdin packages: Calculate package size quota using package creator ID instead of owner ID (go-gitea#28007) Dont leak private users via extensions (go-gitea#28023) Improve profile for Organizations (go-gitea#27982) Enable system users search via the API (go-gitea#28013) Enable system users for comment.LoadPoster (go-gitea#28014) Change default size of issue/pr attachments and repo file (go-gitea#27946) Fix missing mail reply address (go-gitea#27997)
#27946 forgets to change them in code. Sorry about that.
go-gitea#27946 forgets to change them in code. Sorry about that.
…7946) As title. Some attachments and file sizes can easily be larger than these limits
go-gitea#27946 forgets to change them in code. Sorry about that.
As title. Some attachments and file sizes can easily be larger than these limits