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
Upstream refactored the builtin SSH server, so remove all my changes to
modules/ssh/ssh.go. I'll need to look at the functionality gap and add
my changes back in.
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,6 +197,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
197
197
-`IMPORT_LOCAL_PATHS`: **false**: Set to `false` to prevent all users (including admin) from importing local path on server.
198
198
-`INTERNAL_TOKEN`: **\<random at every install if no uri set\>**: Secret used to validate communication within Gitea binary.
199
199
-`INTERNAL_TOKEN_URI`: **<empty>**: Instead of defining internal token in the configuration, this configuration option can be used to give Gitea a path to a file that contains the internal token (example value: `file:/etc/gitea/internal_token`)
200
+
-`PASSWORD_HASH_ALGO`: **pbkdf2**: The hash algorithm to use \[pbkdf2, argon2, scrypt, bcrypt\].
201
+
-`CSRF_COOKIE_HTTP_ONLY`: **true**: Set false to allow JavaScript to read CSRF cookie.
200
202
201
203
## OpenID (`openid`)
202
204
@@ -409,6 +411,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`
409
411
410
412
## Git (`git`)
411
413
414
+
-`PATH`: **""**: The path of git executable. If empty, Gitea searches through the PATH environment.
412
415
-`MAX_GIT_DIFF_LINES`: **100**: Max number of lines allowed of a single file in diff view.
413
416
-`MAX_GIT_DIFF_LINE_CHARACTERS`: **5000**: Max character count per line highlighted in diff view.
414
417
-`MAX_GIT_DIFF_FILES`: **100**: Max number of files shown in diff view.
Override by making a copy of the file under `custom/templates/mail` using a
108
+
full path structure matching source.
109
+
110
+
Any statement contained inside `{{` and `}}` are Gitea's template
111
+
syntax and shouldn't be touched without fully understanding these components.
112
+
113
+
114
+
101
115
## Adding Analytics to Gitea
102
116
103
117
Google Analytics, Matomo (previously Piwik), and other analytics services can be added to Gitea. To add the tracking code, refer to the `Other additions to the page` section of this document, and add the JavaScript to the `custom/templates/custom/header.tmpl` file.
0 commit comments