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