Commit Graph

121 Commits

Author SHA1 Message Date
P. Christeas 1e0de079ac Minor improvement in poolJobs debug string.
bzr revid: p_christ@hol.gr-20090823174649-inkws3li8qiben21
2009-08-23 20:46:49 +03:00
P. Christeas 8cbe393b52 Merge commit 'origin/master' into xrg (5.0.3 official)
Conflicts:
	bin/netsvc.py
	bin/tools/config.py
	bin/workflow/instance.py

bzr revid: p_christ@hol.gr-20090823100210-2py390qp3hym8jlp
2009-08-23 13:02:10 +03:00
Olivier Laurent 39ef3e6e6f [FIX] set_alarm: removed unwanted comment
bzr revid: olt@tinyerp.com-20090821120307-12nymk9vtj83neuk
2009-08-21 14:03:07 +02:00
Olivier Laurent 3b720c0435 [FIX] report engine: context argument was passed at a wrong position. Now it's passed as a named argument.
bzr revid: olt@tinyerp.com-20090821065313-1sb0f77ij9ej8ahq
2009-08-21 08:53:13 +02:00
P. Christeas e571324ab3 Introduce 'debug2' loglevel, use it for SQL
Sometimes we want to debug SQL, not always though.

bzr revid: p_christ@hol.gr-20090814160111-fhw1j4jmx94t2hjv
2009-08-14 19:01:11 +03:00
Christophe Simonis d4d6e89b8e [FIX] logger: convert the message in unicode before concatenate it with server environment
lp bug: https://launchpad.net/bugs/413594 fixed

bzr revid: christophe@tinyerp.com-20090814140948-c67bfvv3w1lqi41k
2009-08-14 16:09:48 +02:00
P. Christeas 00d15e79fe [IMP]: allow Log level to be changed in runtime.
Export an RPC method and let a simple client change the log level. This
helps when we want to debug the server without restarting it.

bzr revid: p_christ@hol.gr-20090814101822-pu2ed3249b6m30v8
2009-08-14 13:18:22 +03:00
P. Christeas 75e9560f9c Config: misc options. Logger: option to turn env_info off.
With this patch, config manager will parse the other sections of the
config file and store them, so that modules can use arbitrary options.
This is useful for modules that need to be globally configured before
any db is used. (eg. WebDAV server host/port)

Usage:
	param = tools.config.get_misc('section','opt_name'[,"default"])

bzr revid: p_christ@hol.gr-20090814092106-px46tg15g3vcsf2g
2009-08-14 12:21:06 +03:00
P. Christeas e9b723e321 Fix whitespace merging, that broke logging.
Python!

bzr revid: p_christ@hol.gr-20090804072817-7f8ah12bjyg60u60
2009-08-04 10:28:17 +03:00
P. Christeas c3e569fb08 Merge commit 'origin/master' into xrg
Conflicts:
	bin/netsvc.py
	bin/report/report_sxw.py
	setup.py

bzr revid: p_christ@hol.gr-20090803072357-zz2cm1sycsagftnn
2009-08-03 10:23:57 +03:00
P. Christeas 56d2cdbd73 [IMP] Allow OS to rotate the logs, use WatchedFileHandler if needed.
All this was needed after logrotate conflicted with the TimedRotation
and left the server in a DoS state. Some admins may prefer to handle the
log rotations with logrotate, instead of Python's fascilities.

bzr revid: p_christ@hol.gr-20090709181635-b7j50yaqjl1qsnc1
2009-07-09 21:16:35 +03:00
Naresh Choksy 8f300df195 [IMP]:Environment Information
bzr revid: nch@tinyerp.com-20090707100207-kmfwmpks7kis1v7b
2009-07-07 15:32:07 +05:30
P. Christeas 7cb394f380 Merge commit 'origin/master' into mdv-gpl3-py26
Conflicts:
	bin/addons/__init__.py
	bin/addons/base/ir/ir_cron.py
	bin/addons/base/rng/view.rng

bzr revid: p_christ@hol.gr-20090304073610-2ss5ju4lyyue79qv
bzr revid: p_christ@hol.gr-20090308214750-0bgr6yj85f8ixpjp
bzr revid: p_christ@hol.gr-20090312075024-1rqeqam5ipfofb9m
2009-03-12 09:50:24 +02:00
Christophe Simonis 2631f6e3da [IMP] make cron timers per db
bzr revid: christophe@taupe-20090304235328-z2h1e1u5zy2ex4c7
2009-03-05 00:53:28 +01:00
P. Christeas bba009f639 Merge commit 'origin/master' into mdv-gpl3-py26
Conflicts:
	bin/netsvc.py
	bin/sql_db.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090208175840-xmy5c53ijl3rs1l5
