diff options
Diffstat (limited to 'app_new.ini')
-rw-r--r-- | app_new.ini | 79 |
1 files changed, 63 insertions, 16 deletions
diff --git a/app_new.ini b/app_new.ini index 4c35ef2e9a84..1a61538add51 100644 --- a/app_new.ini +++ b/app_new.ini @@ -1,3 +1,6 @@ +# NEVER EVER MODIFY THIS FILE +# PLEASE MAKE CHANGES ON CORRESPONDING CUSTOM CONFIG FILE + ; App name that shows on every page title APP_NAME = Gogs: Go Git Service ; Change it if you run locally @@ -9,6 +12,10 @@ RUN_MODE = dev ROOT = /srv/gogs/repo SCRIPT_TYPE = bash +[ui] +; Number of issues that are showed in one page +ISSUE_PAGING_NUM = 10 + [server] PROTOCOL = http DOMAIN = localhost @@ -80,10 +87,12 @@ ENABLE_NOTIFY_MAIL = false ; More detail: https://github.com/gogits/gogs/issues/165 ENABLE_REVERSE_PROXY_AUTHENTICATION = false ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false +; Do not check minimum key size with corresponding type +DISABLE_MINIMUM_KEY_SIZE_CHECK = false [webhook] -; Cron task interval in minutes -TASK_INTERVAL = 1 +; Hook task queue length +QUEUE_LENGTH = 1000 ; Deliver timeout in seconds DELIVER_TIMEOUT = 5 ; Allow insecure certification @@ -99,14 +108,18 @@ SUBJECT = %(APP_NAME)s ; Gmail: smtp.gmail.com:587 ; QQ: smtp.qq.com:25 ; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used. -HOST = +HOST = +; Disable HELO operation when hostname are different. +DISABLE_HELO = +; Custom hostname for HELO operation, default is from system. +HELO_HOSTNAME = ; Do not verify the certificate of the server. Only use this for self-signed certificates SKIP_VERIFY = ; Use client certificate USE_CERTIFICATE = false CERT_FILE = custom/mailer/cert.pem KEY_FILE = custom/mailer/key.pem -; Mail from address, RFC 5322. This can be just an email address, or the "Name" <email@example.com> format +; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format FROM = ; Mailer user name and password USER = @@ -185,6 +198,7 @@ SESSION_LIFE_TIME = 86400 SERVICE = server AVATAR_UPLOAD_PATH = /srv/gogs/data/avatars ; Chinese users can choose "duoshuo" +; or a custom avatar source, like: http://cn.gravatar.com/avatar/ GRAVATAR_SOURCE = gravatar DISABLE_GRAVATAR = false @@ -198,7 +212,7 @@ ALLOWED_TYPES = image/jpeg|image/png ; Max size of each file. Defaults to 32MB MAX_SIZE = 32 ; Max number of files per upload. Defaults to 10 -MAX_FILES = 10 +MAX_FILES = 5 [time] ; Specifies the format for fully outputed dates. Defaults to RFC1123 @@ -267,21 +281,54 @@ DRIVER = ; Based on xorm, e.g.: root:root@localhost/gogs?charset=utf8 CONN = +[cron] +; Enable running cron tasks periodically. +ENABLED = true +; Run cron tasks when Gogs starts. +RUN_AT_START = false + +; Update mirrors +[cron.update_mirrors] +SCHEDULE = @every 1h + +; Repository health check +[cron.repo_health_check] +SCHEDULE = @every 24h +; Arguments for command 'git fsck', e.g.: "--unreachable --tags" +; see more on http://git-scm.com/docs/git-fsck/1.7.5 +ARGS = + +; Check repository statistics +[cron.check_repo_stats] +RUN_AT_START = true +SCHEDULE = @every 24h + [git] MAX_GIT_DIFF_LINES = 10000 ; Arguments for command 'git gc', e.g.: "--aggressive --auto" ; see more on http://git-scm.com/docs/git-gc/1.7.5 GC_ARGS = -; Git health check. -[git.fsck] -ENABLE = true -; Execution interval in hours. Default is 24. -INTERVAL = 24 -; Arguments for command 'git fsck', e.g.: "--unreachable --tags" -; see more on http://git-scm.com/docs/git-fsck/1.7.5 -ARGS = - [i18n] -LANGS = en-US,zh-CN,zh-HK,de-DE,fr-CA,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR -NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu,Русский,日本语,Español,Português +LANGS = en-US,zh-CN,zh-HK,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT +NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano + +; Used for datetimepicker +[i18n.datelang] +en-US = en +zh-CN = zh +zh-HK = zh-TW +de-DE = de +fr-FR = fr +nl-NL = nl +lv-LV = lv +ru-RU = ru +ja-JP = ja +es-ES = es +pt-BR = pt-BR +pl-PL = pl +bg-BG = bg +it-IT = it + +[other] +SHOW_FOOTER_BRANDING = false
\ No newline at end of file |