b0c3e66e5bf6199be4d8c162fe144e309d27782f
[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 # EUR: Einnahmen-Überschussrechnung (net income method). Set this to 1
61 # if your company uses the net income method and to 0 for balancing.
62 # Additional note in german: Sollversteuerung = 0; Istversteuerung = 1
63 eur = 1
64
65 # Set language for login and admin forms. Currently "de" (German),
66 # "de_DE" (new German) and "en" (English, not perfect) are available.
67 language = de
68
69 # The database charset. Must match the encoding of the database cluster you want to
70 # connect to. (Used on the shell command to create a database "pg_createcluster". Option "-e <encoding>".)
71 dbcharset = UTF-8
72
73 [features]
74 # Activate certain optional features and modules.
75 webdav = 0
76 vertreter = 0
77
78 # Show fields used for the best before date
79 show_best_before = 0
80
81 ## Pictures for parts
82 # Show the picture in the part form
83 parts_show_image = 1
84 # Style the picture with the following CSS code:
85 parts_image_css = border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;
86 # Show the picture in the results when you search for parts
87 parts_listing_images = 0
88
89 # Should payments be changeable after posting (0 = never; 1 = every time; 2 = on the same day)
90 payments_changeable = 1
91
92 [paths]
93 # path to temporary files (must be writeable by the web server)
94 userspath = users
95 # spool directory for batch printing
96 spool = spool
97 # templates base directory
98 templates = templates
99 # Path to the old memberfile (ignored on new installations)
100 memberfile = users/members
101
102 [applications]
103 # Location of sendmail
104 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
105 # Location of OpenOffice.org writer
106 openofficeorg_writer = oowriter
107 # Location of the X virtual frame buffer used for OpenOffice
108 xvfb = Xvfb
109 # Location of the html2ps binary
110 html2ps = html2ps
111 # Location of the Ghostscript binary
112 ghostscript = gs
113 # Location of the pdflatex (or compatible, e.g. xetex) binary
114 latex = pdflatex
115 # Location of the two executables "pg_dump" and "pg_restore" used for
116 # database backup and restoration from the admin section.  If
117 # "pg_dump" or "pg_restore" is set to "DISABLED" then the
118 # corresponding option (backup/restoration) will be hidden from the
119 # admin section.
120 pg_dump = pg_dump
121 pg_restore = pg_restore
122
123 [environment]
124 # Add the following paths to the PATH environment variable.
125 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
126 # Add the following paths to the PERL5LIB environment variable.
127 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
128 lib = /sw/lib/perl5
129
130 [print_templates]
131 # If you have LaTeX installed set to 1
132 latex = 1
133 # Minimal support for Excel print templates
134 excel = 0
135 # Enable or disable support for OpenDocument print templates
136 opendocument = 1
137 # Chose whether or not OpenOffice should remain running after a
138 # conversion. If yes then the conversion of subsequent documents will
139 # be a lot faster. You need to have Python and the Python UNO bindings
140 # (part of OpenOffice) installed.
141 openofficeorg_daemon = 1
142 openofficeorg_daemon_port = 2002
143
144 [task_server]
145 # User name to use for database access
146 login =
147 # Set to 1 for debug messages in /tmp/lx-office-debug.log
148 debug = 1
149 # Chose a system user the daemon should run under when started as root.
150 run_as =
151
152 [periodic_invoices]
153 # The user name a report about the posted and printed invoices is sent
154 # to.
155 send_email_to  = mb
156 # The "From:" header for said email.
157 email_from     = Lx-Office Daemon <root@localhost>
158 # The subject for said email.
159 email_subject  = Benachrichtigung: automatisch erstellte Rechnungen
160 # The template file used for the email's body.
161 email_template = templates/webpages/oe/periodic_invoices_email.txt
162
163 [console]
164 # autologin to use if none is given
165 login =
166
167 # autorun lines will be executed after autologin.
168 # be warned that loading huge libraries will noticably lengthen startup time.
169 #autorun = require "bin/mozilla/common.pl";
170 #        = use English qw(-no_match_vars);
171 #        = use List::Util qw(min max);
172 #        = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
173
174 # location of history file for permanent history
175 history_file = users/console_history
176
177 # location of a separate log file for the console. everything normally written
178 # to the lx-office log will be put here if triggered from the console
179 log_file = /tmp/lxoffice_console_debug.log
180
181 [debug]
182 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
183 # will be replaced by the file name configured for $::lxdebug.
184 dbix_log4perl = 0
185 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
186                      = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
187                      = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
188                      = log4perl.appender.LOGFILE.mode=append
189                      = log4perl.appender.LOGFILE.Threshold = ERROR
190                      = log4perl.appender.LOGFILE.layout=PatternLayout
191                      = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
192                      = log4perl.logger.DBIx.Log4perl=DEBUG, A1
193                      = log4perl.appender.A1=Log::Log4perl::Appender::File
194                      = log4perl.appender.A1.filename=LXDEBUGFILE
195                      = log4perl.appender.A1.mode=append
196                      = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
197                      = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
198
199 # Activate certain global debug messages. If you want to combine
200 # several options then list them seperated by spaces.
201 #
202 # Possible values include:
203 #   NONE   - no debug output (default)
204 #   INFO
205 #   DEBUG1
206 #   DEBUG2
207 #   QUERY              - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
208 #   TRACE              - Track function calls and returns
209 #   BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
210 #   REQUEST_TIMER      - Log timing of HTTP requests
211 #   WARN               - warnings
212 #   ALL                - all possible debug messages
213 #
214 #   DEVEL              - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
215 #
216 # Example:
217 #   global_level = TRACE QUERY
218 global_level = NONE
219
220 # Activate monitoring of the content of $form. If it is active then
221 # monitoring can be turned on for certain variables with the
222 # following:
223 #   $form->{"Watchdog::<variable>"} = 1;
224 # Monitoring has a performance cost and is therefore deactivated by
225 # default.
226 watch_form = 0
227
228 # Include menu options for debugging in the HTML menu. Works only in
229 # FastCGI mode.
230 show_debug_menu = 0
231
232 # If you want to debug the creation of LaTeX files then set this to 1.
233 # That way the temporary LaTeX files created during PDF creation are
234 # not removed and remain in the "users" directory.
235 keep_temp_files = 0
236
237 # Restart the FastCGI process if changes to the program or template
238 # files have been detected. The restart will occur after the request
239 # in which the changes have been detected has completed.
240 restart_fcgi_process_on_changes = 0
241
242 # The file name where the debug messages are written to.
243 file_name = /tmp/lx-office-debug.log