7b95f4c1cd2f67f3da3d7c75be667cc17049abee
[kivitendo-erp.git] / config / lx_office.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 Lx-Office.
10 module = DB
11
12 # The cookie name can be changed if desired.
13 cookie_name = lx_office_erp_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 [authentication/database]
20 # Connection information for the database with the user and group
21 # inforamtion.  This information is always needed, even if LDAP is
22 # used for authentication, as the user information is stored in this
23 # database while LDAP is only used for password verification.
24 #
25 # If 'module' is set to 'DB' then this database also contains the
26 # users' passwords.
27 host     = localhost
28 port     = 5432
29 db       = lxerp_auth
30 user     = postgres
31 password =
32
33 [authentication/ldap]
34 # This section is only relevant if 'module' is set to 'LDAP'. It names
35 # the LDAP server the passwords are verified against by doing a LDAP
36 # bind operation.
37 #
38 # At least the parameters 'host', 'attribute' and 'base_dn' have to be
39 # specified.
40 #
41 # tls:       Activate encryption via TLS
42 # attribute: Name of the LDAP attribute containing the user's login name
43 # base_dn:   Base DN the LDAP searches start from
44 # filter:    An optional LDAP filter specification. The string '<%login%>'
45 #            is replaced by the user's login name before the search is started.
46 # bind_dn and bind_password:
47 #            If searching the LDAP tree requires user credentials
48 #            (e.g. ActiveDirectory) then these two parameters specify
49 #            the user name and password to use.
50 host          = localhost
51 port          = 389
52 tls           = 0
53 attribute     = uid
54 base_dn       =
55 filter        =
56 bind_dn       =
57 bind_password =
58
59 [system]
60 # Set language for login and admin forms. Currently "de" (German),
61 # "de_DE" (new German) and "en" (English, not perfect) are available.
62 language = de
63
64 # The database charset. Must match the encoding of the database cluster you want to
65 # connect to. (Used on the shell command to create a database "pg_createcluster". Option "-e <encoding>".)
66 dbcharset = UTF-8
67
68 [features]
69 # Activate certain optional features and modules.
70 webdav = 0
71 vertreter = 0
72
73 # Show fields used for the best before date
74 # ATTENTION! If you enabled this feature you can not simply turn it off again
75 # without taking care that best_before fields are emptied in the database.
76 # This can be done with the following query:
77 #
78 #  UPDATE inventory SET bestbefore = NULL;
79 #
80 # Any stock contents containing a best before date will be impossible to stock
81 # out otherwise.
82 show_best_before = 0
83
84 ## Pictures for parts
85 # Show the picture in the part form
86 parts_show_image = 1
87 # Style the picture with the following CSS code:
88 parts_image_css = border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;
89 # Show the picture in the results when you search for parts
90 parts_listing_images = 0
91
92 # Should payments be changeable after posting (0 = never; 1 = every time; 2 = on the same day)
93 payments_changeable = 1
94
95 [paths]
96 # path to temporary files (must be writeable by the web server)
97 userspath = users
98 # spool directory for batch printing
99 spool = spool
100 # templates base directory
101 templates = templates
102 # Path to the old memberfile (ignored on new installations)
103 memberfile = users/members
104
105 [applications]
106 # Location of sendmail
107 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
108 # Location of OpenOffice.org writer
109 openofficeorg_writer = oowriter
110 # Location of the X virtual frame buffer used for OpenOffice
111 xvfb = Xvfb
112 # Location of the html2ps binary
113 html2ps = html2ps
114 # Location of the Ghostscript binary
115 ghostscript = gs
116 # Location of the pdflatex (or compatible, e.g. xetex) binary
117 latex = pdflatex
118 # Location of the two executables "pg_dump" and "pg_restore" used for
119 # database backup and restoration from the admin section.  If
120 # "pg_dump" or "pg_restore" is set to "DISABLED" then the
121 # corresponding option (backup/restoration) will be hidden from the
122 # admin section.
123 pg_dump = pg_dump
124 pg_restore = pg_restore
125
126 [environment]
127 # Add the following paths to the PATH environment variable.
128 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
129 # Add the following paths to the PERL5LIB environment variable.
130 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
131 lib = /sw/lib/perl5
132
133 [print_templates]
134 # If you have LaTeX installed set to 1
135 latex = 1
136 # Minimal support for Excel print templates
137 excel = 0
138 # Enable or disable support for OpenDocument print templates
139 opendocument = 1
140 # Chose whether or not OpenOffice should remain running after a
141 # conversion. If yes then the conversion of subsequent documents will
142 # be a lot faster. You need to have Python and the Python UNO bindings
143 # (part of OpenOffice) installed.
144 openofficeorg_daemon = 1
145 openofficeorg_daemon_port = 2002
146
147 [task_server]
148 # User name to use for database access
149 login =
150 # Set to 1 for debug messages in /tmp/lx-office-debug.log
151 debug = 1
152 # Chose a system user the daemon should run under when started as root.
153 run_as =
154
155 [periodic_invoices]
156 # The user name a report about the posted and printed invoices is sent
157 # to.
158 send_email_to  = mb
159 # The "From:" header for said email.
160 email_from     = Lx-Office Daemon <root@localhost>
161 # The subject for said email.
162 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
163 # The template file used for the email's body.
164 email_template = templates/webpages/oe/periodic_invoices_email.txt
165
166 [self_test]
167
168 # modules to be tested
169 # Add without SL::BackgroundJob::SelfTest:: prefix
170 # Separate with space.
171 modules = Transactions
172
173 # you probably don't want to be spammed with "everything ok" every day. enable
174 # this when you add new tests to make sure they run correctly for a few days
175 send_email_on_success = 0
176
177 # will log into the standard logfile
178 log_to_file = 0
179
180 # user login (!) to send the email to.
181 send_email_to  =
182 # will be used to send your report mail
183 email_from     =
184 # The subject line for your report mail
185 email_subject  = kivitendo self test report
186 # template. currently txt and html templates are recognized and correctly mime send.
187 email_template = templates/mail/self_test/status_mail.txt
188
189 [datev_check]
190 # it is possible to make a quick DATEV export everytime you post a record to ensure things
191 # work nicely with their data requirements. This will result in a slight overhead though
192 # you can enable this for each type of record independantly.
193
194 # check when a sales invoice or a payment for a sales invoice is posted
195 check_on_sales_invoice = 0
196 # check when a purchase invoice or a payment for a purchase invoice is posted
197 check_on_purchase_invoice = 0
198 # check when an ar transaction is posted
199 check_on_ar_transaction = 0
200 # check when an ap transaction is posted
201 check_on_ap_transaction = 0
202 # check when a gl transaction is posted
203 check_on_gl_transaction = 0
204
205 # not implemented yet:
206 #check_on_cash_and_receipt = 0
207 #check_on_dunning = 0
208 #check_on_sepa_import = 0
209
210 [console]
211 # autologin to use if none is given
212 login =
213
214 # autorun lines will be executed after autologin.
215 # be warned that loading huge libraries will noticably lengthen startup time.
216 #autorun = require "bin/mozilla/common.pl";
217 #        = use English qw(-no_match_vars);
218 #        = use List::Util qw(min max);
219 #        = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
220
221 # location of history file for permanent history
222 history_file = users/console_history
223
224 # location of a separate log file for the console. everything normally written
225 # to the lx-office log will be put here if triggered from the console
226 log_file = /tmp/lxoffice_console_debug.log
227
228 [testing]
229
230 # autologin to use if none is given
231 login = demo
232
233 [debug]
234 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
235 # will be replaced by the file name configured for $::lxdebug.
236 dbix_log4perl = 0
237 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
238                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
239                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
240                      = log4perl.appender.LOGFILE.mode=append
241                      = log4perl.appender.LOGFILE.Threshold = ERROR
242                      = log4perl.appender.LOGFILE.layout=PatternLayout
243                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
244                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
245                      = log4perl.appender.A1=Log::Log4perl::Appender::File
246                      = log4perl.appender.A1.filename=LXDEBUGFILE
247                      = log4perl.appender.A1.mode=append
248                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
249                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
250
251 # Activate certain global debug messages. If you want to combine
252 # several options then list them seperated by spaces.
253 #
254 # Possible values include:
255 #   NONE   - no debug output (default)
256 #   INFO
257 #   DEBUG1
258 #   DEBUG2
259 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
260 #   TRACE              - Track function calls and returns
261 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
262 #   REQUEST_TIMER      - Log timing of HTTP requests
263 #   WARN               - warnings
264 #   ALL                - all possible debug messages
265 #
266 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
267 #
268 # Example:
269 #   global_level = TRACE QUERY
270 global_level = NONE
271
272 # Activate monitoring of the content of $form. If it is active then
273 # monitoring can be turned on for certain variables with the
274 # following:
275 #   $form->{"Watchdog::<variable>"} = 1;
276 # Monitoring has a performance cost and is therefore deactivated by
277 # default.
278 watch_form = 0
279
280 # Include menu options for debugging in the HTML menu. Works only in
281 # FastCGI mode.
282 show_debug_menu = 0
283
284 # If you want to debug the creation of LaTeX files then set this to 1.
285 # That way the temporary LaTeX files created during PDF creation are
286 # not removed and remain in the "users" directory.
287 keep_temp_files = 0
288
289 # Restart the FastCGI process if changes to the program or template
290 # files have been detected. The restart will occur after the request
291 # in which the changes have been detected has completed.
292 restart_fcgi_process_on_changes = 0
293
294 # The file name where the debug messages are written to.
295 file_name = /tmp/lx-office-debug.log