Mercurial > kallithea
diff development.ini @ 3557:58dcef7eef03 beta
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 21 Mar 2013 21:03:22 +0100 |
parents | 7174ee850baa |
children | c04d1d9b6193 |
line wrap: on
line diff
--- a/development.ini Wed Mar 06 15:25:28 2013 +0100 +++ b/development.ini Thu Mar 21 21:03:22 2013 +0100 @@ -25,69 +25,88 @@ #smtp_port = #smtp_use_tls = false #smtp_use_ssl = true -# Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) +## Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) #smtp_auth = [server:main] ## PASTE -##nr of threads to spawn +## nr of threads to spawn #threadpool_workers = 5 -##max request before thread respawn +## max request before thread respawn #threadpool_max_requests = 10 -##option to use threads of process +## option to use threads of process #use_threadpool = true #use = egg:Paste#http -#WAITRESS +## WAITRESS threads = 5 -#100GB +## 100GB max_request_body_size = 107374182400 use = egg:waitress#main host = 0.0.0.0 port = 5000 -[filter:proxy-prefix] -# prefix middleware for rc -use = egg:PasteDeploy#prefix -prefix = /<your-prefix> +## prefix middleware for rc +#[filter:proxy-prefix] +#use = egg:PasteDeploy#prefix +#prefix = /<your-prefix> [app:main] use = egg:rhodecode +## enable proxy prefix middleware #filter-with = proxy-prefix + full_stack = true static_files = true -# Optional Languages -# en, fr, ja, pt_BR, zh_CN, zh_TW, pl +## Optional Languages +## en, fr, ja, pt_BR, zh_CN, zh_TW, pl lang = en cache_dir = %(here)s/data index_dir = %(here)s/data/index -# set this path to use archive download cache -#archive_cache_dir = /tmp/rhodecode_tarballcache -app_instance_uuid = rc-develop + +## uncomment and set this path to use archive download cache +#archive_cache_dir = /tmp/tarballcache + +## change this to unique ID for security +app_instance_uuid = rc-production + +## cut off limit for large diffs (size in bytes) cut_off_limit = 256000 -vcs_full_cache = True -# force https in RhodeCode, fixes https redirects, assumes it's always https + +## use cache version of scm repo everywhere +vcs_full_cache = true + +## force https in RhodeCode, fixes https redirects, assumes it's always https force_https = false -# use Strict-Transport-Security headers + +## use Strict-Transport-Security headers use_htsts = false + +## number of commits stats will parse on each iteration commit_parse_limit = 25 -# number of items displayed in lightweight dashboard before paginating + +## number of items displayed in lightweight dashboard before paginating is shown dashboard_items = 100 + +## use gravatar service to display avatars use_gravatar = true -# path to git executable +## path to git executable git_path = git ## RSS feed options - rss_cut_off_limit = 256000 rss_items_per_page = 10 rss_include_diff = false +## show hash options for changelog +sha_len = 12 +sha_rev = true + ## alternative_gravatar_url allows you to use your own avatar server application ## the following parts of the URL will be replaced @@ -99,8 +118,11 @@ #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} + +## container auth options container_auth_enabled = false proxypass_auth_enabled = false + ## default encoding used to convert from and to unicode ## can be also a comma seperated list of encoding in case of mixed encodings default_encoding = utf8 @@ -185,7 +207,7 @@ celeryd.log.level = debug celeryd.max.tasks.per.child = 1 -#tasks will never be sent to the queue, but executed locally instead. +## tasks will never be sent to the queue, but executed locally instead. celery.always.eager = false #################################### @@ -241,18 +263,19 @@ beaker.session.key = rhodecode -## secure cookie requires AES python libraries ## -#beaker.session.encrypt_key = g654dcno0-9873jhgfreyu -#beaker.session.validate_key = 9712sds2212c--zxc123 +## secure cookie requires AES python libraries +#beaker.session.encrypt_key = <key_for_encryption> +#beaker.session.validate_key = <validation_key> + ## sets session as invalid if it haven't been accessed for given amount of time beaker.session.timeout = 2592000 beaker.session.httponly = true #beaker.session.cookie_path = /<your-prefix> -## uncomment for https secure cookie ## +## uncomment for https secure cookie beaker.session.secure = false -## auto save the session to not to use .save() ## +## auto save the session to not to use .save() beaker.session.auto = False ## default cookie expiration time in seconds `true` expire at browser close ## @@ -267,57 +290,57 @@ ### [errormator] ### #################### -# Errormator is tailored to work with RhodeCode, see -# http://errormator.com for details how to obtain an account -# you must install python package `errormator_client` to make it work +## Errormator is tailored to work with RhodeCode, see +## http://errormator.com for details how to obtain an account +## you must install python package `errormator_client` to make it work -# errormator enabled -errormator = true +## errormator enabled +errormator = false errormator.server_url = https://api.errormator.com errormator.api_key = YOUR_API_KEY -# TWEAK AMOUNT OF INFO SENT HERE +## TWEAK AMOUNT OF INFO SENT HERE -# enables 404 error logging (default False) +## enables 404 error logging (default False) errormator.report_404 = false -# time in seconds after request is considered being slow (default 1) +## time in seconds after request is considered being slow (default 1) errormator.slow_request_time = 1 -# record slow requests in application -# (needs to be enabled for slow datastore recording and time tracking) +## record slow requests in application +## (needs to be enabled for slow datastore recording and time tracking) errormator.slow_requests = true -# enable hooking to application loggers +## enable hooking to application loggers # errormator.logging = true -# minimum log level for log capture +## minimum log level for log capture # errormator.logging.level = WARNING -# send logs only from erroneous/slow requests -# (saves API quota for intensive logging) +## send logs only from erroneous/slow requests +## (saves API quota for intensive logging) errormator.logging_on_error = false -# list of additonal keywords that should be grabbed from environ object -# can be string with comma separated list of words in lowercase -# (by default client will always send following info: -# 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that -# start with HTTP* this list be extended with additional keywords here +## list of additonal keywords that should be grabbed from environ object +## can be string with comma separated list of words in lowercase +## (by default client will always send following info: +## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that +## start with HTTP* this list be extended with additional keywords here errormator.environ_keys_whitelist = -# list of keywords that should be blanked from request object -# can be string with comma separated list of words in lowercase -# (by default client will always blank keys that contain following words -# 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf' -# this list be extended with additional keywords set here +## list of keywords that should be blanked from request object +## can be string with comma separated list of words in lowercase +## (by default client will always blank keys that contain following words +## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf' +## this list be extended with additional keywords set here errormator.request_keys_blacklist = -# list of namespaces that should be ignores when gathering log entries -# can be string with comma separated list of namespaces -# (by default the client ignores own entries: errormator_client.client) +## list of namespaces that should be ignores when gathering log entries +## can be string with comma separated list of namespaces +## (by default the client ignores own entries: errormator_client.client) errormator.log_namespace_blacklist = @@ -325,8 +348,8 @@ ### [sentry] ### ################ -# sentry is a alternative open source error aggregator -# you must install python packages `sentry` and `raven` to enable +## sentry is a alternative open source error aggregator +## you must install python packages `sentry` and `raven` to enable sentry.dsn = YOUR_DNS sentry.servers = @@ -386,7 +409,7 @@ level = DEBUG handlers = qualname = routes.middleware -# "level = DEBUG" logs the route matched and routing variables. +## "level = DEBUG" logs the route matched and routing variables. propagate = 1 [logger_beaker]