Commit Graph
6345 Commits
Author SHA1 Message Date
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
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 c8142aa421 Updated qweb
bzr revid: nicolas.vanhoren@openerp.com-20130731141139-7ssepci9vxnp9hpf
2013-07-31 16:11:39 +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
Olivier Dony cf9d7aaa5f [MERGE] Forward-port of latest bugfixes from 7.0 up to rev 4007 (launchpad_translations_on_behalf_of_openerp-20130730045810-58du4wi80axs0t81)
bzr revid: dle@openerp.com-20130627115936-iw2x6yjejabkc8ys
bzr revid: chs@openerp.com-20130702141958-zxkppo4c6zvpo0uf
bzr revid: odo@openerp.com-20130731072914-0uk62hnao5x502hh
2013-07-31 09:29:14 +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 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 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 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
Christophe Matthieu 25f117a056 [MERGE] from trunk
bzr revid: chm@openerp.com-20130726141841-a30nn35b63p2l3uh
2013-07-26 16:18:41 +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
niv-openerp 5c7b6cffde Fixed some problems about testing framework
bzr revid: nicolas.vanhoren@openerp.com-20130726131805-wstt1de2qqq7w7hx
2013-07-26 15:18:05 +02:00
niv-openerp c94c4599b2 Moved proxy()
bzr revid: nicolas.vanhoren@openerp.com-20130726124837-yze64evp7r70uv5y
2013-07-26 14:48:37 +02:00
niv-openerp 99e07f1e3e Put some qweb globals in the framework
bzr revid: nicolas.vanhoren@openerp.com-20130726124446-6z3xpm1mu22mgep3
2013-07-26 14:44:46 +02:00
niv-openerp 32190ba02e [IMP] Put Class and Widget in a openerpframework.js
bzr revid: nicolas.vanhoren@openerp.com-20130726124057-qwmslhhheso5xy1x
2013-07-26 14:40:57 +02:00
niv-openerp fd1df3ee22 [IMP] Removed openerp's ineffective JavaScript module loader and added retro-compatibility layer
bzr revid: nicolas.vanhoren@openerp.com-20130726121514-ss0omrhed76ybv5a
2013-07-26 14:15:14 +02:00
Thibault Delavallée 7aec524456 [CLEAN] data_export: removed a not-completely-deleted line
bzr revid: tde@openerp.com-20130726105801-2sh62ew7kpn7qudp
2013-07-26 12:58:01 +02:00
Thibault Delavallée 0aa304e656 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130726102315-9e77xp76333un48g
2013-07-26 12:23:15 +02:00
niv-openerp 6e6108e9b6 [FIX] Problem with exports that make them crash
lp bug: https://launchpad.net/bugs/1205238 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130726084640-lz11kdlsk27mrjec
2013-07-26 10:46:40 +02:00
Thibault Delavallée 47d72f7a0f [IMP] export: delegated ids computation to the python side, the js gives ids or the domain to use; + fixed statically export formats
bzr revid: tde@openerp.com-20130725155740-g9a76z08ogjejp86
2013-07-25 17:57:40 +02:00
Thibault Delavallée 27735a2b85 [IMP] export: work on selected_ids or all_ids if header is selected; ugly hack to solve issue when exporting
bzr revid: tde@openerp.com-20130725153114-6rjhktvuz1k1qrnb
2013-07-25 17:31:14 +02:00
Thibault Delavallée 20c11d6703 [FIX] Fixed last commits
bzr revid: tde@openerp.com-20130725152846-zlfd5gluz15tjg2t
2013-07-25 17:28:46 +02:00
Thibault Delavallée 0979b3b6fc [IMP] view_list: better active_domain computation
bzr revid: tde@openerp.com-20130725150243-or624rj2qw6dgxiz
2013-07-25 17:02:43 +02:00
Thibault Delavallée 9e3046d611 [REM] Removed console.log statemetn
bzr revid: tde@openerp.com-20130725135535-qjucav1ss11a2sgd
2013-07-25 15:55:35 +02:00
Thibault Delavallée 7f0824e762 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130725135118-urwxu1ilv1m6ljwh
2013-07-25 15:51:18 +02:00
Thibault Delavallée 0810ff005c [IMP] Better implementation of header hook check
- list_view: propagate a deselected flag when (un)checking a row
- list_view: define a get_active_domain method that returns an active domain
when having header hook selected

bzr revid: tde@openerp.com-20130725135001-zt8x1leexf7ion4z
2013-07-25 15:50:01 +02:00
niv-openerp faffe8805c Minor modifs to grunt file
bzr revid: nicolas.vanhoren@openerp.com-20130725120742-0omjb6l80kwon2vi
2013-07-25 14:07:42 +02:00
niv-openerp ec9ae7ec81 Does not allow functions in loops anymore
bzr revid: nicolas.vanhoren@openerp.com-20130725113041-n6u9gyo1vbv1blw5
2013-07-25 13:30:41 +02:00
niv-openerp 17ba69eb52 Applied jshint on test files and corrected errors
bzr revid: nicolas.vanhoren@openerp.com-20130725112416-j6wbm254yx05i890
2013-07-25 13:24:16 +02:00
niv-openerp c767a0d34c Added semicolons
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
2013-07-25 12:33:01 +02:00
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