2009-02-08 19:58:40 +02:00
Christophe Simonis eed8260fda [FIX] locale
bzr revid: christophe@tinyerp.com-20090205134049-suv0tmz2rqdj7rid
2009-02-05 14:40:49 +01:00
Christophe Simonis 47a658c475 [FIX] locale problems (again)
bzr revid: christophe@tinyerp.com-20090205131812-btihwg9g1qweyln3
2009-02-05 14:18:12 +01:00
Christophe Simonis c0a85c932b [FIX] unicodify the logger
lp bug: https://launchpad.net/bugs/325259 fixed

bzr revid: christophe@tinyerp.com-20090204172700-3ivskfwcofpma74t
2009-02-04 18:27:00 +01:00
P. Christeas b69c19fbb2 Merge branch 'master' of openobject-server into mdv-gpl3-py26
Conflicts:
	bin/netsvc.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090131100804-pu97gelwjh1flk3h
2009-01-31 12:08:04 +02:00
Christophe Simonis 27240361ca [FIX] reactive the colored logging
bzr revid: christophe@tinyerp.com-20090130165551-7e6nnn6f2xxabijd
2009-01-30 17:55:51 +01:00
Stephane Wirtel 8a3a776bbd [FIX] Don't use the color if we use the logfile as logger
bzr revid: stephane@tinyerp.com-20090130153101-94qlxou5fq8bcp0t
2009-01-30 16:31:01 +01:00
P. Christeas 313744ee35 Logger: if unicode fails, try plain str decoding.
It is just a second attempt to get the message out instead
of raising an exception in the wrong place there.

bzr revid: p_christ@hol.gr-20090129073549-voc3eg28xitx6tzt
2009-01-29 09:35:49 +02:00
P. Christeas 876e0667e6 Logger: format the date numerically, avoid locale
When loading a translation file (and only then), the locale
is set, which affects the date formatting. Then, the logger
messages fail to be displayed on the console, because of
illegal chars.

bzr revid: p_christ@hol.gr-20090128145116-mu2jm5i264afj2vz
2009-01-28 16:51:16 +02:00
P. Christeas 1f6278b32c Merge branch 'master' of openobject-server into mdv-gpl3-py26
Conflicts:
	bin/addons/base/ir/ir.xml
	bin/osv/orm.py
	bin/sql_db.py
	bin/tools/config.py

bzr revid: p_christ@hol.gr-20090122175910-4apjfo1p7iokatm6
2009-01-22 19:59:10 +02:00
Fabien Pinckaers 1e150d5898 bugfix
bzr revid: fp@tinyerp.com-20090119205152-g7i0pghp98p2v93l
2009-01-19 21:51:52 +01:00
Christophe Simonis 8edf442785 [IMP] When a error occur in a report, the good stacktrace is sent to the client
bzr revid: christophe@tinyerp.com-20090115133404-mcmgvua5jqwo4uj7
2009-01-15 14:34:04 +01:00
P. Christeas b8d5eac277 Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3-py26
Conflicts:

	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090114075916-feh0125soh9euu1h
2009-01-14 09:59:16 +02:00
Christophe Simonis eab8eb27cb [FIX] bug with exception formating
bzr revid: christophe@tinyerp.com-20090109091201-58kfjqi23awrjbtz
2009-01-09 10:12:01 +01:00
Christophe Simonis 195fc4a475 [FIX] handle correctly the convertion of exceptions to unicode
lp bug: https://launchpad.net/bugs/314292 fixed

