Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

app.ini 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. ; App name that shows on every page title
  2. APP_NAME = Gitea: Git with a cup of tea
  3. ; Change it if you run locally
  4. RUN_USER = git
  5. ; Either "dev", "prod" or "test", default is "dev"
  6. RUN_MODE = dev
  7. [repository]
  8. ROOT =
  9. SCRIPT_TYPE = bash
  10. ; Default ANSI charset
  11. ANSI_CHARSET =
  12. ; Force every new repository to be private
  13. FORCE_PRIVATE = false
  14. ; Global maximum creation limit of repository per user, -1 means no limit
  15. MAX_CREATION_LIMIT = -1
  16. ; Mirror sync queue length, increase if mirror syncing starts hanging
  17. MIRROR_QUEUE_LENGTH = 1000
  18. ; Patch test queue length, increase if pull request patch testing starts hanging
  19. PULL_REQUEST_QUEUE_LENGTH = 1000
  20. ; Preferred Licenses to place at the top of the List
  21. ; Name must match file name in conf/license or custom/conf/license
  22. PREFERRED_LICENSES = Apache License 2.0,MIT License
  23. ; Disable ability to interact with repositories by HTTP protocol
  24. DISABLE_HTTP_GIT = false
  25. ; Force ssh:// clone url instead of scp-style uri when default SSH port is used
  26. USE_COMPAT_SSH_URI = false
  27. [repository.editor]
  28. ; List of file extensions that should have line wraps in the CodeMirror editor
  29. ; Separate extensions with a comma. To line wrap files w/o extension, just put a comma
  30. LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,
  31. ; Valid file modes that have a preview API associated with them, such as api/v1/markdown
  32. ; Separate values by commas. Preview tab in edit mode won't show if the file extension doesn't match
  33. PREVIEWABLE_FILE_MODES = markdown
  34. [repository.local]
  35. ; Path for uploads. Defaults to `tmp/local-repo`
  36. LOCAL_COPY_PATH = tmp/local-repo
  37. [repository.upload]
  38. ; Whether repository file uploads are enabled. Defaults to `true`
  39. ENABLED = true
  40. ; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
  41. TEMP_PATH = data/tmp/uploads
  42. ; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
  43. ALLOWED_TYPES =
  44. ; Max size of each file in MB. Defaults to 3MB
  45. FILE_MAX_SIZE = 3
  46. ; Max number of files per upload. Defaults to 5
  47. MAX_FILES = 5
  48. [ui]
  49. ; Number of repositories that are showed in one explore page
  50. EXPLORE_PAGING_NUM = 20
  51. ; Number of issues that are showed in one page
  52. ISSUE_PAGING_NUM = 10
  53. ; Number of maximum commits showed in one activity feed
  54. FEED_MAX_COMMIT_NUM = 5
  55. ; Value of `theme-color` meta tag, used by Android >= 5.0
  56. ; An invalid color like "none" or "disable" will have the default style
  57. ; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
  58. THEME_COLOR_META_TAG = `#6cc644`
  59. ; Max size of files to be displayed (defaults is 8MiB)
  60. MAX_DISPLAY_FILE_SIZE = 8388608
  61. ; Whether show the user email in the Explore Users page
  62. SHOW_USER_EMAIL = true
  63. [ui.admin]
  64. ; Number of users that are showed in one page
  65. USER_PAGING_NUM = 50
  66. ; Number of repos that are showed in one page
  67. REPO_PAGING_NUM = 50
  68. ; Number of notices that are showed in one page
  69. NOTICE_PAGING_NUM = 25
  70. ; Number of organization that are showed in one page
  71. ORG_PAGING_NUM = 50
  72. [ui.user]
  73. ; Number of repos that are showed in one page
  74. REPO_PAGING_NUM = 15
  75. [ui.meta]
  76. AUTHOR = Gitea - Git with a cup of tea
  77. DESCRIPTION = Gitea (Git with a cup of tea) is a painless self-hosted Git service written in Go
  78. KEYWORDS = go,git,self-hosted,gitea
  79. [markdown]
  80. ; Enable hard line break extension
  81. ENABLE_HARD_LINE_BREAK = false
  82. ; List of custom URL-Schemes that are allowed as links when rendering Markdown
  83. ; for example git,magnet
  84. CUSTOM_URL_SCHEMES =
  85. ; List of file extensions that should be rendered/edited as Markdown
  86. ; Separate extensions with a comma. To render files w/o extension as markdown, just put a comma
  87. FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
  88. [server]
  89. ; Listen protocol. One of 'http', 'https', 'unix' or 'fcgi'.
  90. PROTOCOL = http
  91. DOMAIN = localhost
  92. ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
  93. ; Listen address. Either a IPv4/IPv6 address or the path to a unix socket.
  94. HTTP_ADDR = 0.0.0.0
  95. HTTP_PORT = 3000
  96. ; Permission for unix socket
  97. UNIX_SOCKET_PERMISSION = 666
  98. ; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service.
  99. ; In most cases you do not need to change the default value.
  100. ; Alter it only if your SSH server node is not the same as HTTP node.
  101. LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/
  102. ; Disable SSH feature when not available
  103. DISABLE_SSH = false
  104. ; Whether use builtin SSH server or not.
  105. START_SSH_SERVER = false
  106. ; Domain name to be exposed in clone URL
  107. SSH_DOMAIN = %(DOMAIN)s
  108. ; Network interface builtin SSH server listens on
  109. SSH_LISTEN_HOST =
  110. ; Port number to be exposed in clone URL
  111. SSH_PORT = 22
  112. ; Port number builtin SSH server listens on
  113. SSH_LISTEN_PORT = %(SSH_PORT)s
  114. ; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
  115. SSH_ROOT_PATH =
  116. ; Directory to create temporary files when test public key using ssh-keygen,
  117. ; default is system temporary directory.
  118. SSH_KEY_TEST_PATH =
  119. ; Path to ssh-keygen, default is 'ssh-keygen' and let shell find out which one to call.
  120. SSH_KEYGEN_PATH = ssh-keygen
  121. ; Enable SSH Authorized Key Backup when rewriting all keys, default is true
  122. SSH_BACKUP_AUTHORIZED_KEYS = true
  123. ; Enable exposure of SSH clone URL to anonymous visitors, default is false
  124. SSH_EXPOSE_ANONYMOUS = false
  125. ; Indicate whether to check minimum key size with corresponding type
  126. MINIMUM_KEY_SIZE_CHECK = false
  127. ; Disable CDN even in "prod" mode
  128. OFFLINE_MODE = false
  129. DISABLE_ROUTER_LOG = false
  130. ; Generate steps:
  131. ; $ ./gitea cert -ca=true -duration=8760h0m0s -host=myhost.example.com
  132. ;
  133. ; Or from a .pfx file exported from the Windows certificate store (do
  134. ; not forget to export the private key):
  135. ; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
  136. ; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes
  137. CERT_FILE = custom/https/cert.pem
  138. KEY_FILE = custom/https/key.pem
  139. ; Upper level of template and static file path
  140. ; default is the path where Gitea is executed
  141. STATIC_ROOT_PATH =
  142. ; Default path for App data
  143. APP_DATA_PATH = data
  144. ; Application level GZIP support
  145. ENABLE_GZIP = false
  146. ; Landing page for non-logged users, can be "home" or "explore"
  147. LANDING_PAGE = home
  148. ; Enables git-lfs support. true or false, default is false.
  149. LFS_START_SERVER = false
  150. ; Where your lfs files put on, default is data/lfs.
  151. LFS_CONTENT_PATH = data/lfs
  152. ; LFS authentication secret, changed this to yourself.
  153. LFS_JWT_SECRET =
  154. ; Define allowed algorithms and their minimum key length (use -1 to disable a type)
  155. [ssh.minimum_key_sizes]
  156. ED25519 = 256
  157. ECDSA = 256
  158. RSA = 2048
  159. DSA = 1024
  160. [database]
  161. ; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
  162. DB_TYPE = mysql
  163. HOST = 127.0.0.1:3306
  164. NAME = gitea
  165. USER = root
  166. PASSWD =
  167. ; For "postgres" only, either "disable", "require" or "verify-full"
  168. SSL_MODE = disable
  169. ; For "sqlite3" and "tidb", use absolute path when you start as service
  170. PATH = data/gitea.db
  171. ; For "sqlite3" only. Query timeout
  172. SQLITE_TIMEOUT = 500
  173. [indexer]
  174. ISSUE_INDEXER_PATH = indexers/issues.bleve
  175. UPDATE_BUFFER_LEN = 20
  176. [admin]
  177. ; Disable regular (non-admin) users to create organizations
  178. DISABLE_REGULAR_ORG_CREATION = false
  179. [security]
  180. ; Whether the installer is disabled
  181. INSTALL_LOCK = false
  182. ; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!!
  183. SECRET_KEY = !#@FDEWREWR&*(
  184. ; Auto-login remember days
  185. LOGIN_REMEMBER_DAYS = 7
  186. COOKIE_USERNAME = gitea_awesome
  187. COOKIE_REMEMBER_NAME = gitea_incredible
  188. ; Reverse proxy authentication header name of user name
  189. REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER
  190. ; Sets the minimum password length for new Users
  191. MIN_PASSWORD_LENGTH = 6
  192. ; True when users are allowed to import local server paths
  193. IMPORT_LOCAL_PATHS = false
  194. [openid]
  195. ;
  196. ; OpenID is an open standard and decentralized authentication protocol.
  197. ; Your identity is the address of a webpage you provide, which describes
  198. ; how to prove you are in control of that page.
  199. ;
  200. ; For more info: https://en.wikipedia.org/wiki/OpenID
  201. ;
  202. ; Current implementation supports OpenID-2.0
  203. ;
  204. ; Tested to work providers at the time of writing:
  205. ; - Any GNUSocial node (your.hostname.tld/username)
  206. ; - Any SimpleID provider (http://simpleid.koinic.net)
  207. ; - http://openid.org.cn/
  208. ; - openid.stackexchange.com
  209. ; - login.launchpad.net
  210. ; - <username>.livejournal.com
  211. ;
  212. ; Whether to allow signin in via OpenID
  213. ENABLE_OPENID_SIGNIN = true
  214. ; Whether to allow registering via OpenID
  215. ; Do not include to rely on DISABLE_REGISTRATION setting
  216. ;ENABLE_OPENID_SIGNUP = true
  217. ; Allowed URI patterns (POSIX regexp).
  218. ; Space separated.
  219. ; Only these would be allowed if non-blank.
  220. ; Example value: trusted.domain.org trusted.domain.net
  221. WHITELISTED_URIS =
  222. ; Forbidden URI patterns (POSIX regexp).
  223. ; Space sepaated.
  224. ; Only used if WHITELISTED_URIS is blank.
  225. ; Example value: loadaverage.org/badguy stackexchange.com/.*spammer
  226. BLACKLISTED_URIS =
  227. [service]
  228. ; Time limit to confirm account/email registration
  229. ACTIVE_CODE_LIVE_MINUTES = 180
  230. ; Time limit to confirm forgot password reset process
  231. RESET_PASSWD_CODE_LIVE_MINUTES = 180
  232. ; User need to confirm e-mail for registration
  233. REGISTER_EMAIL_CONFIRM = false
  234. ; Does not allow register and admin create account only
  235. DISABLE_REGISTRATION = false
  236. ; User must sign in to view anything.
  237. REQUIRE_SIGNIN_VIEW = false
  238. ; Mail notification
  239. ENABLE_NOTIFY_MAIL = false
  240. ; More detail: https://github.com/go-gitea/gitea/issues/165
  241. ENABLE_REVERSE_PROXY_AUTHENTICATION = false
  242. ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
  243. ; Enable captcha validation for registration
  244. ENABLE_CAPTCHA = true
  245. ; Default value for KeepEmailPrivate
  246. ; New user will get the value of this setting copied into their profile
  247. DEFAULT_KEEP_EMAIL_PRIVATE = false
  248. ; Default value for AllowCreateOrganization
  249. ; New user will have rights set to create organizations depending on this setting
  250. DEFAULT_ALLOW_CREATE_ORGANIZATION = true
  251. ; Default value for EnableTimetracking
  252. ; Repositories will use timetracking by default depending on this setting
  253. DEFAULT_ENABLE_TIMETRACKING = true
  254. ; Default value for AllowOnlyContributorsToTrackTime
  255. ; Only users with write permissions could track time if this is true
  256. DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = true
  257. ; Default value for the domain part of the user's email address in the git log
  258. ; if he has set KeepEmailPrivate true. The user's email replaced with a
  259. ; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
  260. NO_REPLY_ADDRESS = noreply.example.org
  261. [webhook]
  262. ; Hook task queue length, increase if webhook shooting starts hanging
  263. QUEUE_LENGTH = 1000
  264. ; Deliver timeout in seconds
  265. DELIVER_TIMEOUT = 5
  266. ; Allow insecure certification
  267. SKIP_TLS_VERIFY = false
  268. ; Number of history information in each page
  269. PAGING_NUM = 10
  270. [mailer]
  271. ENABLED = false
  272. ; Buffer length of channel, keep it as it is if you don't know what it is.
  273. SEND_BUFFER_LEN = 100
  274. ; Name displayed in mail title
  275. SUBJECT = %(APP_NAME)s
  276. ; Mail server
  277. ; Gmail: smtp.gmail.com:587
  278. ; QQ: smtp.qq.com:465
  279. ; 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.
  280. HOST =
  281. ; Disable HELO operation when hostname are different.
  282. DISABLE_HELO =
  283. ; Custom hostname for HELO operation, default is from system.
  284. HELO_HOSTNAME =
  285. ; Do not verify the certificate of the server. Only use this for self-signed certificates
  286. SKIP_VERIFY =
  287. ; Use client certificate
  288. USE_CERTIFICATE = false
  289. CERT_FILE = custom/mailer/cert.pem
  290. KEY_FILE = custom/mailer/key.pem
  291. ; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
  292. FROM =
  293. ; Mailer user name and password
  294. USER =
  295. PASSWD =
  296. ; Send mails as plain text
  297. SEND_AS_PLAIN_TEXT = false
  298. ; Enable sendmail (override SMTP)
  299. USE_SENDMAIL = false
  300. ; Specifiy an alternative sendmail binary
  301. SENDMAIL_PATH = sendmail
  302. [cache]
  303. ; Either "memory", "redis", or "memcache", default is "memory"
  304. ADAPTER = memory
  305. ; For "memory" only, GC interval in seconds, default is 60
  306. INTERVAL = 60
  307. ; For "redis" and "memcache", connection host address
  308. ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
  309. ; memcache: `127.0.0.1:11211`
  310. HOST =
  311. [session]
  312. ; Either "memory", "file", or "redis", default is "memory"
  313. PROVIDER = memory
  314. ; Provider config options
  315. ; memory: not have any config yet
  316. ; file: session file path, e.g. `data/sessions`
  317. ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
  318. ; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
  319. PROVIDER_CONFIG = data/sessions
  320. ; Session cookie name
  321. COOKIE_NAME = i_like_gitea
  322. ; If you use session in https only, default is false
  323. COOKIE_SECURE = false
  324. ; Enable set cookie, default is true
  325. ENABLE_SET_COOKIE = true
  326. ; Session GC time interval in seconds, default is 86400 (1 day)
  327. GC_INTERVAL_TIME = 86400
  328. ; Session life time in seconds, default is 86400 (1 day)
  329. SESSION_LIFE_TIME = 86400
  330. [picture]
  331. AVATAR_UPLOAD_PATH = data/avatars
  332. ; Chinese users can choose "duoshuo"
  333. ; or a custom avatar source, like: http://cn.gravatar.com/avatar/
  334. GRAVATAR_SOURCE = gravatar
  335. ; This value will be forced to be true in offline mode.
  336. DISABLE_GRAVATAR = false
  337. ; Federated avatar lookup uses DNS to discover avatar associated
  338. ; with emails, see https://www.libravatar.org
  339. ; This value will be forced to be false in offline mode or Gravatar is disbaled.
  340. ENABLE_FEDERATED_AVATAR = false
  341. [attachment]
  342. ; Whether attachments are enabled. Defaults to `true`
  343. ENABLE = true
  344. ; Path for attachments. Defaults to `data/attachments`
  345. PATH = data/attachments
  346. ; One or more allowed types, e.g. image/jpeg|image/png
  347. ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip
  348. ; Max size of each file. Defaults to 32MB
  349. MAX_SIZE = 4
  350. ; Max number of files per upload. Defaults to 10
  351. MAX_FILES = 5
  352. [time]
  353. ; Specifies the format for fully outputed dates. Defaults to RFC1123
  354. ; Special supported values are ANSIC, UnixDate, RubyDate, RFC822, RFC822Z, RFC850, RFC1123, RFC1123Z, RFC3339, RFC3339Nano, Kitchen, Stamp, StampMilli, StampMicro and StampNano
  355. ; For more information about the format see http://golang.org/pkg/time/#pkg-constants
  356. FORMAT =
  357. [log]
  358. ROOT_PATH =
  359. ; Either "console", "file", "conn", "smtp" or "database", default is "console"
  360. ; Use comma to separate multiple modes, e.g. "console, file"
  361. MODE = console
  362. ; Buffer length of channel, keep it as it is if you don't know what it is.
  363. BUFFER_LEN = 10000
  364. ; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Trace"
  365. LEVEL = Trace
  366. ; For "console" mode only
  367. [log.console]
  368. LEVEL =
  369. ; For "file" mode only
  370. [log.file]
  371. LEVEL =
  372. ; This enables automated log rotate(switch of following options), default is true
  373. LOG_ROTATE = true
  374. ; Max line number of single file, default is 1000000
  375. MAX_LINES = 1000000
  376. ; Max size shift of single file, default is 28 means 1 << 28, 256MB
  377. MAX_SIZE_SHIFT = 28
  378. ; Segment log daily, default is true
  379. DAILY_ROTATE = true
  380. ; Expired days of log file(delete after max days), default is 7
  381. MAX_DAYS = 7
  382. ; For "conn" mode only
  383. [log.conn]
  384. LEVEL =
  385. ; Reconnect host for every single message, default is false
  386. RECONNECT_ON_MSG = false
  387. ; Try to reconnect when connection is lost, default is false
  388. RECONNECT = false
  389. ; Either "tcp", "unix" or "udp", default is "tcp"
  390. PROTOCOL = tcp
  391. ; Host address
  392. ADDR =
  393. ; For "smtp" mode only
  394. [log.smtp]
  395. LEVEL =
  396. ; Name displayed in mail title, default is "Diagnostic message from server"
  397. SUBJECT = Diagnostic message from server
  398. ; Mail server
  399. HOST =
  400. ; Mailer user name and password
  401. USER =
  402. PASSWD =
  403. ; Receivers, can be one or more, e.g. 1@example.com,2@example.com
  404. RECEIVERS =
  405. ; For "database" mode only
  406. [log.database]
  407. LEVEL =
  408. ; Either "mysql" or "postgres"
  409. DRIVER =
  410. ; Based on xorm, e.g.: root:root@localhost/gitea?charset=utf8
  411. CONN =
  412. [cron]
  413. ; Enable running cron tasks periodically.
  414. ENABLED = true
  415. ; Run cron tasks when Gitea starts.
  416. RUN_AT_START = false
  417. ; Update mirrors
  418. [cron.update_mirrors]
  419. SCHEDULE = @every 10m
  420. ; Repository health check
  421. [cron.repo_health_check]
  422. SCHEDULE = @every 24h
  423. TIMEOUT = 60s
  424. ; Arguments for command 'git fsck', e.g. "--unreachable --tags"
  425. ; see more on http://git-scm.com/docs/git-fsck/1.7.5
  426. ARGS =
  427. ; Check repository statistics
  428. [cron.check_repo_stats]
  429. RUN_AT_START = true
  430. SCHEDULE = @every 24h
  431. ; Clean up old repository archives
  432. [cron.archive_cleanup]
  433. RUN_AT_START = true
  434. SCHEDULE = @every 24h
  435. ; Archives created more than OLDER_THAN ago are subject to deletion
  436. OLDER_THAN = 24h
  437. ; Synchronize external user data (only LDAP user synchronization is supported)
  438. [cron.sync_external_users]
  439. ; Syncronize external user data when starting server (default false)
  440. RUN_AT_START = false
  441. ; Interval as a duration between each synchronization (default every 24h)
  442. SCHEDULE = @every 24h
  443. ; Create new users, update existing user data and disable users that are not in external source anymore (default)
  444. ; or only create new users if UPDATE_EXISTING is set to false
  445. UPDATE_EXISTING = true
  446. [git]
  447. ; Disables highlight of added and removed changes
  448. DISABLE_DIFF_HIGHLIGHT = false
  449. ; Max number of lines allowed of a single file in diff view
  450. MAX_GIT_DIFF_LINES = 1000
  451. ; Max number of characters of a line allowed in diff view
  452. MAX_GIT_DIFF_LINE_CHARACTERS = 5000
  453. ; Max number of files shown in diff view
  454. MAX_GIT_DIFF_FILES = 100
  455. ; Arguments for command 'git gc', e.g. "--aggressive --auto"
  456. ; see more on http://git-scm.com/docs/git-gc/1.7.5
  457. GC_ARGS =
  458. ; Operation timeout in seconds
  459. [git.timeout]
  460. MIGRATE = 600
  461. MIRROR = 300
  462. CLONE = 300
  463. PULL = 300
  464. GC = 60
  465. [mirror]
  466. ; Default interval as a duration between each check
  467. DEFAULT_INTERVAL = 8h
  468. ; Min interval as a duration must be > 1m
  469. MIN_INTERVAL = 10m
  470. [api]
  471. ; Max number of items will response in a page
  472. MAX_RESPONSE_ITEMS = 50
  473. [i18n]
  474. 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
  475. NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어
  476. ; Used for datetimepicker
  477. [i18n.datelang]
  478. en-US = en
  479. zh-CN = zh
  480. zh-HK = zh-TW
  481. zh-TW = zh-TW
  482. de-DE = de
  483. fr-FR = fr
  484. nl-NL = nl
  485. lv-LV = lv
  486. ru-RU = ru
  487. ja-JP = ja
  488. es-ES = es
  489. pt-BR = pt-BR
  490. pl-PL = pl
  491. bg-BG = bg
  492. it-IT = it
  493. fi-FI = fi
  494. tr-TR = tr
  495. cs-CZ = cs-CZ
  496. sr-SP = sr
  497. sv-SE = sv
  498. ko-KR = ko
  499. ; Extension mapping to highlight class
  500. ; e.g. .toml=ini
  501. [highlight.mapping]
  502. [other]
  503. SHOW_FOOTER_BRANDING = false
  504. ; Show version information about Gitea and Go in the footer
  505. SHOW_FOOTER_VERSION = true
  506. ; Show time of template execution in the footer
  507. SHOW_FOOTER_TEMPLATE_LOAD_TIME = true