Commit Graph

89 Commits

Author SHA1 Message Date
niv-openerp 42e493e73e Added Gruntfile with jshint and corrected most js errors
bzr revid: nicolas.vanhoren@openerp.com-20130725100749-0i82gf3k3nvt4r44
2013-07-25 12:07:49 +02:00
Frédéric van der Essen 16d3b79dfd [MERGE] from upstream
bzr revid: fva@openerp.com-20130712121148-0ys14v8jc33t6sf5
2013-07-12 14:11:48 +02:00
niv-openerp a7ab235c3a changed session handling
bzr revid: nicolas.vanhoren@openerp.com-20130712095309-41u7fi7ecs0y1lm1
2013-07-12 11:53:09 +02:00
niv-openerp 9aaf79ffd2 more and more cleaning
bzr revid: nicolas.vanhoren@openerp.com-20130711132301-5fl5giqio4n9yzgk
2013-07-11 15:23:01 +02:00
niv-openerp 47b5a82ae8 Completely removed all ways to specify session identifiers and reduced them to 2 possibilities:
* The http argument 'session_id' (higher priority)
* The cookie 'session_id' (lower priority)

bzr revid: nicolas.vanhoren@openerp.com-20130711122034-3nvmkw4q5z4io4tm
2013-07-11 14:20:34 +02:00
Thibault Delavallée ccc2dd61ce [MERGE] Merged lp:~openerp-dev/openerp-web/7.0-pos-improvements-fva (using -r 3867..3868).
[IMP] web corelib: adding timeout option to the rpc api

bzr revid: tde@openerp.com-20130711084451-inllzawy31589568
2013-07-11 10:44:51 +02:00
Christophe Simonis c05abdc22d [FIX] corelib.js: use this instead of self
bzr revid: chs@openerp.com-20130528114400-jhjmk7hhg60o5871
2013-05-28 13:44:00 +02:00
Christophe Simonis d086a71131 [IMP] web: allow manifest files to contain remote js/css/qweb files
bzr revid: chs@openerp.com-20130528104352-b1qf79d6bdm8x2ec
2013-05-28 12:43:52 +02:00
Frédéric van der Essen 703039f7c6 [IMP] web corelib: adding timeout option to the rpc api
bzr revid: fva@openerp.com-20130328153951-om7hrs5l10oc0vm2
2013-03-28 16:39:51 +01:00
Xavier Morel ed98418441 [FIX] docstring
bzr revid: xmo@openerp.com-20130301102223-htb9cteh5rjmex38
2013-03-01 11:22:23 +01:00
niv-openerp 1b4337f8e6 [IMP] Added utility method to better handle asynchronous calls and destruction of objects.
Critical to help solve many bugs.

bzr revid: nicolas.vanhoren@openerp.com-20130227111619-dwhjt84tz8wpd6vp
2013-02-27 12:16:19 +01:00
Xavier Morel 94c2c42be6 [MERGE] from 7.0
bzr revid: xmo@openerp.com-20130313094909-u21ee88l2lak9p2x
2013-03-13 10:49:09 +01:00
niv-openerp e7f044f8fb [IMP] minor improvement to documentation
bzr revid: nicolas.vanhoren@openerp.com-20130305094626-o90y0s7c1odnj4n8
2013-03-05 10:46:26 +01:00
niv-openerp d04d532201 [MERGE] some others fixes from 7.0
bzr revid: nicolas.vanhoren@openerp.com-20130227141209-kemu3v78npynip87
bzr revid: nicolas.vanhoren@openerp.com-20130227142021-oc8i22kpfgmgv9jh
2013-02-27 15:20:21 +01:00
niv-openerp 65cfe2ee38 Removed old useless keys
bzr revid: nicolas.vanhoren@openerp.com-20130130152926-bhdxho0eyq58s3or
2013-01-30 16:29:26 +01:00
vta vta@openerp.com 39e5509e6c [FIX] Fix not working code, and some cleaning proposed by AL
bzr revid: vta@openerp.com-20121226181833-kih09glellxisl9p
2012-12-26 19:18:33 +01:00
Xavier Morel e137c9d747 [FIX] translations and other failings
always include a ``context`` param in rpc requests if none is
provided: use the user_context at the very least