bzr revid: christophe@tinyerp.com-20090107184427-jnpi8sc14qduspwe
2009-01-07 19:44:27 +01:00
P. Christeas 7aa561987b Merge branch 'mdv-gpl3' into mdv-gpl3-py26
bzr revid: p_christ@hol.gr-20090106103203-mu7zxgyofhlmedpp
2009-01-06 12:32:03 +02:00
P. Christeas 1435d6d064 Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3
bzr revid: p_christ@hol.gr-20090106094017-i26aufnjth5am64m
2009-01-06 11:40:17 +02:00
P. Christeas 7168a11f68 Fix reading the log_level config setting.
bzr revid: p_christ@hol.gr-20090106093606-er3cioflqjccebg5
2009-01-06 11:36:06 +02:00
Stephane Wirtel 7fdf5188af [REF] Cleanup
bzr revid: stephane@tinyerp.com-20090105191456-26c6brzxqbjvfb7o
2009-01-05 20:14:56 +01:00
Stephane Wirtel 6d1312b739 [REF] Clean the old code
bzr revid: stephane@tinyerp.com-20090105185520-ctkecsx6dagy3jkk
2009-01-05 19:55:20 +01:00
Stephane Wirtel 9d293d1f00 [IMP] Update the copyright to 2009
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2009-01-04 23:13:29 +01:00
Stephane Wirtel f85e820297 [IMP] Shutdown all handlers of the logger
bzr revid: stephane@tinyerp.com-20081230175825-tp4zb02tj7py0pb4
2008-12-30 18:58:25 +01:00
Christophe Simonis dfa35ce376 [IMP] better exception handling in netscv
bzr revid: christophe@cobalt-20081230173046-ise36mjkxdi69q4x
2008-12-30 18:30:46 +01:00
P. Christeas 12bcce44c4 Merge branch 'master' of openobject-server into mdv-gpl3
Conflicts:
	bin/openerp-server.py

bzr revid: p_christ@hol.gr-20081230132911-6d9bfzlx8j9osj2q
2008-12-30 15:29:11 +02:00
Christophe Simonis b86bfc4e61 [FIX] all loggers are exclusives -> python 2.4 compatible
bzr revid: christophe@cobalt-20081229102451-m9my1c0dezd7wk8q
2008-12-29 11:24:51 +01:00
P. Christeas cb42fd7a59 Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3
Conflicts:
	bin/addons/base/ir/ir_actions.py
	bin/report/interface.py
	bin/tools/config.py

bzr revid: p_christ@hol.gr-20081228102522-po9ix8j0l6f5akxp
2008-12-28 12:25:22 +02:00
Christophe Simonis 2bc319d919 [FIX] encoding problems with the logger
lp bug: https://launchpad.net/bugs/311528 fixed

bzr revid: christophe@taupe-20081226150551-bk3rfyzba2lq2emu
2008-12-26 16:05:51 +01:00
P. Christeas a89ae314d2 Bring the changes from SecureXMLRPCServer.py
bzr revid: p_christ@hol.gr-20081223161823-xq6npt18t19hegri
2008-12-23 18:18:23 +02:00
P. Christeas a8229141bc Merge branch 'master' of openobject-server into mdv-gpl3-fwd
Conflicts:
	bin/netsvc.py
	bin/sql_db.py
	bin/ssl/SecureXMLRPCServer.py (note: fixes are lost now)

bzr revid: p_christ@hol.gr-20081223154608-fs0830k7vyo81m5u
2008-12-23 17:46:08 +02:00
Stephane Wirtel d0e988dc8f [IMP] Use the command line to get the filenames for the certficiate and private key files (SSL)
lp bug: https://launchpad.net/bugs/310703 fixed

bzr revid: stephane@tinyerp.com-20081222233528-20q3oiwpmlc5a2ik
2008-12-23 00:35:28 +01:00
Stephane Wirtel 933641d50c [FIX] Workaround for the use of the log level notset
bzr revid: stephane@tinyerp.com-20081222231956-lqhpz6r1g568hbpu
2008-12-23 00:19:56 +01:00
Stephane Wirtel cfc56e0b38 [IMP] Add a syslog handler
[IMP] Add an atexit callback to tell "Goodbye"
[IMP] Group the option for the logging
[IMP] Capability to disable the output to console with --log-level=notset

bzr revid: stephane@tinyerp.com-20081222230418-3ll0mqno8yz9z3jw
2008-12-23 00:04:18 +01:00
Stephane Wirtel b1f715419c [FIX] To please Tryton Devels
bzr revid: stephane@tinyerp.com-20081219151011-sen5qlzjohy7sau0
2008-12-19 16:10:11 +01:00
Stephane Wirtel 52291b2931 [FIX] Add the copyright from Tryton for a bugfix in the OpenSSL support
bzr revid: stephane@tinyerp.com-20081219145812-jsoid8lmuiqpgny9
2008-12-19 15:58:12 +01:00
Christophe Simonis 2b23749417 [FIX] OpenSSL is no longer required
bzr revid: christophe@cobalt-20081219105528-geqgxmzdx9grz34t
2008-12-19 11:55:28 +01:00
Stephane Wirtel 12e2aef08c [FIX] XML-RPC SSL
bzr revid: stephane@tinyerp.com-20081218235433-cnsc5a4iyfzqvbdx
2008-12-19 00:54:33 +01:00