Xavier Morel
0a7efc04dc
[IMP] eval action context and domain straight as they come from a tree_but_open (on menu), add APIDoc for OpenERPSession
...
OpenERPSession is in charge of evaluating domains and contexts. Always.
bzr revid: xmo@openerp.com-20110325094119-fpd4e00w20kbgfzf
2011-03-25 10:41:19 +01:00
Xavier Morel
e49be016f3
[ADD] tests for the root dispatcher, fix dispatching: start from the *end* of the url and walk backwards to try to find a dispatcher and its method
...
bzr revid: xmo@openerp.com-20110321170357-6k9f7qjww1s2wj3g
2011-03-21 18:03:57 +01:00
Xavier Morel
68e4357e47
[FIX] root dispatcher should raise a 404 error when a controller is not found
...
bzr revid: xmo@openerp.com-20110321162904-33ai6lqaty0unhro
2011-03-21 17:29:04 +01:00
Xavier Morel
3d02b3f804
[ADD] tests for base.controllers.main.Menu.load
...
* Make model factory pluggable in OpenERPSession (so it's possible to mock the models handler)
* Split load between the JSON-RPC handler and the actual logic
* Add some docstring to Menu.do_load
bzr revid: xmo@openerp.com-20110321104735-9hmrsyoccueya9fh
2011-03-21 11:47:35 +01:00
Xavier Morel
99f29c8202
[IMP] reformat python code in core and base
...
bzr revid: xmo@openerp.com-20110321081331-gvgb1qt6v80oq5hm
2011-03-21 09:13:31 +01:00
Xavier Morel
77b06b59a4
[FIX] extraction of a class's full name, use datamodel attributes instead of string munging
...
bzr revid: xmo@openerp.com-20110321080632-xpqbwwnjrqk31hly
2011-03-21 09:06:32 +01:00
Antony Lesuisse
fd047b34ca
[MERGE] xmo proper session management
...
bzr revid: al@openerp.com-20110320132146-qysfemcluvraa4ww
2011-03-20 14:21:46 +01:00
Xavier Morel
c4acb091be
[IMP] use CherryPy session storage, file-based, to store the openerp sessions
...
bzr revid: xmo@openerp.com-20110318141836-1p2dv6ohz4guknx4
2011-03-18 15:18:36 +01:00
Xavier Morel
38f62edbdc
[FIX] correctly generate independent sessions
...
bzr revid: xmo@openerp.com-20110317171401-3qekzs59ue5tlywx
2011-03-17 18:14:01 +01:00
Xavier Morel
20b55e10c1
[IMP] redirect to root page instead of providing a link
...
bzr revid: xmo@openerp.com-20110317160124-9a9fde1cqimct59a
2011-03-17 17:01:24 +01:00
Xavier Morel
5298cde953
[FIX] content-type of JSON-RPC2 responses
...
bzr revid: xmo@openerp.com-20110317155914-rh3w4puch88o2h77
2011-03-17 16:59:14 +01:00
Antony Lesuisse
d51d885c77
[MERGE] xmo compliant json-rpc2
...
bzr revid: al@openerp.com-20110317154746-7mbwuqt9gk940mra
2011-03-17 16:47:46 +01:00
Antony Lesuisse
1d13b61284
login ask for db
...
bzr revid: al@openerp.com-20110317150153-afr9lmsy1ihuafrt
2011-03-17 16:01:53 +01:00
Xavier Morel
e1ec3c8b3b
[FIX] misreading of the spec: the 32099..-32000 range is for *server* errors, not *application* errors
...
bzr revid: xmo@openerp.com-20110317141813-ywn7uize8z04kvee
2011-03-17 15:18:13 +01:00
Xavier Morel
ba4054f6fc
[IMP] cleanup JSON-RPC request lifecycle
...
bzr revid: xmo@openerp.com-20110317140627-hurby78o45xrmg6p
2011-03-17 15:06:27 +01:00
Xavier Morel
dc3abe055b
[FIX] JSON-RPC2 request/response process
...
bzr revid: xmo@openerp.com-20110317130946-ptpaihigvie31moo
2011-03-17 14:09:46 +01:00
Xavier Morel
ea8379a0f2
[FIX] start/stop of cherrypy server so Ctrl-C works correctly
...
bzr revid: xmo@openerp.com-20110317125107-87is0mml601p987n
2011-03-17 13:51:07 +01:00
Xavier Morel
9cf7baee6b
[FIX] use simplejson as json is not available on Python 2.5 (also simplejson has better perfs)
...
bzr revid: xmo@openerp.com-20110310155345-8nxu3i92hno4j2yc
2011-03-10 16:53:45 +01:00
niv-openerp
13d8b38c4e
[FIX] Cleaned for eclipse.
...
bzr revid: nicolas.vanhoren@openerp.com-20110308145754-uzjzt5unoa2sslri
2011-03-08 15:57:54 +01:00
Antony Lesuisse
fc679ac8a5
preliminary addons loading support
...
bzr revid: al@openerp.com-20110307092632-e0a6rho0bvuk04ei
2011-03-07 10:26:32 +01:00
Antony Lesuisse
820630a906
openobject is dead long live to openerpweb
...
bzr revid: al@openerp.com-20110302185606-gcag0tlkcli0kqas
2011-03-02 19:56:06 +01:00