lp bug: https://launchpad.net/bugs/1084963 fixed

bzr revid: xmo@openerp.com-20121130103651-4pf5bauj50cm151y
2012-11-30 11:36:51 +01:00
Xavier Morel e00cb36f41 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121129091038-0fexjx8o12drjbga
2012-11-29 10:10:38 +01:00
Xavier Morel b194e225f1 [FIX] py_date should return a local date, not a UTC date
bzr revid: xmo@openerp.com-20121128104716-w7zqiljfazj597pg
2012-11-28 11:47:16 +01:00
niv-openerp 8e15ed4002 [IMP] small improvement of core lib
bzr revid: nicolas.vanhoren@openerp.com-20121127144140-14y700rqdmpd8w44
2012-11-27 15:41:40 +01:00
Xavier Morel 709f2506ff [REM] server-side eval_domain_and_context
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
Xavier Morel 04398646fb [CHG] temporarily disable eval-domain-and-context interception
bzr revid: xmo@openerp.com-20121122111608-hckowmw71b8any9f
2012-11-22 12:16:08 +01:00
Xavier Morel 5a9f78302f [MERGE] from trunk
when creating the instance, set instance.session.uid to 42 so the evaluator has something to chew on when it tries to create the evaluation context

bzr revid: xmo@openerp.com-20121120101733-b0ire11bbuywfi8u
2012-11-20 11:17:33 +01:00
niv-openerp 76cce62c99 [IMP] Added feature in the rpc() method to be able to perform a call without triggering the loading messages.
bzr revid: nicolas.vanhoren@openerp.com-20121116094200-q4cby6jofcrk87hd
2012-11-16 10:42:00 +01:00
Christophe Simonis eb5a5bf838 [IMP] add method session.url() to generate correct url
bzr revid: chs@openerp.com-20121114174150-9nhj50vftt4lrf0k
2012-11-14 18:41:50 +01:00
Xavier Morel 67115184f8 [FIX] references to renamed/removed methods in event handler bindings
bzr revid: xmo@openerp.com-20121114130600-2qf8egm0r9bwno1n
2012-11-14 14:06:00 +01:00
Christophe Simonis e1f5dfc388 [FIX] jsonp wasn't working on some browse due to security restriction that do not store the third parties cookies.
bzr revid: chs@openerp.com-20121114113335-nag3ljcwwx0yfdnu
2012-11-14 12:33:35 +01:00
Antony Lesuisse 2e810433c9 remove WidgetMixin
bzr revid: al@openerp.com-20121110194654-0q10uajsy6nmzzd6
2012-11-10 20:46:54 +01:00
Antony Lesuisse 27c872cef3 remove CallbackEnabled
The on_/do_ binding still happens in Widget.init, but as we now use ES5 bind()
it doesnt clutter stack traces anymore. However the fate of this automatic binding
feature remains uncertain.

