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
* Fix wrong sender when send slack webhook (#7918) (#7924)
10
+
* Upload support text/plain; charset=utf8 (#7899)
11
+
* Lfs/lock: round locked_at timestamp to second (#7872) (#7875)
12
+
* Fix non existent milestone with 500 error (#7867) (#7873)
13
+
* SECURITY
14
+
* Fix No PGP signature on 1.9.1 tag (#7874)
15
+
* Release built with go 1.12.9 to fix security fixes in golang std lib, ref: https://groups.google.com/forum/#!msg/golang-announce/oeMaeUnkvVE/a49yvTLqAAAJ
16
+
* ENHANCEMENT
17
+
* Fix pull creation with empty changes (#7920) (#7926)
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+11-2
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
96
96
-`THEMES`: **gitea,arc-green**: All available themes. Allow users select personalized themes
97
97
regardless of the value of `DEFAULT_THEME`.
98
98
-`DEFAULT_SHOW_FULL_NAME`: false: Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
99
+
-`SEARCH_REPO_DESCRIPTION`: true: Whether to search within description at repository search on explore page.
99
100
100
101
### UI - Admin (`ui.admin`)
101
102
@@ -132,6 +133,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
132
133
-`START_SSH_SERVER`: **false**: When enabled, use the built-in SSH server.
133
134
-`SSH_DOMAIN`: **%(DOMAIN)s**: Domain name of this server, used for displayed clone URL.
134
135
-`SSH_PORT`: **22**: SSH port displayed in clone URL.
136
+
-`SSH_LISTEN_HOST`: **0.0.0.0**: Listen address for the built-in SSH server.
135
137
-`SSH_LISTEN_PORT`: **%(SSH\_PORT)s**: Port for the built-in SSH server.
136
138
-`OFFLINE_MODE`: **false**: Disables use of CDN for static files and Gravatar for profile pictures.
137
139
-`DISABLE_ROUTER_LOG`: **false**: Mute printing of the router log.
@@ -155,7 +157,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
155
157
## Database (`database`)
156
158
157
159
-`DB_TYPE`: **mysql**: The database type in use \[mysql, postgres, mssql, sqlite3\].
158
-
-`HOST`: **127.0.0.1:3306**: Database host address and port.
160
+
-`HOST`: **127.0.0.1:3306**: Database host address and port or absolute path for unix socket \[mysql, postgres\] (ex: /var/run/mysqld/mysqld.sock).
159
161
-`NAME`: **gitea**: Database name.
160
162
-`USER`: **root**: Database username.
161
163
-`PASSWD`: **\<empty\>**: Database user password. Use \`your password\` for quoting if you use special characters in the password.
@@ -165,6 +167,8 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
165
167
-`LOG_SQL`: **true**: Log the executed SQL.
166
168
-`DB_RETRIES`: **10**: How many ORM init / DB connect attempts allowed.
167
169
-`DB_RETRY_BACKOFF`: **3s**: time.Duration to wait before trying another ORM init / DB connect attempt, if failure occured.
170
+
-`MAX_IDLE_CONNS`**0**: Max idle database connections on connnection pool, default is 0
171
+
-`CONN_MAX_LIFETIME`**3s**: Database connection max lifetime
168
172
169
173
## Indexer (`indexer`)
170
174
@@ -245,6 +249,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
245
249
-`SHOW_REGISTRATION_BUTTON`: **! DISABLE\_REGISTRATION**: Show Registration Button
246
250
-`AUTO_WATCH_NEW_REPOS`: **true**: Enable this to let all organisation users watch new repos when they are created
247
251
-`DEFAULT_ORG_VISIBILITY`: **public**: Set default visibility mode for organisations, either "public", "limited" or "private".
252
+
-`DEFAULT_ORG_MEMBER_VISIBLE`: **false** True will make the membership of the users visible when added to the organisation.
248
253
249
254
## Webhook (`webhook`)
250
255
@@ -504,8 +509,12 @@ Two special environment variables are passed to the render command:
504
509
-`GITEA_PREFIX_SRC`, which contains the current URL prefix in the `src` path tree. To be used as prefix for links.
505
510
-`GITEA_PREFIX_RAW`, which contains the current URL prefix in the `raw` path tree. To be used as prefix for image paths.
506
511
512
+
## Time (`time`)
513
+
-`FORMAT`: Time format to diplay on UI. i.e. RFC1123 or 2006-01-02 15:04:05
514
+
-`DEFAULT_UI_LOCATION`: Default location of time on the UI, so that we can display correct user's time on UI. i.e. Shanghai/Asia
515
+
507
516
## Other (`other`)
508
517
509
518
-`SHOW_FOOTER_BRANDING`: **false**: Show Gitea branding in the footer.
510
519
-`SHOW_FOOTER_VERSION`: **true**: Show Gitea version information in the footer.
511
-
-`SHOW_FOOTER_TEMPLATE_LOAD_TIME`: **true**: Show time of template execution in the footer.
520
+
-`SHOW_FOOTER_TEMPLATE_LOAD_TIME`: **true**: Show time of template execution in the footer.
0 commit comments