Commit Graph
140 Commits
Author SHA1 Message Date
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 e7ab44929f [MERGE] from trunk
bzr revid: xmo@openerp.com-20120419081213-m3fhofkgydj6gp1m
2012-04-19 10:12:13 +02:00
Xavier Morel d70220631a [FIX] custom contexts and domains in search view fields
* Remove own_value hack, use compounds instead
* Correctly handle compounds evaluation contexts in test eval_domain_and_context js evaluator

bzr revid: xmo@openerp.com-20120404062727-r5eoaw73pjw1izk0
2012-04-04 08:27:27 +02:00
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
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