You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: custom/conf/app.example.ini
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1016,8 +1016,8 @@ LEVEL = Info
1016
1016
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
1017
1017
;ALLOWED_TYPES =
1018
1018
;;
1019
-
;; Max size of each file in megabytes. Defaults to 3MB
1020
-
;FILE_MAX_SIZE = 3
1019
+
;; Max size of each file in megabytes. Defaults to 50MB
1020
+
;FILE_MAX_SIZE = 50
1021
1021
;;
1022
1022
;; Max number of files per upload. Defaults to 5
1023
1023
;MAX_FILES = 5
@@ -1821,8 +1821,8 @@ LEVEL = Info
1821
1821
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
Copy file name to clipboardExpand all lines: docs/content/administration/config-cheat-sheet.en-us.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@ In addition, there is _`StaticRootPath`_ which can be set as a built-in at build
146
146
-`ENABLED`: **true**: Whether repository file uploads are enabled
147
147
-`TEMP_PATH`: **data/tmp/uploads**: Path for uploads (content gets deleted on Gitea restart)
148
148
-`ALLOWED_TYPES`: **_empty_**: Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
149
-
-`FILE_MAX_SIZE`: **3**: Max size of each file in megabytes.
149
+
-`FILE_MAX_SIZE`: **50**: Max size of each file in megabytes.
150
150
-`MAX_FILES`: **5**: Max number of files per upload
151
151
152
152
### Repository - Release (`repository.release`)
@@ -823,7 +823,7 @@ Default templates for project boards:
823
823
824
824
-`ENABLED`: **true**: Whether issue and pull request attachments are enabled.
825
825
-`ALLOWED_TYPES`: **.csv,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.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.
826
-
-`MAX_SIZE`: **4**: Maximum size (MB).
826
+
-`MAX_SIZE`: **2048**: Maximum size (MB).
827
827
-`MAX_FILES`: **5**: Maximum number of attachments that can be uploaded at once.
828
828
-`STORAGE_TYPE`: **local**: Storage type for attachments, `local` for local disk or `minio` for s3 compatible object storage service, default is `local` or other name defined with `[storage.xxx]`
829
829
-`SERVE_DIRECT`: **false**: Allows the storage driver to redirect to authenticated URLs to serve files directly. Currently, only Minio/S3 is supported via signed URLs, local does nothing.
@@ -1396,6 +1396,7 @@ PROXY_HOSTS = *.github.com
1396
1396
-`ZOMBIE_TASK_TIMEOUT`: **10m**: Timeout to stop the task which have running status, but haven't been updated for a long time
1397
1397
-`ENDLESS_TASK_TIMEOUT`: **3h**: Timeout to stop the tasks which have running status and continuous updates, but don't end for a long time
1398
1398
-`ABANDONED_JOB_TIMEOUT`: **24h**: Timeout to cancel the jobs which have waiting status, but haven't been picked by a runner for a long time
1399
+
-`SKIP_WORKFLOW_STRINGS`: **[skip ci],[ci skip],[no ci],[skip actions],[actions skip]**: Strings committers can place inside a commit message to skip executing the corresponding actions workflow
1399
1400
1400
1401
`DEFAULT_ACTIONS_URL` indicates where the Gitea Actions runners should find the actions with relative path.
1401
1402
For example, `uses: actions/checkout@v3` means `https://github.com/actions/checkout@v3` since the value of `DEFAULT_ACTIONS_URL` is `github`.
0 commit comments