niv-openerp
affb4f0589
Ported model to the framework
...
bzr revid: nicolas.vanhoren@openerp.com-20130805123916-s62upxq3jwqjygt0
2013-08-05 14:39:16 +02:00
niv-openerp
14fccd0a4e
Even more tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130805114034-7xcpjmses5aodjhr
2013-08-05 13:40:34 +02:00
niv-openerp
a6ea300848
Added some tests about authentication
...
bzr revid: nicolas.vanhoren@openerp.com-20130805113928-yldn5qh2lm0vc8j9
2013-08-05 13:39:28 +02:00
niv-openerp
22c56b1dd8
Ported some authentication methods to the Session class
...
bzr revid: nicolas.vanhoren@openerp.com-20130805111250-ws23n3b6os54qsp3
2013-08-05 13:12:50 +02:00
niv-openerp
85b2238472
minor improvements
...
bzr revid: nicolas.vanhoren@openerp.com-20130805101849-rqqx4jcmbymv5hfl
2013-08-05 12:18:49 +02:00
niv-openerp
bd8519abb5
Make it a little bit cleaner to fetch the session_id
...
bzr revid: nicolas.vanhoren@openerp.com-20130802152432-stvg9eed7f6juvq9
2013-08-02 17:24:32 +02:00
niv-openerp
ab03d9c280
Make the three jsonrpc protocols work correctly with and without session overriding and added tests for all the cases.
...
That's one small step for a man, a giant leap for all the poor programmers that would have to use that shit one day.
bzr revid: nicolas.vanhoren@openerp.com-20130802150815-k2yuf0b3ku5fvx7a
2013-08-02 17:08:15 +02:00
niv-openerp
adc722348c
Made the 2-steps jsonp rpc work more or less
...
bzr revid: nicolas.vanhoren@openerp.com-20130802143223-49mf5dayd8ape1a5
2013-08-02 16:32:23 +02:00
niv-openerp
cc04d9463e
Added more tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130801164207-wwv34s2fgtlxbzxz
2013-08-01 18:42:07 +02:00
niv-openerp
49f20eb39e
Added some tests for jsonrpc
...
bzr revid: nicolas.vanhoren@openerp.com-20130801163221-uat5w2j1p5t9m5ve
2013-08-01 18:32:21 +02:00
niv-openerp
f6318cc753
Yiiiiha! This day was shitty but that damn tests finally work.
...
bzr revid: nicolas.vanhoren@openerp.com-20130801160847-tcx6va9x1kp0q7eo
2013-08-01 18:08:47 +02:00
niv-openerp
9ce24aea39
Merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130801125845-2aoeb7l6bicdmk59
2013-08-01 14:58:45 +02:00
niv-openerp
f3d634a278
[IMP] http.py: Make it possible to implement a new authentication method for the routes
...
bzr revid: nicolas.vanhoren@openerp.com-20130801113136-5fg9hyrptjckhtkm
2013-08-01 13:31:36 +02:00
Xavier Morel
adfe3e7ec9
[FIX] reinstate basic grouping test, replace strictEqual call on widgets by ok(===)
...
There seems to be a problem with QUnit's serialization routines when
applied to complex widgets (the view here) while running inside
PhantomJS. It does not seem to be cycles in datastructures (that is
handled) but looks related to complex objects linked from multiple
"children" (skipping any object already serialized makes the issue
disappear).
The bug leads to unbounded memory growth, and on runbot to the process
being summarily terminated (likely by the OOM killer) not even
resulting in an OOM error (which is displayed locally). The issue can
not be observed within browsers. This may be a difference in GC
strategy.
The serialization is applied by the driver on high-level comparison
methods (e.g. strictEqual) so the caller can display the structures if
desired.
Replace the strictEqual(a, b) call by ok(a === b) to avoid any risk of
such serialization.
bzr revid: xmo@openerp.com-20130801091326-u2q9e163zls4k8ad
2013-08-01 11:13:26 +02:00
Xavier Morel
cdee92f984
[IMP] update QUnit to 1.12.0 (doesn't fix issue, adds features)
...
bzr revid: xmo@openerp.com-20130801091239-6lz0ya595i226l85
2013-08-01 11:12:39 +02:00
Xavier Morel
e57e50fdfa
[FIX] unneeded & dangerous start call in async test
...
bzr revid: xmo@openerp.com-20130801091130-vx7ow7vxifu7ak84
2013-08-01 11:11:30 +02:00
niv-openerp
dae87b4535
Try to reimplement jsonrpc with niv's methods, still a lot of tests fail
...
bzr revid: nicolas.vanhoren@openerp.com-20130731163415-v6ec0nqsr0qj91a6
2013-07-31 18:34:15 +02:00
niv-openerp
a51e042400
Removed some more references to _.str
...
bzr revid: nicolas.vanhoren@openerp.com-20130731151958-bgc0w02et69mf1ok
2013-07-31 17:19:58 +02:00
niv-openerp
9fef7daead
Added niv's functions to make jsonrpc and removed some references to _.str
...
bzr revid: nicolas.vanhoren@openerp.com-20130731151720-1iiohpkc1f6jqv3o
2013-07-31 17:17:20 +02:00
Vo Minh Thu
a507a9ea05
[MERGE] workflows: added some documentation and some tests.
...
bzr revid: vmt@openerp.com-20130731151636-05lgd5i08rie6yqp
2013-07-31 17:16:36 +02:00
Vo Minh Thu
07f5e9a4d6
[REM] workflows: removed temporary run.py script from the tests.
...
bzr revid: vmt@openerp.com-20130731151104-mxo8qu5x12krto0h
2013-07-31 17:11:04 +02:00
Vo Minh Thu
3d1d7ee39c
[DOC] workflows: typos, and removed inaccurate environment symbols.
...
bzr revid: vmt@openerp.com-20130731150943-etfvn08fnkhcecvt
2013-07-31 17:09:43 +02:00
niv-openerp
d7a9a596a7
Put JSONRpc class in openerpframework
...
bzr revid: nicolas.vanhoren@openerp.com-20130731145623-lxac6w12ocoh2e8e
2013-07-31 16:56:23 +02:00
niv-openerp
aa5c781d90
Removed dependency to underscore.string in openerpframework.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130731144805-9hbxxfbrweb0clhx
2013-07-31 16:48:05 +02:00
niv-openerp
245b009a0b
[FIX] avoid error message in the web client when we go on the Apps menu, replace it with a warning message explaining that the apps is not working currently
...
bzr revid: nicolas.vanhoren@openerp.com-20130731144129-x9po16ihtbp4rj8m
2013-07-31 16:41:29 +02:00
niv-openerp
c8142aa421
Updated qweb
...
bzr revid: nicolas.vanhoren@openerp.com-20130731141139-7ssepci9vxnp9hpf
2013-07-31 16:11:39 +02:00
Raphael Collet
3c0d11271e
[IMP] doc: improve workflow documentation
...
bzr revid: rco@openerp.com-20130731135814-386v5w6rkc40kwwv
2013-07-31 15:58:14 +02:00
niv-openerp
afdd64cc46
bowered qweb
...
bzr revid: nicolas.vanhoren@openerp.com-20130731135531-jugn65jmh60rt9se
2013-07-31 15:55:31 +02:00
niv-openerp
c4c848e6a0
Adapted libs paths
...
bzr revid: nicolas.vanhoren@openerp.com-20130731134248-d1z1wylgkezt3irh
2013-07-31 15:42:48 +02:00
niv-openerp
46869ba52d
[FIX] desactivated test creating random false positive
...
bzr revid: nicolas.vanhoren@openerp.com-20130731133504-vt2fx11jziyad47e
2013-07-31 15:35:04 +02:00
niv-openerp
4ec2906626
[FIX] attempt to solve false-positive in js tests on the runbot
...
bzr revid: nicolas.vanhoren@openerp.com-20130731131933-ur5vdahgnbjsj16o
2013-07-31 15:19:33 +02:00
niv-openerp
e4acf6c902
[IMP] now uses bower for some libs
...
bzr revid: nicolas.vanhoren@openerp.com-20130731131731-9yq9deun2b5q6sxv
2013-07-31 15:17:31 +02:00
niv-openerp
494c12d8fc
[IMP] Added compass compilation to grunt file
...
bzr revid: nicolas.vanhoren@openerp.com-20130731102037-ai9ldek3vaph27l8
2013-07-31 12:20:37 +02:00
niv-openerp
52f05210a2
[IMP] Removed the JavaScript module system of OpenERP and added a layer of retro-compatibility instead.
...
Also create the openerpframework.js file and put some basic tools in it. Made it reusable so it can be added in any project.
bzr revid: nicolas.vanhoren@openerp.com-20130731095336-9a5jchoe89svkfo7
2013-07-31 11:53:36 +02:00
Launchpad Translations on behalf of openerp
6f70aa3991
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130727050954-96mxb3jjb92i8ebt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130730044424-p2gnfpj9j7r2rgx2
2013-07-30 04:44:24 +00:00
niv-openerp
cf4c185f8c
Removed jshint in the "test" task of grunt
...
bzr revid: nicolas.vanhoren@openerp.com-20130729164952-srjsdg8pmq1x2ahd
2013-07-29 18:49:52 +02:00
niv-openerp
e12b980f46
[IMP] Added command in openerp command to launch tests with grunt.
...
bzr revid: nicolas.vanhoren@openerp.com-20130729150655-z25icrvpmd045thf
2013-07-29 17:06:55 +02:00
niv-openerp
f1b47a3e0e
Added grunt-tests command
...
bzr revid: nicolas.vanhoren@openerp.com-20130729150553-ps7w9g6fuqx4qxes
2013-07-29 17:05:53 +02:00
niv-openerp
e817310ce6
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130729141149-63jsx00l9zqckmkv
2013-07-29 16:11:49 +02:00
niv-openerp
80df99fa18
cosmetic
...
bzr revid: nicolas.vanhoren@openerp.com-20130729093657-p0xdm0nyhg4jn3i7
2013-07-29 11:36:57 +02:00
niv-openerp
22ac3304e1
Added strict mode and es3 mode to framework and corrected some problems
...
bzr revid: nicolas.vanhoren@openerp.com-20130729092512-1ip4abjrypf74qr2
2013-07-29 11:25:12 +02:00
niv-openerp
4157b860bc
Desactivated some sample tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130726161143-z77m3ez5vm9kcehn
2013-07-26 18:11:43 +02:00
niv-openerp
95599aefd4
Corrected class tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130726160845-z2ug9cwp41y1h9yj
2013-07-26 18:08:45 +02:00
niv-openerp
e01b96e762
Put class and widgets tests in framework.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130726160715-adjyalkubyismvao
2013-07-26 18:07:15 +02:00
niv-openerp
89a9ab8cd0
Now uses only openerpframework in widget's tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130726160315-l60r6z706urv2hga
2013-07-26 18:03:15 +02:00
niv-openerp
861186d136
Fixed potential problem in web_test_demo
...
bzr revid: nicolas.vanhoren@openerp.com-20130726154454-9hu2gpxcz4ynhmkj
2013-07-26 17:44:54 +02:00
niv-openerp
a02da32a08
Changed some testing code creating side effects and making other tests crash
...
bzr revid: nicolas.vanhoren@openerp.com-20130726143647-rz01o0cnwm2a1gyo
2013-07-26 16:36:47 +02:00
niv-openerp
0c79e1b079
Fixed multiple side effects related to the session
...
bzr revid: nicolas.vanhoren@openerp.com-20130726142707-eyfq5hmubm38slk1
2013-07-26 16:27:07 +02:00
Vo Minh Thu
34c97e9802
[FIX] mrp_operations: undefined name.
...
bzr revid: vmt@openerp.com-20130726135830-86mrf92bz49rhqzb
2013-07-26 15:58:30 +02:00
niv-openerp
38bc6817d6
Fixed problem with parsing functions tests that created side effects
...
bzr revid: nicolas.vanhoren@openerp.com-20130726133550-96zyro1znep8ip6x
2013-07-26 15:35:50 +02:00