Commit Graph

158 Commits

Author SHA1 Message Date
Julien Thewys 858db998ca [IMP] yaml test: init
bzr revid: jth@openerp.com-20100304094458-rypj37e94wo2oedi
2010-03-04 10:44:58 +01:00
Stephane Wirtel f17afd9d89 [REF] Use the logging module instead of the Logger().notifyChannel() function
bzr revid: stephane@openerp.com-20100303130435-027rr4aw8k1tz4tj
2010-03-03 14:04:35 +01:00
Xavier Morel 9150c0695f [fix] specify PendingDeprecationWarning, not default UserWarning
bzr revid: xmo@tinyerp.com-20100302095809-v2tdjb22ogok3y73
2010-03-02 10:58:09 +01:00
Xavier Morel a7d00eb5f3 [imp] remove mostly unused DEBUG2 logging level
bzr revid: xmo@tinyerp.com-20100302094648-gztszaux31oyfptv
2010-03-02 10:46:48 +01:00
Xavier Morel 0c67a510d7 [imp] Add level names for debug2 and debug_rpc in logging
bzr revid: xmo@tinyerp.com-20100302093610-f1pzzx1ck7e2i6jl
2010-03-02 10:36:10 +01:00
Xavier Morel ea5cf5989f [imp] add PendingDeprecationWarning to netsvc.Logger API
bzr revid: xmo@tinyerp.com-20100302093314-xos9vi0le2f249id
2010-03-02 10:33:14 +01:00
Christophe Simonis 9008ced144 [FIX] typo
bzr revid: chs@tinyerp.com-20100129122220-yexokxsfbaulntm2
2010-01-29 13:22:20 +01:00
Christophe Simonis 52e8a67446 [IMP] add classmethod to remove a service
bzr revid: chs@tinyerp.com-20100129102829-i68neaqgoxqkw6ud
2010-01-29 11:28:29 +01:00
Christophe Simonis cb307f9213 [IMP] rename Service.service_exist to Service.exits (classmethod)
bzr revid: chs@tinyerp.com-20100129101712-ok7fd5y0hnow5fds
2010-01-29 11:17:12 +01:00
HDA (OpenERP) a922f46615 Merge
bzr revid: hda@tinyerp.com-20100113073118-m55980m261js142f
bzr revid: hda@tinyerp.com-20100113073301-p8efntdkv1yanf8a
2010-01-13 13:03:01 +05:30
HDA (OpenERP) 2e183dc153 merged
bzr revid: hda@tinyerp.com-20100112105042-6p5v4yluo29o075l
2010-01-12 16:20:42 +05:30
HDA (OpenERP) 8a887ad4e0 Merged
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2010-01-12 16:18:30 +05:30
Xavier Morel 33aa27dbb3 [imp] replace hasattr-based conditionals by getattrs
bzr revid: xmo@tinyerp.com-20100103140811-0xnljbidnvomstg0
2010-01-03 15:08:11 +01:00
Fabien Pinckaers 4036e5ad70 [IMP] removed extra logs
bzr revid: fp@tinyerp.com-20091209100604-r49vwzfmhpd1h1ik
2009-12-09 11:06:04 +01:00
hda (Tiny) 24cd74becf Merge
bzr revid: hda@tinyerp.com-20091208101246-5ave2zzgzsjqf0m8
2009-12-08 15:42:46 +05:30
Xavier Morel 9bb02a1bb0 [fix] use env for python shebang rather than hardcoding /usr/bin/python
bzr revid: xmo@tinyerp.com-20091202100658-d2q66mu6kihgj8h5
2009-12-02 11:06:58 +01:00
Xavier Morel fdcbed339b [FIX] hang in OSX when trying to shutdown server via SIGINT
bzr revid: xmo@tinyerp.com-20091127120938-arrvoqieit1bqx9c
2009-11-27 13:09:38 +01:00
Harry (Open ERP) d8ce3f1e2a [FIX] replaced <TAB> with four white space.
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
2009-11-24 20:14:05 +05:30
xrg dad1ff955b [merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts
bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-11-20 20:01:04 +05:30
Jay (Open ERP) 526bfa6627 [IMP] Request View : Improvements
lp bug: https://launchpad.net/bugs/474312 fixed

bzr revid: jvo@tinyerp.com-20091106100623-qi5y3kr9u1jv4bio
2009-11-06 15:36:23 +05:30
Ferdinand(ChriCar) d6e310d787 Better Error message on service denial
lp bug: https://launchpad.net/bugs/462080 fixed

bzr revid: hda@tinyerp.com-20091028124810-l2n6uqg1laqmc0er
2009-10-28 18:18:10 +05:30
P. Christeas 879199c6b7 Server: get_stats() RPC call for any extended info.
With this call, we can learn about the internals of the OpenObject server
in runtime.
At the moment, designed to give info on the running servers (RPC).

bzr revid: p_christ@hol.gr-20091028003033-b5hzgcjy9kncyc0d
2009-10-28 02:30:33 +02:00
P. Christeas cac0ce70e4 Netsvc.Server: Expand tabs
bzr revid: p_christ@hol.gr-20091027223937-ajgpml2uh2afe988
2009-10-28 00:39:37 +02:00
pap(openerp) 251b6720ca Changed encoding to coding ref: PEP: 0263
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP) 4d7134cd99 Changed licencing
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
P. Christeas bb2722ed64 New API: work better for bad ExportServices.
Using the partially ported koo/subscription service, discovered that
'None' would be returned, which leads to an exception.