bzr revid: al@openerp.com-20121110193440-78mpwamqx7iwq2ux
2012-11-10 20:34:40 +01:00
Antony Lesuisse 3fe1945347 use ES5 bind() for better stack traces
bzr revid: al@openerp.com-20121110190014-ead1981ez6up6ri1
2012-11-10 20:00:14 +01:00
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
Fabien Meghazi 1210ad9321 [WIP] Start fixing deferred api changes
bzr revid: fme@openerp.com-20121029142504-ax2bhjvw87n1vbrc
2012-10-29 15:25:04 +01:00
Antony Lesuisse 4755454c2a [FIX] remove console.log
bzr revid: al@openerp.com-20121018203118-ufstntp8wshs3fjj
2012-10-18 22:31:18 +02:00
Antony Lesuisse 75735ea1c5 [DIE] callbackenabled
bzr revid: al@openerp.com-20121018155837-lr90ldzrnwd06ueu
2012-10-18 17:58:37 +02:00
niv-openerp 77415e7f77 [IMP] Finally allow to call set() with 2 arguments.
bzr revid: nicolas.vanhoren@openerp.com-20121018141607-jpow2bu1dlvdriyd
2012-10-18 16:16:07 +02:00
niv-openerp a077619c90 [FIX] memory leak in event dispatcher
bzr revid: nicolas.vanhoren@openerp.com-20121018095132-3ew3rbkjfwzgp5r1
2012-10-18 11:51:32 +02:00
niv-openerp c538db258a [IMP] now uses py.eval for options
bzr revid: nicolas.vanhoren@openerp.com-20121011125748-8au3gmss2436h5lw
2012-10-11 14:57:48 +02:00
Xavier Morel e6b77eb820 [IMP] shortcut call to eval_domain_and_context to be evaluated on the JS side, also add some offline-evaluation of contexts and domains in rpc call methods
bzr revid: xmo@openerp.com-20121011100532-5ihje0maslp37zpf
2012-10-11 12:05:32 +02:00
Antony Lesuisse f44ea704fe [IMP] CrashManager use event dispatcher and cleanups
bzr revid: al@openerp.com-20121011003729-jjbh5se1cpsachvm
2012-10-11 02:37:29 +02:00
Frédéric van der Essen 21dcc15a2c [FIX] previous 'forgot now' error message was a bit crappy
bzr revid: fva@openerp.com-20121010104433-cb03lb11fi15qrzd
2012-10-10 12:44:33 +02:00
Frédéric van der Essen 9c71d984e6 [IMP] Class instanciations throws an error when you forgot to use the new operator
bzr revid: fva@openerp.com-20121010095509-ojvigsva4hblta7m
2012-10-10 11:55:09 +02:00
Antony Lesuisse 55bcd978af [MERGE] callback2deferred session.rpc
bzr revid: al@openerp.com-20121006163238-7ni5r324c0yqi5a0
2012-10-06 18:32:38 +02:00
Xavier Morel b965ae5cf7 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121005124919-yfkbzk3mjm0tot4e
2012-10-05 14:49:19 +02:00
Xavier Morel 1e843a1e83 [FIX] arguments forwarding in Widget#do_action
bzr revid: xmo@openerp.com-20121004133815-vvqn18kntl8z2m3y
2012-10-04 15:38:15 +02:00
ggh-openerp 30069a0239 [IMP]In rpc method remove callback and modify relate code
bzr revid: ggh@tinyerp.com-20121003122836-36g8ijxdcjwgntjl
2012-10-03 17:58:36 +05:30
Antony Lesuisse 6d692fac36 [IMP] corelib eventdispatcher document triggers
bzr revid: al@openerp.com-20120928005950-722cfdyjsq1pjwyj
2012-09-28 02:59:50 +02:00
Antony Lesuisse 52dd75a609 [IMP] corelib eventdispatcher document events in class, example for JsonRpc
bzr revid: al@openerp.com-20120928004449-d9cvdmfg0ud701nx
2012-09-28 02:44:49 +02:00
Antony Lesuisse 97b1022f8b [IMP] callbackenable goodbye part1
bzr revid: al@openerp.com-20120928002451-qhel37u21zswj1f7
2012-09-28 02:24:51 +02:00
Antony Lesuisse df6668cd78 [REM] Session remove on_session
bzr revid: al@openerp.com-20120903113059-8jts6776xryjeadl
2012-09-03 13:30:59 +02:00
niv-openerp 5e338c591a [IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182707-vt91ef40ieeudwyw
2012-08-24 20:27:07 +02:00