~unifield-team/unifield-web/us-1175

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[global]
server.environment = "development"

# Some server parameters that you may want to tweak
server.socket_host = "0.0.0.0"
server.socket_port = 8061

# Sets the number of threads the server uses
server.thread_pool = 40

tools.sessions.on = True
tools.sessions.persistent = False

# Simple code profiling
server.profile_on = False
server.profile_dir = "profile"
# Max size: 10GB
server.max_request_body_size = 10737418240
# disable monitor which raises an error at the end of the request
engine.timeout_monitor.on = False

# if this is part of a larger site, you can set the path
# to the TurboGears instance here
#server.webpath = ""

# Set to True if you are deploying your App behind a proxy
# e.g. Apache using mod_proxy
#tools.proxy.on = True

# If your proxy does not add the X-Forwarded-Host header, set
# the following to the *public* host url.
#tools.proxy.base = 'http://mydomain.com'

# logging
#log.screen = False
#log.access_file = "/var/log/openerp-web/access.log"
#log.error_file = "/var/log/openerp-web/error.log"
log.error_file = "../ServerLog/openerp-web.log"
log.access_level = "INFO"
log.error_level = "INFO"
# Replaces the cherrypy-created FileHandler by a TimedRotatingFileHandler,
# requires that access_file and error_file be uncommented and set correctly
# (they will be used to configure the rotating file handlers).
# Value should be a dictionary providing TimedRotatingFileHandler's optional
# arguments (any argument can be provided but `filename`).
# See the documentation at http://docs.python.org/library/logging.handlers.html#logging.handlers.TimedRotatingFileHandler
# for more informations on TimedRotatingFileHandler
log.rotate = {'when' : 'D'}

# Set to false to disable CSRF checks
tools.csrf.on = True

# replace builtin traceback tools by cgitb
tools.log_tracebacks.on: False
tools.cgitb.on: True
# a default install can probably avoid logging those via cgitb as they're
# available in the server log
tools.cgitb.ignore=(
    openobject.errors.Concurrency,
    openobject.errors.TinyException)

# if enable this force cookie to be sent over a secure channel 'ssl'
# (make sure you site is reachable on https before activating this)
#tools.secure_cookies.on = True

# if enable for browse who understand this, the cookie will not be
# readable by scripts, see: http://www.owasp.org/index.php/HttpOnly
tools.httponly_cookies.on = True

# fix support of cherrpy 3.1.2 tools.sessions.persistant = False
tools.fix_312_session_persistent.on = True

# OpenERP Server
openerp.server.host = 'localhost'
openerp.server.port = '8070'
openerp.server.protocol = 'socket'
openerp.server.timeout = 1800

# Web client settings
[openerp-web]
# filter dblists based on url pattern?
# NONE: No Filter
# EXACT: Exact Hostname
# UNDERSCORE: Hostname_
# BOTH: Exact Hostname or Hostname_

dblist.filter = 'NONE'

# whether to show Databases button on Login screen or not
dbbutton.visible = True

# will be applied on company logo
company.url = ''