Commit Graph
114 Commits
Author SHA1 Message Date
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
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
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
niv-openerp 02bffaf7e1 [merge] improvements to the mobile client
bzr revid: nicolas.vanhoren@openerp.com-20111205132959-ydnph7z6ohru6jfc
2011-12-05 14:29:59 +01:00
Fabien Meghazi ce41e645f7 [IMP] Better variable naming in xml2json
bzr revid: fme@openerp.com-20111201092823-mbwyp8tjla9k2xf3
2011-12-01 10:28:23 +01:00
Fabien Meghazi a7a4f50aef [FIX] Preserve kanban views whitespaces
bzr revid: fme@openerp.com-20111130123154-nhh6sj21s38ejsb5
2011-11-30 13:31:54 +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
Jiten (OpenERP) 66f0e95bd1 [MERGE] Merge from openerp-web.
bzr revid: jra@tinyerp.com-20111116111946-6efrijzsovgtpxky
2011-11-16 16:49:46 +05:30
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
Christophe Simonis bc9149f5b6 [FIX] lock accesses to session file
bzr revid: chs@openerp.com-20111115161251-wntoqdx42jbh7k0e
2011-11-15 17:12:51 +01:00
Jiten (OpenERP) b280ff0a32 [MERGE] Merge from openerp-web.
bzr revid: jra@tinyerp.com-20111110070542-erxzaww80v07g4du
2011-11-10 12:35:42 +05:30
Christophe Simonis bccc64ac7c [FIX] use absolute url when getting css/js/qweb files + use a static proxy for getting qweb files
bzr revid: chs@openerp.com-20111109081626-l868h7w8glinbxdl
2011-11-09 09:16:26 +01:00
Christophe Simonis 2ea47dc3b2 merge upstream
bzr revid: chs@openerp.com-20111108163644-8mlg48lua376lzgg
2011-11-08 17:36:44 +01:00
niv-openerp de8306897b [fix] synch with lib client to correct some bug
bzr revid: nicolas.vanhoren@openerp.com-20111104113232-jwagh7ptou0mfz8e
2011-11-04 12:32:32 +01:00
niv-openerp 6086fef6b7 [imp] synch with client library
bzr revid: nicolas.vanhoren@openerp.com-20111104105220-c0ftlyr2cq3jhq7g
2011-11-04 11:52:20 +01:00
Jiten (OpenERP) 417cae1645 [Merge] Merge from openerp-web
bzr revid: bth@tinyerp.com-20111020062457-h4v2ud105ver5u5y
bzr revid: jra@tinyerp.com-20111025061327-v676oxmsx3xz66s3
2011-10-25 11:43:27 +05:30