test/data/repository.conf
author David Douard <david.douard@logilab.fr>
Thu, 13 Nov 2014 14:53:00 +0100
changeset 1751 56eb553a3618
parent 584 c2d1a10c29bd
permissions -rw-r--r--
[recipes] update quick ans setup.distutils recipes

[APYCOT]

# Identifier of the apycot bot in the pyro name-server.
bot-pyro-id=:apycot.apycotbot

# Pyro name server's host where the bot is registered. If not set, will be
# detected by a broadcast query. You can also specify a port using
# <host>:<port> notation.
#bot-pyro-ns=


[WEB]

# authentication mode (cookie / http)
auth-mode=cookie

# realm to use on HTTP authentication mode
realm=cubicweb

# duration in seconds for HTTP sessions. 0 mean no expiration. Should be
# greater than RQL server's session-time.
http-session-time=0

# duration in seconds for which unused connections should be closed, to limit
# memory consumption. This is different from http-session-time since in some
# cases you may have an unexpired http session (e.g. valid session cookie)
# which will trigger transparent creation of a new session. In other cases,
# sessions may never expire and cause memory leak. Should be smaller than
# http-session-time, unless it's 0. Default to 12 h.
cleanup-session-time=43200

# Same as cleanup-session-time but specific to anonymous sessions. Default to 2
# min.
cleanup-anonymous-session-time=120

# force text/html content type for your html pages instead of cubicweb
# user-agent baseddeduction of an appropriate content type
force-html-content-type=no

# regular expression matching URLs that may be embeded. leave it blank if you
# don't want the embedding feature, or set it to ".*" if you want to allow
# everything
#embed-allowed=

# Mail used as recipient to report bug in this instance, if you want this
# feature on
#submit-mail=

# use Accept-Language http header to try to set user interface's language
# according to browser defined preferences
language-negociation=yes

# print the traceback on the error page when an error occured
print-traceback=yes


[VCSFILE]

# interval between checking of new revisions in repositories (default to 5
# minutes).
check-revision-interval=300


[PYRO]

# Pyro server host, if not detectable correctly through gethostname(). It may
# contains port information using <host>:<port> notation, and if not set, it
# will be choosen randomly
#pyro-host=

# identifier of the CubicWeb instance in the Pyro name server
pyro-instance-id=data

# Pyro name server's host. If not set, will be detected by a broadcast query.
# It may contains port information using <host>:<port> notation.
pyro-ns-host=

# Pyro name server's group where the repository will be registered.
pyro-ns-group=cubicweb


[APPOBJECTS]

# comma separated list of identifiers of application objects (<registry>.<oid>)
# to disable
disable-appobjects=


[MAIN]

# size of the connections pools. Each source supporting multiple connections
# will have this number of opened connections.
connections-pool-size=4

# size of the parsed rql cache size.
rql-cache-size=300

# When full text indexation of entity has a too important cost to be done when
# entity are added/modified by users, activate this option and setup a job
# using cubicweb-ctl db-rebuild-fti on your system (using cron for instance).
delay-full-text-indexation=no

# host name if not correctly detectable through gethostname
#host=

# http server port number (default to 8080)
#port=

# repository's pid file
pid-file=/tmp/data-repository.pid

# if this option is set, use the specified user to start the repository rather
# than the user running the command
#uid=

# session expiration time, default to 30 minutes
session-time=1800

# profile code and use the specified file to store stats if this option is set
#profile=

# run a pyro server
pyro-server=yes

# server's log level
log-threshold=ERROR

# web server root url
base-url=http://testing.fr/cubicweb/

# allow users to login with their primary email if set
allow-email-login=no

# if set, base-url subdomain is replaced by the request's host, to help
# managing sites with several subdomains in a single cubicweb instance
use-request-subdomain=no

# file where output logs should be written
log-file=/var/log/cubicweb/data-repository.log

# login of the CubicWeb user account to use for anonymous user (if you want to
# allow anonymous)
anonymous-user=anon

# password of the CubicWeb user account matching login
anonymous-password=anon

# web instance query log file
#query-log-file=

# web server root url on https. By specifying this option your site can be
# available as an http and https site. Authenticated users will in this case be
# authenticated and once done navigate through the https site. IMPORTANTE NOTE:
# to do this work, you should have your apache redirection include "https" as
# base url path so cubicweb can differentiate between http vs https access. For
# instance: RewriteRule ^/demo/(.*) http://127.0.0.1:8080/https/$1 [L,P] where
# the cubicweb web server is listening on port 8080.
#https-url=


[EMAIL]

# when a notification should be sent with no specific rules to find recipients,
# recipients will be found according to this mode. Available modes are
# "default-dest-addrs" (emails specified in the configuration variable with the
# same name), "users" (every users which has activated account with an email
# set), "none" (no notification).
default-recipients-mode=default-dest-addrs

# comma separated list of email addresses that will be used as default
# recipient when an email is sent and the notification has no specific
# recipient rules.
default-dest-addrs=syt@logilab.fr

# comma separated list of email addresses that will be notified of every
# changes.
supervising-addrs=

# don't display actual email addresses but mangle them if this option is set to
# yes
mangle-emails=no

# hostname of the SMTP mail server
smtp-host=mail

# listening port of the SMTP mail server
smtp-port=25

# name used as HELO name for outgoing emails from the repository.
sender-name=cubicweb-test

# email address used as HELO address for outgoing emails from the repository
sender-addr=syt@logilab.fr