Antony Lesuisse
483bc96682
[IMP] wsgi and http cleanups, static http is now handled in http.py
...
bzr revid: al@openerp.com-20140326132057-scuiqvqma9dhyorl
2014-03-26 14:20:57 +01:00
Stephane Wirtel
855836e96e
[IMP] Move the netsvc.dispatch_rpc function from netsvc to openerp.http
...
bzr revid: stw@openerp.com-20140227125648-kunaefr22y28honx
2014-02-27 13:56:48 +01:00
Antony Lesuisse
780ae08294
[IMP] add an easier to use XML-RPC faultCode compliant protocol
...
remove the /openerp/* routes, they were never used because the protocol was too
different from the historical /xmlrpc/ routes. Instead we introduce a
/xmlrpc/2/ route identical to /xmlrpc/ with the only difference that it returns
int faultCodes making it compliant with the XML-RPC specification.
bzr revid: al@openerp.com-20131006102131-707kxc9zyd1mvlps
2013-10-06 12:21:31 +02:00
Antony Lesuisse
12580e690a
[IMP] openerp threaded, gevent, prefork service cleanup
...
- unify signal handling
- unify start and stop
no new feature yet, it paves the way for
- developement mode auto reload
- graceful restart on HUP
- multiprocessing and gevent on windows
bzr revid: al@openerp.com-20130908173535-xomt5w7xmqtwkmyy
2013-09-08 19:35:35 +02:00
niv-openerp
9154863575
fixed long polling process that can not close itself
...
bzr revid: nicolas.vanhoren@openerp.com-20130606124259-2xfp7gsp660spjhl
2013-06-06 14:42:59 +02:00
Vo Minh Thu
307ca374d6
[MERGE] forward merge 7.0 until revision 4919.
...
bzr revid: vmt@openerp.com-20130404130704-24vsmczw34cssytd
2013-04-04 15:07:04 +02:00
Olivier Dony
125b2a804a
[IMP] service.wsgi_server: useless import
...
bzr revid: odo@openerp.com-20130318110229-h4422zy2kcjys2ik
2013-03-18 12:02:29 +01:00
Xavier Morel
fd3035021d
[FIX] missing import in wsgi_server
...
bzr revid: xmo@openerp.com-20130313161815-rcupbzq08b2wst1j
2013-03-13 17:18:15 +01:00
Vo Minh Thu
3ee1923ca3
[MERGE] merged long-polling branch:
...
When using --workers, an evented (for longpolling) worker is started.
When passing --gevent, all the server is evented but the cron is disabled.
bzr revid: vmt@openerp.com-20130218153225-w1yft9je0b15owdv
2013-02-18 16:32:25 +01:00
Vo Minh Thu
ee256b5664
[FIX] service: call stop() instead of shutdown() in the evented case.
...
bzr revid: vmt@openerp.com-20130218153107-m5ikcn10gckk8ik3
2013-02-18 16:31:07 +01:00
Quentin (OpenERP)
0a27066e54
[REF] code review
...
bzr revid: qdp-launchpad@openerp.com-20130215143503-6a6x53gdeb6j33tm
2013-02-15 15:35:03 +01:00
niv-openerp
b5209cbf56
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130215122500-p69xawqym93jauks
2013-02-15 13:25:00 +01:00
Antonin Bourguignon
f929ebc73b
[MERGE] trunk
...
bzr revid: abo@openerp.com-20130213105620-xyez3q7ddgc0x5x8
2013-02-13 11:56:20 +01:00
Vo Minh Thu
b303bfe5a4
[REF] service: A new openerp.service.rpc decorator is provided to replace the ExportService class.
...
bzr revid: vmt@openerp.com-20130131131051-5189susswxlshp29
2013-01-31 14:10:51 +01:00
Vo Minh Thu
2910d5b3f6
[REF] netsvc: close_socket is only used in wsgi_server, so move it there.
...
bzr revid: vmt@openerp.com-20130130174229-myvtydv03iikt6k3
2013-01-30 18:42:29 +01:00
Vo Minh Thu
674056c4a5
[REF] services: somewhat clean use of openerp exceptions.
...
bzr revid: vmt@openerp.com-20130130134451-yft2y56hkpnoxgwa
2013-01-30 14:44:51 +01:00
niv-openerp
7010e8543e
Merge Thu branch
...
bzr revid: nicolas.vanhoren@openerp.com-20130129150525-bcbh9b5jp8l2yath
2013-01-29 16:05:25 +01:00
niv-openerp
613775dd41
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130128105556-cxifj7m5zpay4bmv
2013-01-28 11:55:56 +01:00
Antonin Bourguignon
59dc49061c
[IMP] we don't need a special type of exception anymore
...
bzr revid: abo@openerp.com-20130124154119-5283u6x1it5xvt0r
2013-01-24 16:41:19 +01:00
Antonin Bourguignon
aab0dd122a
[MERGE] trunk
...
bzr revid: abo@openerp.com-20130122122250-8pu5jycraqj435nu
2013-01-22 13:22:50 +01:00
Vo Minh Thu
ed0a292f5d
[IMP] gevent: no longer a command-line flag (always used in multi-process, never otherwise)
...
The internal flag is in openerp.__init__ (as the multi_process flag).
bzr revid: vmt@openerp.com-20130118152511-57u4gxyolz0hd4y8
2013-01-18 16:25:11 +01:00
Antonin Bourguignon
8bd622202b
[IMP] introduce a new type of exception: WarningConfig. Note that no corresponding RPC_FAULT_CODE has been added; WarningConfig will share the same RPC_FAULT_CODE than Warning (RPC_FAULT_CODE_WARNING = 2)
...
Also remove a few whitespaces
bzr revid: abo@openerp.com-20130118152346-5v4j94wjrq34hq4m
2013-01-18 16:23:46 +01:00
Vo Minh Thu
8119d89200
[ADD] oe web: run an OpenERP web process.
...
bzr revid: vmt@openerp.com-20130111153113-ue2ybx33e2gh99sx
2013-01-11 16:31:13 +01:00
niv-openerp
4db73a4c7c
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130108090624-cubi563m34f1j6ab
2013-01-08 10:06:24 +01:00
Olivier Dony
db81edc287
[FIX] *: fix/rationalize db logging to avoid incorrect values during logging
...
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.
The tracker is now set at the earliest points
of request handling where we can:
- in web client, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)
The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)
bzr revid: odo@openerp.com-20130301120744-jfitcmze2jldecod
2013-03-01 13:07:44 +01:00
Christophe Simonis
236df95b22
merge upstream
...
bzr revid: chs@openerp.com-20121210132406-9ro3amw6s6pzeez4
2012-12-10 14:24:06 +01:00
Antony Lesuisse
3d3eac7c50
service cleanups, more wizard removal
...
bzr revid: al@openerp.com-20121209184632-hp9b9fbbn9g4h2lw
2012-12-09 19:46:32 +01:00
niv-openerp
7137bb0b53
[IMP] Added configuration option for gevent
...
bzr revid: nicolas.vanhoren@openerp.com-20121122145309-bim6m10p0q7rf6wj
2012-11-22 15:53:09 +01:00
Antony Lesuisse
6421dba009
[MERGE] trunk
...
bzr revid: al@openerp.com-20121112122944-bw83ixuot2sjvkia
2012-11-12 13:29:44 +01:00
Christophe Simonis
7d3f3d475b
merge upstream
...
bzr revid: chs@openerp.com-20121010115500-xz9oqr2g8vzr79jq
2012-10-10 13:55:00 +02:00
Antony Lesuisse
d77fe9c185
[FIX] restore poxy-mode command line option to prevent ip address impersonation
...
bzr revid: al@openerp.com-20120924105622-nb3iwe1vnuffqrbm
2012-09-24 12:56:22 +02:00
Antony Lesuisse
1e1b85e95b
gevent first try
...
bzr revid: al@openerp.com-20120922124354-unk1u8a9anst5hwo
2012-09-22 14:43:54 +02:00
Antony Lesuisse
4679680dba
manual merge of multicorn
...
bzr revid: al@openerp.com-20120922105107-q02ogtsfudphzkl6
2012-09-22 12:51:07 +02:00