Commit Graph

101 Commits

Author SHA1 Message Date
Antony Lesuisse d40743d0e3 [MERGE] xmo python unit tests
bzr revid: al@openerp.com-20110321135427-fb6w9c3lexsdautw
2011-03-21 14:54:27 +01:00
Xavier Morel 7b92ab4328 [MERGE] reformatting of some python code, fix of JS warnings (trailing commas and missing semicolons), fix extraction of 'full' class name, removal of the Hello controller and addition of a doc skeleton for differences between the old and the new web client
bzr revid: xmo@openerp.com-20110321122922-t48omtc7ebahjhzg
2011-03-21 13:29:22 +01:00
Xavier Morel 3d02b3f804 [ADD] tests for base.controllers.main.Menu.load
* Make model factory pluggable in OpenERPSession (so it's possible to mock the models handler)
* Split load between the JSON-RPC handler and the actual logic
* Add some docstring to Menu.do_load

bzr revid: xmo@openerp.com-20110321104735-9hmrsyoccueya9fh
2011-03-21 11:47:35 +01:00
Fabien Meghazi 2a1aa4d1ba [ADD] jQuery UI css override
bzr revid: fme@openerp.com-20110321094645-m8r8f4jvnn3o7pme
2011-03-21 10:46:45 +01:00
Xavier Morel f201393fa4 [IMP] reformat Menu
bzr revid: xmo@openerp.com-20110321084324-0b3it36uhxk44lc8
2011-03-21 09:43:24 +01:00
Xavier Morel e9854573d1 [REM] old Hello controller
bzr revid: xmo@openerp.com-20110321081419-e2mv119gfm5kbaem
2011-03-21 09:14:19 +01:00
Xavier Morel 99f29c8202 [IMP] reformat python code in core and base
bzr revid: xmo@openerp.com-20110321081331-gvgb1qt6v80oq5hm
2011-03-21 09:13:31 +01:00
Xavier Morel 375b44e1ca [MERGE] a few warning fixes, addition of more documentation skeleton
bzr revid: xmo@openerp.com-20110321073043-swu1sj1u6tvysrmk
2011-03-21 08:30:43 +01:00
Antony Lesuisse a0e1cbd7e7 session management cleanups, clarification of start() semantics
bzr revid: al@openerp.com-20110320200117-q37q76y53sbmdfy3
2011-03-20 21:01:17 +01:00
Antony Lesuisse fd047b34ca [MERGE] xmo proper session management
bzr revid: al@openerp.com-20110320132146-qysfemcluvraa4ww
2011-03-20 14:21:46 +01:00
Xavier Morel b44fdabb9a [FIX] trailing commas and missing semicolons
bzr revid: xmo@openerp.com-20110318165821-5zyvlfzi7xt25gu0
2011-03-18 17:58:21 +01:00
Xavier Morel 8172fdb25f [IMP] implement local storage of session id and uid
bzr revid: xmo@openerp.com-20110318134751-41mhkir4u5qb0ez1
2011-03-18 14:47:51 +01:00
Xavier Morel 502d0eb58f [FIX] continuation of session_invalid should be added to on_login_valid (once we *do* have a valid session), not on Login.on_submit (where we don't yet have it)
bzr revid: xmo@openerp.com-20110318121944-xrgpha19glgmtc7o
2011-03-18 13:19:44 +01:00
Antony Lesuisse aa826f3eed view and viewaction viewembedded readme guidelines
bzr revid: al@openerp.com-20110318003817-7boupjexdqicauyn
2011-03-18 01:38:17 +01:00
Fabien Meghazi 44271fe7f4 [ADD] Notebooks tabs
bzr revid: fme@openerp.com-20110317174932-hnlgoso4ezueuqbr
2011-03-17 18:49:32 +01:00
Fabien Meghazi 8daad6a2ec Refactoring
bzr revid: fme@openerp.com-20110317172508-fb1yxc1bcunqm2gt
2011-03-17 18:25:08 +01:00
Xavier Morel 8699e1c85c [FIX] class on login form when not logged in is login_invalid
bzr revid: xmo@openerp.com-20110317171855-4ovpe64wnp7qzeqv
2011-03-17 18:18:55 +01:00
Xavier Morel cd09d946d2 [FIX] loading modules should not nuke the login that has just been performed
bzr revid: xmo@openerp.com-20110317171622-ioebt4sbpmxkkpoc
2011-03-17 18:16:22 +01:00
Xavier Morel 6cab13279a [FIX] inline temporary variable
bzr revid: xmo@openerp.com-20110317171403-s1p00g5omgix01uu
2011-03-17 18:14:03 +01:00
Xavier Morel 9943d2e9c2 [FIX] forgotten rename
bzr revid: xmo@openerp.com-20110317171151-fn44gv41scophjlw
2011-03-17 18:11:51 +01:00
Antony Lesuisse c27fc11c2f fix console.log
bzr revid: al@openerp.com-20110317170808-lwqxymfye4obfssg
2011-03-17 18:08:08 +01:00
Antony Lesuisse 4504ea1ca2 on_log temporary back to session
bzr revid: al@openerp.com-20110317162700-tv0iq7a9us986i9o
2011-03-17 17:27:00 +01:00
Fabien Meghazi 38c3d7c344 [ADD] datarecord plugged to formview part1
bzr revid: fme@openerp.com-20110317161356-b9qxxj227anuz5lr
2011-03-17 17:13:56 +01:00
Antony Lesuisse d51d885c77 [MERGE] xmo compliant json-rpc2
bzr revid: al@openerp.com-20110317154746-7mbwuqt9gk940mra
2011-03-17 16:47:46 +01:00
Antony Lesuisse e14677f255 dont assume session invalid
bzr revid: al@openerp.com-20110317151813-sy7m3oam2nm9nw0h
2011-03-17 16:18:13 +01:00
Antony Lesuisse 1d13b61284 login ask for db
bzr revid: al@openerp.com-20110317150153-afr9lmsy1ihuafrt
2011-03-17 16:01:53 +01:00
Antony Lesuisse 5f1e8c27c5 base_calendar
bzr revid: al@openerp.com-20110317145321-bchwp2kw8isof6xx
2011-03-17 15:53:21 +01:00
Xavier Morel 6e9014a879 [IMP] display all of error.data on RPC error by default, don't display the error object itself
bzr revid: xmo@openerp.com-20110317142220-ypr1lvhla6zawydv
2011-03-17 15:22:20 +01:00
Antony Lesuisse b8b37b18a2 datarecord load
bzr revid: al@openerp.com-20110317140638-dgsu44ci48nnpevq
2011-03-17 15:06:38 +01:00
Xavier Morel ba4054f6fc [IMP] cleanup JSON-RPC request lifecycle
bzr revid: xmo@openerp.com-20110317140627-hurby78o45xrmg6p
2011-03-17 15:06:27 +01:00
Antony Lesuisse 35b6a7efec form logic part1
bzr revid: al@openerp.com-20110317134155-snjjer2ynnbwuynf
2011-03-17 14:41:55 +01:00
Xavier Morel dc3abe055b [FIX] JSON-RPC2 request/response process
bzr revid: xmo@openerp.com-20110317130946-ptpaihigvie31moo
2011-03-17 14:09:46 +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