Commit Graph

74 Commits

Author SHA1 Message Date
Olivier Dony f49b3ea722 [FIX] openerp-server.py: python 2.5 compatibility for thread dump
bzr revid: odo@openerp.com-20100924125615-acisxmznw9y8b3bk
2010-09-24 14:56:15 +02:00
Olivier Dony 35acf33537 [IMP] netsvc,openerp-server: fixed daemon threads to work with python 2.5
bzr revid: odo@openerp.com-20100924101354-e020qzylp0kacj8r
2010-09-24 12:13:54 +02:00
Olivier Dony c7fedc09fd [IMP] openerp-server.py: cleanup + double CTRL-C can now be used to force immediate shutdown of server
bzr revid: odo@openerp.com-20100922113256-z3rmztczeivddk9q
2010-09-22 13:32:56 +02:00
Christophe Simonis 2686d36182 [IMP] kill -SIGQUIT dumps the stack of all threads (forwardport of 2124 chs@openerp.com-20100920165253-esaatbgtvha9jhb9 from 5.0 branch)
bzr revid: chs@openerp.com-20100920165456-vux7ke0nmp8mqvna
2010-09-20 18:54:56 +02:00
Olivier Dony 910cc41a51 [REF] config/test: renamed test-* config params to use underscores as all others, for consistency.
This will only break existing config files, but command-line stays the same with hyphens of course.

bzr revid: odo@openerp.com-20100810131755-rjwipw4pqhg3uev3
2010-08-10 15:17:55 +02:00
P. Christeas ea4bb98140 Feature: serve static http, from a dir
Now, it is possible to serve static http from the files
of one dir. Just configure like:

[static-http]
enable = True
dir_path = /home/panos/build/openerp/doc/build/html

and the contents of that directory will be served as a
default at our http port ;)

Conflicts:

	bin/service/http_server.py

bzr revid: p_christ@hol.gr-20100726093334-2xr5mg0c9xvm68ej
2010-07-26 12:33:34 +03:00
Fabien Pinckaers 0568cbe53c args for test
bzr revid: fp@tinyerp.com-20100704134937-w4jlfqya638trpi2
2010-07-04 15:49:37 +02:00
Olivier Dony 5696ed3785 [REVERT] openerp-server: revert partial change from commit 2397 that should not have gone through - need to find cleaner way of shutting down server
bzr revid: odo@openerp.com-20100624084009-0g9rozjaay5m26km
2010-06-24 10:40:09 +02:00
Borja López Soilán (Pexego) 86b55a1b3e [MERGE] orm: port of 5.0 fix for parent_store computation when previous parent is NULL
lp bug: https://launchpad.net/bugs/581137 fixed

bzr revid: odo@openerp.com-20100622155719-a6g6udc6p2s6cp0v
2010-06-22 17:57:19 +02:00
Mantavya Gajjar a0d38adc74 [MERGE]: merge a contributer code from
https://code.launchpad.net/~syleam/openobject-server/trunk-disallow-postgres-user-connection/+merge/15743

bzr revid: mga@mga-20100311092228-us3atolctskyvjwc
2010-03-11 14:52:28 +05:30
Xavier Morel 7a29deab31 [fix] remove pyxml/python-xml Ubuntu hacks from openerp-server.py, had forgotten that
bzr revid: xmo@tinyerp.com-20100302122801-2aetv6si7nxymz7e
2010-03-02 13:28:01 +01:00
Raphaël Valyi a638f8aaba [MERGE]
bzr revid: rvalyi@gmail.com-20091217232137-y7gb1lvi3vyjbvtn
2009-12-17 21:21:37 -02:00
Cristian Salamea (GnuThink) f41e524133 [REF] get rid of the mx.Datetime C dependency, meaning better portability, especially to alternative Python interpreters, better maintainability; implements this blueprint: https://blueprints.launchpad.net/openobject-server/+spec/get-rid-of-mx-datetime-dependency; largely the work of Cristian Salamea (GnuThink)
bzr revid: rvalyi@gmail.com-20091213181601-4k4mhtgnv2qynrjo
2009-12-13 16:16:01 -02:00
Christophe Chauvet 5b2852e442 [IMP] Disallow connection to PostgreSQL with postgres user himself (security flaws)
bzr revid: christophe.chauvet@syleam.fr-20091207103706-vp3sc1gydbjtqmzg
2009-12-07 11:37:06 +01:00
Xavier Morel 8f395e85b5 [merge] from trunk into fixed-lxml trunk
bzr revid: xmo@tinyerp.com-20091202102232-d88fd1a31x33h518
2009-12-02 11:22:32 +01:00
Xavier Morel cf13b6c36e [merge] fix-shebang from 5.0 to trunk
bzr revid: hmo@tinyerp.com-20091202091102-r509b0bgogyul6yx
bzr revid: xmo@tinyerp.com-20091202101458-6a1mo240grkld6do
2009-12-02 11:14:58 +01:00
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 91c515382c [merge] 5.0-lxml-fixes into trunk
bzr revid: xmo@tinyerp.com-20091202092042-36gz0wkbu27aetvc
bzr revid: xmo@tinyerp.com-20091202093008-9uwo63c0bwdh8eaw
2009-12-02 10:30:08 +01:00
Xavier Morel 0d3d0a23e1 Fix server start shebang: hardcoding /usr/bin/python bypasses virtualenv (or other), /usr/bin/env python doesn't
bzr revid: xmo@tinyerp.com-20091127105005-g4mwjrp7a1m38zj0
2009-11-27 11:50:05 +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
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 58323aa31a If the server is only translating, don't init the httpd.
When the server is about to run normally, httpd must be created before
the addons, so that they use it. However, if only translating, httpd may
not exist at all. Sometimes it /cannnot/ exist, because another server
may be running at the same port.

