From 034a10537468ac70c5d0bc130724e8faab4e35aa Mon Sep 17 00:00:00 2001 From: Crown0815 Date: Tue, 14 May 2024 10:00:38 +0000 Subject: [PATCH] Fix incorrect default value in CheatSheet for attachment MaxSize I tested my forgejo instance and it says that it cannot upload files larger than 2048 MB. I also confirmed on the gitea cheatsheet where the value is also 2048 MB (see https://docs.gitea.com/administration/config-cheat-sheet#issue-and-pull-request-attachments-attachment) (cherry picked from commit 720667cf0475e88033d4710cd8b1b9318859721f) --- docs/admin/config-cheat-sheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/config-cheat-sheet.md b/docs/admin/config-cheat-sheet.md index db7e69cb..23102e83 100644 --- a/docs/admin/config-cheat-sheet.md +++ b/docs/admin/config-cheat-sheet.md @@ -823,7 +823,7 @@ Default templates for project boards: - `ENABLED`: **true**: Whether issue and pull request attachments are enabled. - `ALLOWED_TYPES`: **.cpuprofile,.csv,.dmp,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.json,.jsonc,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.patch,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip**: Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types. -- `MAX_SIZE`: **4**: Maximum size (MB). +- `MAX_SIZE`: **2048**: Maximum size (MB). - `MAX_FILES`: **5**: Maximum number of attachments that can be uploaded at once. Additional settings can be included in this section to specify where the data is stored, as [explained in detail in the storage documentation](../storage/).