Commit Graph
109 Commits
Author SHA1 Message Date
Fabien Meghazi 1fb6165a8a [FIX] ListView table autoresize
bzr revid: fme@openerp.com-20110322135026-ndme63lh7pa98c03
2011-03-22 14:50:26 +01:00
Xavier Morel 9f74d6d07c [ADD] underscore utility library. See http://documentcloud.github.com/underscore/ for documentation
bzr revid: xmo@openerp.com-20110322131559-afci46oyqecw571s
2011-03-22 14:15:59 +01:00
Fabien Meghazi 6369c843bb [AUTOINSULT] Previous commit was a mistake.
I made two mistakes in my life : 1) to be born   2) to commit fme@openerp.com-20110322125836-qnlqagrlcy3ajoci

I could avoid the second one if I had not made the first mistake

bzr revid: fme@openerp.com-20110322130917-2y6kmrwcqutia8ph
2011-03-22 14:09:17 +01:00
Fabien Meghazi a5a90d2261 [UP] Upgraded jQuery 1.5 tp 1.5.1. (200% web client speed upgrade)
Closed Tickets

A full list of all bugs and tickets closed are as follows:

#2551 Make sure .val() works after form.reset() in IE
#4537 Make sure .clone(true) correctly clones namespaced events
#4966 Don’t add “px” to unit-less properties when animating them
#6774 Make sure we only access parentNode if it’s available. Fixes an issue where after an option tag has been detached, an elem.parentNode error would be thrown.
#6911Prevent action on disabled elements, both triggering and bound via .live()
#7531 Fix again for IE9RC. Enhances ajaxSetup so that it can take an optional target option, in which case target will be updated instead of ajaxSettings. That way, fields that shouldn’t be deep extended can be listed and dealt with in one place. jQuery.ajax now makes use of ajaxSetup with target to create its internal settings object
#7568 Follow-up fix for #5862. Objects with a length property weren’t serialized properly by jQuery.param
#7653 Changes regexp to detect local protocol so that it will accept any protocol finishing by -extension
#7668 Sizzle and jQuery QUnit tests are out of sync
#7912 This change makes .cur() more .cssHooks friendly. .cur() now returns the unmodified value by .css() if it isn’t a number, number-alike or a value that needs a fallback to 0.
#7922 Fixed an issue where live(‘click’) doesn’t fire when live(‘submit’) is bound first in IE
#7945 Make jQuery.param() serialize plain objects with a property named jquery correctly
#8033 jQuery 1.4.4+ fails to load on pages with old Prototype (<= 1.5) or Current Prototype + Scriptaculous in IE
#8039 Selectors with HTML5 input types not work in IE6/7
#8052 Update jQuery.support.noCloneEvent test to function properly in IE9
#8095 Properly handles the case where browser cache needs to be bypassed while server-side logic still delivers proper 304 responses. Unit test added
#8098 Use the fast document.head when available
#8099 Always restore to correct display value based on element’s expected default display
#8107 Fix argument handling for $.ajax for multiple method signatues and add test case
#8108Temporary fix for jQuery metadata being exposed on plain JS objects when serializing with JSON.stringify to avoid compatibility-breaking changes. A proper fix for this will be landed in 1.6
#8115 Renames all references to jXHR with jqXHR in the code (like was done in the doc)
#8123 The default for .clone() is to not clone any events
#8125 Status is set to 200 for requests with status 0 when location.protocol if “file:”. Added test/localfile.html to control it works
#8129 Fix cloning multiple selected options in IE8
#8135 Makes sure any exception thrown by Firefox when trying to access an XMLHttpRequest property when a network error occured is caught and notified as an error. Added test/networkerror.html to test the behavior
#8138 Access to document.location is made only once at load time and if it fails (throwing an exception in IE when document.domain is already set), we use the href of an A element instead
#8145 Added readyWait tests
#8146 introducing the xhrFields option with is a map of fieldName/fieldValue to set on the native xhr. Can be used to set withCredentials to true for cross-domain requests if needed
#8152 applying the same special cases for protocol “chrome-extension:” as were for “file:” (needs tests). Re-organizes and fixes the handling of special cases for HTTP status code in the xhr transport
#8177 XHR transport now considers 304 Not Modified responses as 200 OK if no conditional request header was provided (as per the XMLHttpRequest specification)
#8193 Fixes abort in prefilter. No global event will be fired in that case even if the global option is set to true. Unit test added
#8198 Remove unnecessary “script.type = text/javascript;”
#8200 Unexpose $.support._scriptEval as it’s not needed. Use a private var instead
#8209 Make sure that mousing over Chrome “internal div” doesn’t trigger a mouseleave
#8219 Introduces the mimeType option to override content-type header in conversion (and in native xhr when possible). Adds companion overrideMimeType method on jqXHR object (it simply sets the option)
#8220 Remove backslashes from tag name filter
#8245 Ajax now ensures header names are capitalized so that non-compliant xhr implementations don’t override them
#8250 ajax does not work in opera 10 widgets
#8277 Sets data to undefined rather than null when it is not provided in ajax helpers so that it won’t revent data set in ajaxSettings from being used.
#8297 Make sure response headers with empty values are handled properly and do not prevent proper parsing of the entire response headers string.
#8353 Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
#8365 Make sure that IE 9 still clones attributes.

bzr revid: fme@openerp.com-20110322125836-4id2l1w0zjix0qdt
2011-03-22 13:58:36 +01:00
Fabien Meghazi c7ce5c80a7 [ADD] Menu part 1
bzr revid: fme@openerp.com-20110322114919-a8l2k4ipy6zt4si8
2011-03-22 12:49:19 +01:00
Fabien Meghazi e4b925112f [ADD] url widget
bzr revid: fme@openerp.com-20110322114852-4o14wjiebb2yv90c
2011-03-22 12:48:52 +01:00
Fabien Meghazi f2af3b5a05 [ADD] Some images for menus
bzr revid: fme@openerp.com-20110322114702-53smckfk1uc0tzz5
2011-03-22 12:47:02 +01:00
Xavier Morel 3b3494b27e [FIX] rooted application menus incorrectly, fixed tests
bzr revid: xmo@openerp.com-20110321154034-tqd03u8u7tpxm5vc
2011-03-21 16:40:34 +01:00
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