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: CONTRIBUTING.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -423,6 +423,10 @@ be reviewed by two maintainers and must pass the automatic tests.
423
423
* And then push the tag as `git push origin v$vmaj.$vmin.$`. Drone CI will automatically create a release and upload all the compiled binary. (But currently it doesn't add the release notes automatically. Maybe we should fix that.)
424
424
* If needed send a frontport PR for the changelog to branch `main` and update the version in `docs/config.yaml` to refer to the new version.
425
425
* Send PR to [blog repository](https://gitea.com/gitea/blog) announcing the release.
426
+
* Verify all release assets were correctly published through CI on dl.gitea.io and GitHub releases. Once ACKed:
427
+
* bump the version of https://dl.gitea.io/gitea/version.json
428
+
* merge the blog post PR
429
+
* announce the release in discord `#announcements`
;; Whether repository file uploads are enabled. Defaults to `true`
903
903
;ENABLED = true
904
904
;;
905
-
;; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
905
+
;; Path for uploads. Defaults to `data/tmp/uploads` (content gets deleted on gitea restart)
906
906
;TEMP_PATH = data/tmp/uploads
907
907
;;
908
908
;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
@@ -2125,6 +2125,8 @@ PATH =
2125
2125
;RENDER_COMMAND = "asciidoc --out-file=- -"
2126
2126
;; Don't pass the file on STDIN, pass the filename as argument instead.
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
107
107
### Repository - Upload (`repository.upload`)
108
108
109
109
-`ENABLED`: **true**: Whether repository file uploads are enabled
110
-
-`TEMP_PATH`: **data/tmp/uploads**: Path for uploads (tmp gets deleted on Gitea restart)
110
+
-`TEMP_PATH`: **data/tmp/uploads**: Path for uploads (content gets deleted on Gitea restart)
111
111
-`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.
112
112
-`FILE_MAX_SIZE`: **3**: Max size of each file in megabytes.
113
113
-`MAX_FILES`: **5**: Max number of files per upload
@@ -144,7 +144,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
144
144
145
145
## Repository - Local (`repository.local`)
146
146
147
-
-`LOCAL_COPY_PATH`: **tmp/local-repo**: Path for temporary local repository copies. Defaults to `tmp/local-repo`
147
+
-`LOCAL_COPY_PATH`: **tmp/local-repo**: Path for temporary local repository copies. Defaults to `tmp/local-repo` (content gets deleted on Gitea restart)
148
148
149
149
## Repository - MIME type mapping (`repository.mimetype_mapping`)
150
150
@@ -1003,13 +1003,13 @@ IS_INPUT_FILE = false
1003
1003
command. Multiple extensions needs a comma as splitter.
1004
1004
- RENDER\_COMMAND: External command to render all matching extensions.
1005
1005
- IS\_INPUT\_FILE: **false** Input is not a standard input but a file param followed `RENDER_COMMAND`.
1006
+
- DISABLE_SANITIZER: **false** Don't filter html tags and attributes if true. Don't change this to true except you know what that means.
1006
1007
1007
1008
Two special environment variables are passed to the render command:
1008
1009
-`GITEA_PREFIX_SRC`, which contains the current URL prefix in the `src` path tree. To be used as prefix for links.
1009
1010
-`GITEA_PREFIX_RAW`, which contains the current URL prefix in the `raw` path tree. To be used as prefix for image paths.
1010
1011
1011
-
1012
-
Gitea supports customizing the sanitization policy for rendered HTML. The example below will support KaTeX output from pandoc.
1012
+
If `DISABLE_SANITIZER` is false, Gitea supports customizing the sanitization policy for rendered HTML. The example below will support KaTeX output from pandoc.
Copy file name to clipboardExpand all lines: docs/content/doc/usage/backup-and-restore.en-us.md
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,3 +95,59 @@ Repository Git Hooks should be regenerated if installation method is changed (eg
95
95
With Gitea running, and from the directory Gitea's binary is located, execute: `./gitea admin regenerate hooks`
96
96
97
97
This ensures that application and configuration file paths in repository Git Hooks are consistent and applicable to the current installation. If these paths are not updated, repository `push` actions will fail.
98
+
99
+
### Using Docker (`restore`)
100
+
101
+
There is also no support for a recovery command in a Docker-based gitea instance. The restore process contains the same steps as described in the previous section but with different paths.
0 commit comments