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
Christophe Simonis
63e4d9b572
[IMP] sed -i '' -e 's/connection/session/g'
...
bzr revid: chs@openerp.com-20120814152900-8r84kyz0qy1hwkvz
2012-08-14 17:29:00 +02:00
Xavier Morel
6f4abdfbd5
[IMP] move eval functions for domains, groupbys and contexts outside of corelib, as well as the standard evaluation context building (and related objects)
...
bzr revid: xmo@openerp.com-20120806094627-8c9lwtfkbfws2bmj
2012-08-06 11:46:27 +02:00
niv-openerp
2c57c15491
[IMP] Mass rename \t to 4 spaces
...
bzr revid: nicolas.vanhoren@openerp.com-20120802144623-ykl5te005ytnv584
2012-08-02 16:46:23 +02:00
Xavier Morel
f1b6bc35d6
[FIX] add current_date to JS evaluation context
...
bzr revid: xmo@openerp.com-20120801144435-h0643av6ju9ncdpx
2012-08-01 16:44:35 +02:00
Antony Lesuisse
574f3891a5
[MERGE] trunk
...
bzr revid: al@openerp.com-20120801104657-cinfl0svpnc8njs5
2012-08-01 12:46:57 +02:00
Xavier Morel
5fe4ff9c49
[FIX] move setElement init call from WidgetMixin to Widget
...
Widget is the one providing both setElement and _make_descriptive...
bzr revid: xmo@openerp.com-20120726145704-uzg7ufntvf24gnyd
2012-07-26 16:57:04 +02:00
Xavier Morel
5c0324f321
[IMP] Widget#setElement from init to reinstate $element always being there
...
That makes precious little sense, but a bunch of widgets actually
expect $element to exist before start() has been called.
Also extract creating a node from the widget's node description into a
private method, use that where possible.
bzr revid: xmo@openerp.com-20120726144817-20caa8jkvg39ycho
2012-07-26 16:48:17 +02:00
Xavier Morel
d304f9fbb7
[CHG] rename this. to this.
...
because why make things simple when you can make them fucked up
bzr revid: xmo@openerp.com-20120726075359-b0uvuuagrfsf7nhb
2012-07-26 09:53:59 +02:00
niv-openerp
31621f412a
wip
...
bzr revid: nicolas.vanhoren@openerp.com-20120725141333-ueaj3e0i8imlwvre
2012-07-25 16:13:33 +02:00
Xavier Morel
9cc2f4fb25
[IMP] extract 'set element as new widget root and replace old one in DOM' in its own method
...
also fix OldWidget to use it, as it had not been fixed when #replaceWith was extracted out of setElement
bzr revid: xmo@openerp.com-20120725091916-g9t5qmaeeqcceuk1
2012-07-25 11:19:16 +02:00
Antony Lesuisse
974d4f4f10
rename widget event namespace
...
bzr revid: al@openerp.com-20120725082446-eahrub8qigektert
2012-07-25 10:24:46 +02:00
Antony Lesuisse
a6e85cfd5a
[REM] setValue, event namespacing
...
bzr revid: al@openerp.com-20120721201253-z35xjhao0r1mv6l1
2012-07-21 22:12:53 +02:00
Antony Lesuisse
3611d585b3
[MERGE] trunk
...
bzr revid: al@openerp.com-20120721201123-3824izt73xvmk9vl
2012-07-21 22:11:23 +02:00
Xavier Morel
43fb6b3ee3
[CHG] require that Widget#attributes be an object if present, not a function
...
bzr revid: xmo@openerp.com-20120711152558-9jm096g7mowgfvf5
2012-07-11 17:25:58 +02:00
Xavier Morel
f0ad5fedac
[IMP] move .replaceWith() back into renderElement
...
* Better formalizes repeated calls to renderElement
* Makes setElement cleaner and less surprising to call
bzr revid: xmo@openerp.com-20120612132120-egsg4kr5n2riv4zk
2012-06-12 15:21:20 +02:00
Xavier Morel
d6f3764645
[REM] declarative elements binding, not sure there's much point and can add later
...
bzr revid: xmo@openerp.com-20120611144108-pw8pz5p06prsikxe
2012-06-11 16:41:08 +02:00