diff options
author | francoism90 | 2017-01-24 19:27:15 +0100 |
---|---|---|
committer | francoism90 | 2017-01-24 19:27:15 +0100 |
commit | fd432ddc7b960c8ea557fcacd3d377e601b2a49f (patch) | |
tree | b26e887c600ae6bdf7e5d8229a0d9c11efea6b20 /app.ini | |
parent | a2a7791baac9d1d091e82888dc800776ae77c540 (diff) | |
download | aur-fd432ddc7b960c8ea557fcacd3d377e601b2a49f.tar.gz |
update app.ini
Diffstat (limited to 'app.ini')
-rw-r--r-- | app.ini | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -57,6 +57,8 @@ FEED_MAX_COMMIT_NUM = 5 THEME_COLOR_META_TAG = `#6cc644` ; Max size of files to be displayed (defaults is 8MiB) MAX_DISPLAY_FILE_SIZE = 8388608 +; Whether show the user email in the Explore Users page +SHOW_USER_EMAIL = true [ui.admin] ; Number of users that are showed in one page @@ -159,6 +161,7 @@ PATH = /var/lib/gitea/data/gogs.db [admin] [security] +; Whether the installer is disabled INSTALL_LOCK = false ; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!! SECRET_KEY = !#@FDEWREWR&*( @@ -170,6 +173,8 @@ COOKIE_REMEMBER_NAME = gitea_incredible REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER ; Sets the minimum password length for new Users MIN_PASSWORD_LENGTH = 6 +; True when users are allowed to import local server paths +IMPORT_LOCAL_PATHS = false [service] ACTIVE_CODE_LIVE_MINUTES = 180 @@ -187,6 +192,13 @@ ENABLE_REVERSE_PROXY_AUTHENTICATION = false ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false ; Enable captcha validation for registration ENABLE_CAPTCHA = true +; Default value for KeepEmailPrivate +; New user will get the value of this setting copied into their profile +DEFAULT_KEEP_EMAIL_PRIVATE = false +; Default value for the domain part of the user's email address in the git log +; if he has set KeepEmailPrivate true. The user's email replaced with a +; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS. +NO_REPLY_ADDRESS = noreply.example.org [webhook] ; Hook task queue length, increase if webhook shooting starts hanging @@ -251,7 +263,7 @@ PROVIDER = memory ; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table` PROVIDER_CONFIG = /var/lib/gitea/data/sessions ; Session cookie name -COOKIE_NAME = i_like_gogits +COOKIE_NAME = i_like_gitea ; If you use session in https only, default is false COOKIE_SECURE = false ; Enable set cookie, default is true @@ -279,7 +291,7 @@ ENABLE = true ; Path for attachments. Defaults to `data/attachments` PATH = /var/lib/gitea/data/attachments ; One or more allowed types, e.g. image/jpeg|image/png -ALLOWED_TYPES = image/jpeg|image/png +ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip ; Max size of each file. Defaults to 32MB MAX_SIZE = 4 ; Max number of files per upload. Defaults to 10 @@ -341,7 +353,7 @@ HOST = ; Mailer user name and password USER = PASSWD = -; Receivers, can be one or more, e.g. ["1@example.com","2@example.com"] +; Receivers, can be one or more, e.g. 1@example.com,2@example.com RECEIVERS = ; For "database" mode only @@ -406,7 +418,7 @@ MAX_RESPONSE_ITEMS = 50 [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 -NAMES = English,简体中文,繁體中文(香港),繁體中文(台湾),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어 +NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어 ; Used for datetimepicker [i18n.datelang] |