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
+4
Original file line number
Diff line number
Diff line change
@@ -313,6 +313,7 @@ USER = root
313
313
;DB_TYPE = sqlite3
314
314
;PATH= ; defaults to data/gitea.db
315
315
;SQLITE_TIMEOUT = ; Query timeout defaults to: 500
316
+
;SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode
316
317
;;
317
318
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
318
319
;;
@@ -878,6 +879,9 @@ ROUTER = console
878
879
;; Allow deletion of unadopted repositories
879
880
;ALLOW_DELETION_OF_UNADOPTED_REPOSITORIES = false
880
881
882
+
;; Don't allow download source archive files from UI
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+2
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
78
78
-`DEFAULT_BRANCH`: **main**: Default branch name of all repositories.
79
79
-`ALLOW_ADOPTION_OF_UNADOPTED_REPOSITORIES`: **false**: Allow non-admin users to adopt unadopted repositories
80
80
-`ALLOW_DELETION_OF_UNADOPTED_REPOSITORIES`: **false**: Allow non-admin users to delete unadopted repositories
81
+
-`DISABLE_DOWNLOAD_SOURCE_ARCHIVES`: **false**: Don't allow download source archive files from UI
81
82
82
83
### Repository - Editor (`repository.editor`)
83
84
@@ -382,6 +383,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
382
383
-`verify-ca`: Enable TLS with verification of the database server certificate against its root certificate.
383
384
-`verify-full`: Enable TLS and verify the database server name matches the given certificate in either the `Common Name` or `Subject Alternative Name` fields.
384
385
-`SQLITE_TIMEOUT`: **500**: Query timeout for SQLite3 only.
386
+
-`SQLITE_JOURNAL_MODE`: **""**: Change journal mode for SQlite3. Can be used to enable [WAL mode](https://www.sqlite.org/wal.html) when high load causes write congestion. See [SQlite3 docs](https://www.sqlite.org/pragma.html#pragma_journal_mode) for possible values. Defaults to the default for the database file, often DELETE.
385
387
-`ITERATE_BUFFER_SIZE`: **50**: Internal buffer size for iterating.
386
388
-`CHARSET`: **utf8mb4**: For MySQL only, either "utf8" or "utf8mb4". NOTICE: for "utf8mb4" you must use MySQL InnoDB > 5.6. Gitea is unable to check this.
387
389
-`PATH`: **data/gitea.db**: For SQLite3 only, the database file path.
If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password.
64
+
63
65
The server responds with the following HTTP Status codes.
|`password`| Your Gitea passwordor a personal access token. |
40
+
|`password`| Your Gitea password. If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password. |
Copy file name to clipboardExpand all lines: docs/content/doc/packages/container.en-us.md
+2
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ To push an image or if the image is in a private registry, you have to authentic
34
34
docker login gitea.example.com
35
35
```
36
36
37
+
If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password.
If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password.
52
+
51
53
The server reponds with the following HTTP Status codes.
|`password`| Your Gitea passwordor a personal access token. |
45
+
|`password`| Your Gitea password. If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password. |
|`password`| Your Gitea passwordor a personal access token. |
41
+
|`password`| Your Gitea password. If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password. |
Copy file name to clipboardExpand all lines: docs/content/doc/packages/pypi.en-us.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ password = {password}
42
42
| ------------ | ----------- |
43
43
|`owner`| The owner of the package. |
44
44
|`username`| Your Gitea username. |
45
-
|`password`| Your Gitea passwordor a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}). |
45
+
|`password`| Your Gitea password. If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password. |
0 commit comments