Revision 9ac69514
Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt
.gitignore | ||
---|---|---|
5 | 5 |
/users/session_files/ |
6 | 6 |
/users/pid/ |
7 | 7 |
/config/lx_office.conf |
8 |
/config/kivitendo.conf |
|
8 | 9 |
/doc/online/*/*.html |
9 | 10 |
pod2html* |
10 | 11 |
/doc/build/dobudish* |
SL/LxOfficeConf.pm | ||
---|---|---|
30 | 30 |
|
31 | 31 |
return unless $class->safe_require($may_fail); |
32 | 32 |
|
33 |
read_config('config/lx_office.conf.default' => \%::lx_office_conf); |
|
33 |
# Backwards compatibility: read lx_office.conf.default if |
|
34 |
# kivitendo.conf.default does't exist. |
|
35 |
my $default_config = -f "config/kivitendo.conf.default" ? 'kivitendo' : 'lx_office'; |
|
36 |
read_config("config/${default_config}.conf.default" => \%::lx_office_conf); |
|
34 | 37 |
_decode_recursively(\%::lx_office_conf); |
35 | 38 |
|
36 |
$file_name ||= 'config/lx_office.conf'; |
|
39 |
$file_name ||= -f 'config/kivitendo.conf' ? 'config/kivitendo.conf' : 'config/lx_office.conf';
|
|
37 | 40 |
|
38 | 41 |
if (-f $file_name) { |
39 | 42 |
read_config($file_name => \ my %local_conf); |
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 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 |
[mail_delivery] |
|
106 |
# Delivery method can be 'sendmail' or 'smtp' (the default). For |
|
107 |
# 'method = sendmail' the parameter 'mail_delivery.sendmail' is used |
|
108 |
# as the executable to call. If 'applications.sendmail' still exists |
|
109 |
# (backwards compatibility) then 'applications.sendmail' will be used |
|
110 |
# instead of 'mail_delivery.sendmail'. |
|
111 |
method = smtp |
|
112 |
# Location of sendmail for 'method = sendmail' |
|
113 |
sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%> |
|
114 |
# Settings for 'method = smtp'. |
|
115 |
host = localhost |
|
116 |
port = 25 |
|
117 |
# Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This |
|
118 |
# determines whether or not encryption is used and which kind. For |
|
119 |
# 'tls' the module 'Net::SMTP::TLS' is required; for 'ssl' |
|
120 |
# 'Net::SMTP::TLS' is required and 'none' only uses 'Net::SMTP'. |
|
121 |
security = tls |
|
122 |
# Authentication is only used if 'login' is set. You should only use |
|
123 |
# that with 'tls' or 'ssl' encryption. |
|
124 |
login = |
|
125 |
password = |
|
126 |
|
|
127 |
[applications] |
|
128 |
# Location of OpenOffice.org writer |
|
129 |
openofficeorg_writer = oowriter |
|
130 |
# Location of the X virtual frame buffer used for OpenOffice |
|
131 |
xvfb = Xvfb |
|
132 |
# Location of the html2ps binary |
|
133 |
html2ps = html2ps |
|
134 |
# Location of the Ghostscript binary |
|
135 |
ghostscript = gs |
|
136 |
# Location of the pdflatex (or compatible, e.g. xetex) binary |
|
137 |
latex = pdflatex |
|
138 |
# Location of the two executables "pg_dump" and "pg_restore" used for |
|
139 |
# database backup and restoration from the admin section. If |
|
140 |
# "pg_dump" or "pg_restore" is set to "DISABLED" then the |
|
141 |
# corresponding option (backup/restoration) will be hidden from the |
|
142 |
# admin section. |
|
143 |
pg_dump = pg_dump |
|
144 |
pg_restore = pg_restore |
|
145 |
|
|
146 |
[environment] |
|
147 |
# Add the following paths to the PATH environment variable. |
|
148 |
path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin |
|
149 |
# Add the following paths to the PERL5LIB environment variable. |
|
150 |
# "/sw/lib/perl5" is for Mac OS X with Fink's Perl. |
|
151 |
lib = /sw/lib/perl5 |
|
152 |
|
|
153 |
[print_templates] |
|
154 |
# If you have LaTeX installed set to 1 |
|
155 |
latex = 1 |
|
156 |
# Minimal support for Excel print templates |
|
157 |
excel = 0 |
|
158 |
# Enable or disable support for OpenDocument print templates |
|
159 |
opendocument = 1 |
|
160 |
# Chose whether or not OpenOffice should remain running after a |
|
161 |
# conversion. If yes then the conversion of subsequent documents will |
|
162 |
# be a lot faster. You need to have Python and the Python UNO bindings |
|
163 |
# (part of OpenOffice) installed. |
|
164 |
openofficeorg_daemon = 1 |
|
165 |
openofficeorg_daemon_port = 2002 |
|
166 |
|
|
167 |
[task_server] |
|
168 |
# User name to use for database access |
|
169 |
login = |
|
170 |
# Set to 1 for debug messages in /tmp/lx-office-debug.log |
|
171 |
debug = 1 |
|
172 |
# Chose a system user the daemon should run under when started as root. |
|
173 |
run_as = |
|
174 |
|
|
175 |
[periodic_invoices] |
|
176 |
# The user name a report about the posted and printed invoices is sent |
|
177 |
# to. |
|
178 |
send_email_to = mb |
|
179 |
# The "From:" header for said email. |
|
180 |
email_from = Lx-Office Daemon <root@localhost> |
|
181 |
# The subject for said email. |
|
182 |
email_subject = Benachrichtigung: automatisch erstellte Rechnungen |
|
183 |
# The template file used for the email's body. |
|
184 |
email_template = templates/webpages/oe/periodic_invoices_email.txt |
|
185 |
|
|
186 |
[self_test] |
|
187 |
|
|
188 |
# modules to be tested |
|
189 |
# Add without SL::BackgroundJob::SelfTest:: prefix |
|
190 |
# Separate with space. |
|
191 |
modules = Transactions |
|
192 |
|
|
193 |
# you probably don't want to be spammed with "everything ok" every day. enable |
|
194 |
# this when you add new tests to make sure they run correctly for a few days |
|
195 |
send_email_on_success = 0 |
|
196 |
|
|
197 |
# will log into the standard logfile |
|
198 |
log_to_file = 0 |
|
199 |
|
|
200 |
# user login (!) to send the email to. |
|
201 |
send_email_to = |
|
202 |
# will be used to send your report mail |
|
203 |
email_from = |
|
204 |
# The subject line for your report mail |
|
205 |
email_subject = kivitendo self test report |
|
206 |
# template. currently txt and html templates are recognized and correctly mime send. |
|
207 |
email_template = templates/mail/self_test/status_mail.txt |
|
208 |
|
|
209 |
[datev_check] |
|
210 |
# it is possible to make a quick DATEV export everytime you post a record to ensure things |
|
211 |
# work nicely with their data requirements. This will result in a slight overhead though |
|
212 |
# you can enable this for each type of record independantly. |
|
213 |
|
|
214 |
# check when a sales invoice or a payment for a sales invoice is posted |
|
215 |
check_on_sales_invoice = 0 |
|
216 |
# check when a purchase invoice or a payment for a purchase invoice is posted |
|
217 |
check_on_purchase_invoice = 0 |
|
218 |
# check when an ar transaction is posted |
|
219 |
check_on_ar_transaction = 0 |
|
220 |
# check when an ap transaction is posted |
|
221 |
check_on_ap_transaction = 0 |
|
222 |
# check when a gl transaction is posted |
|
223 |
check_on_gl_transaction = 0 |
|
224 |
|
|
225 |
# not implemented yet: |
|
226 |
#check_on_cash_and_receipt = 0 |
|
227 |
#check_on_dunning = 0 |
|
228 |
#check_on_sepa_import = 0 |
|
229 |
|
|
230 |
[console] |
|
231 |
# autologin to use if none is given |
|
232 |
login = |
|
233 |
|
|
234 |
# autorun lines will be executed after autologin. |
|
235 |
# be warned that loading huge libraries will noticably lengthen startup time. |
|
236 |
#autorun = require "bin/mozilla/common.pl"; |
|
237 |
# = use English qw(-no_match_vars); |
|
238 |
# = use List::Util qw(min max); |
|
239 |
# = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; } |
|
240 |
|
|
241 |
# location of history file for permanent history |
|
242 |
history_file = users/console_history |
|
243 |
|
|
244 |
# location of a separate log file for the console. everything normally written |
|
245 |
# to the lx-office log will be put here if triggered from the console |
|
246 |
log_file = /tmp/lxoffice_console_debug.log |
|
247 |
|
|
248 |
[testing] |
|
249 |
|
|
250 |
# autologin to use if none is given |
|
251 |
login = demo |
|
252 |
|
|
253 |
[debug] |
|
254 |
# Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE |
|
255 |
# will be replaced by the file name configured for $::lxdebug. |
|
256 |
dbix_log4perl = 0 |
|
257 |
dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE |
|
258 |
= log4perl.appender.LOGFILE=Log::Log4perl::Appender::File |
|
259 |
= log4perl.appender.LOGFILE.filename=LXDEBUGFILE |
|
260 |
= log4perl.appender.LOGFILE.mode=append |
|
261 |
= log4perl.appender.LOGFILE.Threshold = ERROR |
|
262 |
= log4perl.appender.LOGFILE.layout=PatternLayout |
|
263 |
= log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n |
|
264 |
= log4perl.logger.DBIx.Log4perl=DEBUG, A1 |
|
265 |
= log4perl.appender.A1=Log::Log4perl::Appender::File |
|
266 |
= log4perl.appender.A1.filename=LXDEBUGFILE |
|
267 |
= log4perl.appender.A1.mode=append |
|
268 |
= log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout |
|
269 |
= log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n |
|
270 |
|
|
271 |
# Activate certain global debug messages. If you want to combine |
|
272 |
# several options then list them seperated by spaces. |
|
273 |
# |
|
274 |
# Possible values include: |
|
275 |
# NONE - no debug output (default) |
|
276 |
# INFO |
|
277 |
# DEBUG1 |
|
278 |
# DEBUG2 |
|
279 |
# QUERY - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above) |
|
280 |
# TRACE - Track function calls and returns |
|
281 |
# BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called |
|
282 |
# REQUEST_TIMER - Log timing of HTTP requests |
|
283 |
# WARN - warnings |
|
284 |
# ALL - all possible debug messages |
|
285 |
# |
|
286 |
# DEVEL - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER" |
|
287 |
# |
|
288 |
# Example: |
|
289 |
# global_level = TRACE QUERY |
|
290 |
global_level = NONE |
|
291 |
|
|
292 |
# Activate monitoring of the content of $form. If it is active then |
|
293 |
# monitoring can be turned on for certain variables with the |
|
294 |
# following: |
|
295 |
# $form->{"Watchdog::<variable>"} = 1; |
|
296 |
# Monitoring has a performance cost and is therefore deactivated by |
|
297 |
# default. |
|
298 |
watch_form = 0 |
|
299 |
|
|
300 |
# Include menu options for debugging in the HTML menu. Works only in |
|
301 |
# FastCGI mode. |
|
302 |
show_debug_menu = 0 |
|
303 |
|
|
304 |
# If you want to debug the creation of LaTeX files then set this to 1. |
|
305 |
# That way the temporary LaTeX files created during PDF creation are |
|
306 |
# not removed and remain in the "users" directory. |
|
307 |
keep_temp_files = 0 |
|
308 |
|
|
309 |
# Restart the FastCGI process if changes to the program or template |
|
310 |
# files have been detected. The restart will occur after the request |
|
311 |
# in which the changes have been detected has completed. |
|
312 |
restart_fcgi_process_on_changes = 0 |
|
313 |
|
|
314 |
# The file name where the debug messages are written to. |
|
315 |
file_name = /tmp/lx-office-debug.log |
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 |
[mail_delivery] |
|
106 |
# Delivery method can be 'sendmail' or 'smtp' (the default). For |
|
107 |
# 'method = sendmail' the parameter 'mail_delivery.sendmail' is used |
|
108 |
# as the executable to call. If 'applications.sendmail' still exists |
|
109 |
# (backwards compatibility) then 'applications.sendmail' will be used |
|
110 |
# instead of 'mail_delivery.sendmail'. |
|
111 |
method = smtp |
|
112 |
# Location of sendmail for 'method = sendmail' |
|
113 |
sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%> |
|
114 |
# Settings for 'method = smtp'. |
|
115 |
host = localhost |
|
116 |
port = 25 |
|
117 |
# Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This |
|
118 |
# determines whether or not encryption is used and which kind. For |
|
119 |
# 'tls' the module 'Net::SMTP::TLS' is required; for 'ssl' |
|
120 |
# 'Net::SMTP::TLS' is required and 'none' only uses 'Net::SMTP'. |
|
121 |
security = tls |
|
122 |
# Authentication is only used if 'login' is set. You should only use |
|
123 |
# that with 'tls' or 'ssl' encryption. |
|
124 |
login = |
|
125 |
password = |
|
126 |
|
|
127 |
[applications] |
|
128 |
# Location of OpenOffice.org writer |
|
129 |
openofficeorg_writer = oowriter |
|
130 |
# Location of the X virtual frame buffer used for OpenOffice |
|
131 |
xvfb = Xvfb |
|
132 |
# Location of the html2ps binary |
|
133 |
html2ps = html2ps |
|
134 |
# Location of the Ghostscript binary |
|
135 |
ghostscript = gs |
|
136 |
# Location of the pdflatex (or compatible, e.g. xetex) binary |
|
137 |
latex = pdflatex |
|
138 |
# Location of the two executables "pg_dump" and "pg_restore" used for |
|
139 |
# database backup and restoration from the admin section. If |
|
140 |
# "pg_dump" or "pg_restore" is set to "DISABLED" then the |
|
141 |
# corresponding option (backup/restoration) will be hidden from the |
|
142 |
# admin section. |
|
143 |
pg_dump = pg_dump |
|
144 |
pg_restore = pg_restore |
|
145 |
|
|
146 |
[environment] |
|
147 |
# Add the following paths to the PATH environment variable. |
|
148 |
path = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin |
|
149 |
# Add the following paths to the PERL5LIB environment variable. |
|
150 |
# "/sw/lib/perl5" is for Mac OS X with Fink's Perl. |
|
151 |
lib = /sw/lib/perl5 |
|
152 |
|
|
153 |
[print_templates] |
|
154 |
# If you have LaTeX installed set to 1 |
|
155 |
latex = 1 |
|
156 |
# Minimal support for Excel print templates |
|
157 |
excel = 0 |
|
158 |
# Enable or disable support for OpenDocument print templates |
|
159 |
opendocument = 1 |
|
160 |
# Chose whether or not OpenOffice should remain running after a |
|
161 |
# conversion. If yes then the conversion of subsequent documents will |
|
162 |
# be a lot faster. You need to have Python and the Python UNO bindings |
|
163 |
# (part of OpenOffice) installed. |
|
164 |
openofficeorg_daemon = 1 |
|
165 |
openofficeorg_daemon_port = 2002 |
|
166 |
|
|
167 |
[task_server] |
|
168 |
# User name to use for database access |
|
169 |
login = |
|
170 |
# Set to 1 for debug messages in /tmp/lx-office-debug.log |
|
171 |
debug = 1 |
|
172 |
# Chose a system user the daemon should run under when started as root. |
|
173 |
run_as = |
|
174 |
|
|
175 |
[periodic_invoices] |
|
176 |
# The user name a report about the posted and printed invoices is sent |
|
177 |
# to. |
|
178 |
send_email_to = mb |
|
179 |
# The "From:" header for said email. |
|
180 |
email_from = Lx-Office Daemon <root@localhost> |
|
181 |
# The subject for said email. |
|
182 |
email_subject = Benachrichtigung: automatisch erstellte Rechnungen |
|
183 |
# The template file used for the email's body. |
|
184 |
email_template = templates/webpages/oe/periodic_invoices_email.txt |
|
185 |
|
|
186 |
[self_test] |
|
187 |
|
|
188 |
# modules to be tested |
|
189 |
# Add without SL::BackgroundJob::SelfTest:: prefix |
|
190 |
# Separate with space. |
|
191 |
modules = Transactions |
|
192 |
|
|
193 |
# you probably don't want to be spammed with "everything ok" every day. enable |
|
194 |
# this when you add new tests to make sure they run correctly for a few days |
|
195 |
send_email_on_success = 0 |
|
196 |
|
|
197 |
# will log into the standard logfile |
|
198 |
log_to_file = 0 |
|
199 |
|
|
200 |
# user login (!) to send the email to. |
|
201 |
send_email_to = |
|
202 |
# will be used to send your report mail |
|
203 |
email_from = |
|
204 |
# The subject line for your report mail |
|
205 |
email_subject = kivitendo self test report |
|
206 |
# template. currently txt and html templates are recognized and correctly mime send. |
|
207 |
email_template = templates/mail/self_test/status_mail.txt |
|
208 |
|
|
209 |
[datev_check] |
|
210 |
# it is possible to make a quick DATEV export everytime you post a record to ensure things |
|
211 |
# work nicely with their data requirements. This will result in a slight overhead though |
|
212 |
# you can enable this for each type of record independantly. |
|
213 |
|
|
214 |
# check when a sales invoice or a payment for a sales invoice is posted |
|
215 |
check_on_sales_invoice = 0 |
|
216 |
# check when a purchase invoice or a payment for a purchase invoice is posted |
|
217 |
check_on_purchase_invoice = 0 |
|
218 |
# check when an ar transaction is posted |
|
219 |
check_on_ar_transaction = 0 |
|
220 |
# check when an ap transaction is posted |
|
221 |
check_on_ap_transaction = 0 |
|
222 |
# check when a gl transaction is posted |
|
223 |
check_on_gl_transaction = 0 |
|
224 |
|
|
225 |
# not implemented yet: |
|
226 |
#check_on_cash_and_receipt = 0 |
|
227 |
#check_on_dunning = 0 |
|
228 |
#check_on_sepa_import = 0 |
|
229 |
|
|
230 |
[console] |
|
231 |
# autologin to use if none is given |
|
232 |
login = |
|
233 |
|
|
234 |
# autorun lines will be executed after autologin. |
|
235 |
# be warned that loading huge libraries will noticably lengthen startup time. |
|
236 |
#autorun = require "bin/mozilla/common.pl"; |
|
237 |
# = use English qw(-no_match_vars); |
|
238 |
# = use List::Util qw(min max); |
|
239 |
# = sub take { my $max = shift; my $r = ref($_[0]) eq 'ARRAY' ? $_[0] : \@_; return @{$r}[0..List::Util::min($max, scalar(@{$r})) - 1]; } |
|
240 |
|
|
241 |
# location of history file for permanent history |
|
242 |
history_file = users/console_history |
|
243 |
|
|
244 |
# location of a separate log file for the console. everything normally written |
|
245 |
# to the lx-office log will be put here if triggered from the console |
|
246 |
log_file = /tmp/lxoffice_console_debug.log |
|
247 |
|
|
248 |
[testing] |
|
249 |
|
|
250 |
# autologin to use if none is given |
|
251 |
login = demo |
|
252 |
|
|
253 |
[debug] |
|
254 |
# Use DBIx::Log4perl for logging DBI calls. The string LXDEBUGFILE |
|
255 |
# will be replaced by the file name configured for $::lxdebug. |
|
256 |
dbix_log4perl = 0 |
|
257 |
dbix_log4perl_config = log4perl.logger = FATAL, LOGFILE |
|
258 |
= log4perl.appender.LOGFILE=Log::Log4perl::Appender::File |
|
259 |
= log4perl.appender.LOGFILE.filename=LXDEBUGFILE |
|
260 |
= log4perl.appender.LOGFILE.mode=append |
|
261 |
= log4perl.appender.LOGFILE.Threshold = ERROR |
|
262 |
= log4perl.appender.LOGFILE.layout=PatternLayout |
|
263 |
= log4perl.appender.LOGFILE.layout.ConversionPattern=[%r] %F %L %c - %m%n |
|
264 |
= log4perl.logger.DBIx.Log4perl=DEBUG, A1 |
|
265 |
= log4perl.appender.A1=Log::Log4perl::Appender::File |
|
266 |
= log4perl.appender.A1.filename=LXDEBUGFILE |
|
267 |
= log4perl.appender.A1.mode=append |
|
268 |
= log4perl.appender.A1.layout=Log::Log4perl::Layout::PatternLayout |
|
269 |
= log4perl.appender.A1.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n |
|
270 |
|
|
271 |
# Activate certain global debug messages. If you want to combine |
|
272 |
# several options then list them seperated by spaces. |
|
273 |
# |
|
274 |
# Possible values include: |
|
275 |
# NONE - no debug output (default) |
|
276 |
# INFO |
|
277 |
# DEBUG1 |
|
278 |
# DEBUG2 |
|
279 |
# QUERY - Dump SQL queries (only in legacy code; see also "dbix_log4perl" above) |
|
280 |
# TRACE - Track function calls and returns |
|
281 |
# BACKTRACE_ON_ERROR - Print a function call backtrace when $form->error() is called |
|
282 |
# REQUEST_TIMER - Log timing of HTTP requests |
|
283 |
# WARN - warnings |
|
284 |
# ALL - all possible debug messages |
|
285 |
# |
|
286 |
# DEVEL - sames as "INFO QUERY TRACE BACKTRACE_ON_ERROR REQUEST_TIMER" |
|
287 |
# |
|
288 |
# Example: |
|
289 |
# global_level = TRACE QUERY |
|
290 |
global_level = NONE |
|
291 |
|
|
292 |
# Activate monitoring of the content of $form. If it is active then |
|
293 |
# monitoring can be turned on for certain variables with the |
|
294 |
# following: |
|
295 |
# $form->{"Watchdog::<variable>"} = 1; |
|
296 |
# Monitoring has a performance cost and is therefore deactivated by |
|
297 |
# default. |
|
298 |
watch_form = 0 |
|
299 |
|
|
300 |
# Include menu options for debugging in the HTML menu. Works only in |
|
301 |
# FastCGI mode. |
|
302 |
show_debug_menu = 0 |
|
303 |
|
|
304 |
# If you want to debug the creation of LaTeX files then set this to 1. |
|
305 |
# That way the temporary LaTeX files created during PDF creation are |
|
306 |
# not removed and remain in the "users" directory. |
|
307 |
keep_temp_files = 0 |
|
308 |
|
|
309 |
# Restart the FastCGI process if changes to the program or template |
|
310 |
# files have been detected. The restart will occur after the request |
|
311 |
# in which the changes have been detected has completed. |
|
312 |
restart_fcgi_process_on_changes = 0 |
|
313 |
|
|
314 |
# The file name where the debug messages are written to. |
|
315 |
file_name = /tmp/lx-office-debug.log |
Auch abrufbar als: Unified diff
Konfigurationsdateien config/lx_office.conf{.default} in kivitendo.conf{.default} umbenennen