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