bzr revid: p_christ@hol.gr-20091003090003-z9m8yyp08vxnor0s
2009-10-03 12:00:03 +03:00
P. Christeas 71d5ee956a Merge remote branch 'origin/master', v5.0.6 into optimize
Conflicts:
	bin/addons/base/ir/ir_cron.py
	bin/netsvc.py
	bin/osv/orm.py

bzr revid: p_christ@hol.gr-20090925204745-352t3ngsltr4cj8a
2009-09-25 23:47:45 +03:00
Fabien Pinckaers 9513616ae1 [FIX] better log error, new line
bzr revid: fp@tinyerp.com-20090909145411-8k6rksq74xyz1nw4
2009-09-09 16:54:11 +02:00
P. Christeas b098c935e9 Fix raising of exception.
bzr revid: p_christ@hol.gr-20090908081456-kk89t2imfe1a6b7i
2009-09-08 11:14:56 +03:00
P. Christeas 643b76682a Don't print messages, log them..
bzr revid: p_christ@hol.gr-20090903130145-iybg1xtmxg6xylhk
2009-09-03 16:01:45 +03:00
P. Christeas 9e2d058641 Fix merging of 5.0.4 into API-changed netsvc.
bzr revid: p_christ@hol.gr-20090901222455-y8yozw41ovizkne1
2009-09-02 01:24:55 +03:00
P. Christeas ceef9b0be9 Merge branch 'xrg' into rfc, 5.0.4 patch obsolete.
Conflicts:
	bin/netsvc.py

bzr revid: p_christ@hol.gr-20090901210513-xc3f51eobxdv4g1b
2009-09-02 00:05:13 +03:00
P. Christeas 4abaf2763e [MAJOR IMP] Rewrite the http/RPC engine and let HTTP/1.1 features.
This patch attempts a major change in the structure of the XML-RPC
framework. There is one http server, capable of multiple services
(except XML-RPC). That server could handle authentication, and is also
HTTP/1.1 capable, which means it supports **persistent connections** !

At this commit, the old behaviour of the XML-RPC protocol is merely
working. The netsvc.Service is split, so expect wizard/report breakages.
External modules (koo) also break with this API.

The net-svc code is crippled and gone FTM.

bzr revid: p_christ@hol.gr-20090829152346-7i1iiqs8skdddamq
2009-08-29 18:23:46 +03:00
P. Christeas 6e6329bb7d Merge origin/5.0.4 into xrg
Conflicts:
	bin/addons/base/i18n/base.pot

bzr revid: p_christ@hol.gr-20090828180203-xbavbj02nas6f0qy
2009-08-28 21:02:03 +03:00
Fabien Pinckaers 8714d5863f [FIX] no traceback when access denied
bzr revid: fp@tinyerp.com-20090828165027-uh9a77aqbsyecr2r
2009-08-28 18:50:27 +02:00
Fabien Pinckaers 82191446b3 modifs
bzr revid: fp@tinyerp.com-20090828164537-jtrz05vgj9zmwyq9
2009-08-28 18:45:37 +02:00
Fabien Pinckaers 2f26cee06d [FIX] Security fix
bzr revid: fp@tinyerp.com-20090828161802-i6ec75ifobpncaz0
2009-08-28 18:18:02 +02:00
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