Xavier Morel
54a8f9e193
[MERGE] 6.1 changes and trunk
...
bzr revid: xmo@openerp.com-20120625135215-az1927llmk0vw655
2012-06-25 15:52:15 +02:00
Xavier Morel
a4004f0bd5
[IMP] simplify localconnector's exception converter: use Python's facilities correctly
...
bzr revid: xmo@openerp.com-20120621103342-nea9yw135dl5lsta
2012-06-21 12:33:42 +02:00
Xavier Morel
7ee3c3f43d
[MERGE] ensure exception information is correctly converted to string before being concatenated with the faultCode string (sic) of emulated XMLRPC faults
...
bzr revid: xmo@openerp.com-20120621102940-2lh6ho6v6d64h8hr
2012-06-21 12:29:40 +02:00
Xavier Morel
3456f6d4af
[REM] broken inactive session cleanup
...
crummy code + "cleans up" (destroys) 6.1 sessions while they're being
used
bzr revid: xmo@openerp.com-20120619120656-u3bbcbwmd6cftosk
2012-06-19 14:06:56 +02:00
olt@tinyerp.com
f294335d94
[FIX] if Exception 'value' attribute (e.value in this case) is not a string (some errors in the reporting system sometimes set a value that is not a string) the exception handling mecanism of the web client raises an exception an prevent the first raised exception from being displayed. The displayed exception is the one raised in the exception handling mecanism which is not helpful
...
bzr revid: olt@tinyerp.com-20120608134722-raytxpk6o2rux79f
2012-06-08 15:47:22 +02:00
niv-openerp
432c54e3e2
[fix] problem with some reports
...
bzr revid: nicolas.vanhoren@openerp.com-20120605161827-a7qgfzagy1t4kqrt
2012-06-05 18:18:27 +02:00
Christophe Simonis
9ab64b4414
[FIX] remove http sessions after 7 days of inactivity
...
bzr revid: chs@openerp.com-20120604153118-jcs04wy0kocr635a
2012-06-04 17:31:18 +02:00
Amit (OpenERP)
b5b480a7a7
[FIX] osv_execption raised from report service gives a error
...
lp bug: https://launchpad.net/bugs/941124 fixed
bzr revid: amp@tinyerp.com-20120531080406-k0ue29zympib1qu9
2012-05-31 13:34:06 +05:30
Xavier Morel
5ac6e532bd
[FIX] if a connector was setup in the configuration object, don't re-set one instead
...
bzr revid: xmo@openerp.com-20120223123213-aftgz7h0zxkbzsju
2012-02-23 13:32:13 +01:00
Xavier Morel
f926427406
[FIX] use an array for controller classes, so they are iterated in the correct order (otherwise it might not be possible to override an extended controller)
...
bzr revid: xmo@openerp.com-20120223122829-mtz2w120qq8rbjrx
2012-02-23 13:28:29 +01:00
Xavier Morel
b79f91a0f5
[FIX] completely destroy the current openerp session on logout (but leave the webclient session), so other tabs using the same session get unlogged
...
lp bug: https://launchpad.net/bugs/925386 fixed
bzr revid: xmo@openerp.com-20120210164309-lyslwm4t94a4jd7g
2012-02-10 17:43:09 +01:00
Xavier Morel
af8864d571
[FIX] imports to handle conflicts with e.g. web.py in embedded mode
...
bzr revid: xmo@openerp.com-20120210103426-b20ass3mwx2ay9c4
2012-02-10 11:34:26 +01:00
Antony Lesuisse
ef32ec99ea
change module import logging level
...
bzr revid: al@openerp.com-20120202203109-7d65ibg5d9k7j6ex
2012-02-02 21:31:09 +01:00
Florent Xicluna
228c817c33
[IMP] faster implementation for Root.find_handler.
...
bzr revid: florent.xicluna@gmail.com-20120201143032-pshpu4uhvl61nr9z
2012-02-01 15:30:32 +01:00
Florent Xicluna
b09507fd99
[REF] removed_sessions: use a set() instead of a list(), because it's more efficient.
...
bzr revid: florent.xicluna@gmail.com-20120123135325-m23bgckb948rskal
2012-01-23 14:53:25 +01:00
Antony Lesuisse
2f805ff45e
[MERGE] fix jsonp courtesy of florent.x
...
bzr revid: al@openerp.com-20120123004812-ec0548qfmkr0rbk8
2012-01-23 01:48:12 +01:00
Xavier Morel
f9cbad5bf6
[FIX] correctly display crash manager in case of report error
...
lp bug: https://launchpad.net/bugs/917227 fixed
bzr revid: xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt
2012-01-19 15:48:37 +01:00
Florent Xicluna
4b65b076f0
[REF] do not create useless OpenERPSession objects on each request.
...
bzr revid: florent.xicluna@gmail.com-20120119090648-jck7ggaigy6zaalw
2012-01-19 10:06:48 +01:00
Florent Xicluna
d0eb54d4c4
[FIX] a typo between 'id' and builtin <id>.
...
bzr revid: florent.xicluna@gmail.com-20120118190409-ddg3bbvb7r9jzyjc
2012-01-18 20:04:09 +01:00
Vo Minh Thu
75b3fc0907
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120118101252-e81nlyzym2nkebf4
2012-01-18 11:12:52 +01:00
Christophe Simonis
031f85a37a
[FIX] correct session cleaning
...
bzr revid: chs@openerp.com-20120117170636-7z6epwzt7rlrtaip
2012-01-17 18:06:36 +01:00
Florent Xicluna
4910de7f3c
[FIX] NameError in jsonp POST.
...
bzr revid: florent.xicluna@gmail.com-20120116145524-razqfr39bf4b4t9v
2012-01-16 15:55:24 +01:00
Vo Minh Thu
3203d264ae
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20120116110631-lrzp6uxsjki7by22
2012-01-16 12:06:31 +01:00
Vo Minh Thu
1497062ba1
[IMP] Removed the openerp.addons prefix when loading modules
...
in stand-alone mode. Changed the import web.common to relative import
(because the the import-hook in the server is not able to load
modules with self-referential import).
bzr revid: vmt@openerp.com-20120116104329-k68li2vul4b3j7ry
2012-01-16 11:43:29 +01:00
Xavier Morel
db74707573
[IMP] make chs's http session cleanup spam less spammy
...
bzr revid: xmo@openerp.com-20120113145832-q6ogcwqnghfylys8
2012-01-13 15:58:32 +01:00
Christophe Simonis
5446d01ba1
[IMP] web: keep sessions at least 5 minutes
...
bzr revid: chs@openerp.com-20120112125207-03wb2qlpfu7y8wvx
2012-01-12 13:52:07 +01:00
Vo Minh Thu
6ab102ec11
[IMP] addons: use openerp.addons.<module> instead of <module> with __import__.
...
bzr revid: vmt@openerp.com-20120109130930-xt13kjrxww2whdf0
2012-01-09 14:09:30 +01:00
niv-openerp
0baab517f1
[imp] migrated to latest version of client
...
bzr revid: nicolas.vanhoren@openerp.com-20120105165633-med9y3078abchs5q
2012-01-05 17:56:33 +01:00
Jiten (OpenERP)
4c9bc83fee
[MERGE] Merge from openerp-web.
...
bzr revid: jra@tinyerp.com-20111229061250-55j0zt220km5fml6
2011-12-29 11:42:50 +05:30
Xavier Morel
3daf6b30b9
[FIX] jsonP-requests issue for real
...
bzr revid: xmo@openerp.com-20111220114732-gekgwwb0ry0sdqil
2011-12-20 12:47:32 +01:00
Xavier Morel
fa15b2adb9
[REM] leftover debugging prints
...
bzr revid: xmo@openerp.com-20111219164611-bme1yyhbe52ad9cm
2011-12-19 17:46:11 +01:00
Xavier Morel
75409e349a
[FIX] avoid systematically deadlocking the stand-alone OpenERP web in its default configuration
...
The default configuration for OpenERP Web standalone (launched via the
openerp-web script) is single-threaded for log-readability purposes.
web.common.controllers.main.Proxy.load has been added to wrap a
request to an HTTP handler inside a JSON (and/or JSONP) request, the
initial implementation was to perform a full HTTP call *from within an
HTTP handler to itself*.
Since the server is single-threaded and its only thread is already
busy, it can't handle the new request, and the client deadlocks.
Replaced this crap by also-crap-but-slightly-less-so: instantiating a
Werkzeug test client using the root application and proxying the
request through that. Avoids creating a new request from the server,
therefore does not deadlock.
lp bug: https://launchpad.net/bugs/905384 fixed
bzr revid: xmo@openerp.com-20111219145759-m10zgo3tcd6zjhcu
2011-12-19 15:57:59 +01:00
Xavier Morel
eec5f1c6c4
[FIX] stop blowing up on old sessions
...
lp bug: https://launchpad.net/bugs/906225 fixed
bzr revid: xmo@openerp.com-20111219104316-rssxn3oqne7070a4
2011-12-19 11:43:16 +01:00
Xavier Morel
44cc908269
[ADD] logging of HTTP session storage location
...
bzr revid: xmo@openerp.com-20111219102645-hnelg2hqfno78zsj
2011-12-19 11:26:45 +01:00
Antony Lesuisse
8f4a1ebd24
[FIX] remove debug
...
bzr revid: al@openerp.com-20111218141007-bv1ssmioefur4cw2
2011-12-18 15:10:07 +01:00
Antony Lesuisse
65c5eaca8d
[FIX] jsonp works
...
bzr revid: al@openerp.com-20111216164739-ei5hdk4sq32eppzc
2011-12-16 17:47:39 +01:00
Antony Lesuisse
8721df9d54
[IMP] massive connection deferrization, json works again
...
bzr revid: al@openerp.com-20111216004402-q6v26822swarra7r
2011-12-16 01:44:02 +01:00
Antony Lesuisse
8ae093bf49
move jq_ajax.js
...
bzr revid: al@openerp.com-20111215133305-c7jgyqdes33drllk
2011-12-15 14:33:05 +01:00
Antony Lesuisse
31e65bdddf
partial rework to merge trunk
...
bzr revid: al@openerp.com-20111215120732-is7pab5e5rsfqpj0
2011-12-15 13:07:32 +01:00
Antony Lesuisse
5cd5755495
[IMP] jsonp dispatch fixes
...
bzr revid: al@openerp.com-20111214093941-k5q77dh0gfavnsds
2011-12-14 10:39:41 +01:00
Antony Lesuisse
26f690fc5e
[IMP] jsonp dispatch
...
bzr revid: al@openerp.com-20111214092933-77vn7s5jxvi5i72f
2011-12-14 10:29:33 +01:00
Christophe Simonis
e0ac8e3fa4
[IMP] refactor request handler
...
bzr revid: chs@openerp.com-20111213174728-gslcxtuuf9y506b3
2011-12-13 18:47:28 +01:00
Jiten (OpenERP)
0d4f1571d7
[IMP] Minor change.
...
bzr revid: jra@tinyerp.com-20111213092842-gnqy2h01rt0o2t9r
2011-12-13 14:58:42 +05:30
Antony Lesuisse
78312ed1dd
[MERGE] trunk
...
bzr revid: al@openerp.com-20111208133952-183wp4ozrr0gvea8
2011-12-08 14:39:52 +01:00
Christophe Simonis
050d369f4a
[IMP] better debugging output
...
bzr revid: chs@openerp.com-20111122121833-okbmche6lhw78d4d
2011-11-22 13:18:33 +01:00
Christophe Simonis
2834e0f7bd
[IMP] pop jsonp_requests to avoid memory overload
...
bzr revid: chs@openerp.com-20111122121655-7nqn1rvcd2iwy4mg
2011-11-22 13:16:55 +01:00
Christophe Simonis
8769c57e94
[FIX] session merging
...
bzr revid: chs@openerp.com-20111122120806-mlg170fohfnx8gk8
2011-11-22 13:08:06 +01:00
Jiten (OpenERP)
990ece97a5
[MERGE] Merge from openerp-web.
...
bzr revid: jra@tinyerp.com-20111122051803-1ttx64ilabhxo4p1
2011-11-22 10:48:03 +05:30
Christophe Simonis
f994e70e41
merge upstream
...
bzr revid: chs@openerp.com-20111117125432-zhfrcyrtwy9b9cv8
bzr revid: chs@openerp.com-20111118132606-6gh7zmrx7606w8fv
2011-11-18 14:26:06 +01:00
Xavier Morel
4ea75b0da9
[IMP] don't default to debug mode when loading the client root anymore
...
bzr revid: xmo@openerp.com-20111116085423-wu53ydaan357ucfd
2011-11-16 09:54:23 +01:00