2 # The cleartext password for access to the administrative part. It
3 # can only be changed in this file, not via the administrative
5 admin_password = admin123
7 # Which module to use for authentication. Valid values are 'DB' and
8 # 'LDAP'. If 'LDAP' is used then users cannot change their password
12 # The cookie name can be changed if desired.
13 cookie_name = lx_office_erp_session_id
15 # The number of minutes a session is valid. The default value is eight
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.
25 # If 'module' is set to 'DB' then this database also contains the
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
38 # At least the parameters 'host', 'attribute' and 'base_dn' have to be
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.
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 # !!out of use since 2.7!!
64 # See doc/umstellung_eur.txt
67 # Set language for login and admin forms. Currently "de" (German),
68 # "de_DE" (new German) and "en" (English, not perfect) are available.
71 # The database charset. Must match the encoding of the database cluster you want to
72 # connect to. (Used on the shell command to create a database "pg_createcluster". Option "-e <encoding>".)
76 # Activate certain optional features and modules.
80 # Show fields used for the best before date
81 # ATTENTION! If you enabled this feature you can not simply turn it off again
82 # without taking care that best_before fields are emptied in the database.
83 # This can be done with the following query:
85 # UPDATE inventory SET bestbefore = NULL;
87 # Any stock contents containing a best before date will be impossible to stock
92 # Show the picture in the part form
94 # Style the picture with the following CSS code:
95 parts_image_css = border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;
96 # Show the picture in the results when you search for parts
97 parts_listing_images = 0
99 # Should payments be changeable after posting (0 = never; 1 = every time; 2 = on the same day)
100 payments_changeable = 1
103 # path to temporary files (must be writeable by the web server)
105 # spool directory for batch printing
107 # templates base directory
108 templates = templates
109 # Path to the old memberfile (ignored on new installations)
110 memberfile = users/members
113 # Location of sendmail
114 sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
115 # Location of OpenOffice.org writer
116 openofficeorg_writer = oowriter
117 # Location of the X virtual frame buffer used for OpenOffice
119 # Location of the html2ps binary
121 # Location of the Ghostscript binary
123 # Location of the pdflatex (or compatible, e.g. xetex) binary
125 # Location of the two executables "pg_dump" and "pg_restore" used for
126 # database backup and restoration from the admin section. If
127 # "pg_dump" or "pg_restore" is set to "DISABLED" then the
128 # corresponding option (backup/restoration) will be hidden from the
131 pg_restore = pg_restore
134 # Add the following paths to the PATH environment variable.
135 path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin
136 # Add the following paths to the PERL5LIB environment variable.
137 # "/sw/lib/perl5" is for Mac OS X with Fink's Perl.
141 # If you have LaTeX installed set to 1
143 # Minimal support for Excel print templates
145 # Enable or disable support for OpenDocument print templates
147 # Chose whether or not OpenOffice should remain running after a
148 # conversion. If yes then the conversion of subsequent documents will
149 # be a lot faster. You need to have Python and the Python UNO bindings
150 # (part of OpenOffice) installed.
151 openofficeorg_daemon = 1
152 openofficeorg_daemon_port = 2002
155 # User name to use for database access
157 # Set to 1 for debug messages in /tmp/lx-office-debug.log
159 # Chose a system user the daemon should run under when started as root.
163 # The user name a report about the posted and printed invoices is sent
166 # The "From:" header for said email.
167 email_from = Lx-Office Daemon <root@localhost>
168 # The subject for said email.
169 email_subject = Benachrichtigung: automatisch erstellte Rechnungen
170 # The template file used for the email's body.
171 email_template = templates/webpages/oe/periodic_invoices_email.txt
174 # autologin to use if none is given
177 # autorun lines will be executed after autologin.
178 # be warned that loading huge libraries will noticably lengthen startup time.
179 #autorun = require "bin/mozilla/common.pl";
180 # = use English qw(-no_match_vars);
181 # = use List::Util qw(min max);
182 # = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; }
184 # location of history file for permanent history
185 history_file = users/console_history
187 # location of a separate log file for the console. everything normally written
188 # to the lx-office log will be put here if triggered from the console
189 log_file = /tmp/lxoffice_console_debug.log
193 # autologin to use if none is given
197 # Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE
198 # will be replaced by the file name configured for $::lxdebug.
200 dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE
201 = log4perl.appender.LOGFILE=Log::Log4perl::Appender::File
202 = log4perl.appender.LOGFILE.filename=LXDEBUGFILE
203 = log4perl.appender.LOGFILE.mode=append
204 = log4perl.appender.LOGFILE.Threshold = ERROR
205 = log4perl.appender.LOGFILE.layout=PatternLayout
206 = log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n
207 = log4perl.logger.DBIx.Log4perl=DEBUG, A1
208 = log4perl.appender.A1=Log::Log4perl::Appender::File
209 = log4perl.appender.A1.filename=LXDEBUGFILE
210 = log4perl.appender.A1.mode=append
211 = log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout
212 = log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n
214 # Activate certain global debug messages. If you want to combine
215 # several options then list them seperated by spaces.
217 # Possible values include:
218 # NONE - no debug output (default)
222 # QUERY - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above)
223 # TRACE - Track function calls and returns
224 # BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called
225 # REQUEST_TIMER - Log timing of HTTP requests
227 # ALL - all possible debug messages
229 # DEVEL - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER"
232 # global_level = TRACE QUERY
235 # Activate monitoring of the content of $form. If it is active then
236 # monitoring can be turned on for certain variables with the
238 # $form->{"Watchdog::<variable>"} = 1;
239 # Monitoring has a performance cost and is therefore deactivated by
243 # Include menu options for debugging in the HTML menu. Works only in
247 # If you want to debug the creation of LaTeX files then set this to 1.
248 # That way the temporary LaTeX files created during PDF creation are
249 # not removed and remain in the "users" directory.
252 # Restart the FastCGI process if changes to the program or template
253 # files have been detected. The restart will occur after the request
254 # in which the changes have been detected has completed.
255 restart_fcgi_process_on_changes = 0
257 # The file name where the debug messages are written to.
258 file_name = /tmp/lx-office-debug.log