Merge branch 'master' of github.com:kivitendo/kivitendo-erp
[kivitendo-erp.git] / config / kivitendo.conf.default
1 [authentication]
2 # The cleartext password for access to the administrative part.  It
3 # can only be changed in this file, not via the administrative
4 # interface.
5 admin_password = admin123
6
7 # Which module to use for authentication. Valid values are 'DB' and
8 # 'LDAP'.  If 'LDAP' is used then users cannot change their password
9 # via kivitendo.
10 module = DB
11
12 # The cookie name can be changed if desired.
13 cookie_name = kivitendo_session_id
14
15 # The number of minutes a session is valid. The default value is eight
16 # hours.
17 session_timeout = 480
18
19 # The number of seconds to penalize failed login attempts. 0 disables
20 # it.
21 failed_login_penalty = 5
22
23 [authentication/database]
24 # Connection information for the database with the user and group
25 # inforamtion.  This information is always needed, even if LDAP is
26 # used for authentication, as the user information is stored in this
27 # database while LDAP is only used for password verification.
28 #
29 # If 'module' is set to 'DB' then this database also contains the
30 # users' passwords.
31 host     = localhost
32 port     = 5432
33 db       = kivitendo_auth
34 user     = postgres
35 password =
36
37 [authentication/ldap]
38 # This section is only relevant if 'module' is set to 'LDAP'. It names
39 # the LDAP server the passwords are verified against by doing a LDAP
40 # bind operation.
41 #
42 # At least the parameters 'host', 'attribute' and 'base_dn' have to be
43 # specified.
44 #
45 # tls:       Activate encryption via TLS
46 # attribute: Name of the LDAP attribute containing the user's login name
47 # base_dn:   Base DN the LDAP searches start from
48 # filter:    An optional LDAP filter specification. The string '<%login%>'
49 #            is replaced by the user's login name before the search is started.
50 # bind_dn and bind_password:
51 #            If searching the LDAP tree requires user credentials
52 #            (e.g. ActiveDirectory) then these two parameters specify
53 #            the user name and password to use.
54 host          = localhost
55 port          = 389
56 tls           = 0
57 attribute     = uid
58 base_dn       =
59 filter        =
60 bind_dn       =
61 bind_password =
62
63 [system]
64 # Set language for login and admin forms. Currently "de" (German)
65 # and "en" (English, not perfect) are available.
66 language = de
67
68 [features]
69 # Activate certain optional features and modules.
70 webdav = 0
71 vertreter = 0
72
73 ## Pictures for parts
74 # Show the picture in the part form
75 parts_show_image = 1
76 # Style the picture with the following CSS code:
77 parts_image_css = border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;
78 # Show the picture in the results when you search for parts
79 parts_listing_images = 0
80
81 [paths]
82 # path to temporary files (must be writeable by the web server)
83 userspath = users
84 # spool directory for batch printing
85 spool = spool
86 # templates base directory
87 templates = templates
88 # Path to the old memberfile (ignored on new installations)
89 memberfile = users/members
90
91 [mail_delivery]
92 # Delivery method can be 'sendmail' or 'smtp' (the default). For
93 # 'method = sendmail' the parameter 'mail_delivery.sendmail' is used
94 # as the executable to call. If 'applications.sendmail' still exists
95 # (backwards compatibility) then 'applications.sendmail' will be used
96 # instead of 'mail_delivery.sendmail'.
97 method = smtp
98 # Location of sendmail for 'method = sendmail'
99 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
100 # Settings for 'method = smtp'. Only set 'port' if your SMTP server
101 # runs on a non-standard port (25 for 'security=none' or
102 # 'security=tls', 465 for 'security=ssl').
103 host = localhost
104 #port = 25
105 # Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This
106 # determines whether or not encryption is used and which kind. For
107 # 'tls' the module 'Net::SSLGlue' is required; for 'ssl'
108 # 'Net::SMTP::SSL' is required and 'none' only uses 'Net::SMTP'.
109 security = none
110 # Authentication is only used if 'login' is set. You should only use
111 # that with 'tls' or 'ssl' encryption.
112 login =
113 password =
114
115 [applications]
116 # Location of OpenOffice.org writer
117 openofficeorg_writer = oowriter
118 # Location of the X virtual frame buffer used for OpenOffice
119 xvfb = Xvfb
120 # Location of the html2ps binary
121 html2ps = html2ps
122 # Location of the Ghostscript binary
123 ghostscript = gs
124 # Location of the pdflatex (or compatible, e.g. xetex) binary
125 latex = pdflatex
126 # Location of the Python interpreter to use when converting from
127 # OpenDocument to PDF. Some distributions compile UNO support only
128 # into binaries located in different locations than the main Python
129 # binary.
130 python_uno = python
131
132 [environment]
133 # Add the following paths to the PATH environment variable.
134 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
135 # Add the following paths to the PERL5LIB environment variable.
136 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
137 lib = /sw/lib/perl5
138 # Add the following paths to the PYTHONPATH environment variable for
139 # locating Python modules. Python is used when converting OpenDocument
140 # files into PDF files.
141 python_uno_path =
142
143 [print_templates]
144 # If you have LaTeX installed set to 1
145 latex = 1
146 # Minimal support for Excel print templates
147 excel = 0
148 # Enable or disable support for OpenDocument print templates
149 opendocument = 1
150 # Chose whether or not OpenOffice should remain running after a
151 # conversion. If yes then the conversion of subsequent documents will
152 # be a lot faster. You need to have Python and the Python UNO bindings
153 # (part of OpenOffice) installed.
154 openofficeorg_daemon = 1
155 openofficeorg_daemon_port = 2002
156
157 [task_server]
158 # kivitendo client (either its name or its database ID) for database
159 # access (both 'client' and 'login' are required)
160 client =
161 # kivitendo user (login) name to use for certain jobs (both 'client'
162 # and 'login' are required)
163 login =
164 # Set to 1 for debug messages in /tmp/kivitendo-debug.log
165 debug = 0
166 # Chose a system user the daemon should run under when started as root.
167 run_as =
168
169 [periodic_invoices]
170 # The user name a report about the posted and printed invoices is sent
171 # to.
172 send_email_to  = mb
173 # The "From:" header for said email.
174 email_from     = kivitendo Daemon <root@localhost>
175 # The subject for said email.
176 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
177 # The template file used for the email's body.
178 email_template = templates/webpages/oe/periodic_invoices_email.txt
179
180 [self_test]
181
182 # modules to be tested
183 # Add without SL::BackgroundJob::SelfTest:: prefix
184 # Separate with space.
185 modules = Transactions
186
187 # you probably don't want to be spammed with "everything ok" every day. enable
188 # this when you add new tests to make sure they run correctly for a few days
189 send_email_on_success = 0
190
191 # will log into the standard logfile
192 log_to_file = 0
193
194 # user login (!) to send the email to.
195 send_email_to  =
196 # will be used to send your report mail
197 email_from     =
198 # The subject line for your report mail
199 email_subject  = kivitendo self test report
200 # template. currently txt and html templates are recognized and correctly mime send.
201 email_template = templates/mail/self_test/status_mail.txt
202
203 [console]
204 # Automatic login will only work if both "client" and "login" are
205 # given.  "client" can be a client's database ID or its name. "login"
206 # is simply a user's login name.
207 client =
208 login =
209
210 # autorun lines will be executed after autologin.
211 # be warned that loading huge libraries will noticably lengthen startup time.
212 #autorun = require "bin/mozilla/common.pl";
213 #        = use English qw(-no_match_vars);
214 #        = use List::Util qw(min max);
215 #        = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
216
217 # location of history file for permanent history
218 history_file = users/console_history
219
220 # location of a separate log file for the console. everything normally written
221 # to the kivitendo log will be put here if triggered from the console
222 log_file = /tmp/kivitendo_console_debug.log
223
224 [testing]
225 # Automatic login will only work if both "client" and "login" are
226 # given.  "client" can be a client's database ID or its name. "login"
227 # is simply a user's login name.
228 client =
229 login =
230
231 [devel]
232 # Several settings related to the development of kivitendo.
233
234 # "client" is used by several scripts (e.g. rose_auto_create_model.pl)
235 # when they need access to the database. It can be either a client's
236 # database ID or its name.
237 client =
238
239 [debug]
240 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
241 # will be replaced by the file name configured for $::lxdebug.
242 dbix_log4perl = 0
243 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
244                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
245                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
246                      = log4perl.appender.LOGFILE.mode=append
247                      = log4perl.appender.LOGFILE.Threshold = ERROR
248                      = log4perl.appender.LOGFILE.layout=PatternLayout
249                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
250                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
251                      = log4perl.appender.A1=Log::Log4perl::Appender::File
252                      = log4perl.appender.A1.filename=LXDEBUGFILE
253                      = log4perl.appender.A1.mode=append
254                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
255                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
256
257 # Activate certain global debug messages. If you want to combine
258 # several options then list them seperated by spaces.
259 #
260 # Possible values include:
261 #   NONE   - no debug output (default)
262 #   INFO
263 #   DEBUG1
264 #   DEBUG2
265 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
266 #   TRACE              - Track function calls and returns
267 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
268 #   REQUEST_TIMER      - Log timing of HTTP requests
269 #   REQUEST            - Log each request. Careful! Passwords get filtered, but
270 #                        there may be confidential information being logged here
271 #   WARN               - warnings
272 #   ALL                - all possible debug messages
273 #
274 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
275 #
276 # Example:
277 #   global_level = TRACE QUERY
278 global_level = NONE
279
280 # Activate monitoring of the content of $form. If it is active then
281 # monitoring can be turned on for certain variables with the
282 # following:
283 #   $form->{"Watchdog::<variable>"} = 1;
284 # Monitoring has a performance cost and is therefore deactivated by
285 # default.
286 watch_form = 0
287
288 # If you want to debug the creation of LaTeX files then set this to 1.
289 # That way the temporary LaTeX files created during PDF creation are
290 # not removed and remain in the "users" directory.
291 keep_temp_files = 0
292
293 # Restart the FastCGI process if changes to the program or template
294 # files have been detected. The restart will occur after the request
295 # in which the changes have been detected has completed.
296 restart_fcgi_process_on_changes = 0
297
298 # The file name where the debug messages are written to.
299 file_name = /tmp/kivitendo-debug.log
300
301 # If set to 1 then the installation will be kept unlocked even if a
302 # database upgrade fails.
303 keep_installation_unlocked = 0
304
305 # If set to 1 then all resource links (JavaScript, CSS files) output
306 # via $::request->{layout}->use_stylesheet() / use_javascript() will
307 # be made unique by appending a random GET parameter. This will cause
308 # the web browser to always reload the resources.
309 auto_reload_resources = 0
310
311 # If set to 1 each exception will include a full stack backtrace.
312 backtrace_on_die = 0