Commit Graph
131 Commits
Author SHA1 Message Date
Xavier Morel fcd616b158 [FIX] docstring references
bzr revid: xmo@openerp.com-20120207132110-nv6hd2ea8zk7p17s
2012-02-07 14:21:10 +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
Xavier Morel 28bdd074d5 [FIX] issue with OpenERP's weird arabic locale leading to datejs not knowing what locale file to load, and the client not correctly loading as a result
lp bug: https://launchpad.net/bugs/922490 fixed

bzr revid: xmo@openerp.com-20120127131746-aiyudmhd4irzex7w
2012-01-27 14:17:46 +01:00
Xavier Morel e23c373f75 [ADD] uid field in context used when requesting a view, so modifiers processing can eval uid
lp bug: https://launchpad.net/bugs/920033 fixed

bzr revid: xmo@openerp.com-20120126105152-ou54c38vmohibs0c
2012-01-26 11:51:52 +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
Christophe Simonis c078d23d16 [FIX] avoid blank page when the database assigned to the session has been removed
bzr revid: chs@openerp.com-20120119143057-pbqdh15jptyc7y0a
2012-01-19 15:30:57 +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
Xavier Morel e99358e2fa [IMP] Xml2JSON: remove useless class indirection and unused methods
bzr revid: xmo@openerp.com-20120117094748-g9470elsdpx78im8
2012-01-17 10:47:48 +01:00
Xavier Morel e4697c48a1 [IMP] cleanup code and missing imports
bzr revid: xmo@openerp.com-20120117093548-ict3fbm3pgw83fkb
2012-01-17 10:35:48 +01:00
Florent Xicluna 4d208734ec [FIX] missing imports and typo in __all__.
bzr revid: florent.xicluna@gmail.com-20120116183328-m9isnoipj8taeke3
2012-01-16 19:33:28 +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
Olivier Dony 6ef4c086a9 [REL] OpenERP 6.1rc1
bzr revid: odo@openerp.com-20120112201415-xkdojp6hgekaa3va
2012-01-12 21:14:15 +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
niv-openerp 51380071eb [imp] update lib client version
bzr revid: nicolas.vanhoren@openerp.com-20120110105422-qs4lt4b0pvqm4dzo
2012-01-10 11:54:22 +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 7fb8b668a5 [imp] re used context retreival
bzr revid: nicolas.vanhoren@openerp.com-20120106101619-d0po1e513o2gti2b
2012-01-06 11:16:19 +01:00
niv-openerp 2439ec675b [imp] improved to newer version of lib client
bzr revid: nicolas.vanhoren@openerp.com-20120106100251-1dzh2j4zaxax9px2
2012-01-06 11:02:51 +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
Antony Lesuisse e8be384f70 [MERGE] mobile branch fixes login
bzr revid: al@openerp.com-20111230105756-xyoyyue3471fnqt5
2011-12-30 11:57:56 +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
Antony Lesuisse c59ad9cc1d [MERGE] crashmanager openerp entreprise bth/rlo/chs
bzr revid: al@openerp.com-20111227155915-4s3fmuqzce9733il
2011-12-27 16:59:15 +01:00
Roberto López López (OpenERP) 7b2ece8ddc merge
bzr revid: rlo@openerp.com-20111222115243-ht5rqa4j5bl7ie96
2011-12-22 12:52:43 +01:00
Roberto López López (OpenERP) b3f7278d12 [IMP] working crash dialog
bzr revid: rlo@openerp.com-20111221171137-flojvtf10547ekfl
2011-12-21 18:11:37 +01:00
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
Christophe Simonis bb852a7d94 merge upstream
bzr revid: chs@openerp.com-20111213162531-1p76dk3xknouit35
2011-12-13 17:25:31 +01:00
Olivier Dony 9835cebe19 [MERGE] Use the new authenticate() API instead of login()
Using the new authenticate() API instead allows to pass
a user-agent environment along with the credentials.
The main use for the UA environment at this point is
to pass the base URL used to login, so that the server
may initialize its "web.base.url" global config parameters

bzr revid: odo@openerp.com-20111213161554-jbtrp94aatcnibne
2011-12-13 17:15:54 +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
Jiten (OpenERP) 014731ce5c [MERGE] Merge from openerp-web.
bzr revid: jra@tinyerp.com-20111207065150-cacn5ilkt786ngxc
2011-12-07 12:21:50 +05:30