Commit Graph

87 Commits

Author SHA1 Message Date
Vo Minh Thu 7766fcca62 [REF] renamed openerp-server.py to openerp-server.
bzr revid: vmt@openerp.com-20110324095012-a5joofz60zrhbit5
2011-03-24 10:50:12 +01:00
Vo Minh Thu 09f1a84797 [FIX] wrapper script: change the way we go in the upper directory.
bzr revid: vmt@openerp.com-20110208105908-vpkcprw38ufz0x1e
2011-02-08 11:59:08 +01:00
Vo Minh Thu 6226c1ed44 [IMP] added bin/openerp-server.py as a wrapper for backward compatibility.
bzr revid: vmt@openerp.com-20110208102102-92rfpx6c5midjg5c
2011-02-08 11:21:02 +01:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00
Olivier Dony c57ab8210f [REVERT] revisions 3324, 3325, 3326, to be merged globally after complete cleanup
This corresponds to revids:
 - vmt@openerp.com-20110126142219-18j842m60diwsdph (3324)
 - vmt@openerp.com-20110126144255-t8p6g1ggjb7f1dmt (3325)
 - vmt@openerp.com-20110126151717-tf0q2mx2inj21jls (3326)

bzr revid: odo@openerp.com-20110126165030-su3zeobaj7v9d95f
2011-01-26 17:50:30 +01:00
Vo Minh Thu e52c477dfe [IMP] parse_config is called in openerp-server.py, the direct cycle in convert.py is removed
bzr revid: vmt@openerp.com-20110126151717-tf0q2mx2inj21jls
2011-01-26 16:17:17 +01:00
Vo Minh Thu fbc332935b [IMP] translation: added trans_update_res_ids to resolve the res_ids from ir_translation.
bzr revid: vmt@openerp.com-20110106130654-tp8jyjo3h3nvgqbq
2011-01-06 14:06:54 +01:00
Vo Minh Thu c2402b14a9 [IMP] trans_export/trans_load: passing a cursor around instead of a dbname.
bzr revid: vmt@openerp.com-20110105140758-vgoufkd85v6ywrjk
2011-01-05 15:07:58 +01:00
Fabien Pinckaers 840e76b9ac merge
bzr revid: fp@tinyerp.com-20101229185833-ujdxwg5zyg2i3zf2
2010-12-29 19:58:33 +01:00
Julien Thewys dfabe34434 [IMP] added i18-overwrite cli flag to complement i18-import and allow overwriting existing translation terms
bzr revid: jth@openerp.com-20101119161339-0zf1dqzeng2m12yk
2010-11-19 17:13:39 +01:00
Julien Thewys 6f930404ed [REF] Manages languages loading just after loading 'base' module.
bzr revid: jth@openerp.com-20101026121907-zw39q62c3s3qjp6o
2010-10-26 14:19:07 +02:00
Julien Thewys 2272c189d9 [IMP] Added cli args to load one or more languages translation terms automatically.
Mainly used to automate languages installation at DB initialization.

bzr revid: jth@openerp.com-20101020144248-q20vnt72ovx3md96
2010-10-20 16:42:48 +02:00
Julien Thewys 0664e7e05f [FIX] pwd module does not exist on non posix platform (win32).
bzr revid: jth@openerp.com-20101013135707-zt73h89o6du3dpvy
2010-10-13 15:57:07 +02:00
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