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
@@ -281,7 +281,7 @@ be reviewed by two maintainers and must pass the automatic tests.
281
281
* Create `-dev` tag as `git tag -s -F release.notes v$vmaj.$vmin.0-dev` and push the tag as `git push origin v$vmaj.$vmin.0-dev`.
282
282
* When CI has finished building tag then you have to create a new branch named `release/v$vmaj.$vmin`
283
283
* If it is bugfix version create PR for changelog on branch `release/v$vmaj.$vmin` and wait till it is reviewed and merged.
284
-
* Add a tag as `git tag -s -F release.notes v$vmaj.$vmin.$`, release.notes file could be a temporary file to only include the changelog this version which you added to `CHANGELOG.md`.
284
+
* Add a tag as `git tag -s -F release.notes v$vmaj.$vmin.$`, release.notes file could be a temporary file to only include the changelog this version which you added to `CHANGELOG.md`.
285
285
* And then push the tag as `git push origin v$vmaj.$vmin.$`. Drone CI will automatically created a release and upload all the compiled binary. (But currently it didn't add the release notes automatically. Maybe we should fix that.)
286
286
* If needed send PR for changelog on branch `master`.
287
287
* Send PR to [blog repository](https://github.com/go-gitea/blog) announcing the release.
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -160,6 +160,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
160
160
-`USER`: **root**: Database username.
161
161
-`PASSWD`: **\<empty\>**: Database user password. Use \`your password\` for quoting if you use special characters in the password.
162
162
-`SSL_MODE`: **disable**: For PostgreSQL and MySQL only.
163
+
-`CHARSET`: **utf8**: For MySQL only, either "utf8" or "utf8mb4", default is "utf8". NOTICE: for "utf8mb4" you must use MySQL InnoDB > 5.6. Gitea is unable to check this.
163
164
-`PATH`: **data/gitea.db**: For SQLite3 only, the database file path.
164
165
-`LOG_SQL`: **true**: Log the executed SQL.
165
166
-`DB_RETRIES`: **10**: How many ORM init / DB connect attempts allowed.
@@ -334,7 +335,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`
334
335
335
336
### Console log mode (`log.console`, `log.console.*`, or `MODE=console`)
336
337
337
-
- For the console logger `COLORIZE` will default to `true` if not on windows.
338
+
- For the console logger `COLORIZE` will default to `true` if not on windows or the terminal is determined to be able to color.
338
339
-`STDERR`: **false**: Use Stderr instead of Stdout.
339
340
340
341
### File log mode (`log.file`, `log.file.*` or `MODE=file`)
@@ -344,7 +345,6 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`
344
345
-`MAX_SIZE_SHIFT`: **28**: Maximum size shift of a single file, 28 represents 256Mb.
345
346
-`DAILY_ROTATE`: **true**: Rotate logs daily.
346
347
-`MAX_DAYS`: **7**: Delete the log file after n days
347
-
- NB: `COLORIZE`: will default to `true` if not on windows.
348
348
-`COMPRESS`: **true**: Compress old log files by default with gzip
349
349
-`COMPRESSION_LEVEL`: **-1**: Compression level
350
350
@@ -420,7 +420,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`
420
420
421
421
## OAuth2 (`oauth2`)
422
422
423
-
-`ENABLED`: **true**: Enables OAuth2 provider.
423
+
-`ENABLE`: **true**: Enables OAuth2 provider.
424
424
-`ACCESS_TOKEN_EXPIRATION_TIME`: **3600**: Lifetime of an OAuth2 access token in seconds
425
425
-`REFRESH_TOKEN_EXPIRATION_TIME`: **730**: Lifetime of an OAuth2 access token in hours
426
426
-`INVALIDATE_REFRESH_TOKEN`: **false**: Check if refresh token got already used
0 commit comments