Antony Lesuisse
afbec17f77
[IMP] model converters for routes, to directly get the browse record
...
example @route(['/job/detail/<model("hr.job"):job>'], type='http', auth="user")
bzr revid: al@openerp.com-20131110123707-yb3hbdqlo063dj64
2013-11-10 13:37:07 +01:00
Antony Lesuisse
d50577b69d
[IMP] http move db dispatching on the orm level
...
Split low level dispatching and high level dispatching.
Low level dispatching is used when the db is unknown it's only used by a few
controller in base and web.
High level dispatching is used when the db is known, it is used by most
controllers and it handles authentication and errors. Because it's a regular
osv object all it is fully overridable by openerp modules.
bzr revid: al@openerp.com-20131110014609-io03vspj2q1wtqa0
2013-11-10 02:46:09 +01:00
Christophe Simonis
1c523aa1be
[FIX] http: bind RouteMap using environ to allow correct redirections
...
(manual forward port of revid 3860 chs@openerp.com-20131023162646-9t8iu2okkddg56yi from web branch)
bzr revid: chs@openerp.com-20131030182400-bfuvl2209a7e1ifz
2013-10-30 19:24:00 +01:00
niv-openerp
f312303734
[IMP] Added doc
...
bzr revid: nicolas.vanhoren@openerp.com-20131029150105-4l3hys56zt2dpmcc
2013-10-29 16:01:05 +01:00
Antony Lesuisse
a569093606
[IMP] move http layer from openerp-web to openobject-server, convert controllers to the new route api
...
versioned history http.py can be found in lp:~openerp/openerp-web/trunk file addons/web/http.py
bzr revid: al@openerp.com-20131027171553-qe1ulbff0bphm15o
2013-10-27 18:15:53 +01:00
Vo Minh Thu
56df6d6ecc
[DOC] openerp.http: use sphinx domains.
...
bzr revid: vmt@openerp.com-20130201151354-uyxgyt0aw101a2mq
2013-02-01 16:13:54 +01:00
Vo Minh Thu
665fc8d8f1
[REF] openerp.service.{rpc,route,handler} decorators moved to openerp.http.
...
bzr revid: vmt@openerp.com-20130201093727-pgcvauuo87o2a3p6
2013-02-01 10:37:27 +01:00