mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Update app.ini
This commit is contained in:
parent
ef0d79ad8a
commit
3f294ab7c8
1 changed files with 0 additions and 111 deletions
111
conf/app.ini
111
conf/app.ini
|
@ -71,118 +71,7 @@ ENABLE_XORM_LOG = Warn
|
||||||
XORM = file
|
XORM = file
|
||||||
|
|
||||||
|
|
||||||
[log.discord]
|
|
||||||
; leave empty to inherit
|
|
||||||
LEVEL =
|
|
||||||
; Webhook URL
|
|
||||||
URL =
|
|
||||||
; Username displayed in webhook
|
|
||||||
USERNAME = %(APP_NAME)s
|
|
||||||
|
|
||||||
; Repository health check
|
|
||||||
[cron.repo_health_check]
|
|
||||||
SCHEDULE = @every 24h
|
|
||||||
TIMEOUT = 60s
|
|
||||||
; Arguments for command 'git fsck', e.g. "--unreachable --tags"
|
|
||||||
; see more on http://git-scm.com/docs/git-fsck/1.7.5
|
|
||||||
ARGS =
|
|
||||||
|
|
||||||
[git]
|
|
||||||
; Disables highlight of added and removed changes
|
|
||||||
DISABLE_DIFF_HIGHLIGHT = false
|
|
||||||
; Max number of lines allowed of a single file in diff view
|
|
||||||
MAX_GIT_DIFF_LINES = 1000
|
|
||||||
; Max number of characters of a line allowed in diff view
|
|
||||||
MAX_GIT_DIFF_LINE_CHARACTERS = 500
|
|
||||||
; Max number of files shown in diff view
|
|
||||||
MAX_GIT_DIFF_FILES = 100
|
|
||||||
; Arguments for command 'git gc', e.g. "--aggressive --auto"
|
|
||||||
; see more on http://git-scm.com/docs/git-gc/1.7.5
|
|
||||||
GC_ARGS =
|
|
||||||
|
|
||||||
; Operation timeout in seconds
|
|
||||||
[git.timeout]
|
|
||||||
MIGRATE = 600
|
|
||||||
MIRROR = 300
|
|
||||||
CLONE = 300
|
|
||||||
PULL = 300
|
|
||||||
GC = 60
|
|
||||||
|
|
||||||
[mirror]
|
|
||||||
; Default interval in hours between each check
|
|
||||||
DEFAULT_INTERVAL = 8
|
|
||||||
|
|
||||||
[api]
|
|
||||||
; Max number of items will response in a page
|
|
||||||
MAX_RESPONSE_ITEMS = 50
|
|
||||||
|
|
||||||
[ui]
|
|
||||||
; Number of repositories that are showed in one explore page
|
|
||||||
EXPLORE_PAGING_NUM = 20
|
|
||||||
; Number of issues that are showed in one page
|
|
||||||
ISSUE_PAGING_NUM = 10
|
|
||||||
; Number of maximum commits showed in one activity feed
|
|
||||||
FEED_MAX_COMMIT_NUM = 5
|
|
||||||
; Value of "theme-color" meta tag, used by Android >= 5.0
|
|
||||||
; An invalid color like "none" or "disable" will have the default style
|
|
||||||
; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
|
|
||||||
THEME_COLOR_META_TAG = `#ff5343`
|
|
||||||
; Max size in bytes of files to be displayed (default is 8MB)
|
|
||||||
MAX_DISPLAY_FILE_SIZE = 8388608
|
|
||||||
|
|
||||||
[ui.admin]
|
|
||||||
; Number of users that are showed in one page
|
|
||||||
USER_PAGING_NUM = 50
|
|
||||||
; Number of repos that are showed in one page
|
|
||||||
REPO_PAGING_NUM = 50
|
|
||||||
; Number of notices that are showed in one page
|
|
||||||
NOTICE_PAGING_NUM = 25
|
|
||||||
; Number of organization that are showed in one page
|
|
||||||
ORG_PAGING_NUM = 50
|
|
||||||
|
|
||||||
[ui.user]
|
|
||||||
; Number of repos that are showed in one page
|
|
||||||
REPO_PAGING_NUM = 15
|
|
||||||
; Number of news feeds that are showed in one page
|
|
||||||
NEWS_FEED_PAGING_NUM = 20
|
|
||||||
; Number of commits that are showed in one page
|
|
||||||
COMMITS_PAGING_NUM = 30
|
|
||||||
|
|
||||||
[i18n]
|
|
||||||
LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR,gl-ES,uk-UA,en-GB,hu-HU,sk-SK,id-ID,fa-IR,vi-VN
|
|
||||||
NAMES = English,简体中文,繁體中文(香港),繁體中文(臺灣),Deutsch,français,Nederlands,latviešu,русский,日本語,español,português do Brasil,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어,galego,українська,English (United Kingdom),Magyar,Slovenčina,Indonesian,Persian,Vietnamese
|
|
||||||
|
|
||||||
; Used for datetimepicker
|
|
||||||
[i18n.datelang]
|
|
||||||
en-US = en
|
|
||||||
zh-CN = zh
|
|
||||||
zh-HK = zh-TW
|
|
||||||
zh-TW = 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
|
|
||||||
fi-FI = fi
|
|
||||||
tr-TR = tr
|
|
||||||
cs-CZ = cs-CZ
|
|
||||||
sr-SP = sr
|
|
||||||
sv-SE = sv
|
|
||||||
ko-KR = ko
|
|
||||||
gl-ES = gl
|
|
||||||
uk-UA = uk
|
|
||||||
en-GB = en-GB
|
|
||||||
hu-HU = hu
|
|
||||||
sk-SK = sk
|
|
||||||
id-ID = id
|
|
||||||
fa-IR = fa
|
|
||||||
vi-VN = vi
|
|
||||||
|
|
||||||
; Extension mapping to highlight class
|
; Extension mapping to highlight class
|
||||||
; e.g. .toml=ini
|
; e.g. .toml=ini
|
||||||
|
|
Loading…
Add table
Reference in a new issue