bzr revid: p_christ@hol.gr-20090905081157-8943pfwve7b0g7xl
2009-09-05 11:11:57 +03:00
P. Christeas 77cf69258c Initialize services before databases.
This will let modules register into services properly.

bzr revid: p_christ@hol.gr-20090903210647-6xs4cco3pl9fo3o4
2009-09-04 00:06:47 +03:00
P. Christeas 69b1313fbb Bring back net-rpc service.
This commit re-enables net-rpc, using a port of the old code.

bzr revid: p_christ@hol.gr-20090903130038-4a0jq10x6dhb9qxx
2009-09-03 16:00:38 +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 32d0c8a84c Fix +x permission of openerp-server.py
bzr revid: p_christ@hol.gr-20090813190408-3167ac655u4jm0vi
2009-08-13 22:04:08 +03:00
P. Christeas 2d64ce69d0 Merge origin/master into mdv-gpl3-py26
Conflicts:
	bin/addons/base_setup/i18n/base_setup.pot
	bin/openerp-server.py
	bin/report/preprocess.py
	bin/report/report_sxw.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20090709181253-fu8nxy9b3ykrrd1c
2009-07-09 21:12:53 +03:00
Jay,Uco a2db1c09ba [FIX] Property : Removed old referenced values from property
lp bug: https://launchpad.net/bugs/389795 fixed

bzr revid: jvo@tinyerp.com-20090707123538-mg6fucnverqpyrz6
2009-07-07 18:05:38 +05:30
Jay (Open ERP) ec4c40909c [FIX] Fixed oldxml at python2.6 for Ubuntu 8.0.4,9.04
bzr revid: jvo@tinyerp.com-20090622070428-qw1fvtkwh1sot5ni
2009-06-22 12:34:28 +05:30
P. Christeas cb5e80507f Improve previous commit, not break Ubuntu 8.0.4
bzr revid: p_christ@hol.gr-20090618153639-lif68w324r9aqypa
2009-06-18 18:36:39 +03:00
P. Christeas 0fa7af127d Fix oldxml at python2.6 for Ubuntu 9.04
bzr revid: p_christ@hol.gr-20090618151011-kwip63jqzzu44ydd
2009-06-18 18:10:11 +03:00
P. Christeas 71f262c53c Make server executable, again.
bzr revid: p_christ@hol.gr-20090516204100-9oq62c0dfnxh2v4s
2009-05-16 23:41:00 +03:00
Fabien Pinckaers 45843a0a93 Ukrainian language
bzr revid: fp@tinyerp.com-20090315180017-ubuf9fqtomy9e8rn
2009-03-15 19:00:17 +01:00
Fabien Pinckaers d5e724740b improved_secure_mode
bzr revid: fp@tinyerp.com-20090315161913-7tb0weofaiwcflm9
2009-03-15 17:19:13 +01: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
Christophe Simonis 50e5495fe2 [MERGE] Syleam branch
bzr revid: christophe@tinyerp.com-20090119102639-c6vkngm5e13vf8lx
2009-01-19 11:26:39 +01: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
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 b980050fd5 [FIX] Specify the signals for the posix environment
bzr revid: stephane@tinyerp.com-20090103013718-q75ueclijh2eqxu1
2009-01-03 02:37:18 +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
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
Stephane Wirtel 55a598d504 [IMP] PEP8
bzr revid: stephane@tinyerp.com-20081229085631-i9ux70nm57g5tx4s
2008-12-29 09:56:31 +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
Stephane Wirtel d9be84059d [IMP] Specify the type int for the port and the netport
bzr revid: stephane@tinyerp.com-20081224002822-uys2zrs1qeh5q2pl
2008-12-24 01:28:22 +01:00
Stephane Wirtel 2d47371f0e [IMP] Remove the unused code of the upgrade option
bzr revid: stephane@tinyerp.com-20081224000431-xhzc9f8ls90g4n5k
2008-12-24 01:04:31 +01:00
Stephane Wirtel beff0da6c9 [REF] Use tools.config
bzr revid: stephane@tinyerp.com-20081223234752-f2aot46a4z353z1g
2008-12-24 00:47:52 +01:00
Stephane Wirtel ad6871c77c [IMP] Refactoring, resulting from pylint
[IMP] Improve the signal management

bzr revid: stephane@tinyerp.com-20081223233842-xkn2tc0g6kk7pryy
2008-12-24 00:38:42 +01:00
Stephane Wirtel fcad7df0ed [IMP] Add the signal handlers
bzr revid: stephane@tinyerp.com-20081223172718-umgii173klrcmfad
2008-12-23 18:27:18 +01:00