##// END OF EJS Templates
i18n: update normalized translations...
i18n: update normalized translations Refactorings moved things around.

File last commit:

r8683:d483e2df default
r8685:19506ee3 default
Show More
development.ini
519 lines | 16.6 KiB | text/x-ini | IniLexer
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ###################################################################################
###################################################################################
Thomas De Schampheleire
cleanup: drop last traces of kallithea-config...
r8280 ## Kallithea config file generated with kallithea-cli ##
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ## ##
Mads Kiilerich
ini: explain how % must be escaped as %% (Issue #375)...
r8276 ## The %(here)s variable will generally be replaced with the parent directory of ##
## this file. Other use of % must be escaped as %% . ##
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ###################################################################################
###################################################################################
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]
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
ini: error email settings are comma-separated under backlash...
r7054 ## Multiple addresses can be specified, comma-separated.
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## 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
Thomas De Schampheleire
ini: error email settings are comma-separated under backlash...
r7054 #email_to = admin@example.com,another_admin@example.com
Thomas De Schampheleire
TurboGears2 migration: update ini files for error email settings...
r6529 email_to =
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
TurboGears2 migration: update ini files for error email settings...
r6529 ## Default: (none)
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>
Thomas De Schampheleire
TurboGears2 migration: update ini files for error email settings...
r6529 #error_email_from = kallithea_errors@example.com
error_email_from =
Implemented password reset(forms/models/ tasks) and mailing tasks....
r474
Thomas De Schampheleire
e-mail: add documentation about configuration settings...
r5366 ## SMTP server settings
Mads Kiilerich
docs: tweak email documentation - add gmail example...
r5844 ## If specifying credentials, make sure to use secure connections.
## Default: Send unencrypted unauthenticated mails to the specified smtp_server.
## For "SSL", use smtp_use_ssl = true and smtp_port = 465.
## For "STARTTLS", use smtp_use_tls = true and smtp_port = 587.
Thomas De Schampheleire
TurboGears2 migration: update ini files for error email settings...
r6529 smtp_server =
Mads Kiilerich
mails: make error reporting by mail work with secure mail servers...
r8102 smtp_username =
smtp_password =
Thomas De Schampheleire
TurboGears2 migration: update ini files for error email settings...
r6529 smtp_port =
Mads Kiilerich
mails: make error reporting by mail work with secure mail servers...
r8102 smtp_use_ssl = false
smtp_use_tls = false
Marcin Kuzminski
initial commit.
r0
Mads Kiilerich
config: tweak template http_server conditionals - don't leave an empty section when using UWSGI...
r6858 ## Entry point for 'gearbox serve'
Marcin Kuzminski
initial commit.
r0 [server:main]
Mads Kiilerich
config: tweak template http_server conditionals - don't leave an empty section when using UWSGI...
r6858 #host = 127.0.0.1
host = 0.0.0.0
port = 5000
Mads Kiilerich
ini: tweak .ini web server templates to make it more clear that it is about which web server gearbox will use for serve
r8307 ## Gearbox serve uses the Waitress web server ##
Added use_poll option for latest waitress release....
r3902 use = egg:waitress#main
Mads Kiilerich
ini: tweak .ini web server templates to make it more clear that it is about which web server gearbox will use for serve
r8307 ## avoid multi threading
Mads Kiilerich
config: clarify that we only recommend and support single threaded operation...
r6116 threads = 1
Mads Kiilerich
ini: tweak .ini web server templates to make it more clear that it is about which web server gearbox will use for serve
r8307 ## allow push of repos bigger than the default of 1 GB
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
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>
Mads Kiilerich
ini: set translate_forwarded_server = False when using paste prefix middleware...
r8683 #translate_forwarded_server = False
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
Thomas De Schampheleire
i18n: use TG2 compatible settings names i18n.lang and i18n.enabled...
r6629
## Internationalization (see setup documentation for details)
Mads Kiilerich
i18n: make sure 'en' in Accept-Language is recognized as having 100% coverage - i18n.lang is for source language...
r8012 ## By default, the languages requested by the browser are used if available, with English as default.
## Set i18n.enabled=false to disable automatic language choice.
#i18n.enabled = true
## To Force a language, set i18n.enabled=false and specify the language in i18n.lang.
## Valid values are the names of subdirectories in kallithea/i18n with a LC_MESSAGES/kallithea.mo
#i18n.lang = en
Thomas De Schampheleire
i18n: use TG2 compatible settings names i18n.lang and i18n.enabled...
r6629
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
## uncomment and set this path to use archive download cache
Mads Kiilerich
ini: move archive_cache_dir to the data directory...
r8365 archive_cache_dir = %(here)s/data/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
ini: simplify preservation of old settings - just keep the old line as comment...
r6816 #app_instance_uuid = VERY-SECRET
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
Mads Kiilerich
auth: only use X- headers instead of REMOTE_ADDR if explicitly told so in remote_addr_header...
r8679 ## WSGI environment variable to get the IP address of the client (default REMOTE_ADDR)
#remote_addr_variable = HTTP_X_FORWARDED_FOR
Mads Kiilerich
auth: only use X- headers instead of wsgi.url_scheme if explicitly told so in url_scheme_header - drop https_fixup setting...
r8680 ## WSGI environment variable to get the protocol (http or https) of the client connection (default wsgi.url_scheme)
#url_scheme_variable = HTTP_X_FORWARDED_PROTO
Mads Kiilerich
docs: clarify that force_https trumps anything else
r8676 ## always pretend the client connected using HTTPS (default false)
#force_https = true
Implemented show_id function that is a configurable way to display sha hashes in the changelog.
r3557
Mads Kiilerich
docs: clarify that force_https trumps anything else
r8676 ## use Strict-Transport-Security headers (default false)
#use_htsts = true
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
Thomas De Schampheleire
hooks: make the Python interpreter for Git hooks configurable as 'git_hook_interpreter' (Issue #333)...
r7538 ## Path to Python executable to be used for git hooks.
## This value will be written inside the git hook scripts as the text
## after '#!' (shebang). When empty or not defined, the value of
## 'sys.executable' at the time of installation of the git hooks is
## used, which is correct in many cases but for example not when using uwsgi.
## If you change this setting, you should reinstall the Git hooks via
## Admin > Settings > Remap and Rescan.
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 #git_hook_interpreter = /srv/kallithea/venv/bin/python3
Thomas De Schampheleire
hooks: make the Python interpreter for Git hooks configurable as 'git_hook_interpreter' (Issue #333)...
r7538
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
Mads Kiilerich
ini: document canonical_url - it was introduced long time ago but seems useful
r5845 ## Canonical URL to use when creating full URLs in UI and texts.
## Useful when the site is available under different names or protocols.
## Defaults to what is provided in the WSGI environment.
#canonical_url = https://kallithea.example.com/repos
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 =
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
timeless@gmail.com
spelling: separated
r5827 ## can be also a comma separated list of encoding in case of mixed encodings
Mads Kiilerich
unicode: consistently use the preferred Python spelling 'utf-8' instead of the alias 'utf8'
r7250 default_encoding = utf-8
Marcin Kuzminski
initial commit.
r0
Mads Kiilerich
hg: set encoding to utf-8 by default to always show unicode characters correctly...
r7249 ## Set Mercurial encoding, similar to setting HGENCODING before launching Kallithea
hgencoding = utf-8
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
Thomas De Schampheleire
issues: support generic regex replacements in issue_url and issue_prefix...
r7162 ## issue tracking mapping for commit messages, comments, PR descriptions, ...
## Refer to the documentation ("Integration with issue trackers") for more details.
#73 mapping of commited issues from commit message into issue tracker url.
r1837
Thomas De Schampheleire
issues: support generic regex replacements in issue_url and issue_prefix...
r7162 ## regular expression to match issue references
## This pattern may/should contain parenthesized groups, that can
## be referred to in issue_server_link or issue_sub using Python backreferences
## (e.g. \1, \2, ...). You can also create named groups with '(?P<groupname>)'.
## To require mandatory whitespace before the issue pattern, use:
## (?:^|(?<=\s)) before the actual pattern, and for mandatory whitespace
## behind the issue pattern, use (?:$|(?=\s)) after the actual pattern.
#73 mapping of commited issues from commit message into issue tracker url.
r1837
Thomas De Schampheleire
issues: simplify example in ini file...
r7084 issue_pat = #(\d+)
#73 mapping of commited issues from commit message into issue tracker url.
r1837
Thomas De Schampheleire
issues: support generic regex replacements in issue_url and issue_prefix...
r7162 ## server url to the issue
## This pattern may/should contain backreferences to parenthesized groups in issue_pat.
## A backreference can be \1, \2, ... or \g<groupname> if you specified a named group
## called 'groupname' in issue_pat.
## The special token {repo} is replaced with the full repository name
## including repository groups, while {repo_name} is replaced with just
## the name of the repository.
#73 mapping of commited issues from commit message into issue tracker url.
r1837
Thomas De Schampheleire
issues: support generic regex replacements in issue_url and issue_prefix...
r7162 issue_server_link = https://issues.example.com/{repo}/issue/\1
#73 mapping of commited issues from commit message into issue tracker url.
r1837
Thomas De Schampheleire
issues: support generic regex replacements in issue_url and issue_prefix...
r7162 ## substitution pattern to use as the link text
## If issue_sub is empty, the text matched by issue_pat is retained verbatim
## for the link text. Otherwise, the link text is that of issue_sub, with any
## backreferences to groups in issue_pat replaced.
#73 mapping of commited issues from commit message into issue tracker url.
r1837
Thomas De Schampheleire
issues: support generic regex replacements in issue_url and issue_prefix...
r7162 issue_sub =
## issue_pat, issue_server_link and issue_sub can have suffixes to specify
#518 multiple issues patterns...
r2866 ## multiple patterns, to other issues server, wiki or others
added ini files into codecleaner
r4068 ## below an example how to create a wiki pattern
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ## wiki-some-id -> https://wiki.example.com/some-id
#518 multiple issues patterns...
r2866
Thomas De Schampheleire
issues: support generic regex replacements in issue_url and issue_prefix...
r7162 #issue_pat_wiki = wiki-(\S+)
#issue_server_link_wiki = https://wiki.example.com/\1
#issue_sub_wiki = WIKI-\1
#518 multiple issues patterns...
r2866
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 =
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
Takumi IINO
indexers: load additional indexers settings from ini
r5559 ## extra extensions for indexing, space separated and without the leading '.'.
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 #index.extensions =
Takumi IINO
indexers: load additional indexers settings from ini
r5559 # gemfile
# lock
## extra filenames for indexing, space separated
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 #index.filenames =
Takumi IINO
indexers: load additional indexers settings from ini
r5559 # .dockerignore
# .editorconfig
# INSTALL
# CHANGELOG
Marcin Kuzminski
Added sqlalchemy support...
r49 ####################################
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 ## SSH CONFIG ##
Thomas De Schampheleire
ssh: introduce ini setting 'ssh_enabled', disabled by default...
r7677 ####################################
## SSH is disabled by default, until an Administrator decides to enable it.
ssh_enabled = false
Christian Oyarzun
ssh: introduce 'kallithea-cli ssh-update-authorized-keys' command for updating authorized_keys file...
r7684 ## File where users' SSH keys will be stored *if* ssh_enabled is true.
#ssh_authorized_keys = /home/kallithea/.ssh/authorized_keys
## Path to be used in ssh_authorized_keys file to invoke kallithea-cli with ssh-serve.
#kallithea_cli_path = /srv/kallithea/venv/bin/kallithea-cli
Thomas De Schampheleire
ssh: set a valid locale in the ssh-serve process...
r7692 ## Locale to be used in the ssh-serve command.
## This is needed because an SSH client may try to use its own locale
## settings, which may not be available on the server.
## See `locale -a` for valid values on this system.
#ssh_locale = C.UTF-8
Thomas De Schampheleire
ssh: introduce ini setting 'ssh_enabled', disabled by default...
r7677 ####################################
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 ## CELERY CONFIG ##
Celery is configured by the .ini files and run from paster now...
r776 ####################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Mads Kiilerich
celery: upgrade to Celery 4...
r8137 ## Note: Celery doesn't support Windows.
Celery is configured by the .ini files and run from paster now...
r776 use_celery = false
Mads Kiilerich
celery: use Celery 3 config settings instead of deprecated...
r6138
Mads Kiilerich
celery: use celery 4 setting names in generated .ini files
r8138 ## Celery config settings from https://docs.celeryproject.org/en/4.4.0/userguide/configuration.html prefixed with 'celery.'.
Mads Kiilerich
celery: tweak the RabbitMQ example in generated config
r8133 ## Example: use the message queue on the local virtual host 'kallitheavhost' as the RabbitMQ user 'kallithea':
Mads Kiilerich
celery: use celery 4 setting names in generated .ini files
r8138 celery.broker_url = amqp://kallithea:thepassword@localhost:5672/kallitheavhost
Celery is configured by the .ini files and run from paster now...
r776
Mads Kiilerich
celery: use celery 4 setting names in generated .ini files
r8138 celery.worker_concurrency = 2
Mads Kiilerich
celery: default to more than 1 task per worker
r8580 celery.worker_max_tasks_per_child = 100
Celery is configured by the .ini files and run from paster now...
r776
####################################
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 ## BEAKER CACHE ##
Marcin Kuzminski
Added sqlalchemy support...
r49 ####################################
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
utils: drop conditional_cache - an unused beaker cache
r8215 beaker.cache.regions = long_term,long_term_file
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
db: introduce long_term_file beaker cache to store README and RSS cache on disk where it is reusable between processes - not in worker memory
r8211 beaker.cache.long_term_file.type = file
beaker.cache.long_term_file.expire = 604800
beaker.cache.long_term_file.key_length = 256
updated config files,...
r436 ####################################
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 ## BEAKER SESSION ##
updated config files,...
r436 ####################################
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.
Mads Kiilerich
config: rename .ini settings to avoid beaker-session deprecation warnings...
r7644 session.key = kallithea
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400 ## Sessions should always only be accessible by the browser, not directly by JavaScript.
Mads Kiilerich
config: rename .ini settings to avoid beaker-session deprecation warnings...
r7644 session.httponly = true
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400 ## Session lifetime. 2592000 seconds is 30 days.
Mads Kiilerich
config: rename .ini settings to avoid beaker-session deprecation warnings...
r7644 session.timeout = 2592000
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400
## Server secret used with HMAC to ensure integrity of cookies.
Mads Kiilerich
config: rename .ini settings to avoid beaker-session deprecation warnings...
r7644 #session.secret = VERY-SECRET
session.secret = development-not-secret
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400 ## Further, encrypt the data with AES.
Mads Kiilerich
config: rename .ini settings to avoid beaker-session deprecation warnings...
r7644 #session.encrypt_key = <key_for_encryption>
#session.validate_key = <validation_key>
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400
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)
Mads Kiilerich
config: rename .ini settings to avoid beaker-session deprecation warnings...
r7644 #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.
Mads Kiilerich
config: rename .ini settings to avoid beaker-session deprecation warnings...
r7644 #session.type = cookie
Mads Kiilerich
docs: improve documentation of beaker session configuration...
r5400
## Database storage of session data.
Mads Kiilerich
config: rename .ini settings to avoid beaker-session deprecation warnings...
r7644 #session.type = ext:database
#session.sa.url = postgresql://postgres:qwe@localhost/kallithea
#session.table_name = db_session
db based session example for .ini
r1660
Mads Kiilerich
ini: tweak template configuration for TG's handling of application errors...
r8227 ####################################
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 ## ERROR HANDLING ##
Mads Kiilerich
ini: tweak template configuration for TG's handling of application errors...
r8227 ####################################
## Show a nice error page for application HTTP errors and exceptions (default true)
#errorpage.enabled = true
## Enable Backlash client-side interactive debugger (default false)
## WARNING: *THIS MUST BE false IN PRODUCTION ENVIRONMENTS!!!*
## This debug mode will allow all visitors to execute malicious code.
#debug = false
debug = true
## Enable Backlash server-side error reporting (unless debug mode handles it client-side) (default true)
#trace_errors.enable = true
## Errors will be reported by mail if trace_errors.error_email is set.
Mads Kiilerich
config: change default .ini to always include trace_errors settings and thus avoid deprecation warnings...
r7643
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ## Propagate email settings to ErrorReporter of TurboGears2
## You do not normally need to change these lines
Mads Kiilerich
config: change default .ini to always include trace_errors settings and thus avoid deprecation warnings...
r7643 get trace_errors.smtp_server = smtp_server
get trace_errors.smtp_port = smtp_port
get trace_errors.from_address = error_email_from
Mads Kiilerich
mails: make error reporting by mail work with secure mail servers...
r8102 get trace_errors.error_email = email_to
get trace_errors.smtp_username = smtp_username
get trace_errors.smtp_password = smtp_password
get trace_errors.smtp_use_tls = smtp_use_tls
Mads Kiilerich
config: change default .ini to always include trace_errors settings and thus avoid deprecation warnings...
r7643
Marcin Kuzminski
Added sqlalchemy support...
r49 ##################################
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 ## LOGVIEW CONFIG ##
Marcin Kuzminski
Added sqlalchemy support...
r49 ##################################
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
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 #########################
## DB CONFIG ##
#########################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Thomas De Schampheleire
Turbogears2 migration: use sqlalchemy.url iso sqlalchemy.db1.url...
r6177 sqlalchemy.url = sqlite:///%(here)s/kallithea.db?timeout=60
Mads Kiilerich
docs: augment setup description with more details of http server and database...
r8326 #sqlalchemy.url = postgresql://kallithea:password@localhost/kallithea
Mads Kiilerich
mysql: bump sqlalchemy.url MariaDB/MySQL charset to to 'utf8mb4' to get full UTF-8 support...
r8342 #sqlalchemy.url = mysql://kallithea:password@localhost/kallithea?charset=utf8mb4
Thomas De Schampheleire
merge stable
r8316 ## Note: the mysql:// prefix should also be used for MariaDB
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Thomas De Schampheleire
Turbogears2 migration: use sqlalchemy.url iso sqlalchemy.db1.url...
r6177 sqlalchemy.pool_recycle = 3600
Marcin Kuzminski
Added sqlalchemy support...
r49
Marcin Kuzminski
Added pylons manage script...
r12 ################################
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 ## ALEMBIC CONFIGURATION ##
Søren Løvborg
db: enable use of main Kallithea config as Alembic config...
r5982 ################################
[alembic]
script_location = kallithea:alembic
Marcin Kuzminski
Added sqlalchemy support...
r49
Marcin Kuzminski
Added pylons manage script...
r12 ################################
Mads Kiilerich
ini: tweak mako comment markup - prepare for variable expansion in ## lines by only "quoting" ##
r8273 ## LOGGING CONFIGURATION ##
Marcin Kuzminski
Added pylons manage script...
r12 ################################
Mads Kiilerich
Align and update the outdated ini files and templates...
r4225
Marcin Kuzminski
initial commit.
r0 [loggers]
domruf
logging: add missing logging config for werkzeug and backlash
r7119 keys = root, routes, kallithea, sqlalchemy, tg, gearbox, beaker, templates, whoosh_indexer, werkzeug, backlash
Marcin Kuzminski
initial commit.
r0
[handlers]
Mads Kiilerich
ini: create separate log handlers for color and null, and add comments hinting how they can be used...
r7675 keys = console, console_color, console_color_sql, null
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
Mads Kiilerich
ini: create separate log handlers for color and null, and add comments hinting how they can be used...
r7675 #handlers = console
Mads Kiilerich
inifile: new implementation of setting updates to optimize reuse of comments and append location...
r8226 ## For coloring based on log level:
Mads Kiilerich
ini: create separate log handlers for color and null, and add comments hinting how they can be used...
r7675 handlers = console_color
Marcin Kuzminski
initial commit.
r0
[logger_routes]
domruf
ini: set default log level to WARN...
r7118 #level = WARN
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.
Marcin Kuzminski
initial commit.
r0
some logging extras for development config files
r716 [logger_beaker]
domruf
ini: set default log level to WARN...
r7118 #level = WARN
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
[logger_templates]
domruf
ini: set default log level to WARN...
r7118 #level = WARN
some logging extras for development config files
r716 level = INFO
added ini files into codecleaner
r4068 handlers =
some logging extras for development config files
r716 qualname = pylons.templating
Bradley M. Kuhn
Rename some strings in init files and logger names
r4207 [logger_kallithea]
domruf
ini: set default log level to WARN...
r7118 #level = WARN
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
Marcin Kuzminski
Added pylons manage script...
r12
Alessandro Molina
backend: replace Pylons with TurboGears2...
r6522 [logger_tg]
domruf
ini: set default log level to WARN...
r7118 #level = WARN
Alessandro Molina
backend: replace Pylons with TurboGears2...
r6522 level = DEBUG
handlers =
qualname = tg
Mads Kiilerich
gearbox: replace paster with something TurboGears2-ish that still works with the Pylons stack...
r6509 [logger_gearbox]
domruf
ini: set default log level to WARN...
r7118 #level = WARN
Mads Kiilerich
gearbox: replace paster with something TurboGears2-ish that still works with the Pylons stack...
r6509 level = DEBUG
handlers =
qualname = gearbox
Marcin Kuzminski
Added pylons manage script...
r12 [logger_sqlalchemy]
domruf
logging: don't change the log level in the handler config...
r6566 level = WARN
Mads Kiilerich
ini: create separate log handlers for color and null, and add comments hinting how they can be used...
r7675 handlers =
Marcin Kuzminski
Added pylons manage script...
r12 qualname = sqlalchemy.engine
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ## For coloring based on log level and pretty printing of SQL:
#level = INFO
#handlers = console_color_sql
#propagate = 0
Marcin Kuzminski
Added pylons manage script...
r12
Whoosh logging is now controlled by the .ini files logging setup
r2102 [logger_whoosh_indexer]
domruf
ini: set default log level to WARN...
r7118 #level = WARN
Whoosh logging is now controlled by the .ini files logging setup
r2102 level = DEBUG
added ini files into codecleaner
r4068 handlers =
Whoosh logging is now controlled by the .ini files logging setup
r2102 qualname = whoosh_indexer
domruf
logging: add missing logging config for werkzeug and backlash
r7119 [logger_werkzeug]
level = WARN
handlers =
qualname = werkzeug
[logger_backlash]
level = WARN
handlers =
qualname = backlash
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
ini: create separate log handlers for color and null, and add comments hinting how they can be used...
r7675 formatter = generic
[handler_console_color]
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ## ANSI color coding based on log level
Mads Kiilerich
ini: create separate log handlers for color and null, and add comments hinting how they can be used...
r7675 class = StreamHandler
args = (sys.stderr,)
Added colored formatter to project, and configs
r153 formatter = color_formatter
Marcin Kuzminski
initial commit.
r0
Mads Kiilerich
ini: create separate log handlers for color and null, and add comments hinting how they can be used...
r7675 [handler_console_color_sql]
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ## ANSI color coding and pretty printing of SQL statements
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 class = StreamHandler
args = (sys.stderr,)
formatter = color_formatter_sql
Mads Kiilerich
ini: create separate log handlers for color and null, and add comments hinting how they can be used...
r7675 [handler_null]
class = NullHandler
args = ()
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
Mads Kiilerich
kallithea-cli: use null handler to mute all console logging for ssh-serve...
r7695
#################
## SSH LOGGING ##
#################
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ## The default loggers use 'handler_console' that uses StreamHandler with
## destination 'sys.stderr'. In the context of the SSH server process, these log
## messages would be sent to the client, which is normally not what you want.
## By default, when running ssh-serve, just use NullHandler and disable logging
## completely. For other logging options, see:
## https://docs.python.org/2/library/logging.handlers.html
Mads Kiilerich
kallithea-cli: use null handler to mute all console logging for ssh-serve...
r7695
[ssh_serve:logger_root]
level = CRITICAL
handlers = null
Mads Kiilerich
ini: be more consistent about how # is used in the config template
r8223 ## Note: If logging is configured with other handlers, they might need similar
## muting for ssh-serve too.