summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core.js
AgeCommit message (Collapse)Author
2015-03-18[REF] web: add module system to the web clientGéry Debongnie
This commit introduces a new module system for the javascript code. Instead of using global (namespaced) variables everywhere (like openerp.web.whatever, ...), each file declare one (or more) module with its dependencies. Each module will be loaded after its dependencies, and will be given a reference to the return values. This change is a massive departure from the way the client worked previously. It will sadly break some/most history, but I am sure that the future git ecosystem will allow you to easily browse the history past this revision (one can dream). This commit feature: * main namespace is now odoo instead of openerp * a way to define modules and dependencies (inspired by requirejs) * many files have been splitted in simpler subfiles * basic support for debugging in odoo.__DEBUG__ * no global variable (i.e. nothing in window.openerp) * many bug fixes, many new bugs Future vision: this modularization should simplify future code development, simplify debugging and will allow a serious testing effort
2015-01-22[MERGE] forward port of branch 8.0 up to 3735394Christophe Simonis
2015-01-21[FIX] web: correctly retrieve exception from @serialize_exceptionDenis Ledoux
and _serialize_exception as well.
2015-01-08[REM] modelines: Gotta catch 'em allRichard Mathot
2014-12-19[FIX] web: reintroduce $.bbq to keep compatibility with jquery.ba-bbqSimon Lejeune
2014-11-05[FIX] web: remove datejs and replace by momentjsCedric Snauwaert
2014-10-23[MERGE] forward port of branch 8.0 up to ed92589Christophe Simonis
2014-10-23[FIX] web: remove enforceFocus method from bootstrap modal since it is ↵Cedric Snauwaert
conflicting with other non bootstrap element This method trigger the focus event when clicking inside the modal, causing a blur event on other widgets resulting in unwanted problem. Typical case is for the jquery datetimepicker where we try to open a select element which will close right after.
2014-10-03[IMP] web: nodeValue is deprecatedRichard Mathot
2014-09-05[MERGE] forward port of branch 8.0 up to ed1c173Christophe Simonis
2014-08-25[FIX] web: update moment and datepicker library also add a controller to ↵Cedric Snauwaert
lazily load locale
2014-08-25[FIX] web: remove old datetimepicker and change by bootstrap datetimepickerCedric Snauwaert
2014-08-05[FIX] web: tooltip container set to body in all caseCedric Snauwaert
Mandatory since we changed the structure of the dom since 8.0.
2014-07-31[FIX] web: fix tooltip that were stuck visibleCedric Snauwaert
tooltip stuck visible should be removed on click + remove tooltip container except for modal in order to prevent them for staying visible in some rare occasion
2014-06-26[FIX]tooltip: fix various display problems with the tooltipCedric Snauwaert
2014-05-06[ADD] openerp.loadBundle()Fabien Meghazi
bzr revid: fme@openerp.com-20140506103649-wrfa25boj2chy6gl
2014-05-01[FIX] qweb loading concat mode only, increase cache age to one dayAntony Lesuisse
bzr revid: al@openerp.com-20140501204242-jngte754yqyj4nb0
2014-04-29[MERGE] trunkSimon Lejeune
bzr revid: sle@openerp.com-20140422123804-dnjnwfyfrpxjgrlo bzr revid: sle@openerp.com-20140424124720-ihcrqojmnmj0k66q bzr revid: sle@openerp.com-20140428162227-sbvq5ogtshpz0vw6 bzr revid: sle@openerp.com-20140429124237-dhk3378fvche068v
2014-04-18[FIX]tooltip: fix bootstrap bug when using auto placement and element was ↵Cedric Snauwaert
removed before the tooltip actually show resulting in an error bzr revid: csn@openerp.com-20140418152511-f11mzqefa791vgl2
2014-04-18[FIX]pretty tooltip: attach tooltip to body to insure that some element ↵Cedric Snauwaert
don't move over the place. increase tooltip z-index to be visible when a modal is open bzr revid: csn@openerp.com-20140418101235-08yqheh70wi4hb6g
2014-04-17[MERGE] trunkSimon Lejeune
bzr revid: sle@openerp.com-20140417150234-45cmuz6bnandmxiv
2014-04-17[FIX]tooltip: should not use placement auto since it is currently bugged in ↵Cedric Snauwaert
bootstrap (see: https://github.com/twbs/bootstrap/issues/13268) bzr revid: csn@openerp.com-20140417095944-3k2c8829tm6lmxmo
2014-04-17[FIX]tooltip: overwrite bootstrap default for tooltipCedric Snauwaert
bzr revid: csn@openerp.com-20140417085954-mirh4eeotsorlyeo
2014-04-14[FIX] get_file error: the exception can be the only node and must be json ↵Simon Lejeune
parsed bzr revid: sle@openerp.com-20140414105333-05jona7myntifamw
2014-04-02[MERGE] forward port of branch saas-2 up to revid 3906 ↵Christophe Simonis
chs@openerp.com-20140402083506-w4cywcf0kxxx9xmk bzr revid: chs@openerp.com-20140402092310-ixv8m1z53j107024
2014-04-03[MERGE] forward port of branch 7.0 up to revid 5270 ↵Christophe Simonis
chs@openerp.com-20140403084524-9rb174osjrbmhgwc bzr revid: chs@openerp.com-20140402083506-w4cywcf0kxxx9xmk bzr revid: chs@openerp.com-20140312174526-a5rhh83g0fw8djuc bzr revid: chs@openerp.com-20140318105837-53vsx5g7fm517cuc bzr revid: dle@openerp.com-20140326092548-bu4bqinhvco8j5wj bzr revid: chs@openerp.com-20140402092735-3a23yjl169vvt0iv bzr revid: chs@openerp.com-20140402112825-ky8rcb3p467ikitc bzr revid: chs@openerp.com-20140403084808-slnj7uis17kwi9js
2014-01-13[REM] Removed Login from webclientFabien Meghazi
bzr revid: fme@openerp.com-20140113173808-1clqlztx6fs79h2k
2013-12-02[IMP] upgrade backbone to 1.1.0Antony Lesuisse
bzr revid: al@openerp.com-20131202142240-ifh2rua2oiennfao
2013-11-25[MERGE] forward port of branch saas-2 up to revid 3887 ↵Christophe Simonis
chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
2013-11-18[FIX] jquery browser detection fixAntony Lesuisse
bzr revid: al@openerp.com-20131118180642-xa39ja4o8zt8zd5o
2013-09-26[ADD] es5-shimFabien Meghazi
bzr revid: fme@openerp.com-20130926164902-5ioas0np4tb9qnge
2013-08-07[FIX] Fixed regression that made the debug mode unavailableniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130807092232-jgkap3b3cfa2grfq
2013-08-06[IMP] Moved Mutex class to openerpframework.jsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130806131746-l43mz6aos7eupehm
2013-08-06[IMP] Improved shim for function.bindniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130806130734-lov3aq0m4b1r4sto
2013-08-06[IMP] Removed old JavaScript module loading system in the 'web' addons. ↵niv-openerp
Still has some retro-compatibility for other addons. bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-08-06[IMP] Merged corelib.js and coresetup.js into core.jsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20130806122623-pq6bpkjk65jx0fnp
2012-04-09core refactoring, split core into corelib.js and coresetup.jsAntony Lesuisse
bzr revid: al@openerp.com-20120409003901-uo5wn6lj27yb6w7x
2012-04-06[MERGE] new searchviewXavier Morel
fp orders bzr revid: xmo@openerp.com-20120406120250-dlwt0kvt0y1e2snr
2012-04-05[merge]niv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120405162718-rbdyzsh3ssawcoe3
2012-04-05[IMP] fold contexts, because why notXavier Morel
bzr revid: xmo@openerp.com-20120405095411-gxyx7pm2iec4mye7
2012-04-05[FIX] in a compound context, context n+1 has all of its preceding siblings ↵Xavier Morel
in its evaluation context bzr revid: xmo@openerp.com-20120405095009-v2i1xg8gf6lvigjv
2012-04-05[merge]niv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120405081401-pmd3e12tzar3yubg
2012-04-04[FIX] compound domain and context's eval_context can be a compound itself, ↵Xavier Morel
evaluate those if needs be also fix tests html file for renames and extracts, and add a test case for complex non-literal evaluation contexts bzr revid: xmo@openerp.com-20120404114830-a6416m2v7h8cyf08
2012-04-04[FIX] custom contexts and domains in search view fieldsXavier Morel
* Remove own_value hack, use compounds instead * Correctly handle compounds evaluation contexts in test eval_domain_and_context js evaluator bzr revid: xmo@openerp.com-20120404062727-r5eoaw73pjw1izk0
2012-04-03[FIX] json-serialize evaluated data on evaluation failureXavier Morel
bzr revid: xmo@openerp.com-20120403135113-yac2m82nuwn4f23x
2012-04-03[FIX] spurious context evaluation warning notificationsXavier Morel
bzr revid: xmo@openerp.com-20120403070849-d0m9aldt0yvbh8uw
2012-04-02[IMP] more in-your-face warning when local evaluation of domains & contexts ↵Xavier Morel
fails bzr revid: xmo@openerp.com-20120402145815-kab5w92y3a8twm6u
2012-04-02[IMP] session_bind to stay consistent with session_*Antony Lesuisse
bzr revid: al@openerp.com-20120402142251-flk6xr0iwbddox00
2012-04-02sidebar removal part1Antony Lesuisse
bzr revid: al@openerp.com-20120401231212-dln0svoqcc0pmpxy
2012-04-01notebook stylingAntony Lesuisse
bzr revid: al@openerp.com-20120401215507-yxxvpphhm788fq8f