##// END OF EJS Templates
release: 0.3.7
release: 0.3.7

File last commit:

r7250:e2519d2e default
r7473:a18445b8 0.3.7 stable
Show More
development.ini
591 lines | 17.7 KiB | text/x-ini | IniLexer
Marcin Kuzminski
Added pylons manage script...
r12 ################################################################################
################################################################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 # Kallithea - Development config: #
# listening on *:5000 #
# sqlite and kallithea.db #
# initial_repo_scan = true #
# set debug = true #
# verbose and colorful logging #
added ini files into codecleaner
r4068 # #
Marcin Kuzminski
Added pylons manage script...
r12 # The %(here)s variable will be replaced with the parent directory of this file#
################################################################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 ################################################################################
Marcin Kuzminski
major app speedup moved the wsgi creation to app globals, in order to make it run only once....
r10
Marcin Kuzminski
initial commit.
r0 [DEFAULT]
debug = true
added simple profiling middleware controlled by .ini file flag
r1355 pdebug = false
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Implemented password reset(forms/models/ tasks) and mailing tasks....
r474 ################################################################################
Søren Løvborg
spelling: use "email" consistently...
r5412 ## Email settings ##
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## ##
Søren Løvborg
spelling: use "email" consistently...
r5412 ## Refer to the documentation ("Email settings") for more details. ##
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## ##
## It is recommended to use a valid sender address that passes access ##
## validation and spam filtering in mail servers. ##
Implemented password reset(forms/models/ tasks) and mailing tasks....
r474 ################################################################################
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366
Søren Løvborg
spelling: use "email" consistently...
r5412 ## 'From' header for application emails. You can optionally add a name.
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## Default:
Thomas De Schampheleire
e-mail: add some default values and some examples to .ini file as comments...
r5365 #app_email_from = Kallithea
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## Examples:
Thomas De Schampheleire
e-mail: add some default values and some examples to .ini file as comments...
r5365 #app_email_from = Kallithea <kallithea-noreply@example.com>
#app_email_from = kallithea-noreply@example.com
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366
Søren Løvborg
spelling: use "email" consistently...
r5412 ## Subject prefix for application emails.
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## A space between this prefix and the real subject is automatically added.
## Default:
Thomas De Schampheleire
e-mail: add some default values and some examples to .ini file as comments...
r5365 #email_prefix =
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## Example:
Thomas De Schampheleire
e-mail: add some default values and some examples to .ini file as comments...
r5365 #email_prefix = [Kallithea]
Søren Løvborg
spelling: use "email" consistently...
r5412 ## Recipients for error emails and fallback recipients of application mails.
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## Multiple addresses can be specified, space-separated.
## Only addresses are allowed, do not add any name part.
## Default:
#email_to =
## Examples:
Thomas De Schampheleire
e-mail: add some default values and some examples to .ini file as comments...
r5365 #email_to = admin@example.com
#email_to = admin@example.com another_admin@example.com
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366
Søren Løvborg
spelling: use "email" consistently...
r5412 ## 'From' header for error emails. You can optionally add a name.
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## Default:
Thomas De Schampheleire
e-mail: add some default values and some examples to .ini file as comments...
r5365 #error_email_from = pylons@yourapp.com
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## Examples:
Thomas De Schampheleire
e-mail: add some default values and some examples to .ini file as comments...
r5365 #error_email_from = Kallithea Errors <kallithea-noreply@example.com>
#error_email_from = paste_error@example.com
Implemented password reset(forms/models/ tasks) and mailing tasks....
r474
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## SMTP server settings
## Only smtp_server is mandatory. All other settings take the specified default
## values.
Søren Løvborg
cleanup: use example.com for tests and examples...
r5497 #smtp_server = smtp.example.com
added ini files into codecleaner
r4068 #smtp_username =
#smtp_password =
Thomas De Schampheleire
e-mail: add some default values and some examples to .ini file as comments...
r5365 #smtp_port = 25
Celery is configured by the .ini files and run from paster now...
r776 #smtp_use_tls = false
Thomas De Schampheleire
e-mail: clarify that smtp_use_ssl defaults to false...
r5301 #smtp_use_ssl = false
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## SMTP authentication parameters to use (e.g. LOGIN PLAIN CRAM-MD5, etc.).
## If empty, use any of the authentication parameters supported by the server.
added ini files into codecleaner
r4068 #smtp_auth =
Marcin Kuzminski
initial commit.
r0
[server:main]
Added use_poll option for latest waitress release....
r3902 ## PASTE ##
#use = egg:Paste#http
## nr of worker threads to spawn
Mads Kiilerich
config: clarify that we only recommend and support single threaded operation...
r6666 #threadpool_workers = 1
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## max request before thread respawn
Mads Kiilerich
config: clarify that we only recommend and support single threaded operation...
r6666 #threadpool_max_requests = 100
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## option to use threads of process
Switch to waitress wsgi server by default in rhodecode....
r2597 #use_threadpool = true
Marcin Kuzminski
Added few options to configs,...
r86
Added use_poll option for latest waitress release....
r3902 ## WAITRESS ##
use = egg:waitress#main
## number of worker threads
Mads Kiilerich
config: clarify that we only recommend and support single threaded operation...
r6666 threads = 1
Added use_poll option for latest waitress release....
r3902 ## MAX BODY SIZE 100GB
git executable is now configurable via .ini files
r3376 max_request_body_size = 107374182400
Added use_poll option for latest waitress release....
r3902 ## use poll instead of select, fixes fd limits, may not work on old
## windows systems.
removed yet unavailable option for waitress
r3938 #asyncore_use_poll = True
added option to ini file to define lightweight dashboard items per page before pagination
r3087
Added use_poll option for latest waitress release....
r3902 ## GUNICORN ##
#use = egg:gunicorn#main
added info about settings instance_id=* with gunicorn setup and >1 workers
r3935 ## number of process workers. You must set `instance_id = *` when this option
## is set to more than one worker
Added use_poll option for latest waitress release....
r3902 #workers = 1
## process name
Bradley M. Kuhn
Rename some strings in defaults found in config files
r4210 #proc_name = kallithea
Added use_poll option for latest waitress release....
r3902 ## type of worker class, one of sync, eventlet, gevent, tornado
## recommended for bigger setup is using of of other than sync one
fixed gunicorn example config
r3945 #worker_class = sync
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 #max_requests = 1000
Added uwsgi timeouts into example
r4092 ## ammount of time a worker can handle request before it gets killed and
Added timeout option to gunicorn example config
r3964 ## restarted
#timeout = 3600
Added use_poll option for latest waitress release....
r3902
config: added example uwsgi configuration with auto-scaling...
r4066 ## UWSGI ##
## run with uwsgi --ini-paste-logged <inifile.ini>
#[uwsgi]
#socket = /tmp/uwsgi.sock
#master = true
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 #http = 127.0.0.1:5000
config: added example uwsgi configuration with auto-scaling...
r4066
## set as deamon and redirect all output to file
Bradley M. Kuhn
Rename some strings in defaults found in config files
r4210 #daemonize = ./uwsgi_kallithea.log
config: added example uwsgi configuration with auto-scaling...
r4066
## master process PID
Bradley M. Kuhn
Rename some strings in defaults found in config files
r4210 #pidfile = ./uwsgi_kallithea.pid
config: added example uwsgi configuration with auto-scaling...
r4066
## stats server with workers statistics, use uwsgitop
## for monitoring, `uwsgitop 127.0.0.1:1717`
#stats = 127.0.0.1:1717
added memory report into uwsgi example
r4078 #memory-report = true
config: added example uwsgi configuration with auto-scaling...
r4066
## log 5XX errors
#log-5xx = true
## Set the socket listen queue size.
#listen = 256
## Gracefully Reload workers after the specified amount of managed requests
## (avoid memory leaks).
#max-requests = 1000
added larger buffers for example uwsgi setup
r4086 ## enable large buffers
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 #buffer-size = 65535
added larger buffers for example uwsgi setup
r4086
Added uwsgi timeouts into example
r4092 ## socket and http timeouts ##
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 #http-timeout = 3600
#socket-timeout = 3600
Added uwsgi timeouts into example
r4092
config: added example uwsgi configuration with auto-scaling...
r4066 ## Log requests slower than the specified number of milliseconds.
#log-slow = 10
## Exit if no app can be loaded.
#need-app = true
## Set lazy mode (load apps in workers instead of master).
#lazy = true
## scaling ##
## set cheaper algorithm to use, if not set default will be used
#cheaper-algo = spare
added ini files into codecleaner
r4068 ## minimum number of workers to keep at all times
config: added example uwsgi configuration with auto-scaling...
r4066 #cheaper = 1
added ini files into codecleaner
r4068 ## number of workers to spawn at startup
config: added example uwsgi configuration with auto-scaling...
r4066 #cheaper-initial = 1
added ini files into codecleaner
r4068 ## maximum number of workers that can be spawned
config: added example uwsgi configuration with auto-scaling...
r4066 #workers = 4
added ini files into codecleaner
r4068 ## how many workers should be spawned at a time
config: added example uwsgi configuration with auto-scaling...
r4066 #cheaper-step = 1
Added use_poll option for latest waitress release....
r3902 ## COMMON ##
some logging extras for development config files
r716 host = 0.0.0.0
Marcin Kuzminski
Added pylons manage script...
r12 port = 5000
Marcin Kuzminski
initial commit.
r0
Mads Kiilerich
config: don't use rc in description of prefix middleware
r5079 ## middleware for hosting the WSGI application under a URL prefix
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 #[filter:proxy-prefix]
#use = egg:PasteDeploy#prefix
#prefix = /<your-prefix>
added comments into beaker session,...
r2615
Marcin Kuzminski
initial commit.
r0 [app:main]
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 use = egg:kallithea
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## enable proxy prefix middleware
added comments into beaker session,...
r2615 #filter-with = proxy-prefix
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
Marcin Kuzminski
initial commit.
r0 full_stack = true
docs update, developments serves statics as default
r253 static_files = true
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 ## Available Languages:
Mads Kiilerich
i18n: drop redundant english translation...
r4985 ## cs de fr hu ja nl_BE pl pt_BR ru sk zh_CN zh_TW
lang =
Marcin Kuzminski
initial commit.
r0 cache_dir = %(here)s/data
Implemented whoosh index building as paster command....
r683 index_dir = %(here)s/data/index
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
added initial_repo_scan flag for controll if repo scaning should be performed on every startup....
r3778 ## perform a full repository scan on each server start, this should be
## set to false after first startup, to allow faster server restarts.
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 #initial_repo_scan = false
added initial_repo_scan flag for controll if repo scaning should be performed on every startup....
r3778 initial_repo_scan = true
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## uncomment and set this path to use archive download cache
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 archive_cache_dir = %(here)s/tarballcache
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
## change this to unique ID for security
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 app_instance_uuid = development-not-secret
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
## cut off limit for large diffs (size in bytes)
fixes #79 cut off limit was added into .ini config files
r812 cut_off_limit = 256000
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
## use cache version of scm repo everywhere
vcs_full_cache = true
Bradley M. Kuhn
General renaming to Kallithea
r4212 ## force https in Kallithea, fixes https redirects, assumes it's always https
Added force https option into config files
r914 force_https = false
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
## use Strict-Transport-Security headers
make the htsts headers optional and stored in .ini file....
r3359 use_htsts = false
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
## number of commits stats will parse on each iteration
moved statistics parse_limit into .ini files...
r1076 commit_parse_limit = 25
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
## path to git executable
git executable is now configurable via .ini files
r3376 git_path = git
made git refs filter configurable ref issue #797...
r3561 ## git rev filter option, --all is the default filter, if you need to
## hide all refs in changelog switch this to --branches --tags
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 #git_rev_filter = --branches --tags
made git refs filter configurable ref issue #797...
r3561
Implemented #661 Add option to include diff in RSS feed...
r3028 ## RSS feed options
rss_cut_off_limit = 256000
rss_items_per_page = 10
rss_include_diff = false
Mads Kiilerich
config: rename options to show_revision_number and show_sha_length...
r3651 ## options for showing and identifying changesets
show_sha_length = 12
domruf
config: the default for show_revision_number should be false...
r4549 show_revision_number = false
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
added alias configuration option for gists....
r3850 ## gist URL alias, used to create nicer urls for gist. This should be an
config: added example uwsgi configuration with auto-scaling...
r4066 ## url that does rewrites to _admin/gists/<gistid>.
Søren Løvborg
cleanup: use example.com for tests and examples...
r5497 ## example: http://gist.example.com/{gistid}. Empty means use the internal
## Kallithea url, ie. http[s]://kallithea.example.com/_admin/gists/<gistid>
added alias configuration option for gists....
r3850 gist_alias_url =
new feature: API access white list definition from .ini files
r3751 ## white list of API enabled controllers. This allows to add list of
## controllers to which access will be enabled by api_key. eg: to enable
## api access to raw_files put `FilesController:raw`, to enable access to patches
## add `ChangesetController:changeset_patch`. This list should be "," separated
## Syntax is <ControllerClass>:<function>. Check debug logs for generated names
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 ## Recommended settings below are commented out:
new feature: API access white list definition from .ini files
r3751 api_access_controllers_whitelist =
config: added example uwsgi configuration with auto-scaling...
r4066 # ChangesetController:changeset_patch,
# ChangesetController:changeset_raw,
# FilesController:raw,
# FilesController:archivefile
Implemented #661 Add option to include diff in RSS feed...
r3028
Implemented #647, option to pass list of default encoding used to encode to/decode from unicode
r3008 ## default encoding used to convert from and to unicode
## can be also a comma seperated list of encoding in case of mixed encodings
implements #212 moved default encoding variable into rhodecode-config. It's now possible to change...
r2016 default_encoding = utf8
Marcin Kuzminski
initial commit.
r0
Bradley M. Kuhn
General renaming to Kallithea
r4212 ## issue tracker for Kallithea (leave blank to disable, absent for default)
Bradley M. Kuhn
Change bitbucket and hosting URL
r4179 #bugtracker = https://bitbucket.org/conservancy/kallithea/issues
Jonathan Sternberg
Allow RhodeCode maintainers to specify a custom bug tracker....
r4006
#73 mapping of commited issues from commit message into issue tracker url.
r1837 ## issue tracking mapping for commits messages
changed default issue tracker links pattern
r1933 ## comment out issue_pat, issue_server, issue_prefix to enable
#73 mapping of commited issues from commit message into issue tracker url.
r1837
## pattern to get the issues from commit messages
changed default issue tracker links pattern
r1933 ## default one used here is #<numbers> with a regex passive group for `#`
## {id} will be all groups matched from this pattern
#73 mapping of commited issues from commit message into issue tracker url.
r1837
changed default issue tracker links pattern
r1933 issue_pat = (?:\s*#)(\d+)
#73 mapping of commited issues from commit message into issue tracker url.
r1837
changed default issue tracker links pattern
r1933 ## server url to the issue, each {id} will be replaced with match
Added optional repo_name into issue tracker url to get just the name of repo without group prefix
r2339 ## fetched from the regex and {repo} is replaced with full repository name
## including groups {repo_name} is replaced with just name of repo
#73 mapping of commited issues from commit message into issue tracker url.
r1837
Søren Løvborg
cleanup: use example.com for tests and examples...
r5497 issue_server_link = https://issues.example.com/{repo}/issue/{id}
#73 mapping of commited issues from commit message into issue tracker url.
r1837
## prefix to add to link to indicate it's an url
## #314 will be replaced by <issue_prefix><id>
UI fixes...
r1865 issue_prefix = #
#73 mapping of commited issues from commit message into issue tracker url.
r1837
#518 multiple issues patterns...
r2866 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
## multiple patterns, to other issues server, wiki or others
added ini files into codecleaner
r4068 ## below an example how to create a wiki pattern
Søren Løvborg
cleanup: use example.com for tests and examples...
r5497 # wiki-some-id -> https://wiki.example.com/some-id
#518 multiple issues patterns...
r2866
#issue_pat_wiki = (?:wiki-)(.+)
Søren Løvborg
cleanup: use example.com for tests and examples...
r5497 #issue_server_link_wiki = https://wiki.example.com/{id}
#518 multiple issues patterns...
r2866 #issue_prefix_wiki = WIKI-
implements #212 moved default encoding variable into rhodecode-config. It's now possible to change...
r2016 ## instance-id prefix
added ini files into codecleaner
r4068 ## a prefix key for this instance used for cache invalidation when running
Bradley M. Kuhn
Rename some strings in defaults found in config files
r4210 ## multiple instances of kallithea, make sure it's globally unique for
## all running kallithea instances. Leave empty if you don't use it
config: added example uwsgi configuration with auto-scaling...
r4066 instance_id =
configurable clone url...
r1652
Alternative HTTP response codes when client failed to Authenticate correctly
r2132 ## alternative return HTTP header for failed authentication. Default HTTP
Na'Tosha Bard
Correct capitalization and improved English text in the UI
r4527 ## response is 401 HTTPUnauthorized. Currently Mercurial clients have trouble with
Alternative HTTP response codes when client failed to Authenticate correctly
r2132 ## handling that. Set this variable to 403 to return HTTPForbidden
auth_ret_code =
configurable locking codes....
r3522 ## locking return code. When repository is locked return this HTTP code. 2XX
## codes don't break the transactions while 4XX codes do
lock_ret_code = 423
Add ini option to controll custom advanced hooks settings
r4045 ## allows to change the repository location in settings page
Added flag to controll option for changing the repos path location...
r3920 allow_repo_location_change = True
configurable locking codes....
r3522
Add ini option to controll custom advanced hooks settings
r4045 ## allows to setup custom hooks in settings page
allow_custom_hooks_settings = True
Marcin Kuzminski
Added sqlalchemy support...
r49 ####################################
Celery is configured by the .ini files and run from paster now...
r776 ### CELERY CONFIG ####
####################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Celery is configured by the .ini files and run from paster now...
r776 use_celery = false
broker.host = localhost
broker.vhost = rabbitmqhost
broker.port = 5672
broker.user = rabbitmq
broker.password = qweqwe
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 celery.imports = kallithea.lib.celerylib.tasks
Celery is configured by the .ini files and run from paster now...
r776
celery.result.backend = amqp
celery.result.dburi = amqp://
celery.result.serialier = json
#celery.send.task.error.emails = true
#celery.amqp.task.result.expires = 18000
celeryd.concurrency = 2
#celeryd.log.file = celeryd.log
Mads Kiilerich
Make celeryd.log.level default values uppercase - lowercase might not be recognized and cause failure
r4940 celeryd.log.level = DEBUG
moved statistics parse_limit into .ini files...
r1076 celeryd.max.tasks.per.child = 1
Celery is configured by the .ini files and run from paster now...
r776
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## tasks will never be sent to the queue, but executed locally instead.
Celery is configured by the .ini files and run from paster now...
r776 celery.always.eager = false
####################################
Marcin Kuzminski
Added sqlalchemy support...
r49 ### BEAKER CACHE ####
####################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 beaker.cache.data_dir = %(here)s/data/cache/data
beaker.cache.lock_dir = %(here)s/data/cache/lock
moved statistics parse_limit into .ini files...
r1076
Mads Kiilerich
cleanup: kill unused beaker cache regions
r5399 beaker.cache.regions = short_term,long_term,sql_cache_short
moved out sqlalchemy cache from meta to the config files....
r609
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 beaker.cache.short_term.type = memory
beaker.cache.short_term.expire = 60
Cached readme generation...
r1607 beaker.cache.short_term.key_length = 256
moved out sqlalchemy cache from meta to the config files....
r609
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 beaker.cache.long_term.type = memory
beaker.cache.long_term.expire = 36000
Cached readme generation...
r1607 beaker.cache.long_term.key_length = 256
added password validation, second try on paster setup-app,...
r597
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 beaker.cache.sql_cache_short.type = memory
beaker.cache.sql_cache_short.expire = 10
Cached readme generation...
r1607 beaker.cache.sql_cache_short.key_length = 256
moved out sqlalchemy cache from meta to the config files....
r609
updated config files,...
r436 ####################################
### BEAKER SESSION ####
####################################
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400
## Name of session cookie. Should be unique for a given host and path, even when running
## on different ports. Otherwise, cookie sessions will be shared and messed up.
beaker.session.key = kallithea
## Sessions should always only be accessible by the browser, not directly by JavaScript.
beaker.session.httponly = true
## Session lifetime. 2592000 seconds is 30 days.
beaker.session.timeout = 2592000
## Server secret used with HMAC to ensure integrity of cookies.
beaker.session.secret = development-not-secret
## Further, encrypt the data with AES.
#beaker.session.encrypt_key = <key_for_encryption>
#beaker.session.validate_key = <validation_key>
added ini files into codecleaner
r4068 ## Type of storage used for the session, current types are
## dbm, file, memcached, database, and memory.
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400
## File system storage of session data. (default)
#beaker.session.type = file
db based session example for .ini
r1660
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400 ## Cookie only, store all session data inside the cookie. Requires secure secrets.
#beaker.session.type = cookie
## Database storage of session data.
db based session example for .ini
r1660 #beaker.session.type = ext:database
Bradley M. Kuhn
Rename some strings in defaults found in config files
r4210 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/kallithea
added ini files into codecleaner
r4068 #beaker.session.table_name = db_session
db based session example for .ini
r1660
Added Errormator and Sentry support part of pull request #71
r2939 ############################
## ERROR HANDLING SYSTEMS ##
############################
####################
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 ### [appenlight] ###
Added Errormator and Sentry support part of pull request #71
r2939 ####################
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 ## AppEnlight is tailored to work with Kallithea, see
## http://appenlight.com for details how to obtain an account
## you must install python package `appenlight_client` to make it work
Added Errormator and Sentry support part of pull request #71
r2939
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 ## appenlight enabled
appenlight = false
Added Errormator and Sentry support part of pull request #71
r2939
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 appenlight.server_url = https://api.appenlight.com
appenlight.api_key = YOUR_API_KEY
Added Errormator and Sentry support part of pull request #71
r2939
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## TWEAK AMOUNT OF INFO SENT HERE
Added Errormator and Sentry support part of pull request #71
r2939
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## enables 404 error logging (default False)
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 appenlight.report_404 = false
Added Errormator and Sentry support part of pull request #71
r2939
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## time in seconds after request is considered being slow (default 1)
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 appenlight.slow_request_time = 1
Added Errormator and Sentry support part of pull request #71
r2939
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## record slow requests in application
## (needs to be enabled for slow datastore recording and time tracking)
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 appenlight.slow_requests = true
Added Errormator and Sentry support part of pull request #71
r2939
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## enable hooking to application loggers
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 #appenlight.logging = true
Added Errormator and Sentry support part of pull request #71
r2939
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## minimum log level for log capture
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 #appenlight.logging.level = WARNING
Added Errormator and Sentry support part of pull request #71
r2939
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## send logs only from erroneous/slow requests
## (saves API quota for intensive logging)
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 appenlight.logging_on_error = false
Added Errormator and Sentry support part of pull request #71
r2939
added ini files into codecleaner
r4068 ## list of additonal keywords that should be grabbed from environ object
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## can be string with comma separated list of words in lowercase
## (by default client will always send following info:
added ini files into codecleaner
r4068 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## start with HTTP* this list be extended with additional keywords here
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 appenlight.environ_keys_whitelist =
Added Errormator and Sentry support part of pull request #71
r2939
added ini files into codecleaner
r4068 ## list of keywords that should be blanked from request object
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## can be string with comma separated list of words in lowercase
added ini files into codecleaner
r4068 ## (by default client will always blank keys that contain following words
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
## this list be extended with additional keywords set here
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 appenlight.request_keys_blacklist =
Added Errormator and Sentry support part of pull request #71
r2939
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## list of namespaces that should be ignores when gathering log entries
## can be string with comma separated list of namespaces
Brandon Jones
middleware: replace references to Errormator with AppEnlight....
r6335 ## (by default the client ignores own entries: appenlight_client.client)
appenlight.log_namespace_blacklist =
Added Errormator and Sentry support part of pull request #71
r2939
################
### [sentry] ###
################
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## sentry is a alternative open source error aggregator
added ini files into codecleaner
r4068 ## you must install python packages `sentry` and `raven` to enable
Added Errormator and Sentry support part of pull request #71
r2939
sentry.dsn = YOUR_DNS
sentry.servers =
sentry.name =
sentry.key =
sentry.public_key =
sentry.secret_key =
sentry.project =
sentry.site =
sentry.include_paths =
sentry.exclude_paths =
Marcin Kuzminski
Added pylons manage script...
r12 ################################################################################
## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
## execute malicious code after an exception is raised. ##
################################################################################
#set debug = false
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 set debug = true
Marcin Kuzminski
initial commit.
r0
Marcin Kuzminski
Added sqlalchemy support...
r49 ##################################
### LOGVIEW CONFIG ###
##################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Marcin Kuzminski
Added sqlalchemy support...
r49 logview.sqlalchemy = #faa
logview.pylons.templating = #bfb
logview.pylons.util = #eee
#########################################################
### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
#########################################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
# SQLITE [default]
sqlalchemy.db1.url = sqlite:///%(here)s/kallithea.db?timeout=60
# POSTGRESQL
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 #sqlalchemy.db1.url = postgresql://user:pass@localhost/kallithea
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
# MySQL
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 #sqlalchemy.db1.url = mysql://user:pass@localhost/kallithea
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
# see sqlalchemy docs for others
Bumped sqlalchemy version to 0.7, replaced timerproxy with new event system for sqlalchemy....
r1360 sqlalchemy.db1.echo = false
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 sqlalchemy.db1.pool_recycle = 3600
Mysql fixes...
r2149 sqlalchemy.db1.convert_unicode = true
Marcin Kuzminski
Added sqlalchemy support...
r49
Marcin Kuzminski
Added pylons manage script...
r12 ################################
### LOGGING CONFIGURATION ####
################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Marcin Kuzminski
initial commit.
r0 [loggers]
Bradley M. Kuhn
Rename some strings in init files and logger names
r4207 keys = root, routes, kallithea, sqlalchemy, beaker, templates, whoosh_indexer
Marcin Kuzminski
initial commit.
r0
[handlers]
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 keys = console, console_sql
Marcin Kuzminski
initial commit.
r0
[formatters]
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 keys = generic, color_formatter, color_formatter_sql
Marcin Kuzminski
initial commit.
r0
Marcin Kuzminski
Added pylons manage script...
r12 #############
Marcin Kuzminski
initial commit.
r0 ## LOGGERS ##
Marcin Kuzminski
Added pylons manage script...
r12 #############
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Marcin Kuzminski
initial commit.
r0 [logger_root]
Marcin Kuzminski
added log4j to development,
r15 level = NOTSET
Marcin Kuzminski
Added pylons manage script...
r12 handlers = console
Marcin Kuzminski
initial commit.
r0
[logger_routes]
Marcin Kuzminski
Updated logginf of routes
r69 level = DEBUG
added ini files into codecleaner
r4068 handlers =
Marcin Kuzminski
initial commit.
r0 qualname = routes.middleware
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557 ## "level = DEBUG" logs the route matched and routing variables.
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 propagate = 1
Marcin Kuzminski
initial commit.
r0
some logging extras for development config files
r716 [logger_beaker]
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 level = DEBUG
added ini files into codecleaner
r4068 handlers =
some logging extras for development config files
r716 qualname = beaker.container
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 propagate = 1
some logging extras for development config files
r716
[logger_templates]
level = INFO
added ini files into codecleaner
r4068 handlers =
some logging extras for development config files
r716 qualname = pylons.templating
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 propagate = 1
some logging extras for development config files
r716
Bradley M. Kuhn
Rename some strings in init files and logger names
r4207 [logger_kallithea]
Marcin Kuzminski
initial commit.
r0 level = DEBUG
added ini files into codecleaner
r4068 handlers =
Bradley M. Kuhn
Rename some strings in init files and logger names
r4207 qualname = kallithea
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 propagate = 1
Marcin Kuzminski
Added pylons manage script...
r12
[logger_sqlalchemy]
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 level = INFO
handlers = console_sql
Marcin Kuzminski
Added pylons manage script...
r12 qualname = sqlalchemy.engine
added empty controllers for branches tags files graph, routing and test for them
r93 propagate = 0
Marcin Kuzminski
Added pylons manage script...
r12
Whoosh logging is now controlled by the .ini files logging setup
r2102 [logger_whoosh_indexer]
level = DEBUG
added ini files into codecleaner
r4068 handlers =
Whoosh logging is now controlled by the .ini files logging setup
r2102 qualname = whoosh_indexer
propagate = 1
Marcin Kuzminski
Added pylons manage script...
r12 ##############
Marcin Kuzminski
initial commit.
r0 ## HANDLERS ##
Marcin Kuzminski
Added pylons manage script...
r12 ##############
Marcin Kuzminski
initial commit.
r0
[handler_console]
class = StreamHandler
args = (sys.stderr,)
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 #level = INFO
#formatter = generic
Bumped sqlalchemy version to 0.7, replaced timerproxy with new event system for sqlalchemy....
r1360 level = DEBUG
Added colored formatter to project, and configs
r153 formatter = color_formatter
Marcin Kuzminski
initial commit.
r0
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 [handler_console_sql]
class = StreamHandler
args = (sys.stderr,)
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225 #level = WARN
#formatter = generic
Bumped sqlalchemy version to 0.7, replaced timerproxy with new event system for sqlalchemy....
r1360 level = DEBUG
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 formatter = color_formatter_sql
Marcin Kuzminski
Added pylons manage script...
r12 ################
Marcin Kuzminski
initial commit.
r0 ## FORMATTERS ##
Marcin Kuzminski
Added pylons manage script...
r12 ################
Marcin Kuzminski
initial commit.
r0
[formatter_generic]
Added colored formatter to project, and configs
r153 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
Marcin Kuzminski
Static files for production fixed...
r46 datefmt = %Y-%m-%d %H:%M:%S
Marcin Kuzminski
initial commit.
r0
Added colored formatter to project, and configs
r153 [formatter_color_formatter]
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 class = kallithea.lib.colored_formatter.ColorFormatter
format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
timperproxy will just measure the time of queries, and formatting will be handled by the new sql_formatter of queries from sqlalchemy itself. Updated ini files for new way logging
r1186 datefmt = %Y-%m-%d %H:%M:%S
[formatter_color_formatter_sql]
Mads Kiilerich
ini: consistently write #-disabled lines without space after # and with single space around =
r5364 class = kallithea.lib.colored_formatter.ColorFormatterSql
format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
changed dafault to use sqlite for dev
r1278 datefmt = %Y-%m-%d %H:%M:%S