Commit Graph

70 Commits

Author SHA1 Message Date
Antony Lesuisse 35b6a7efec form logic part1
bzr revid: al@openerp.com-20110317134155-snjjer2ynnbwuynf
2011-03-17 14:41:55 +01:00
Antony Lesuisse 86bc7ef222 fix hello
bzr revid: al@openerp.com-20110317122239-wlyapf12h73m6uqo
2011-03-17 13:22:39 +01:00
Antony Lesuisse b28c65dcbd comment to simplify widget constructors
bzr revid: al@openerp.com-20110317003057-kmhibna1xbzc65lj
2011-03-17 01:30:57 +01:00
Antony Lesuisse 4beb59472e Rename WidgetField to Field use a common class
bzr revid: al@openerp.com-20110317002341-42we1on4bbud4k0h
2011-03-17 01:23:41 +01:00
Antony Lesuisse efca9c4ed9 window.openerp is is now a regular object, split controllers into chrome and views
bzr revid: al@openerp.com-20110316235634-3cuq96tkcsloq27j
2011-03-17 00:56:34 +01:00
Antony Lesuisse 02bf3106d6 addons loading working
bzr revid: al@openerp.com-20110316172042-go8m79n6j8b6lmaa
2011-03-16 18:20:42 +01:00
Fabien Meghazi 195d5aef8b [FIX] label for attribute
bzr revid: fme@openerp.com-20110316143753-vlrvls0qmtz27iaw
2011-03-16 15:37:53 +01:00
Fabien Meghazi ac35ee9ec4 [ADD] Formview
bzr revid: fme@openerp.com-20110316140045-6tzlnbhakhfpu20n
2011-03-16 15:00:45 +01:00
Fabien Meghazi fea50595d6 [ADD] QWeb: changed behaviour of t-att
bzr revid: fme@openerp.com-20110316133110-s0wwdb4yrysxb6q7
2011-03-16 14:31:10 +01:00
Xavier Morel 69b595ca8a [FIX] typo
bzr revid: xmo@openerp.com-20110315070409-ovef64u9m2qpt5r7
2011-03-15 08:04:09 +01:00
Xavier Morel 970dc4e2ad Reformat openerp.base.callback
bzr revid: xmo@openerp.com-20110314115828-5w00q4qsx06pxb8p
2011-03-14 12:58:28 +01:00
Xavier Morel 598b5de1c0 Rename and reindent elements in boot.js to makes scope and flows clearer. Also use object literal when available
bzr revid: xmo@openerp.com-20110314100055-gwpyoz2nk4ve1rhd
2011-03-14 11:00:55 +01:00
Xavier Morel ba287ba240 [FIX] JS warnings (typos, un-terminated statements, duplicate vars, trailing commas, unused locals
bzr revid: xmo@openerp.com-20110314094457-lci9toigkpue3guh
2011-03-14 10:44:57 +01:00
Xavier Morel 59a5c4c2a5 [IMP] result dict creations
bzr revid: xmo@openerp.com-20110314093825-1gcwso6w27tt6stz
2011-03-14 10:38:25 +01:00
Xavier Morel 9cf7baee6b [FIX] use simplejson as json is not available on Python 2.5 (also simplejson has better perfs)
bzr revid: xmo@openerp.com-20110310155345-8nxu3i92hno4j2yc
2011-03-10 16:53:45 +01:00
Antony Lesuisse 099cbcb416 merge xmo testsuite and improvement for qweb
bzr revid: al@openerp.com-20110314104422-53gcaty2m9g2lhxu
2011-03-14 11:44:22 +01:00
Antony Lesuisse 10104a2bf0 addons js loading
bzr revid: al@openerp.com-20110311132622-otrxhghgox9jqax6
2011-03-11 14:26:22 +01:00
Xavier Morel 31d6f99d21 Rename testrunner (it's the qweb test suite, not a qunit example)
bzr revid: xmo@openerp.com-20110310152629-graxr2mo1cz2p6sw
2011-03-10 16:26:29 +01:00
Xavier Morel 93598c0df5 [TEST] add a bunch of tests for foreach
bzr revid: xmo@openerp.com-20110310152536-w1idaxbl3piyoa31
2011-03-10 16:25:36 +01:00
Xavier Morel d8008cd04f [TEST] add tests for trim, two trims are broken, not sure how they're supposed to work to leaving that for when fme is back
bzr revid: xmo@openerp.com-20110310150235-9z9ihmg1vurboser
2011-03-10 16:02:35 +01:00
Xavier Morel b599eb8669 [TEST] add tests for t-call
bzr revid: xmo@openerp.com-20110310141229-m3v4s57llzj9mje6
2011-03-10 15:12:29 +01:00
Antony Lesuisse 5fd8b2c798 skeleton missing parts
bzr revid: al@openerp.com-20110310131724-x1yvnpvvld27qrn0
2011-03-10 14:17:24 +01:00
Antony Lesuisse 0fb45893f8 skeleton split openerp.base
bzr revid: al@openerp.com-20110310125415-xgp35keh863mehtp
2011-03-10 13:54:15 +01:00
Xavier Morel 12e140872c [TEST] attribute-addition features
bzr revid: xmo@openerp.com-20110310121827-im1lnvwor0x97ear
2011-03-10 13:18:27 +01:00
Antony Lesuisse 5971491a13 skeleton part1
bzr revid: al@openerp.com-20110310115123-5a4i2wg3lw33kqv5
2011-03-10 12:51:23 +01:00
Xavier Morel 5489bb8ebb [IMP] use boolean coertion in eval_bool instead of a ternary operator
bzr revid: xmo@openerp.com-20110310113257-07jom2dpt0t9uvs4
2011-03-10 12:32:57 +01:00
Xavier Morel deec9d4548 [TEST] add a few more tests for conditionals in test directive
bzr revid: xmo@openerp.com-20110310113216-h9h2exqup49001nm
2011-03-10 12:32:16 +01:00
Xavier Morel 6f48b2a3cc [TEST] add a bunch of tests for conditional expressions, fix definition of the 'or' operator
bzr revid: xmo@openerp.com-20110310111925-u3wgbmlz0tgcfwrv
2011-03-10 12:19:25 +01:00
Xavier Morel 3d442a1119 Add tests for t-set
bzr revid: xmo@openerp.com-20110310095334-d4u4esyo0d9hrcyk
2011-03-10 10:53:34 +01:00
Xavier Morel ef4d1e470a [FIX] qunit's assertion format is actually (actual, expected) not (expected, actual). Fix to get correct failure messages
bzr revid: xmo@openerp.com-20110310092828-j3be503khvjcwqkl
2011-03-10 10:28:28 +01:00
Xavier Morel 84b0da12ae [TEST] add tests for t-raw and t-rawf, fix rawf which has apparently been broken since forever ago
bzr revid: xmo@openerp.com-20110310092356-xgfyjpdct2afotbv
2011-03-10 10:23:56 +01:00
Xavier Morel fdda52a3a4 [IMP] rename qweb test template file: each 'task' will be in its own template file, first is the output. Also add some description in the template file (though maybe it should be in the test file instead?)
bzr revid: xmo@openerp.com-20110310091856-rohvl52loilwosxw
2011-03-10 10:18:56 +01:00
Xavier Morel 3b60a6df06 [IMP] replace \W's for word boundaries by \b (actually about word boundaries), replace String.match to literal regexes by RegExp.test (if result is used in test only) or RegExp.exec
bzr revid: xmo@openerp.com-20110310091010-5odm0fp0383yev3t
2011-03-10 10:10:10 +01:00
Xavier Morel 07d4e22551 [ADD] some more escf tests
bzr revid: xmo@openerp.com-20110310085836-prkhe118n27n1xcz
2011-03-10 09:58:36 +01:00
Xavier Morel 952d6395ae [FIX] test and fix escf: turns out it never worked
bzr revid: xmo@openerp.com-20110310085138-o1fpyef7eq7byza5
2011-03-10 09:51:38 +01:00
Xavier Morel e312689221 [ADD] qunit test for qweb
bzr revid: xmo@openerp.com-20110309221205-sjdh5rdbjqzy1ntn
2011-03-09 23:12:05 +01:00
Xavier Morel 5c946d629b [IMP] improvements to qweb
bzr revid: xmo@openerp.com-20110309170254-ucze2gs4yhh14y8v
2011-03-09 18:02:54 +01:00
Fabien Meghazi a28eabafef Display header's user info when logged in. Should do real on_logged_in and on_logged_out
bzr revid: fme@openerp.com-20110309155944-4027u8f3er4o1y6w
2011-03-09 16:59:44 +01:00
Fabien Meghazi 346d439591 Added header right corner
bzr revid: fme@openerp.com-20110309150338-manveau1sy99fotm
2011-03-09 16:03:38 +01:00
Fabien Meghazi 0cb92aa8bd Added header images (should talk about a clean way to store images)
bzr revid: fme@openerp.com-20110309145945-jf3e3zodlexlxu15
2011-03-09 15:59:45 +01:00
Xavier Morel 7c72a27d11 [IMP] try adding some doc to qweb foreach
bzr revid: xmo@openerp.com-20110309115746-4hkmq0oziwoi4jfs
2011-03-09 12:57:46 +01:00
Xavier Morel 9b56599bb6 [IMP] muck around with vars and returns to simplify flows in qweb, extract xhr generation in its own function
bzr revid: xmo@openerp.com-20110309111307-rpaueaqjdzg1dkgj
2011-03-09 12:13:07 +01:00
Xavier Morel e94c8e810b [IMP] use switch/case in QWeb.trim, remove default case (as it's already handled by conditional at function top)
bzr revid: xmo@openerp.com-20110309104800-tdbzuqtg9lpardhr
2011-03-09 11:48:00 +01:00
Xavier Morel c7cfccf678 [REM] broken QWeb.dump() and QWeb.debug() functions ('s' unknown and undeclared in dump), broken qweb demo HTML file
bzr revid: xmo@openerp.com-20110309104358-ndorl9ijp1perixs
2011-03-09 11:43:58 +01:00
Xavier Morel 6bf2a9efd6 [FIX] deduplicate local variable declaration
bzr revid: xmo@openerp.com-20110309104058-oicx8oz67wq0cdq4
2011-03-09 11:40:58 +01:00
Xavier Morel adf7654683 [IMP] quiet down pycharm's type-inference/verif again
bzr revid: xmo@openerp.com-20110309104008-9g3efgflpz4j8am8
2011-03-09 11:40:08 +01:00
Xavier Morel 59a28e24ce [FIX] don't leak out variables as globals
bzr revid: xmo@openerp.com-20110309103930-0q0bnv4l6d8bb9tf
2011-03-09 11:39:30 +01:00
Xavier Morel 5e6bff90ca [FIX] QWeb.reg is a regex, don't init to a string (or pycharm's type-inference whines)
bzr revid: xmo@openerp.com-20110309103634-eqxuczw0g0kilhcy
2011-03-09 11:36:34 +01:00
Xavier Morel 31845dbf61 [IMP] terminate all JS statements in qweb
bzr revid: xmo@openerp.com-20110309103529-adjvos1r0s073fz9
2011-03-09 11:35:29 +01:00
Xavier Morel a99603920c [IMP] reindent qweb
bzr revid: xmo@openerp.com-20110309103436-a3v9bh4f87ddnutj
2011-03-09 11:34:36 +01:00